1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLogChain swig_types[0]
210 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
211 #define SWIGTYPE_p_wxMetafile swig_types[2]
212 #define SWIGTYPE_p_wxFileHistory swig_types[3]
213 #define SWIGTYPE_p_wxLog swig_types[4]
214 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
215 #define SWIGTYPE_p_wxMenu swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxConfigBase swig_types[8]
218 #define SWIGTYPE_p_wxDisplay swig_types[9]
219 #define SWIGTYPE_p_wxFileType swig_types[10]
220 #define SWIGTYPE_p_wxLogGui swig_types[11]
221 #define SWIGTYPE_p_wxFont swig_types[12]
222 #define SWIGTYPE_p_wxDataFormat swig_types[13]
223 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
224 #define SWIGTYPE_p_wxCaret swig_types[15]
225 #define SWIGTYPE_p_int swig_types[16]
226 #define SWIGTYPE_p_wxSize swig_types[17]
227 #define SWIGTYPE_p_wxClipboard swig_types[18]
228 #define SWIGTYPE_p_wxStopWatch swig_types[19]
229 #define SWIGTYPE_p_wxDC swig_types[20]
230 #define SWIGTYPE_p_wxClipboardLocker swig_types[21]
231 #define SWIGTYPE_p_wxIcon swig_types[22]
232 #define SWIGTYPE_p_wxLogStderr swig_types[23]
233 #define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
234 #define SWIGTYPE_p_wxTextCtrl swig_types[25]
235 #define SWIGTYPE_p_wxBusyCursor swig_types[26]
236 #define SWIGTYPE_p_wxPyTextDataObject swig_types[27]
237 #define SWIGTYPE_p_wxBitmapDataObject swig_types[28]
238 #define SWIGTYPE_p_wxTextDataObject swig_types[29]
239 #define SWIGTYPE_p_wxDataObject swig_types[30]
240 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[31]
241 #define SWIGTYPE_p_wxFileDataObject swig_types[32]
242 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
243 #define SWIGTYPE_p_wxURLDataObject swig_types[34]
244 #define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
245 #define SWIGTYPE_p_wxSound swig_types[36]
246 #define SWIGTYPE_p_wxTimerRunner swig_types[37]
247 #define SWIGTYPE_p_wxLogWindow swig_types[38]
248 #define SWIGTYPE_p_wxTimeSpan swig_types[39]
249 #define SWIGTYPE_p_wxArrayString swig_types[40]
250 #define SWIGTYPE_p_wxWindowDisabler swig_types[41]
251 #define SWIGTYPE_p_wxToolTip swig_types[42]
252 #define SWIGTYPE_p_wxDataObjectComposite swig_types[43]
253 #define SWIGTYPE_p_wxFileConfig swig_types[44]
254 #define SWIGTYPE_p_wxSystemSettings swig_types[45]
255 #define SWIGTYPE_p_wxVideoMode swig_types[46]
256 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[47]
257 #define SWIGTYPE_p_wxDataObjectSimple swig_types[48]
258 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
259 #define SWIGTYPE_p_wxRect swig_types[50]
260 #define SWIGTYPE_p_char swig_types[51]
261 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[52]
262 #define SWIGTYPE_p_wxFileTypeInfo swig_types[53]
263 #define SWIGTYPE_p_wxFrame swig_types[54]
264 #define SWIGTYPE_p_wxTimer swig_types[55]
265 #define SWIGTYPE_p_wxMimeTypesManager swig_types[56]
266 #define SWIGTYPE_p_wxPyArtProvider swig_types[57]
267 #define SWIGTYPE_p_wxPyTipProvider swig_types[58]
268 #define SWIGTYPE_p_wxTipProvider swig_types[59]
269 #define SWIGTYPE_p_wxJoystick swig_types[60]
270 #define SWIGTYPE_p_wxSystemOptions swig_types[61]
271 #define SWIGTYPE_p_wxPoint swig_types[62]
272 #define SWIGTYPE_p_wxJoystickEvent swig_types[63]
273 #define SWIGTYPE_p_wxCursor swig_types[64]
274 #define SWIGTYPE_p_wxObject swig_types[65]
275 #define SWIGTYPE_p_wxOutputStream swig_types[66]
276 #define SWIGTYPE_p_wxDateTime swig_types[67]
277 #define SWIGTYPE_p_wxPyDropSource swig_types[68]
278 #define SWIGTYPE_p_wxWindow swig_types[69]
279 #define SWIGTYPE_p_wxString swig_types[70]
280 #define SWIGTYPE_p_wxPyProcess swig_types[71]
281 #define SWIGTYPE_p_wxBitmap swig_types[72]
282 #define SWIGTYPE_p_wxConfig swig_types[73]
283 #define SWIGTYPE_p_wxChar swig_types[74]
284 #define SWIGTYPE_p_wxBusyInfo swig_types[75]
285 #define SWIGTYPE_p_wxPyDropTarget swig_types[76]
286 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[77]
287 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[78]
288 #define SWIGTYPE_p_wxProcessEvent swig_types[79]
289 #define SWIGTYPE_p_wxPyLog swig_types[80]
290 #define SWIGTYPE_p_wxLogNull swig_types[81]
291 #define SWIGTYPE_p_wxColour swig_types[82]
292 #define SWIGTYPE_p_wxByte swig_types[83]
293 #define SWIGTYPE_p_wxConfigPathChanger swig_types[84]
294 #define SWIGTYPE_p_wxPyTimer swig_types[85]
295 #define SWIGTYPE_p_wxDateSpan swig_types[86]
296 static swig_type_info
*swig_types
[88];
298 /* -------- TYPES TABLE (END) -------- */
301 /*-----------------------------------------------
303 ------------------------------------------------*/
304 #define SWIG_init init_misc
306 #define SWIG_name "_misc"
308 /* Auxiliar swig macros */
311 #define SWIGSTATICINLINE(a) static inline a
312 #define SWIGSTATIC(a) static a
313 #define swig_new_array(type, size) (new type[(size)])
314 #define swig_delete_array(cptr) delete[] cptr
315 #define swig_const_cast(type,a) const_cast<type>(a)
316 #define swig_static_cast(type,a) static_cast<type>(a)
317 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
319 #ifdef HAVE_NUMERIC_CAST
320 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
322 #define swig_numeric_cast(type,a) static_cast<type>(a)
327 #define SWIGSTATICINLINE(a) static a
328 #define SWIGSTATIC(a) static a
329 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
330 #define swig_delete_array(cptr) free((char*)cptr)
331 #define swig_const_cast(type,a) (type)(a)
332 #define swig_static_cast(type,a) (type)(a)
333 #define swig_reinterpret_cast(type,a) (type)(a)
334 #define swig_numeric_cast(type,a) (type)(a)
336 #endif /* __cplusplus */
339 #define SWIG_FromSignedChar PyInt_FromLong
340 #define SWIG_FromUnsignedChar PyInt_FromLong
341 #define SWIG_FromShort PyInt_FromLong
342 #define SWIG_FromUnsignedShort PyInt_FromLong
343 #define SWIG_FromInt PyInt_FromLong
344 #define SWIG_FromLong PyInt_FromLong
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347 #define SWIG_FromFloat PyFloat_FromDouble
348 #define SWIG_FromDouble PyFloat_FromDouble
351 #include "wx/wxPython/wxPython.h"
352 #include "wx/wxPython/pyclasses.h"
353 #include "wx/wxPython/pyistream.h"
356 static const wxString
wxPyEmptyString(wxEmptyString
);
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value
, const char* type
,
365 long min_value
, long max_value
)
367 if (!PyErr_Occurred()) {
368 if (value
< min_value
) {
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value
, type
, min_value
);
373 PyErr_SetObject(PyExc_OverflowError
, err
);
375 } else if (value
> max_value
) {
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value
, type
, max_value
);
379 PyErr_SetObject(PyExc_OverflowError
, err
);
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject
* obj
)
390 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() {}
873 bool wxSound_Create__SWIG_1(wxSound
*self
,int size
,wxByte
const *data
){
874 bool blocked
= wxPyBeginBlockThreads();
875 PyErr_SetString(PyExc_NotImplementedError
,
876 "Create from data is not available on this platform.");
877 wxPyEndBlockThreads(blocked
);
880 void Sound_Stop(){ wxPyRaiseNotImplemented(); }
882 #include <wx/mimetype.h>
884 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
886 if (self
->GetMimeType(&str
))
887 return wx2PyString(str
);
891 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
893 if (self
->GetMimeTypes(arr
))
894 return wxArrayString2PyList_helper(arr
);
898 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
900 if (self
->GetExtensions(arr
))
901 return wxArrayString2PyList_helper(arr
);
905 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
907 if (self
->GetIcon(&loc
))
908 return new wxIcon(loc
);
912 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
914 if (self
->GetIcon(&loc
)) {
915 wxString iconFile
= loc
.GetFileName();
920 // Make a tuple and put the values in it
921 bool blocked
= wxPyBeginBlockThreads();
922 PyObject
* tuple
= PyTuple_New(3);
923 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
924 wxT("wxIcon"), True
));
925 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
926 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
927 wxPyEndBlockThreads(blocked
);
933 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
935 if (self
->GetDescription(&str
))
936 return wx2PyString(str
);
940 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
942 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
943 return wx2PyString(str
);
947 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
949 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
950 return wx2PyString(str
);
954 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
956 wxArrayString commands
;
957 if (self
->GetAllCommands(&verbs
, &commands
,
958 wxFileType::MessageParameters(filename
, mimetype
))) {
959 bool blocked
= wxPyBeginBlockThreads();
960 PyObject
* tuple
= PyTuple_New(2);
961 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
962 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
963 wxPyEndBlockThreads(blocked
);
969 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
970 return wxFileType::ExpandCommand(command
,
971 wxFileType::MessageParameters(filename
, mimetype
));
973 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
975 self
->EnumAllFileTypes(arr
);
976 return wxArrayString2PyList_helper(arr
);
979 #include <wx/artprov.h>
981 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
982 static const wxString
wxPyART_MENU(wxART_MENU
);
983 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
984 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
985 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
986 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
987 static const wxString
wxPyART_OTHER(wxART_OTHER
);
988 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
989 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
990 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
991 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
992 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
993 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
994 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
995 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
996 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
997 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
998 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
999 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1000 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1001 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1002 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1003 static const wxString
wxPyART_HELP(wxART_HELP
);
1004 static const wxString
wxPyART_TIP(wxART_TIP
);
1005 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1006 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1007 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1008 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1009 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1010 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1011 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1012 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1013 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1014 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1015 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1016 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1017 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1018 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1019 // Python aware wxArtProvider
1020 class wxPyArtProvider
: public wxArtProvider
{
1023 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1024 const wxArtClient
& client
,
1025 const wxSize
& size
) {
1026 wxBitmap rval
= wxNullBitmap
;
1027 bool blocked
= wxPyBeginBlockThreads();
1028 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1029 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1033 s1
= wx2PyString(id
);
1034 s2
= wx2PyString(client
);
1035 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1040 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1045 wxPyEndBlockThreads(blocked
);
1052 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1056 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1057 PyObject
* ret
= PyTuple_New(3);
1059 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1060 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1061 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1066 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1071 cont
= self
->GetFirstGroup(value
, index
);
1072 return __EnumerationHelper(cont
, value
, index
);
1074 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1078 cont
= self
->GetNextGroup(value
, index
);
1079 return __EnumerationHelper(cont
, value
, index
);
1081 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1086 cont
= self
->GetFirstEntry(value
, index
);
1087 return __EnumerationHelper(cont
, value
, index
);
1089 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1093 cont
= self
->GetNextEntry(value
, index
);
1094 return __EnumerationHelper(cont
, value
, index
);
1096 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1098 self
->Read(key
, &rv
, defaultVal
);
1102 SWIGSTATICINLINE(double)
1103 SWIG_AsDouble(PyObject
*obj
)
1105 if (PyNumber_Check(obj
))
1106 return PyFloat_AsDouble(obj
);
1108 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1109 obj
->ob_type
->tp_name
);
1110 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1117 SWIGSTATICINLINE(int)
1118 SWIG_CheckDouble(PyObject
* obj
)
1121 if (PyErr_Occurred()) {
1129 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1131 self
->Read(key
, &rv
, defaultVal
);
1134 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1136 self
->Read(key
, &rv
, defaultVal
);
1140 #include <wx/datetime.h>
1143 static const wxString
wxPyDateFormatStr(wxT("%c"));
1144 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1146 #define LOCAL_TZ wxDateTime::Local
1149 #if UINT_MAX < LONG_MAX
1150 #define SWIG_FromUnsignedInt SWIG_FromLong
1152 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1155 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1156 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1157 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1158 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1159 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1160 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
< *other
) : False
; }
1161 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
<= *other
) : False
; }
1162 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
> *other
) : True
; }
1163 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
>= *other
) : True
; }
1164 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
== *other
) : False
; }
1165 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
!= *other
) : True
; }
1166 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1168 const wxChar
* _date
= date
;
1169 rv
= self
->ParseRfc822Date(_date
);
1170 if (rv
== NULL
) return -1;
1173 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1175 const wxChar
* _date
= date
;
1176 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1177 if (rv
== NULL
) return -1;
1180 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1182 const wxChar
* _datetime
= datetime
;
1183 rv
= self
->ParseDateTime(_datetime
);
1184 if (rv
== NULL
) return -1;
1185 return rv
- _datetime
;
1187 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1189 const wxChar
* _date
= date
;
1190 rv
= self
->ParseDate(_date
);
1191 if (rv
== NULL
) return -1;
1194 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1196 const wxChar
* _time
= time
;
1197 rv
= self
->ParseTime(_time
);
1198 if (rv
== NULL
) return -1;
1201 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1202 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1203 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1204 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1205 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1206 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1207 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1208 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1209 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1210 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1211 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1212 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1213 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1214 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1215 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1216 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1218 #include <wx/dataobj.h>
1220 // Create a new class for wxPython to use
1221 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1223 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1224 : wxDataObjectSimple(format
) {}
1226 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1227 bool GetDataHere(void *buf
) const;
1228 bool SetData(size_t len
, const void *buf
) const;
1232 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1234 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1235 // We need to get the data for this object and write it to buf. I think
1236 // the best way to do this for wxPython is to have the Python method
1237 // return either a string or None and then act appropriately with the
1241 bool blocked
= wxPyBeginBlockThreads();
1242 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1244 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1246 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1248 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1252 wxPyEndBlockThreads(blocked
);
1256 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1257 // For this one we simply need to make a string from buf and len
1258 // and send it to the Python method.
1260 bool blocked
= wxPyBeginBlockThreads();
1261 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1262 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1263 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1266 wxPyEndBlockThreads(blocked
);
1270 // Create a new class for wxPython to use
1271 class wxPyTextDataObject
: public wxTextDataObject
{
1273 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1274 : wxTextDataObject(text
) {}
1276 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1277 DEC_PYCALLBACK_STRING__const(GetText
);
1278 DEC_PYCALLBACK__STRING(SetText
);
1282 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1283 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1284 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1287 // Create a new class for wxPython to use
1288 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1290 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1291 : wxBitmapDataObject(bitmap
) {}
1293 wxBitmap
GetBitmap() const;
1294 void SetBitmap(const wxBitmap
& bitmap
);
1298 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1299 wxBitmap
* rval
= &wxNullBitmap
;
1300 bool blocked
= wxPyBeginBlockThreads();
1301 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1304 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1306 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1311 wxPyEndBlockThreads(blocked
);
1315 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1316 bool blocked
= wxPyBeginBlockThreads();
1317 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1318 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1319 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1322 wxPyEndBlockThreads(blocked
);
1325 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1326 if (PyString_Check(data
)) {
1327 // for Python we just call SetData here since we always need it to make a copy.
1328 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1331 // raise a TypeError if not a string
1332 PyErr_SetString(PyExc_TypeError
, "String expected.");
1335 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1336 if (PyString_Check(data
)) {
1337 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1340 // raise a TypeError if not a string
1341 PyErr_SetString(PyExc_TypeError
, "String expected.");
1345 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1346 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1349 #include <wx/metafile.h>
1352 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1355 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1356 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1357 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1358 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1359 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1362 class wxPyTextDropTarget
: public wxTextDropTarget
{
1364 wxPyTextDropTarget() {}
1366 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1368 DEC_PYCALLBACK__(OnLeave
);
1369 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1370 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1371 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1372 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1377 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1378 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1379 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1380 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1381 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1382 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1386 class wxPyFileDropTarget
: public wxFileDropTarget
{
1388 wxPyFileDropTarget() {}
1390 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1392 DEC_PYCALLBACK__(OnLeave
);
1393 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1394 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1395 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1396 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1401 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1402 const wxArrayString
& filenames
) {
1404 bool blocked
= wxPyBeginBlockThreads();
1405 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1406 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1407 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1410 wxPyEndBlockThreads(blocked
);
1416 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1417 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1418 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1419 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1420 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1425 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1427 #include "wx/display.h"
1429 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1430 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1431 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1432 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1433 PyObject
* pyList
= NULL
;
1434 wxArrayVideoModes arr
= self
->GetModes(mode
);
1435 bool blocked
= wxPyBeginBlockThreads();
1436 pyList
= PyList_New(0);
1437 for (int i
=0; i
< arr
.GetCount(); i
++) {
1438 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1439 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1440 PyList_Append(pyList
, pyObj
);
1442 wxPyEndBlockThreads(blocked
);
1448 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
*resultobj
;
1452 PyObject
* obj0
= 0 ;
1454 (char *) "index", NULL
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1458 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1459 if (PyErr_Occurred()) SWIG_fail
;
1461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1462 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1464 wxPyEndAllowThreads(__tstate
);
1465 if (PyErr_Occurred()) SWIG_fail
;
1468 wxColour
* resultptr
;
1469 resultptr
= new wxColour((wxColour
&) result
);
1470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1478 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
*resultobj
;
1482 PyObject
* obj0
= 0 ;
1484 (char *) "index", NULL
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1488 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1489 if (PyErr_Occurred()) SWIG_fail
;
1491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1492 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1494 wxPyEndAllowThreads(__tstate
);
1495 if (PyErr_Occurred()) SWIG_fail
;
1499 resultptr
= new wxFont((wxFont
&) result
);
1500 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1508 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1509 PyObject
*resultobj
;
1512 PyObject
* obj0
= 0 ;
1514 (char *) "index", NULL
1517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1518 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1519 if (PyErr_Occurred()) SWIG_fail
;
1521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1522 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1524 wxPyEndAllowThreads(__tstate
);
1525 if (PyErr_Occurred()) SWIG_fail
;
1527 resultobj
= SWIG_FromInt((int)result
);
1534 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1535 PyObject
*resultobj
;
1538 PyObject
* obj0
= 0 ;
1540 (char *) "index", NULL
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1544 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1545 if (PyErr_Occurred()) SWIG_fail
;
1547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1548 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1550 wxPyEndAllowThreads(__tstate
);
1551 if (PyErr_Occurred()) SWIG_fail
;
1554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1562 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1563 PyObject
*resultobj
;
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1572 result
= (int)wxSystemSettings::GetScreenType();
1574 wxPyEndAllowThreads(__tstate
);
1575 if (PyErr_Occurred()) SWIG_fail
;
1577 resultobj
= SWIG_FromInt((int)result
);
1584 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1585 PyObject
*resultobj
;
1587 PyObject
* obj0
= 0 ;
1589 (char *) "screen", NULL
1592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1593 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1594 if (PyErr_Occurred()) SWIG_fail
;
1596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1597 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1599 wxPyEndAllowThreads(__tstate
);
1600 if (PyErr_Occurred()) SWIG_fail
;
1602 Py_INCREF(Py_None
); resultobj
= Py_None
;
1609 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
1611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1612 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1614 return Py_BuildValue((char *)"");
1616 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
*resultobj
;
1618 wxSystemOptions
*result
;
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1626 result
= (wxSystemOptions
*)new wxSystemOptions();
1628 wxPyEndAllowThreads(__tstate
);
1629 if (PyErr_Occurred()) SWIG_fail
;
1631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1638 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1639 PyObject
*resultobj
;
1640 wxString
*arg1
= 0 ;
1641 wxString
*arg2
= 0 ;
1642 bool temp1
= False
;
1643 bool temp2
= False
;
1644 PyObject
* obj0
= 0 ;
1645 PyObject
* obj1
= 0 ;
1647 (char *) "name",(char *) "value", NULL
1650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1652 arg1
= wxString_in_helper(obj0
);
1653 if (arg1
== NULL
) SWIG_fail
;
1657 arg2
= wxString_in_helper(obj1
);
1658 if (arg2
== NULL
) SWIG_fail
;
1662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1663 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1665 wxPyEndAllowThreads(__tstate
);
1666 if (PyErr_Occurred()) SWIG_fail
;
1668 Py_INCREF(Py_None
); resultobj
= Py_None
;
1691 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1692 PyObject
*resultobj
;
1693 wxString
*arg1
= 0 ;
1695 bool temp1
= False
;
1696 PyObject
* obj0
= 0 ;
1697 PyObject
* obj1
= 0 ;
1699 (char *) "name",(char *) "value", NULL
1702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1704 arg1
= wxString_in_helper(obj0
);
1705 if (arg1
== NULL
) SWIG_fail
;
1708 arg2
= (int) SWIG_AsInt(obj1
);
1709 if (PyErr_Occurred()) SWIG_fail
;
1711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1712 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1714 wxPyEndAllowThreads(__tstate
);
1715 if (PyErr_Occurred()) SWIG_fail
;
1717 Py_INCREF(Py_None
); resultobj
= Py_None
;
1732 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1733 PyObject
*resultobj
;
1734 wxString
*arg1
= 0 ;
1736 bool temp1
= False
;
1737 PyObject
* obj0
= 0 ;
1739 (char *) "name", NULL
1742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1744 arg1
= wxString_in_helper(obj0
);
1745 if (arg1
== NULL
) SWIG_fail
;
1749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1750 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1752 wxPyEndAllowThreads(__tstate
);
1753 if (PyErr_Occurred()) SWIG_fail
;
1757 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1759 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1776 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1777 PyObject
*resultobj
;
1778 wxString
*arg1
= 0 ;
1780 bool temp1
= False
;
1781 PyObject
* obj0
= 0 ;
1783 (char *) "name", NULL
1786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1788 arg1
= wxString_in_helper(obj0
);
1789 if (arg1
== NULL
) SWIG_fail
;
1793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1794 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1796 wxPyEndAllowThreads(__tstate
);
1797 if (PyErr_Occurred()) SWIG_fail
;
1799 resultobj
= SWIG_FromInt((int)result
);
1814 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1815 PyObject
*resultobj
;
1816 wxString
*arg1
= 0 ;
1818 bool temp1
= False
;
1819 PyObject
* obj0
= 0 ;
1821 (char *) "name", NULL
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1826 arg1
= wxString_in_helper(obj0
);
1827 if (arg1
== NULL
) SWIG_fail
;
1831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1832 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1834 wxPyEndAllowThreads(__tstate
);
1835 if (PyErr_Occurred()) SWIG_fail
;
1838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1854 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
1856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1857 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1859 return Py_BuildValue((char *)"");
1861 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
1862 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1867 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1872 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1874 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1881 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
1882 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1887 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1892 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1894 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1901 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
1902 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1907 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1912 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1914 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1921 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1922 PyObject
*resultobj
;
1928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1931 result
= (long)wxNewId();
1933 wxPyEndAllowThreads(__tstate
);
1934 if (PyErr_Occurred()) SWIG_fail
;
1936 resultobj
= SWIG_FromLong((long)result
);
1943 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1944 PyObject
*resultobj
;
1946 PyObject
* obj0
= 0 ;
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
1952 arg1
= (long) SWIG_AsLong(obj0
);
1953 if (PyErr_Occurred()) SWIG_fail
;
1955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1958 wxPyEndAllowThreads(__tstate
);
1959 if (PyErr_Occurred()) SWIG_fail
;
1961 Py_INCREF(Py_None
); resultobj
= Py_None
;
1968 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1969 PyObject
*resultobj
;
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1978 result
= (long)wxGetCurrentId();
1980 wxPyEndAllowThreads(__tstate
);
1981 if (PyErr_Occurred()) SWIG_fail
;
1983 resultobj
= SWIG_FromLong((long)result
);
1990 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1991 PyObject
*resultobj
;
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
1998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2001 wxPyEndAllowThreads(__tstate
);
2002 if (PyErr_Occurred()) SWIG_fail
;
2004 Py_INCREF(Py_None
); resultobj
= Py_None
;
2011 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2012 PyObject
*resultobj
;
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2022 wxPyEndAllowThreads(__tstate
);
2023 if (PyErr_Occurred()) SWIG_fail
;
2025 Py_INCREF(Py_None
); resultobj
= Py_None
;
2032 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2033 PyObject
*resultobj
;
2034 bool arg1
= (bool) True
;
2036 PyObject
* obj0
= 0 ;
2038 (char *) "resetTimer", NULL
2041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2043 arg1
= (bool) SWIG_AsBool(obj0
);
2044 if (PyErr_Occurred()) SWIG_fail
;
2047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2048 result
= (long)wxGetElapsedTime(arg1
);
2050 wxPyEndAllowThreads(__tstate
);
2051 if (PyErr_Occurred()) SWIG_fail
;
2053 resultobj
= SWIG_FromLong((long)result
);
2060 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
*resultobj
;
2062 int *arg1
= (int *) 0 ;
2063 int *arg2
= (int *) 0 ;
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2075 wxGetMousePosition(arg1
,arg2
);
2077 wxPyEndAllowThreads(__tstate
);
2078 if (PyErr_Occurred()) SWIG_fail
;
2080 Py_INCREF(Py_None
); resultobj
= Py_None
;
2082 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2083 resultobj
= t_output_helper(resultobj
,o
);
2086 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2087 resultobj
= t_output_helper(resultobj
,o
);
2095 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2096 PyObject
*resultobj
;
2102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2105 result
= (bool)wxIsBusy();
2107 wxPyEndAllowThreads(__tstate
);
2108 if (PyErr_Occurred()) SWIG_fail
;
2111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2119 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2120 PyObject
*resultobj
;
2126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2131 wxPyEndAllowThreads(__tstate
);
2132 if (PyErr_Occurred()) SWIG_fail
;
2136 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2138 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2147 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2148 PyObject
*resultobj
;
2149 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2150 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2152 bool temp1
= False
;
2153 PyObject
* obj0
= 0 ;
2155 (char *) "command", NULL
2158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2161 arg1
= wxString_in_helper(obj0
);
2162 if (arg1
== NULL
) SWIG_fail
;
2167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2168 result
= (bool)wxShell((wxString
const &)*arg1
);
2170 wxPyEndAllowThreads(__tstate
);
2171 if (PyErr_Occurred()) SWIG_fail
;
2174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2190 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
*resultobj
;
2196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2201 wxPyEndAllowThreads(__tstate
);
2202 if (PyErr_Occurred()) SWIG_fail
;
2204 Py_INCREF(Py_None
); resultobj
= Py_None
;
2211 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2212 PyObject
*resultobj
;
2213 int *arg1
= (int *) 0 ;
2214 int *arg2
= (int *) 0 ;
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2227 result
= (int)wxGetOsVersion(arg1
,arg2
);
2229 wxPyEndAllowThreads(__tstate
);
2230 if (PyErr_Occurred()) SWIG_fail
;
2232 resultobj
= SWIG_FromInt((int)result
);
2234 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2235 resultobj
= t_output_helper(resultobj
,o
);
2238 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2239 resultobj
= t_output_helper(resultobj
,o
);
2247 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
*resultobj
;
2254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2257 result
= wxGetOsDescription();
2259 wxPyEndAllowThreads(__tstate
);
2260 if (PyErr_Occurred()) SWIG_fail
;
2264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2275 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2276 PyObject
*resultobj
;
2282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2285 result
= (long)wxGetFreeMemory();
2287 wxPyEndAllowThreads(__tstate
);
2288 if (PyErr_Occurred()) SWIG_fail
;
2290 resultobj
= SWIG_FromLong((long)result
);
2297 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2298 PyObject
*resultobj
;
2301 PyObject
* obj0
= 0 ;
2303 (char *) "wFlags", NULL
2306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2307 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2308 if (PyErr_Occurred()) SWIG_fail
;
2310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2311 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2313 wxPyEndAllowThreads(__tstate
);
2314 if (PyErr_Occurred()) SWIG_fail
;
2317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2325 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2326 PyObject
*resultobj
;
2328 PyObject
* obj0
= 0 ;
2330 (char *) "secs", NULL
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2334 arg1
= (int) SWIG_AsInt(obj0
);
2335 if (PyErr_Occurred()) SWIG_fail
;
2337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2340 wxPyEndAllowThreads(__tstate
);
2341 if (PyErr_Occurred()) SWIG_fail
;
2343 Py_INCREF(Py_None
); resultobj
= Py_None
;
2350 static PyObject
*_wrap_Usleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2351 PyObject
*resultobj
;
2352 unsigned long arg1
;
2353 PyObject
* obj0
= 0 ;
2355 (char *) "milliseconds", NULL
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2359 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2360 if (PyErr_Occurred()) SWIG_fail
;
2362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2365 wxPyEndAllowThreads(__tstate
);
2366 if (PyErr_Occurred()) SWIG_fail
;
2368 Py_INCREF(Py_None
); resultobj
= Py_None
;
2375 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2376 PyObject
*resultobj
;
2378 PyObject
* obj0
= 0 ;
2380 (char *) "enable", NULL
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2384 arg1
= (bool) SWIG_AsBool(obj0
);
2385 if (PyErr_Occurred()) SWIG_fail
;
2387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2388 wxEnableTopLevelWindows(arg1
);
2390 wxPyEndAllowThreads(__tstate
);
2391 if (PyErr_Occurred()) SWIG_fail
;
2393 Py_INCREF(Py_None
); resultobj
= Py_None
;
2400 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2401 PyObject
*resultobj
;
2402 wxString
*arg1
= 0 ;
2404 bool temp1
= False
;
2405 PyObject
* obj0
= 0 ;
2410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2412 arg1
= wxString_in_helper(obj0
);
2413 if (arg1
== NULL
) SWIG_fail
;
2417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2418 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2420 wxPyEndAllowThreads(__tstate
);
2421 if (PyErr_Occurred()) SWIG_fail
;
2425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2444 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
*resultobj
;
2451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2454 result
= wxGetEmailAddress();
2456 wxPyEndAllowThreads(__tstate
);
2457 if (PyErr_Occurred()) SWIG_fail
;
2461 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2463 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2472 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2473 PyObject
*resultobj
;
2479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2482 result
= wxGetHostName();
2484 wxPyEndAllowThreads(__tstate
);
2485 if (PyErr_Occurred()) SWIG_fail
;
2489 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2491 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2500 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2501 PyObject
*resultobj
;
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2510 result
= wxGetFullHostName();
2512 wxPyEndAllowThreads(__tstate
);
2513 if (PyErr_Occurred()) SWIG_fail
;
2517 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2519 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2528 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2529 PyObject
*resultobj
;
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2538 result
= wxGetUserId();
2540 wxPyEndAllowThreads(__tstate
);
2541 if (PyErr_Occurred()) SWIG_fail
;
2545 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2547 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2556 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2557 PyObject
*resultobj
;
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2566 result
= wxGetUserName();
2568 wxPyEndAllowThreads(__tstate
);
2569 if (PyErr_Occurred()) SWIG_fail
;
2573 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2575 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2584 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
*resultobj
;
2591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2594 result
= wxGetHomeDir();
2596 wxPyEndAllowThreads(__tstate
);
2597 if (PyErr_Occurred()) SWIG_fail
;
2601 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2603 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2612 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2613 PyObject
*resultobj
;
2614 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2615 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2617 bool temp1
= False
;
2618 PyObject
* obj0
= 0 ;
2620 (char *) "user", NULL
2623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2626 arg1
= wxString_in_helper(obj0
);
2627 if (arg1
== NULL
) SWIG_fail
;
2632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2633 result
= wxGetUserHome((wxString
const &)*arg1
);
2635 wxPyEndAllowThreads(__tstate
);
2636 if (PyErr_Occurred()) SWIG_fail
;
2640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2659 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2660 PyObject
*resultobj
;
2661 unsigned long result
;
2666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2669 result
= (unsigned long)wxGetProcessId();
2671 wxPyEndAllowThreads(__tstate
);
2672 if (PyErr_Occurred()) SWIG_fail
;
2674 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2681 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
*resultobj
;
2687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2692 wxPyEndAllowThreads(__tstate
);
2693 if (PyErr_Occurred()) SWIG_fail
;
2695 Py_INCREF(Py_None
); resultobj
= Py_None
;
2702 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
*resultobj
;
2704 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2705 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2706 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2707 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2708 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2709 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2710 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2711 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2712 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2713 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2714 int arg6
= (int) 0 ;
2715 wxWindow
*arg7
= (wxWindow
*) NULL
;
2716 int arg8
= (int) -1 ;
2717 int arg9
= (int) -1 ;
2719 bool temp1
= False
;
2720 bool temp2
= False
;
2721 bool temp3
= False
;
2722 bool temp4
= False
;
2723 bool temp5
= False
;
2724 PyObject
* obj0
= 0 ;
2725 PyObject
* obj1
= 0 ;
2726 PyObject
* obj2
= 0 ;
2727 PyObject
* obj3
= 0 ;
2728 PyObject
* obj4
= 0 ;
2729 PyObject
* obj5
= 0 ;
2730 PyObject
* obj6
= 0 ;
2731 PyObject
* obj7
= 0 ;
2732 PyObject
* obj8
= 0 ;
2734 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2740 arg1
= wxString_in_helper(obj0
);
2741 if (arg1
== NULL
) SWIG_fail
;
2747 arg2
= wxString_in_helper(obj1
);
2748 if (arg2
== NULL
) SWIG_fail
;
2754 arg3
= wxString_in_helper(obj2
);
2755 if (arg3
== NULL
) SWIG_fail
;
2761 arg4
= wxString_in_helper(obj3
);
2762 if (arg4
== NULL
) SWIG_fail
;
2768 arg5
= wxString_in_helper(obj4
);
2769 if (arg5
== NULL
) SWIG_fail
;
2774 arg6
= (int) SWIG_AsInt(obj5
);
2775 if (PyErr_Occurred()) SWIG_fail
;
2778 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2782 arg8
= (int) SWIG_AsInt(obj7
);
2783 if (PyErr_Occurred()) SWIG_fail
;
2786 arg9
= (int) SWIG_AsInt(obj8
);
2787 if (PyErr_Occurred()) SWIG_fail
;
2790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2791 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2793 wxPyEndAllowThreads(__tstate
);
2794 if (PyErr_Occurred()) SWIG_fail
;
2798 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2800 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2849 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
*resultobj
;
2851 wxString
*arg1
= 0 ;
2852 wxString
*arg2
= 0 ;
2853 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2854 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2855 wxWindow
*arg4
= (wxWindow
*) NULL
;
2857 bool temp1
= False
;
2858 bool temp2
= False
;
2859 bool temp3
= False
;
2860 PyObject
* obj0
= 0 ;
2861 PyObject
* obj1
= 0 ;
2862 PyObject
* obj2
= 0 ;
2863 PyObject
* obj3
= 0 ;
2865 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2870 arg1
= wxString_in_helper(obj0
);
2871 if (arg1
== NULL
) SWIG_fail
;
2875 arg2
= wxString_in_helper(obj1
);
2876 if (arg2
== NULL
) SWIG_fail
;
2881 arg3
= wxString_in_helper(obj2
);
2882 if (arg3
== NULL
) SWIG_fail
;
2887 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2892 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2894 wxPyEndAllowThreads(__tstate
);
2895 if (PyErr_Occurred()) SWIG_fail
;
2899 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2901 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2934 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
*resultobj
;
2936 wxString
*arg1
= 0 ;
2937 wxString
*arg2
= 0 ;
2938 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2939 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2940 wxWindow
*arg4
= (wxWindow
*) NULL
;
2942 bool temp1
= False
;
2943 bool temp2
= False
;
2944 bool temp3
= False
;
2945 PyObject
* obj0
= 0 ;
2946 PyObject
* obj1
= 0 ;
2947 PyObject
* obj2
= 0 ;
2948 PyObject
* obj3
= 0 ;
2950 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2955 arg1
= wxString_in_helper(obj0
);
2956 if (arg1
== NULL
) SWIG_fail
;
2960 arg2
= wxString_in_helper(obj1
);
2961 if (arg2
== NULL
) SWIG_fail
;
2966 arg3
= wxString_in_helper(obj2
);
2967 if (arg3
== NULL
) SWIG_fail
;
2972 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2977 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2979 wxPyEndAllowThreads(__tstate
);
2980 if (PyErr_Occurred()) SWIG_fail
;
2984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3019 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3020 PyObject
*resultobj
;
3021 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3022 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3023 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3024 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3025 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3026 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3027 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3028 wxWindow
*arg5
= (wxWindow
*) NULL
;
3030 bool temp1
= False
;
3031 bool temp2
= False
;
3033 PyObject
* obj0
= 0 ;
3034 PyObject
* obj1
= 0 ;
3035 PyObject
* obj2
= 0 ;
3036 PyObject
* obj3
= 0 ;
3037 PyObject
* obj4
= 0 ;
3039 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3045 arg1
= wxString_in_helper(obj0
);
3046 if (arg1
== NULL
) SWIG_fail
;
3052 arg2
= wxString_in_helper(obj1
);
3053 if (arg2
== NULL
) SWIG_fail
;
3058 arg3
= (long) SWIG_AsLong(obj2
);
3059 if (PyErr_Occurred()) SWIG_fail
;
3064 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3068 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3073 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3075 wxPyEndAllowThreads(__tstate
);
3076 if (PyErr_Occurred()) SWIG_fail
;
3080 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3082 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3107 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3108 PyObject
*resultobj
;
3109 wxString
*arg1
= 0 ;
3110 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3111 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3112 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3113 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3114 wxWindow
*arg4
= (wxWindow
*) NULL
;
3115 int arg5
= (int) -1 ;
3116 int arg6
= (int) -1 ;
3117 bool arg7
= (bool) True
;
3119 bool temp1
= False
;
3120 bool temp2
= False
;
3121 bool temp3
= False
;
3122 PyObject
* obj0
= 0 ;
3123 PyObject
* obj1
= 0 ;
3124 PyObject
* obj2
= 0 ;
3125 PyObject
* obj3
= 0 ;
3126 PyObject
* obj4
= 0 ;
3127 PyObject
* obj5
= 0 ;
3128 PyObject
* obj6
= 0 ;
3130 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3135 arg1
= wxString_in_helper(obj0
);
3136 if (arg1
== NULL
) SWIG_fail
;
3141 arg2
= wxString_in_helper(obj1
);
3142 if (arg2
== NULL
) SWIG_fail
;
3148 arg3
= wxString_in_helper(obj2
);
3149 if (arg3
== NULL
) SWIG_fail
;
3154 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3158 arg5
= (int) SWIG_AsInt(obj4
);
3159 if (PyErr_Occurred()) SWIG_fail
;
3162 arg6
= (int) SWIG_AsInt(obj5
);
3163 if (PyErr_Occurred()) SWIG_fail
;
3166 arg7
= (bool) SWIG_AsBool(obj6
);
3167 if (PyErr_Occurred()) SWIG_fail
;
3170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3171 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3173 wxPyEndAllowThreads(__tstate
);
3174 if (PyErr_Occurred()) SWIG_fail
;
3178 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3180 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3213 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
*resultobj
;
3215 wxString
*arg1
= 0 ;
3216 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3217 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3218 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3219 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3220 wxWindow
*arg4
= (wxWindow
*) NULL
;
3222 bool temp1
= False
;
3223 bool temp2
= False
;
3224 bool temp3
= False
;
3225 PyObject
* obj0
= 0 ;
3226 PyObject
* obj1
= 0 ;
3227 PyObject
* obj2
= 0 ;
3228 PyObject
* obj3
= 0 ;
3230 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3235 arg1
= wxString_in_helper(obj0
);
3236 if (arg1
== NULL
) SWIG_fail
;
3241 arg2
= wxString_in_helper(obj1
);
3242 if (arg2
== NULL
) SWIG_fail
;
3248 arg3
= wxString_in_helper(obj2
);
3249 if (arg3
== NULL
) SWIG_fail
;
3254 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3259 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3261 wxPyEndAllowThreads(__tstate
);
3262 if (PyErr_Occurred()) SWIG_fail
;
3266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3301 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3302 PyObject
*resultobj
;
3303 wxString
*arg1
= 0 ;
3304 wxString
*arg2
= 0 ;
3306 wxString
*arg4
= (wxString
*) 0 ;
3307 wxWindow
*arg5
= (wxWindow
*) NULL
;
3308 int arg6
= (int) -1 ;
3309 int arg7
= (int) -1 ;
3310 bool arg8
= (bool) True
;
3311 int arg9
= (int) 150 ;
3312 int arg10
= (int) 200 ;
3314 bool temp1
= False
;
3315 bool temp2
= False
;
3316 PyObject
* obj0
= 0 ;
3317 PyObject
* obj1
= 0 ;
3318 PyObject
* obj2
= 0 ;
3319 PyObject
* obj3
= 0 ;
3320 PyObject
* obj4
= 0 ;
3321 PyObject
* obj5
= 0 ;
3322 PyObject
* obj6
= 0 ;
3323 PyObject
* obj7
= 0 ;
3324 PyObject
* obj8
= 0 ;
3326 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3331 arg1
= wxString_in_helper(obj0
);
3332 if (arg1
== NULL
) SWIG_fail
;
3336 arg2
= wxString_in_helper(obj1
);
3337 if (arg2
== NULL
) SWIG_fail
;
3341 arg3
= PyList_Size(obj2
);
3342 arg4
= wxString_LIST_helper(obj2
);
3343 if (arg4
== NULL
) SWIG_fail
;
3346 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3350 arg6
= (int) SWIG_AsInt(obj4
);
3351 if (PyErr_Occurred()) SWIG_fail
;
3354 arg7
= (int) SWIG_AsInt(obj5
);
3355 if (PyErr_Occurred()) SWIG_fail
;
3358 arg8
= (bool) SWIG_AsBool(obj6
);
3359 if (PyErr_Occurred()) SWIG_fail
;
3362 arg9
= (int) SWIG_AsInt(obj7
);
3363 if (PyErr_Occurred()) SWIG_fail
;
3366 arg10
= (int) SWIG_AsInt(obj8
);
3367 if (PyErr_Occurred()) SWIG_fail
;
3370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3371 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3373 wxPyEndAllowThreads(__tstate
);
3374 if (PyErr_Occurred()) SWIG_fail
;
3378 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3380 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3392 if (arg4
) delete [] arg4
;
3405 if (arg4
) delete [] arg4
;
3411 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3412 PyObject
*resultobj
;
3413 wxString
*arg1
= 0 ;
3414 wxString
*arg2
= 0 ;
3416 wxString
*arg4
= (wxString
*) 0 ;
3417 wxWindow
*arg5
= (wxWindow
*) NULL
;
3418 int arg6
= (int) -1 ;
3419 int arg7
= (int) -1 ;
3420 bool arg8
= (bool) True
;
3421 int arg9
= (int) 150 ;
3422 int arg10
= (int) 200 ;
3424 bool temp1
= False
;
3425 bool temp2
= False
;
3426 PyObject
* obj0
= 0 ;
3427 PyObject
* obj1
= 0 ;
3428 PyObject
* obj2
= 0 ;
3429 PyObject
* obj3
= 0 ;
3430 PyObject
* obj4
= 0 ;
3431 PyObject
* obj5
= 0 ;
3432 PyObject
* obj6
= 0 ;
3433 PyObject
* obj7
= 0 ;
3434 PyObject
* obj8
= 0 ;
3436 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3441 arg1
= wxString_in_helper(obj0
);
3442 if (arg1
== NULL
) SWIG_fail
;
3446 arg2
= wxString_in_helper(obj1
);
3447 if (arg2
== NULL
) SWIG_fail
;
3451 arg3
= PyList_Size(obj2
);
3452 arg4
= wxString_LIST_helper(obj2
);
3453 if (arg4
== NULL
) SWIG_fail
;
3456 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3460 arg6
= (int) SWIG_AsInt(obj4
);
3461 if (PyErr_Occurred()) SWIG_fail
;
3464 arg7
= (int) SWIG_AsInt(obj5
);
3465 if (PyErr_Occurred()) SWIG_fail
;
3468 arg8
= (bool) SWIG_AsBool(obj6
);
3469 if (PyErr_Occurred()) SWIG_fail
;
3472 arg9
= (int) SWIG_AsInt(obj7
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3476 arg10
= (int) SWIG_AsInt(obj8
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3481 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3483 wxPyEndAllowThreads(__tstate
);
3484 if (PyErr_Occurred()) SWIG_fail
;
3486 resultobj
= SWIG_FromInt((int)result
);
3496 if (arg4
) delete [] arg4
;
3509 if (arg4
) delete [] arg4
;
3515 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
*resultobj
;
3517 wxString
*arg1
= 0 ;
3518 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3519 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3520 int arg3
= (int) wxOK
|wxCENTRE
;
3521 wxWindow
*arg4
= (wxWindow
*) NULL
;
3522 int arg5
= (int) -1 ;
3523 int arg6
= (int) -1 ;
3525 bool temp1
= False
;
3526 bool temp2
= False
;
3527 PyObject
* obj0
= 0 ;
3528 PyObject
* obj1
= 0 ;
3529 PyObject
* obj2
= 0 ;
3530 PyObject
* obj3
= 0 ;
3531 PyObject
* obj4
= 0 ;
3532 PyObject
* obj5
= 0 ;
3534 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3539 arg1
= wxString_in_helper(obj0
);
3540 if (arg1
== NULL
) SWIG_fail
;
3545 arg2
= wxString_in_helper(obj1
);
3546 if (arg2
== NULL
) SWIG_fail
;
3551 arg3
= (int) SWIG_AsInt(obj2
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3555 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3559 arg5
= (int) SWIG_AsInt(obj4
);
3560 if (PyErr_Occurred()) SWIG_fail
;
3563 arg6
= (int) SWIG_AsInt(obj5
);
3564 if (PyErr_Occurred()) SWIG_fail
;
3567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3568 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3570 wxPyEndAllowThreads(__tstate
);
3571 if (PyErr_Occurred()) SWIG_fail
;
3573 resultobj
= SWIG_FromInt((int)result
);
3596 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3597 PyObject
*resultobj
;
3598 wxString
*arg1
= 0 ;
3599 wxString
*arg2
= 0 ;
3600 wxString
*arg3
= 0 ;
3602 long arg5
= (long) 0 ;
3603 long arg6
= (long) 100 ;
3604 wxWindow
*arg7
= (wxWindow
*) NULL
;
3605 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3606 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3608 bool temp1
= False
;
3609 bool temp2
= False
;
3610 bool temp3
= False
;
3612 PyObject
* obj0
= 0 ;
3613 PyObject
* obj1
= 0 ;
3614 PyObject
* obj2
= 0 ;
3615 PyObject
* obj3
= 0 ;
3616 PyObject
* obj4
= 0 ;
3617 PyObject
* obj5
= 0 ;
3618 PyObject
* obj6
= 0 ;
3619 PyObject
* obj7
= 0 ;
3621 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3626 arg1
= wxString_in_helper(obj0
);
3627 if (arg1
== NULL
) SWIG_fail
;
3631 arg2
= wxString_in_helper(obj1
);
3632 if (arg2
== NULL
) SWIG_fail
;
3636 arg3
= wxString_in_helper(obj2
);
3637 if (arg3
== NULL
) SWIG_fail
;
3640 arg4
= (long) SWIG_AsLong(obj3
);
3641 if (PyErr_Occurred()) SWIG_fail
;
3643 arg5
= (long) SWIG_AsLong(obj4
);
3644 if (PyErr_Occurred()) SWIG_fail
;
3647 arg6
= (long) SWIG_AsLong(obj5
);
3648 if (PyErr_Occurred()) SWIG_fail
;
3651 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3657 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3662 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3664 wxPyEndAllowThreads(__tstate
);
3665 if (PyErr_Occurred()) SWIG_fail
;
3667 resultobj
= SWIG_FromLong((long)result
);
3698 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3699 PyObject
*resultobj
;
3705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3708 result
= (bool)wxColourDisplay();
3710 wxPyEndAllowThreads(__tstate
);
3711 if (PyErr_Occurred()) SWIG_fail
;
3714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3722 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3723 PyObject
*resultobj
;
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3732 result
= (int)wxDisplayDepth();
3734 wxPyEndAllowThreads(__tstate
);
3735 if (PyErr_Occurred()) SWIG_fail
;
3737 resultobj
= SWIG_FromInt((int)result
);
3744 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
*resultobj
;
3751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3754 result
= (int)wxGetDisplayDepth();
3756 wxPyEndAllowThreads(__tstate
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3759 resultobj
= SWIG_FromInt((int)result
);
3766 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
*resultobj
;
3768 int *arg1
= (int *) 0 ;
3769 int *arg2
= (int *) 0 ;
3778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3781 wxDisplaySize(arg1
,arg2
);
3783 wxPyEndAllowThreads(__tstate
);
3784 if (PyErr_Occurred()) SWIG_fail
;
3786 Py_INCREF(Py_None
); resultobj
= Py_None
;
3788 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3789 resultobj
= t_output_helper(resultobj
,o
);
3792 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3793 resultobj
= t_output_helper(resultobj
,o
);
3801 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3802 PyObject
*resultobj
;
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3811 result
= wxGetDisplaySize();
3813 wxPyEndAllowThreads(__tstate
);
3814 if (PyErr_Occurred()) SWIG_fail
;
3818 resultptr
= new wxSize((wxSize
&) result
);
3819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3827 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
*resultobj
;
3829 int *arg1
= (int *) 0 ;
3830 int *arg2
= (int *) 0 ;
3839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3842 wxDisplaySizeMM(arg1
,arg2
);
3844 wxPyEndAllowThreads(__tstate
);
3845 if (PyErr_Occurred()) SWIG_fail
;
3847 Py_INCREF(Py_None
); resultobj
= Py_None
;
3849 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3850 resultobj
= t_output_helper(resultobj
,o
);
3853 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3854 resultobj
= t_output_helper(resultobj
,o
);
3862 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
*resultobj
;
3869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3872 result
= wxGetDisplaySizeMM();
3874 wxPyEndAllowThreads(__tstate
);
3875 if (PyErr_Occurred()) SWIG_fail
;
3879 resultptr
= new wxSize((wxSize
&) result
);
3880 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3888 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3889 PyObject
*resultobj
;
3890 int *arg1
= (int *) 0 ;
3891 int *arg2
= (int *) 0 ;
3892 int *arg3
= (int *) 0 ;
3893 int *arg4
= (int *) 0 ;
3906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3909 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3911 wxPyEndAllowThreads(__tstate
);
3912 if (PyErr_Occurred()) SWIG_fail
;
3914 Py_INCREF(Py_None
); resultobj
= Py_None
;
3916 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3917 resultobj
= t_output_helper(resultobj
,o
);
3920 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3921 resultobj
= t_output_helper(resultobj
,o
);
3924 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3925 resultobj
= t_output_helper(resultobj
,o
);
3928 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3929 resultobj
= t_output_helper(resultobj
,o
);
3937 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
*resultobj
;
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3947 result
= wxGetClientDisplayRect();
3949 wxPyEndAllowThreads(__tstate
);
3950 if (PyErr_Occurred()) SWIG_fail
;
3954 resultptr
= new wxRect((wxRect
&) result
);
3955 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3963 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
*resultobj
;
3965 wxCursor
*arg1
= 0 ;
3966 PyObject
* obj0
= 0 ;
3968 (char *) "cursor", NULL
3971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
3973 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3976 PyErr_SetString(PyExc_TypeError
,"null reference");
3980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3983 wxPyEndAllowThreads(__tstate
);
3984 if (PyErr_Occurred()) SWIG_fail
;
3986 Py_INCREF(Py_None
); resultobj
= Py_None
;
3993 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
*resultobj
;
3995 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3996 PyObject
* obj0
= 0 ;
3998 (char *) "cursor", NULL
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4008 wxBeginBusyCursor(arg1
);
4010 wxPyEndAllowThreads(__tstate
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4013 Py_INCREF(Py_None
); resultobj
= Py_None
;
4020 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
*resultobj
;
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 result
= (wxWindow
*)wxGetActiveWindow();
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) SWIG_fail
;
4036 resultobj
= wxPyMake_wxObject(result
);
4044 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4045 PyObject
*resultobj
;
4049 PyObject
* obj0
= 0 ;
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4057 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4061 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4063 wxPyEndAllowThreads(__tstate
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4067 resultobj
= wxPyMake_wxObject(result
);
4075 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4076 PyObject
*resultobj
;
4080 PyObject
* obj0
= 0 ;
4085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4088 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4098 resultobj
= wxPyMake_wxObject(result
);
4106 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4107 PyObject
*resultobj
;
4108 wxWindow
*arg1
= (wxWindow
*) 0 ;
4110 PyObject
* obj0
= 0 ;
4112 (char *) "win", NULL
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4120 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4122 wxPyEndAllowThreads(__tstate
);
4123 if (PyErr_Occurred()) SWIG_fail
;
4126 resultobj
= wxPyMake_wxObject(result
);
4134 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4135 PyObject
*resultobj
;
4138 PyObject
* obj0
= 0 ;
4140 (char *) "key", NULL
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4144 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4162 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4163 PyObject
*resultobj
;
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 wxWakeUpMainThread();
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) SWIG_fail
;
4176 Py_INCREF(Py_None
); resultobj
= Py_None
;
4183 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
*resultobj
;
4189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 wxPyEndAllowThreads(__tstate
);
4195 if (PyErr_Occurred()) SWIG_fail
;
4197 Py_INCREF(Py_None
); resultobj
= Py_None
;
4204 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
*resultobj
;
4210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4218 Py_INCREF(Py_None
); resultobj
= Py_None
;
4225 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
*resultobj
;
4227 wxMutexGuiLocker
*result
;
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4237 wxPyEndAllowThreads(__tstate
);
4238 if (PyErr_Occurred()) SWIG_fail
;
4240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4247 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
*resultobj
;
4249 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4250 PyObject
* obj0
= 0 ;
4252 (char *) "self", NULL
4255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4265 Py_INCREF(Py_None
); resultobj
= Py_None
;
4272 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
4274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4275 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4277 return Py_BuildValue((char *)"");
4279 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4280 PyObject
*resultobj
;
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 result
= (bool)wxThread_IsMain();
4291 wxPyEndAllowThreads(__tstate
);
4292 if (PyErr_Occurred()) SWIG_fail
;
4295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4303 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
*resultobj
;
4305 wxString
*arg1
= 0 ;
4307 bool temp1
= False
;
4308 PyObject
* obj0
= 0 ;
4310 (char *) "tip", NULL
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4315 arg1
= wxString_in_helper(obj0
);
4316 if (arg1
== NULL
) SWIG_fail
;
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4323 wxPyEndAllowThreads(__tstate
);
4324 if (PyErr_Occurred()) SWIG_fail
;
4327 resultobj
= wxPyMake_wxObject(result
);
4343 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
*resultobj
;
4345 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4346 wxString
*arg2
= 0 ;
4347 bool temp2
= False
;
4348 PyObject
* obj0
= 0 ;
4349 PyObject
* obj1
= 0 ;
4351 (char *) "self",(char *) "tip", NULL
4354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4358 arg2
= wxString_in_helper(obj1
);
4359 if (arg2
== NULL
) SWIG_fail
;
4363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 (arg1
)->SetTip((wxString
const &)*arg2
);
4366 wxPyEndAllowThreads(__tstate
);
4367 if (PyErr_Occurred()) SWIG_fail
;
4369 Py_INCREF(Py_None
); resultobj
= Py_None
;
4384 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
*resultobj
;
4386 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4388 PyObject
* obj0
= 0 ;
4390 (char *) "self", NULL
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4398 result
= (arg1
)->GetTip();
4400 wxPyEndAllowThreads(__tstate
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4416 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
*resultobj
;
4418 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4420 PyObject
* obj0
= 0 ;
4422 (char *) "self", NULL
4425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4430 result
= (wxWindow
*)(arg1
)->GetWindow();
4432 wxPyEndAllowThreads(__tstate
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4436 resultobj
= wxPyMake_wxObject(result
);
4444 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4445 PyObject
*resultobj
;
4447 PyObject
* obj0
= 0 ;
4449 (char *) "flag", NULL
4452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4453 arg1
= (bool) SWIG_AsBool(obj0
);
4454 if (PyErr_Occurred()) SWIG_fail
;
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4457 wxToolTip::Enable(arg1
);
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4462 Py_INCREF(Py_None
); resultobj
= Py_None
;
4469 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
*resultobj
;
4472 PyObject
* obj0
= 0 ;
4474 (char *) "milliseconds", NULL
4477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4478 arg1
= (long) SWIG_AsLong(obj0
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4482 wxToolTip::SetDelay(arg1
);
4484 wxPyEndAllowThreads(__tstate
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4487 Py_INCREF(Py_None
); resultobj
= Py_None
;
4494 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
4496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4497 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4499 return Py_BuildValue((char *)"");
4501 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
*resultobj
;
4503 wxWindow
*arg1
= (wxWindow
*) 0 ;
4507 PyObject
* obj0
= 0 ;
4508 PyObject
* obj1
= 0 ;
4510 (char *) "window",(char *) "size", NULL
4513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4518 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4522 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4524 wxPyEndAllowThreads(__tstate
);
4525 if (PyErr_Occurred()) SWIG_fail
;
4527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4534 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4535 PyObject
*resultobj
;
4536 wxCaret
*arg1
= (wxCaret
*) 0 ;
4537 PyObject
* obj0
= 0 ;
4539 (char *) "self", NULL
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4549 wxPyEndAllowThreads(__tstate
);
4550 if (PyErr_Occurred()) SWIG_fail
;
4552 Py_INCREF(Py_None
); resultobj
= Py_None
;
4559 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4560 PyObject
*resultobj
;
4561 wxCaret
*arg1
= (wxCaret
*) 0 ;
4563 PyObject
* obj0
= 0 ;
4565 (char *) "self", NULL
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4573 result
= (bool)(arg1
)->IsOk();
4575 wxPyEndAllowThreads(__tstate
);
4576 if (PyErr_Occurred()) SWIG_fail
;
4579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4587 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4588 PyObject
*resultobj
;
4589 wxCaret
*arg1
= (wxCaret
*) 0 ;
4591 PyObject
* obj0
= 0 ;
4593 (char *) "self", NULL
4596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4601 result
= (bool)(arg1
)->IsVisible();
4603 wxPyEndAllowThreads(__tstate
);
4604 if (PyErr_Occurred()) SWIG_fail
;
4607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4615 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
*resultobj
;
4617 wxCaret
*arg1
= (wxCaret
*) 0 ;
4619 PyObject
* obj0
= 0 ;
4621 (char *) "self", NULL
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4629 result
= (arg1
)->GetPosition();
4631 wxPyEndAllowThreads(__tstate
);
4632 if (PyErr_Occurred()) SWIG_fail
;
4635 wxPoint
* resultptr
;
4636 resultptr
= new wxPoint((wxPoint
&) result
);
4637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4645 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
*resultobj
;
4647 wxCaret
*arg1
= (wxCaret
*) 0 ;
4648 int *arg2
= (int *) 0 ;
4649 int *arg3
= (int *) 0 ;
4652 PyObject
* obj0
= 0 ;
4654 (char *) "self", NULL
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 (arg1
)->GetPosition(arg2
,arg3
);
4666 wxPyEndAllowThreads(__tstate
);
4667 if (PyErr_Occurred()) SWIG_fail
;
4669 Py_INCREF(Py_None
); resultobj
= Py_None
;
4671 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4672 resultobj
= t_output_helper(resultobj
,o
);
4675 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4676 resultobj
= t_output_helper(resultobj
,o
);
4684 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4685 PyObject
*resultobj
;
4686 wxCaret
*arg1
= (wxCaret
*) 0 ;
4688 PyObject
* obj0
= 0 ;
4690 (char *) "self", NULL
4693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4698 result
= (arg1
)->GetSize();
4700 wxPyEndAllowThreads(__tstate
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4705 resultptr
= new wxSize((wxSize
&) result
);
4706 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4714 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4715 PyObject
*resultobj
;
4716 wxCaret
*arg1
= (wxCaret
*) 0 ;
4717 int *arg2
= (int *) 0 ;
4718 int *arg3
= (int *) 0 ;
4721 PyObject
* obj0
= 0 ;
4723 (char *) "self", NULL
4728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4733 (arg1
)->GetSize(arg2
,arg3
);
4735 wxPyEndAllowThreads(__tstate
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4738 Py_INCREF(Py_None
); resultobj
= Py_None
;
4740 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4741 resultobj
= t_output_helper(resultobj
,o
);
4744 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4745 resultobj
= t_output_helper(resultobj
,o
);
4753 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
*resultobj
;
4755 wxCaret
*arg1
= (wxCaret
*) 0 ;
4757 PyObject
* obj0
= 0 ;
4759 (char *) "self", NULL
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4767 result
= (wxWindow
*)(arg1
)->GetWindow();
4769 wxPyEndAllowThreads(__tstate
);
4770 if (PyErr_Occurred()) SWIG_fail
;
4773 resultobj
= wxPyMake_wxObject(result
);
4781 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4782 PyObject
*resultobj
;
4783 wxCaret
*arg1
= (wxCaret
*) 0 ;
4786 PyObject
* obj0
= 0 ;
4787 PyObject
* obj1
= 0 ;
4788 PyObject
* obj2
= 0 ;
4790 (char *) "self",(char *) "x",(char *) "y", NULL
4793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4796 arg2
= (int) SWIG_AsInt(obj1
);
4797 if (PyErr_Occurred()) SWIG_fail
;
4798 arg3
= (int) SWIG_AsInt(obj2
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4802 (arg1
)->Move(arg2
,arg3
);
4804 wxPyEndAllowThreads(__tstate
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4807 Py_INCREF(Py_None
); resultobj
= Py_None
;
4814 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4815 PyObject
*resultobj
;
4816 wxCaret
*arg1
= (wxCaret
*) 0 ;
4819 PyObject
* obj0
= 0 ;
4820 PyObject
* obj1
= 0 ;
4822 (char *) "self",(char *) "pt", NULL
4825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4830 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4834 (arg1
)->Move((wxPoint
const &)*arg2
);
4836 wxPyEndAllowThreads(__tstate
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4839 Py_INCREF(Py_None
); resultobj
= Py_None
;
4846 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
*resultobj
;
4848 wxCaret
*arg1
= (wxCaret
*) 0 ;
4851 PyObject
* obj0
= 0 ;
4852 PyObject
* obj1
= 0 ;
4853 PyObject
* obj2
= 0 ;
4855 (char *) "self",(char *) "width",(char *) "height", NULL
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4861 arg2
= (int) SWIG_AsInt(obj1
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4863 arg3
= (int) SWIG_AsInt(obj2
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4867 (arg1
)->SetSize(arg2
,arg3
);
4869 wxPyEndAllowThreads(__tstate
);
4870 if (PyErr_Occurred()) SWIG_fail
;
4872 Py_INCREF(Py_None
); resultobj
= Py_None
;
4879 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4880 PyObject
*resultobj
;
4881 wxCaret
*arg1
= (wxCaret
*) 0 ;
4884 PyObject
* obj0
= 0 ;
4885 PyObject
* obj1
= 0 ;
4887 (char *) "self",(char *) "size", NULL
4890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4895 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4899 (arg1
)->SetSize((wxSize
const &)*arg2
);
4901 wxPyEndAllowThreads(__tstate
);
4902 if (PyErr_Occurred()) SWIG_fail
;
4904 Py_INCREF(Py_None
); resultobj
= Py_None
;
4911 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4912 PyObject
*resultobj
;
4913 wxCaret
*arg1
= (wxCaret
*) 0 ;
4914 int arg2
= (int) True
;
4915 PyObject
* obj0
= 0 ;
4916 PyObject
* obj1
= 0 ;
4918 (char *) "self",(char *) "show", NULL
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4925 arg2
= (int) SWIG_AsInt(obj1
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4932 wxPyEndAllowThreads(__tstate
);
4933 if (PyErr_Occurred()) SWIG_fail
;
4935 Py_INCREF(Py_None
); resultobj
= Py_None
;
4942 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4943 PyObject
*resultobj
;
4944 wxCaret
*arg1
= (wxCaret
*) 0 ;
4945 PyObject
* obj0
= 0 ;
4947 (char *) "self", NULL
4950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4960 Py_INCREF(Py_None
); resultobj
= Py_None
;
4967 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
4969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4970 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4972 return Py_BuildValue((char *)"");
4974 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4975 PyObject
*resultobj
;
4981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 result
= (int)wxCaret_GetBlinkTime();
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4989 resultobj
= SWIG_FromInt((int)result
);
4996 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
*resultobj
;
4999 PyObject
* obj0
= 0 ;
5001 (char *) "milliseconds", NULL
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5005 arg1
= (int) SWIG_AsInt(obj0
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 wxCaret_SetBlinkTime(arg1
);
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 Py_INCREF(Py_None
); resultobj
= Py_None
;
5021 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
;
5023 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5024 wxBusyCursor
*result
;
5025 PyObject
* obj0
= 0 ;
5027 (char *) "cursor", NULL
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5037 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5049 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
*resultobj
;
5051 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5052 PyObject
* obj0
= 0 ;
5054 (char *) "self", NULL
5057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5064 wxPyEndAllowThreads(__tstate
);
5065 if (PyErr_Occurred()) SWIG_fail
;
5067 Py_INCREF(Py_None
); resultobj
= Py_None
;
5074 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
5076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5077 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5079 return Py_BuildValue((char *)"");
5081 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5082 PyObject
*resultobj
;
5083 wxWindow
*arg1
= (wxWindow
*) NULL
;
5084 wxWindowDisabler
*result
;
5085 PyObject
* obj0
= 0 ;
5087 (char *) "winToSkip", NULL
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5109 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5110 PyObject
*resultobj
;
5111 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5112 PyObject
* obj0
= 0 ;
5114 (char *) "self", NULL
5117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) SWIG_fail
;
5127 Py_INCREF(Py_None
); resultobj
= Py_None
;
5134 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
5136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5137 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5139 return Py_BuildValue((char *)"");
5141 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
*resultobj
;
5143 wxString
*arg1
= 0 ;
5145 bool temp1
= False
;
5146 PyObject
* obj0
= 0 ;
5148 (char *) "message", NULL
5151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5153 arg1
= wxString_in_helper(obj0
);
5154 if (arg1
== NULL
) SWIG_fail
;
5158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5159 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5161 wxPyEndAllowThreads(__tstate
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5179 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5180 PyObject
*resultobj
;
5181 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5182 PyObject
* obj0
= 0 ;
5184 (char *) "self", NULL
5187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 wxPyEndAllowThreads(__tstate
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5197 Py_INCREF(Py_None
); resultobj
= Py_None
;
5204 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
5206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5207 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5209 return Py_BuildValue((char *)"");
5211 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
*resultobj
;
5213 wxStopWatch
*result
;
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5221 result
= (wxStopWatch
*)new wxStopWatch();
5223 wxPyEndAllowThreads(__tstate
);
5224 if (PyErr_Occurred()) SWIG_fail
;
5226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5233 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5234 PyObject
*resultobj
;
5235 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5236 long arg2
= (long) 0 ;
5237 PyObject
* obj0
= 0 ;
5238 PyObject
* obj1
= 0 ;
5240 (char *) "self",(char *) "t0", NULL
5243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5247 arg2
= (long) SWIG_AsLong(obj1
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5252 (arg1
)->Start(arg2
);
5254 wxPyEndAllowThreads(__tstate
);
5255 if (PyErr_Occurred()) SWIG_fail
;
5257 Py_INCREF(Py_None
); resultobj
= Py_None
;
5264 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5265 PyObject
*resultobj
;
5266 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5267 PyObject
* obj0
= 0 ;
5269 (char *) "self", NULL
5272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5279 wxPyEndAllowThreads(__tstate
);
5280 if (PyErr_Occurred()) SWIG_fail
;
5282 Py_INCREF(Py_None
); resultobj
= Py_None
;
5289 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5290 PyObject
*resultobj
;
5291 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5292 PyObject
* obj0
= 0 ;
5294 (char *) "self", NULL
5297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 wxPyEndAllowThreads(__tstate
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5307 Py_INCREF(Py_None
); resultobj
= Py_None
;
5314 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
*resultobj
;
5316 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5318 PyObject
* obj0
= 0 ;
5320 (char *) "self", NULL
5323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5333 resultobj
= SWIG_FromLong((long)result
);
5340 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
5342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5343 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5345 return Py_BuildValue((char *)"");
5347 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
*resultobj
;
5349 int arg1
= (int) 9 ;
5350 wxFileHistory
*result
;
5351 PyObject
* obj0
= 0 ;
5353 (char *) "maxFiles", NULL
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5358 arg1
= (int) SWIG_AsInt(obj0
);
5359 if (PyErr_Occurred()) SWIG_fail
;
5362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5363 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5365 wxPyEndAllowThreads(__tstate
);
5366 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5375 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5376 PyObject
*resultobj
;
5377 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5378 PyObject
* obj0
= 0 ;
5380 (char *) "self", NULL
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 wxPyEndAllowThreads(__tstate
);
5391 if (PyErr_Occurred()) SWIG_fail
;
5393 Py_INCREF(Py_None
); resultobj
= Py_None
;
5400 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
*resultobj
;
5402 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5403 wxString
*arg2
= 0 ;
5404 bool temp2
= False
;
5405 PyObject
* obj0
= 0 ;
5406 PyObject
* obj1
= 0 ;
5408 (char *) "self",(char *) "file", NULL
5411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5415 arg2
= wxString_in_helper(obj1
);
5416 if (arg2
== NULL
) SWIG_fail
;
5420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5421 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5423 wxPyEndAllowThreads(__tstate
);
5424 if (PyErr_Occurred()) SWIG_fail
;
5426 Py_INCREF(Py_None
); resultobj
= Py_None
;
5441 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5442 PyObject
*resultobj
;
5443 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5445 PyObject
* obj0
= 0 ;
5446 PyObject
* obj1
= 0 ;
5448 (char *) "self",(char *) "i", NULL
5451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5454 arg2
= (int) SWIG_AsInt(obj1
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 (arg1
)->RemoveFileFromHistory(arg2
);
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5463 Py_INCREF(Py_None
); resultobj
= Py_None
;
5470 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5471 PyObject
*resultobj
;
5472 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5474 PyObject
* obj0
= 0 ;
5476 (char *) "self", NULL
5479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5484 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5486 wxPyEndAllowThreads(__tstate
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5489 resultobj
= SWIG_FromInt((int)result
);
5496 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
*resultobj
;
5498 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5499 wxMenu
*arg2
= (wxMenu
*) 0 ;
5500 PyObject
* obj0
= 0 ;
5501 PyObject
* obj1
= 0 ;
5503 (char *) "self",(char *) "menu", NULL
5506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5513 (arg1
)->UseMenu(arg2
);
5515 wxPyEndAllowThreads(__tstate
);
5516 if (PyErr_Occurred()) SWIG_fail
;
5518 Py_INCREF(Py_None
); resultobj
= Py_None
;
5525 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5526 PyObject
*resultobj
;
5527 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5528 wxMenu
*arg2
= (wxMenu
*) 0 ;
5529 PyObject
* obj0
= 0 ;
5530 PyObject
* obj1
= 0 ;
5532 (char *) "self",(char *) "menu", NULL
5535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 (arg1
)->RemoveMenu(arg2
);
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5547 Py_INCREF(Py_None
); resultobj
= Py_None
;
5554 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5555 PyObject
*resultobj
;
5556 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5557 wxConfigBase
*arg2
= 0 ;
5558 PyObject
* obj0
= 0 ;
5559 PyObject
* obj1
= 0 ;
5561 (char *) "self",(char *) "config", NULL
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5568 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5571 PyErr_SetString(PyExc_TypeError
,"null reference");
5575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5576 (arg1
)->Load(*arg2
);
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5581 Py_INCREF(Py_None
); resultobj
= Py_None
;
5588 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5589 PyObject
*resultobj
;
5590 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5591 wxConfigBase
*arg2
= 0 ;
5592 PyObject
* obj0
= 0 ;
5593 PyObject
* obj1
= 0 ;
5595 (char *) "self",(char *) "config", NULL
5598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5602 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5605 PyErr_SetString(PyExc_TypeError
,"null reference");
5609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5610 (arg1
)->Save(*arg2
);
5612 wxPyEndAllowThreads(__tstate
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5615 Py_INCREF(Py_None
); resultobj
= Py_None
;
5622 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5623 PyObject
*resultobj
;
5624 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5625 PyObject
* obj0
= 0 ;
5627 (char *) "self", NULL
5630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5635 (arg1
)->AddFilesToMenu();
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5640 Py_INCREF(Py_None
); resultobj
= Py_None
;
5647 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5648 PyObject
*resultobj
;
5649 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5650 wxMenu
*arg2
= (wxMenu
*) 0 ;
5651 PyObject
* obj0
= 0 ;
5652 PyObject
* obj1
= 0 ;
5654 (char *) "self",(char *) "menu", NULL
5657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5664 (arg1
)->AddFilesToMenu(arg2
);
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5669 Py_INCREF(Py_None
); resultobj
= Py_None
;
5676 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5677 PyObject
*resultobj
;
5678 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5681 PyObject
* obj0
= 0 ;
5682 PyObject
* obj1
= 0 ;
5684 (char *) "self",(char *) "i", NULL
5687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5690 arg2
= (int) SWIG_AsInt(obj1
);
5691 if (PyErr_Occurred()) SWIG_fail
;
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5701 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5703 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5712 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
;
5714 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5716 PyObject
* obj0
= 0 ;
5718 (char *) "self", NULL
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5731 resultobj
= SWIG_FromInt((int)result
);
5738 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
5740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5741 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5743 return Py_BuildValue((char *)"");
5745 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxString
*arg1
= 0 ;
5748 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5749 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5750 wxSingleInstanceChecker
*result
;
5751 bool temp1
= False
;
5752 bool temp2
= False
;
5753 PyObject
* obj0
= 0 ;
5754 PyObject
* obj1
= 0 ;
5756 (char *) "name",(char *) "path", NULL
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5761 arg1
= wxString_in_helper(obj0
);
5762 if (arg1
== NULL
) SWIG_fail
;
5767 arg2
= wxString_in_helper(obj1
);
5768 if (arg2
== NULL
) SWIG_fail
;
5773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5774 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5776 wxPyEndAllowThreads(__tstate
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5802 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
*resultobj
;
5804 wxSingleInstanceChecker
*result
;
5809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5812 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5814 wxPyEndAllowThreads(__tstate
);
5815 if (PyErr_Occurred()) SWIG_fail
;
5817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5824 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
*resultobj
;
5826 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5827 PyObject
* obj0
= 0 ;
5829 (char *) "self", NULL
5832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5842 Py_INCREF(Py_None
); resultobj
= Py_None
;
5849 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
*resultobj
;
5851 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5852 wxString
*arg2
= 0 ;
5853 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5854 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5856 bool temp2
= False
;
5857 bool temp3
= False
;
5858 PyObject
* obj0
= 0 ;
5859 PyObject
* obj1
= 0 ;
5860 PyObject
* obj2
= 0 ;
5862 (char *) "self",(char *) "name",(char *) "path", NULL
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5869 arg2
= wxString_in_helper(obj1
);
5870 if (arg2
== NULL
) SWIG_fail
;
5875 arg3
= wxString_in_helper(obj2
);
5876 if (arg3
== NULL
) SWIG_fail
;
5881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5882 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) SWIG_fail
;
5888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5912 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5913 PyObject
*resultobj
;
5914 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5916 PyObject
* obj0
= 0 ;
5918 (char *) "self", NULL
5921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5926 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5928 wxPyEndAllowThreads(__tstate
);
5929 if (PyErr_Occurred()) SWIG_fail
;
5932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5940 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
5942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5943 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5945 return Py_BuildValue((char *)"");
5947 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
*resultobj
;
5949 wxWindow
*arg1
= (wxWindow
*) 0 ;
5952 PyObject
* obj0
= 0 ;
5953 PyObject
* obj1
= 0 ;
5954 PyObject
* obj2
= 0 ;
5956 (char *) "window",(char *) "dc",(char *) "method", NULL
5959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5963 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5966 PyErr_SetString(PyExc_TypeError
,"null reference");
5969 arg3
= (int) SWIG_AsInt(obj2
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5978 Py_INCREF(Py_None
); resultobj
= Py_None
;
5985 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
*resultobj
;
5987 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5988 PyObject
* obj0
= 0 ;
5990 (char *) "self", NULL
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
5994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
5995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6003 Py_INCREF(Py_None
); resultobj
= Py_None
;
6010 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6011 PyObject
*resultobj
;
6012 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6014 PyObject
* obj0
= 0 ;
6016 (char *) "self", NULL
6019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 result
= (arg1
)->GetTip();
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6031 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6033 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6042 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6043 PyObject
*resultobj
;
6044 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6046 PyObject
* obj0
= 0 ;
6048 (char *) "self", NULL
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6056 result
= (size_t)(arg1
)->GetCurrentTip();
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6061 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6068 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
*resultobj
;
6070 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6071 wxString
*arg2
= 0 ;
6073 bool temp2
= False
;
6074 PyObject
* obj0
= 0 ;
6075 PyObject
* obj1
= 0 ;
6077 (char *) "self",(char *) "tip", NULL
6080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6084 arg2
= wxString_in_helper(obj1
);
6085 if (arg2
== NULL
) SWIG_fail
;
6089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6116 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
6118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6119 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6121 return Py_BuildValue((char *)"");
6123 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6124 PyObject
*resultobj
;
6126 wxPyTipProvider
*result
;
6127 PyObject
* obj0
= 0 ;
6129 (char *) "currentTip", NULL
6132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6133 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6137 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6139 wxPyEndAllowThreads(__tstate
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6149 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6150 PyObject
*resultobj
;
6151 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6152 PyObject
*arg2
= (PyObject
*) 0 ;
6153 PyObject
*arg3
= (PyObject
*) 0 ;
6154 PyObject
* obj0
= 0 ;
6155 PyObject
* obj1
= 0 ;
6156 PyObject
* obj2
= 0 ;
6158 (char *) "self",(char *) "self",(char *) "_class", NULL
6161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6168 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6170 wxPyEndAllowThreads(__tstate
);
6171 if (PyErr_Occurred()) SWIG_fail
;
6173 Py_INCREF(Py_None
); resultobj
= Py_None
;
6180 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
6182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6183 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6185 return Py_BuildValue((char *)"");
6187 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
*resultobj
;
6189 wxWindow
*arg1
= (wxWindow
*) 0 ;
6190 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6191 bool arg3
= (bool) True
;
6193 PyObject
* obj0
= 0 ;
6194 PyObject
* obj1
= 0 ;
6195 PyObject
* obj2
= 0 ;
6197 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6206 arg3
= (bool) SWIG_AsBool(obj2
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6211 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6225 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
*resultobj
;
6227 wxString
*arg1
= 0 ;
6229 wxTipProvider
*result
;
6230 bool temp1
= False
;
6231 PyObject
* obj0
= 0 ;
6232 PyObject
* obj1
= 0 ;
6234 (char *) "filename",(char *) "currentTip", NULL
6237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6239 arg1
= wxString_in_helper(obj0
);
6240 if (arg1
== NULL
) SWIG_fail
;
6243 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6267 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
*resultobj
;
6269 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6270 int arg2
= (int) -1 ;
6272 PyObject
* obj0
= 0 ;
6273 PyObject
* obj1
= 0 ;
6275 (char *) "owner",(char *) "id", NULL
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6284 arg2
= (int) SWIG_AsInt(obj1
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6289 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6291 wxPyEndAllowThreads(__tstate
);
6292 if (PyErr_Occurred()) SWIG_fail
;
6294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6301 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
*resultobj
;
6303 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6304 PyObject
* obj0
= 0 ;
6306 (char *) "self", NULL
6309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6316 wxPyEndAllowThreads(__tstate
);
6317 if (PyErr_Occurred()) SWIG_fail
;
6319 Py_INCREF(Py_None
); resultobj
= Py_None
;
6326 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6327 PyObject
*resultobj
;
6328 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6329 PyObject
*arg2
= (PyObject
*) 0 ;
6330 PyObject
*arg3
= (PyObject
*) 0 ;
6331 int arg4
= (int) 1 ;
6332 PyObject
* obj0
= 0 ;
6333 PyObject
* obj1
= 0 ;
6334 PyObject
* obj2
= 0 ;
6335 PyObject
* obj3
= 0 ;
6337 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6346 arg4
= (int) SWIG_AsInt(obj3
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6351 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6356 Py_INCREF(Py_None
); resultobj
= Py_None
;
6363 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6366 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6367 int arg3
= (int) -1 ;
6368 PyObject
* obj0
= 0 ;
6369 PyObject
* obj1
= 0 ;
6370 PyObject
* obj2
= 0 ;
6372 (char *) "self",(char *) "owner",(char *) "id", NULL
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6381 arg3
= (int) SWIG_AsInt(obj2
);
6382 if (PyErr_Occurred()) SWIG_fail
;
6385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6386 (arg1
)->SetOwner(arg2
,arg3
);
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) SWIG_fail
;
6391 Py_INCREF(Py_None
); resultobj
= Py_None
;
6398 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
*resultobj
;
6400 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6401 int arg2
= (int) -1 ;
6402 bool arg3
= (bool) False
;
6404 PyObject
* obj0
= 0 ;
6405 PyObject
* obj1
= 0 ;
6406 PyObject
* obj2
= 0 ;
6408 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6415 arg2
= (int) SWIG_AsInt(obj1
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6419 arg3
= (bool) SWIG_AsBool(obj2
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6424 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6426 wxPyEndAllowThreads(__tstate
);
6427 if (PyErr_Occurred()) SWIG_fail
;
6430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6438 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
;
6440 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6441 PyObject
* obj0
= 0 ;
6443 (char *) "self", NULL
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6456 Py_INCREF(Py_None
); resultobj
= Py_None
;
6463 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
*resultobj
;
6465 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6467 PyObject
* obj0
= 0 ;
6469 (char *) "self", NULL
6472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6477 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6491 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6492 PyObject
*resultobj
;
6493 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6495 PyObject
* obj0
= 0 ;
6497 (char *) "self", NULL
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6505 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6507 wxPyEndAllowThreads(__tstate
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6510 resultobj
= SWIG_FromInt((int)result
);
6517 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6518 PyObject
*resultobj
;
6519 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6521 PyObject
* obj0
= 0 ;
6523 (char *) "self", NULL
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6531 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6533 wxPyEndAllowThreads(__tstate
);
6534 if (PyErr_Occurred()) SWIG_fail
;
6537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6545 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
*resultobj
;
6547 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6549 PyObject
* obj0
= 0 ;
6551 (char *) "self", NULL
6554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6559 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6561 wxPyEndAllowThreads(__tstate
);
6562 if (PyErr_Occurred()) SWIG_fail
;
6564 resultobj
= SWIG_FromInt((int)result
);
6571 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
6573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6574 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6576 return Py_BuildValue((char *)"");
6578 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6579 PyObject
*resultobj
;
6580 int arg1
= (int) 0 ;
6581 int arg2
= (int) 0 ;
6582 wxTimerEvent
*result
;
6583 PyObject
* obj0
= 0 ;
6584 PyObject
* obj1
= 0 ;
6586 (char *) "timerid",(char *) "interval", NULL
6589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6591 arg1
= (int) SWIG_AsInt(obj0
);
6592 if (PyErr_Occurred()) SWIG_fail
;
6595 arg2
= (int) SWIG_AsInt(obj1
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6600 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6602 wxPyEndAllowThreads(__tstate
);
6603 if (PyErr_Occurred()) SWIG_fail
;
6605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6612 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6613 PyObject
*resultobj
;
6614 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6616 PyObject
* obj0
= 0 ;
6618 (char *) "self", NULL
6621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6626 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6628 wxPyEndAllowThreads(__tstate
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6631 resultobj
= SWIG_FromInt((int)result
);
6638 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
6640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6641 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6643 return Py_BuildValue((char *)"");
6645 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
6646 PyObject
*resultobj
;
6648 wxTimerRunner
*result
;
6649 PyObject
* obj0
= 0 ;
6651 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6653 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6656 PyErr_SetString(PyExc_TypeError
,"null reference");
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6661 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6663 wxPyEndAllowThreads(__tstate
);
6664 if (PyErr_Occurred()) SWIG_fail
;
6666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6673 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
6674 PyObject
*resultobj
;
6677 bool arg3
= (bool) False
;
6678 wxTimerRunner
*result
;
6679 PyObject
* obj0
= 0 ;
6680 PyObject
* obj1
= 0 ;
6681 PyObject
* obj2
= 0 ;
6683 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6685 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6688 PyErr_SetString(PyExc_TypeError
,"null reference");
6691 arg2
= (int) SWIG_AsInt(obj1
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6694 arg3
= (bool) SWIG_AsBool(obj2
);
6695 if (PyErr_Occurred()) SWIG_fail
;
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6701 wxPyEndAllowThreads(__tstate
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6711 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6716 argc
= PyObject_Length(args
);
6717 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6718 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6724 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6732 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6735 if ((argc
>= 2) && (argc
<= 3)) {
6739 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6747 _v
= SWIG_CheckInt(argv
[1]);
6750 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6752 _v
= SWIG_CheckBool(argv
[2]);
6754 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6760 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6765 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6766 PyObject
*resultobj
;
6767 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6768 PyObject
* obj0
= 0 ;
6770 (char *) "self", NULL
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 wxPyEndAllowThreads(__tstate
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6783 Py_INCREF(Py_None
); resultobj
= Py_None
;
6790 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
*resultobj
;
6792 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6794 bool arg3
= (bool) False
;
6795 PyObject
* obj0
= 0 ;
6796 PyObject
* obj1
= 0 ;
6797 PyObject
* obj2
= 0 ;
6799 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6805 arg2
= (int) SWIG_AsInt(obj1
);
6806 if (PyErr_Occurred()) SWIG_fail
;
6808 arg3
= (bool) SWIG_AsBool(obj2
);
6809 if (PyErr_Occurred()) SWIG_fail
;
6812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6813 (arg1
)->Start(arg2
,arg3
);
6815 wxPyEndAllowThreads(__tstate
);
6816 if (PyErr_Occurred()) SWIG_fail
;
6818 Py_INCREF(Py_None
); resultobj
= Py_None
;
6825 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
6827 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6828 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6830 return Py_BuildValue((char *)"");
6832 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6833 PyObject
*resultobj
;
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6842 result
= (wxLog
*)new wxLog();
6844 wxPyEndAllowThreads(__tstate
);
6845 if (PyErr_Occurred()) SWIG_fail
;
6847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
6854 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
;
6861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6864 result
= (bool)wxLog::IsEnabled();
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6878 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
;
6880 bool arg1
= (bool) True
;
6882 PyObject
* obj0
= 0 ;
6884 (char *) "doIt", NULL
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6889 arg1
= (bool) SWIG_AsBool(obj0
);
6890 if (PyErr_Occurred()) SWIG_fail
;
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 result
= (bool)wxLog::EnableLogging(arg1
);
6896 wxPyEndAllowThreads(__tstate
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6908 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6909 PyObject
*resultobj
;
6911 wxChar
*arg2
= (wxChar
*) 0 ;
6913 PyObject
* obj0
= 0 ;
6914 PyObject
* obj1
= 0 ;
6915 PyObject
* obj2
= 0 ;
6917 (char *) "level",(char *) "szString",(char *) "t", NULL
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6921 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
6924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6925 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6929 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6931 wxPyEndAllowThreads(__tstate
);
6932 if (PyErr_Occurred()) SWIG_fail
;
6934 Py_INCREF(Py_None
); resultobj
= Py_None
;
6941 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6942 PyObject
*resultobj
;
6943 wxLog
*arg1
= (wxLog
*) 0 ;
6944 PyObject
* obj0
= 0 ;
6946 (char *) "self", NULL
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
6951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 wxPyEndAllowThreads(__tstate
);
6957 if (PyErr_Occurred()) SWIG_fail
;
6959 Py_INCREF(Py_None
); resultobj
= Py_None
;
6966 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
*resultobj
;
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6975 wxLog::FlushActive();
6977 wxPyEndAllowThreads(__tstate
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6980 Py_INCREF(Py_None
); resultobj
= Py_None
;
6987 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
*resultobj
;
6994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
6996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6997 result
= (wxLog
*)wxLog::GetActiveTarget();
6999 wxPyEndAllowThreads(__tstate
);
7000 if (PyErr_Occurred()) SWIG_fail
;
7002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7009 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7010 PyObject
*resultobj
;
7011 wxLog
*arg1
= (wxLog
*) 0 ;
7013 PyObject
* obj0
= 0 ;
7015 (char *) "pLogger", NULL
7018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7023 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7025 wxPyEndAllowThreads(__tstate
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7035 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
*resultobj
;
7041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7049 Py_INCREF(Py_None
); resultobj
= Py_None
;
7056 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
*resultobj
;
7062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 wxPyEndAllowThreads(__tstate
);
7068 if (PyErr_Occurred()) SWIG_fail
;
7070 Py_INCREF(Py_None
); resultobj
= Py_None
;
7077 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
*resultobj
;
7079 bool arg1
= (bool) True
;
7080 PyObject
* obj0
= 0 ;
7082 (char *) "bVerbose", NULL
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7087 arg1
= (bool) SWIG_AsBool(obj0
);
7088 if (PyErr_Occurred()) SWIG_fail
;
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 wxLog::SetVerbose(arg1
);
7094 wxPyEndAllowThreads(__tstate
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7097 Py_INCREF(Py_None
); resultobj
= Py_None
;
7104 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
;
7107 PyObject
* obj0
= 0 ;
7109 (char *) "logLevel", NULL
7112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7113 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7117 wxLog::SetLogLevel(arg1
);
7119 wxPyEndAllowThreads(__tstate
);
7120 if (PyErr_Occurred()) SWIG_fail
;
7122 Py_INCREF(Py_None
); resultobj
= Py_None
;
7129 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7130 PyObject
*resultobj
;
7135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7138 wxLog::DontCreateOnDemand();
7140 wxPyEndAllowThreads(__tstate
);
7141 if (PyErr_Occurred()) SWIG_fail
;
7143 Py_INCREF(Py_None
); resultobj
= Py_None
;
7150 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7151 PyObject
*resultobj
;
7153 PyObject
* obj0
= 0 ;
7155 (char *) "ulMask", NULL
7158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7159 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7160 if (PyErr_Occurred()) SWIG_fail
;
7162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7163 wxLog::SetTraceMask(arg1
);
7165 wxPyEndAllowThreads(__tstate
);
7166 if (PyErr_Occurred()) SWIG_fail
;
7168 Py_INCREF(Py_None
); resultobj
= Py_None
;
7175 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
*resultobj
;
7177 wxString
*arg1
= 0 ;
7178 bool temp1
= False
;
7179 PyObject
* obj0
= 0 ;
7181 (char *) "str", NULL
7184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7186 arg1
= wxString_in_helper(obj0
);
7187 if (arg1
== NULL
) SWIG_fail
;
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 wxLog::AddTraceMask((wxString
const &)*arg1
);
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7197 Py_INCREF(Py_None
); resultobj
= Py_None
;
7212 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7213 PyObject
*resultobj
;
7214 wxString
*arg1
= 0 ;
7215 bool temp1
= False
;
7216 PyObject
* obj0
= 0 ;
7218 (char *) "str", NULL
7221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7223 arg1
= wxString_in_helper(obj0
);
7224 if (arg1
== NULL
) SWIG_fail
;
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7229 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7234 Py_INCREF(Py_None
); resultobj
= Py_None
;
7249 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
*resultobj
;
7255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7258 wxLog::ClearTraceMasks();
7260 wxPyEndAllowThreads(__tstate
);
7261 if (PyErr_Occurred()) SWIG_fail
;
7263 Py_INCREF(Py_None
); resultobj
= Py_None
;
7270 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
*resultobj
;
7272 wxArrayString
*result
;
7277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7282 result
= (wxArrayString
*) &_result_ref
;
7285 wxPyEndAllowThreads(__tstate
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7289 resultobj
= wxArrayString2PyList_helper(*result
);
7297 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7298 PyObject
*resultobj
;
7299 wxChar
*arg1
= (wxChar
*) 0 ;
7300 PyObject
* obj0
= 0 ;
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7310 wxLog::SetTimestamp((wxChar
const *)arg1
);
7312 wxPyEndAllowThreads(__tstate
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 Py_INCREF(Py_None
); resultobj
= Py_None
;
7322 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
*resultobj
;
7329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7332 result
= (bool)wxLog::GetVerbose();
7334 wxPyEndAllowThreads(__tstate
);
7335 if (PyErr_Occurred()) SWIG_fail
;
7338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7346 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
*resultobj
;
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7356 result
= (wxTraceMask
)wxLog::GetTraceMask();
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7361 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7368 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7369 PyObject
*resultobj
;
7370 wxChar
*arg1
= (wxChar
*) 0 ;
7372 PyObject
* obj0
= 0 ;
7374 (char *) "mask", NULL
7377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7396 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7397 PyObject
*resultobj
;
7403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7406 result
= (wxLogLevel
)wxLog::GetLogLevel();
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) SWIG_fail
;
7411 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7418 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7419 PyObject
*resultobj
;
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 result
= (wxChar
*)wxLog::GetTimestamp();
7430 wxPyEndAllowThreads(__tstate
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7440 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
*resultobj
;
7447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7450 result
= Log_TimeStamp();
7452 wxPyEndAllowThreads(__tstate
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7468 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7469 PyObject
*resultobj
;
7470 wxLog
*arg1
= (wxLog
*) 0 ;
7471 PyObject
* obj0
= 0 ;
7473 (char *) "self", NULL
7476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7481 wxLog_Destroy(arg1
);
7483 wxPyEndAllowThreads(__tstate
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7486 Py_INCREF(Py_None
); resultobj
= Py_None
;
7493 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
7495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7496 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7498 return Py_BuildValue((char *)"");
7500 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7501 PyObject
*resultobj
;
7502 wxLogStderr
*result
;
7507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7510 result
= (wxLogStderr
*)new wxLogStderr();
7512 wxPyEndAllowThreads(__tstate
);
7513 if (PyErr_Occurred()) SWIG_fail
;
7515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7522 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
7524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7525 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7527 return Py_BuildValue((char *)"");
7529 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7530 PyObject
*resultobj
;
7531 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7532 wxLogTextCtrl
*result
;
7533 PyObject
* obj0
= 0 ;
7535 (char *) "pTextCtrl", NULL
7538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7543 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7545 wxPyEndAllowThreads(__tstate
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7555 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
7557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7558 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7560 return Py_BuildValue((char *)"");
7562 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7563 PyObject
*resultobj
;
7569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7572 result
= (wxLogGui
*)new wxLogGui();
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7584 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
7586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7587 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7589 return Py_BuildValue((char *)"");
7591 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7592 PyObject
*resultobj
;
7593 wxFrame
*arg1
= (wxFrame
*) 0 ;
7594 wxString
*arg2
= 0 ;
7595 bool arg3
= (bool) True
;
7596 bool arg4
= (bool) True
;
7597 wxLogWindow
*result
;
7598 bool temp2
= False
;
7599 PyObject
* obj0
= 0 ;
7600 PyObject
* obj1
= 0 ;
7601 PyObject
* obj2
= 0 ;
7602 PyObject
* obj3
= 0 ;
7604 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7611 arg2
= wxString_in_helper(obj1
);
7612 if (arg2
== NULL
) SWIG_fail
;
7616 arg3
= (bool) SWIG_AsBool(obj2
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7620 arg4
= (bool) SWIG_AsBool(obj3
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7645 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
*resultobj
;
7647 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7648 bool arg2
= (bool) True
;
7649 PyObject
* obj0
= 0 ;
7650 PyObject
* obj1
= 0 ;
7652 (char *) "self",(char *) "bShow", NULL
7655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7659 arg2
= (bool) SWIG_AsBool(obj1
);
7660 if (PyErr_Occurred()) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7669 Py_INCREF(Py_None
); resultobj
= Py_None
;
7676 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
*resultobj
;
7678 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7680 PyObject
* obj0
= 0 ;
7682 (char *) "self", NULL
7685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7696 resultobj
= wxPyMake_wxObject(result
);
7704 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
*resultobj
;
7706 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7708 PyObject
* obj0
= 0 ;
7710 (char *) "self", NULL
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7730 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7731 PyObject
*resultobj
;
7732 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7734 PyObject
* obj0
= 0 ;
7736 (char *) "self", NULL
7739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7758 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7759 PyObject
*resultobj
;
7760 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7762 PyObject
* obj0
= 0 ;
7763 PyObject
* obj1
= 0 ;
7765 (char *) "self",(char *) "bDoPass", NULL
7768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7771 arg2
= (bool) SWIG_AsBool(obj1
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 (arg1
)->PassMessages(arg2
);
7777 wxPyEndAllowThreads(__tstate
);
7778 if (PyErr_Occurred()) SWIG_fail
;
7780 Py_INCREF(Py_None
); resultobj
= Py_None
;
7787 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
7789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7790 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7792 return Py_BuildValue((char *)"");
7794 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7795 PyObject
*resultobj
;
7796 wxLog
*arg1
= (wxLog
*) 0 ;
7798 PyObject
* obj0
= 0 ;
7800 (char *) "logger", NULL
7803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7808 result
= (wxLogChain
*)new wxLogChain(arg1
);
7810 wxPyEndAllowThreads(__tstate
);
7811 if (PyErr_Occurred()) SWIG_fail
;
7813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
7820 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7821 PyObject
*resultobj
;
7822 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7823 wxLog
*arg2
= (wxLog
*) 0 ;
7824 PyObject
* obj0
= 0 ;
7825 PyObject
* obj1
= 0 ;
7827 (char *) "self",(char *) "logger", NULL
7830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
7834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 (arg1
)->SetLog(arg2
);
7839 wxPyEndAllowThreads(__tstate
);
7840 if (PyErr_Occurred()) SWIG_fail
;
7842 Py_INCREF(Py_None
); resultobj
= Py_None
;
7849 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7850 PyObject
*resultobj
;
7851 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7853 PyObject
* obj0
= 0 ;
7854 PyObject
* obj1
= 0 ;
7856 (char *) "self",(char *) "bDoPass", NULL
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7862 arg2
= (bool) SWIG_AsBool(obj1
);
7863 if (PyErr_Occurred()) SWIG_fail
;
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 (arg1
)->PassMessages(arg2
);
7868 wxPyEndAllowThreads(__tstate
);
7869 if (PyErr_Occurred()) SWIG_fail
;
7871 Py_INCREF(Py_None
); resultobj
= Py_None
;
7878 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7879 PyObject
*resultobj
;
7880 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7882 PyObject
* obj0
= 0 ;
7884 (char *) "self", NULL
7887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7892 result
= (bool)(arg1
)->IsPassingMessages();
7894 wxPyEndAllowThreads(__tstate
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7906 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7907 PyObject
*resultobj
;
7908 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7910 PyObject
* obj0
= 0 ;
7912 (char *) "self", NULL
7915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7920 result
= (wxLog
*)(arg1
)->GetOldLog();
7922 wxPyEndAllowThreads(__tstate
);
7923 if (PyErr_Occurred()) SWIG_fail
;
7925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7932 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
7934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7935 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7937 return Py_BuildValue((char *)"");
7939 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7940 PyObject
*resultobj
;
7941 unsigned long result
;
7946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7949 result
= (unsigned long)wxSysErrorCode();
7951 wxPyEndAllowThreads(__tstate
);
7952 if (PyErr_Occurred()) SWIG_fail
;
7954 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7961 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7962 PyObject
*resultobj
;
7963 unsigned long arg1
= (unsigned long) 0 ;
7965 PyObject
* obj0
= 0 ;
7967 (char *) "nErrCode", NULL
7970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7972 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
7973 if (PyErr_Occurred()) SWIG_fail
;
7976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7977 result
= wxSysErrorMsg(arg1
);
7979 wxPyEndAllowThreads(__tstate
);
7980 if (PyErr_Occurred()) SWIG_fail
;
7984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7995 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7996 PyObject
*resultobj
;
7997 wxString
*arg1
= 0 ;
7998 bool temp1
= False
;
7999 PyObject
* obj0
= 0 ;
8001 (char *) "msg", NULL
8004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8006 arg1
= wxString_in_helper(obj0
);
8007 if (arg1
== NULL
) SWIG_fail
;
8011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8012 wxLogFatalError((wxString
const &)*arg1
);
8014 wxPyEndAllowThreads(__tstate
);
8015 if (PyErr_Occurred()) SWIG_fail
;
8017 Py_INCREF(Py_None
); resultobj
= Py_None
;
8032 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8033 PyObject
*resultobj
;
8034 wxString
*arg1
= 0 ;
8035 bool temp1
= False
;
8036 PyObject
* obj0
= 0 ;
8038 (char *) "msg", NULL
8041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8043 arg1
= wxString_in_helper(obj0
);
8044 if (arg1
== NULL
) SWIG_fail
;
8048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8049 wxLogError((wxString
const &)*arg1
);
8051 wxPyEndAllowThreads(__tstate
);
8052 if (PyErr_Occurred()) SWIG_fail
;
8054 Py_INCREF(Py_None
); resultobj
= Py_None
;
8069 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
*resultobj
;
8071 wxString
*arg1
= 0 ;
8072 bool temp1
= False
;
8073 PyObject
* obj0
= 0 ;
8075 (char *) "msg", NULL
8078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8080 arg1
= wxString_in_helper(obj0
);
8081 if (arg1
== NULL
) SWIG_fail
;
8085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8086 wxLogWarning((wxString
const &)*arg1
);
8088 wxPyEndAllowThreads(__tstate
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8091 Py_INCREF(Py_None
); resultobj
= Py_None
;
8106 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8107 PyObject
*resultobj
;
8108 wxString
*arg1
= 0 ;
8109 bool temp1
= False
;
8110 PyObject
* obj0
= 0 ;
8112 (char *) "msg", NULL
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8117 arg1
= wxString_in_helper(obj0
);
8118 if (arg1
== NULL
) SWIG_fail
;
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 wxLogMessage((wxString
const &)*arg1
);
8125 wxPyEndAllowThreads(__tstate
);
8126 if (PyErr_Occurred()) SWIG_fail
;
8128 Py_INCREF(Py_None
); resultobj
= Py_None
;
8143 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8144 PyObject
*resultobj
;
8145 wxString
*arg1
= 0 ;
8146 bool temp1
= False
;
8147 PyObject
* obj0
= 0 ;
8149 (char *) "msg", NULL
8152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8154 arg1
= wxString_in_helper(obj0
);
8155 if (arg1
== NULL
) SWIG_fail
;
8159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8160 wxLogInfo((wxString
const &)*arg1
);
8162 wxPyEndAllowThreads(__tstate
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8165 Py_INCREF(Py_None
); resultobj
= Py_None
;
8180 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8181 PyObject
*resultobj
;
8182 wxString
*arg1
= 0 ;
8183 bool temp1
= False
;
8184 PyObject
* obj0
= 0 ;
8186 (char *) "msg", NULL
8189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8191 arg1
= wxString_in_helper(obj0
);
8192 if (arg1
== NULL
) SWIG_fail
;
8196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8197 wxLogDebug((wxString
const &)*arg1
);
8199 wxPyEndAllowThreads(__tstate
);
8200 if (PyErr_Occurred()) SWIG_fail
;
8202 Py_INCREF(Py_None
); resultobj
= Py_None
;
8217 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
*resultobj
;
8219 wxString
*arg1
= 0 ;
8220 bool temp1
= False
;
8221 PyObject
* obj0
= 0 ;
8223 (char *) "msg", NULL
8226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8228 arg1
= wxString_in_helper(obj0
);
8229 if (arg1
== NULL
) SWIG_fail
;
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 wxLogVerbose((wxString
const &)*arg1
);
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 Py_INCREF(Py_None
); resultobj
= Py_None
;
8254 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8255 PyObject
*resultobj
;
8256 wxString
*arg1
= 0 ;
8257 bool temp1
= False
;
8258 PyObject
* obj0
= 0 ;
8260 (char *) "msg", NULL
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8265 arg1
= wxString_in_helper(obj0
);
8266 if (arg1
== NULL
) SWIG_fail
;
8270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8271 wxLogStatus((wxString
const &)*arg1
);
8273 wxPyEndAllowThreads(__tstate
);
8274 if (PyErr_Occurred()) SWIG_fail
;
8276 Py_INCREF(Py_None
); resultobj
= Py_None
;
8291 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8292 PyObject
*resultobj
;
8293 wxFrame
*arg1
= (wxFrame
*) 0 ;
8294 wxString
*arg2
= 0 ;
8295 bool temp2
= False
;
8296 PyObject
* obj0
= 0 ;
8297 PyObject
* obj1
= 0 ;
8299 (char *) "pFrame",(char *) "msg", NULL
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8306 arg2
= wxString_in_helper(obj1
);
8307 if (arg2
== NULL
) SWIG_fail
;
8311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8312 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8314 wxPyEndAllowThreads(__tstate
);
8315 if (PyErr_Occurred()) SWIG_fail
;
8317 Py_INCREF(Py_None
); resultobj
= Py_None
;
8332 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8333 PyObject
*resultobj
;
8334 wxString
*arg1
= 0 ;
8335 bool temp1
= False
;
8336 PyObject
* obj0
= 0 ;
8338 (char *) "msg", NULL
8341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8343 arg1
= wxString_in_helper(obj0
);
8344 if (arg1
== NULL
) SWIG_fail
;
8348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8349 wxLogSysError((wxString
const &)*arg1
);
8351 wxPyEndAllowThreads(__tstate
);
8352 if (PyErr_Occurred()) SWIG_fail
;
8354 Py_INCREF(Py_None
); resultobj
= Py_None
;
8369 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
8370 PyObject
*resultobj
;
8371 unsigned long arg1
;
8372 wxString
*arg2
= 0 ;
8373 bool temp2
= False
;
8374 PyObject
* obj0
= 0 ;
8375 PyObject
* obj1
= 0 ;
8377 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8378 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8379 if (PyErr_Occurred()) SWIG_fail
;
8381 arg2
= wxString_in_helper(obj1
);
8382 if (arg2
== NULL
) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8392 Py_INCREF(Py_None
); resultobj
= Py_None
;
8407 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
8408 PyObject
*resultobj
;
8409 wxString
*arg1
= 0 ;
8410 wxString
*arg2
= 0 ;
8411 bool temp1
= False
;
8412 bool temp2
= False
;
8413 PyObject
* obj0
= 0 ;
8414 PyObject
* obj1
= 0 ;
8416 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8418 arg1
= wxString_in_helper(obj0
);
8419 if (arg1
== NULL
) SWIG_fail
;
8423 arg2
= wxString_in_helper(obj1
);
8424 if (arg2
== NULL
) SWIG_fail
;
8428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8431 wxPyEndAllowThreads(__tstate
);
8432 if (PyErr_Occurred()) SWIG_fail
;
8434 Py_INCREF(Py_None
); resultobj
= Py_None
;
8457 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8462 argc
= PyObject_Length(args
);
8463 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8464 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8469 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8473 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8476 return _wrap_LogTrace__SWIG_1(self
,args
);
8482 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8485 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8488 return _wrap_LogTrace__SWIG_0(self
,args
);
8493 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8498 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8499 PyObject
*resultobj
;
8500 unsigned long arg1
;
8501 wxString
*arg2
= 0 ;
8502 bool temp2
= False
;
8503 PyObject
* obj0
= 0 ;
8504 PyObject
* obj1
= 0 ;
8506 (char *) "level",(char *) "msg", NULL
8509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8510 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8513 arg2
= wxString_in_helper(obj1
);
8514 if (arg2
== NULL
) SWIG_fail
;
8518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8519 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8521 wxPyEndAllowThreads(__tstate
);
8522 if (PyErr_Occurred()) SWIG_fail
;
8524 Py_INCREF(Py_None
); resultobj
= Py_None
;
8539 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8540 PyObject
*resultobj
;
8541 wxString
*arg1
= 0 ;
8542 wxString
*arg2
= 0 ;
8543 bool temp1
= False
;
8544 bool temp2
= False
;
8545 PyObject
* obj0
= 0 ;
8546 PyObject
* obj1
= 0 ;
8548 (char *) "title",(char *) "text", NULL
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8553 arg1
= wxString_in_helper(obj0
);
8554 if (arg1
== NULL
) SWIG_fail
;
8558 arg2
= wxString_in_helper(obj1
);
8559 if (arg2
== NULL
) SWIG_fail
;
8563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8564 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8566 wxPyEndAllowThreads(__tstate
);
8567 if (PyErr_Occurred()) SWIG_fail
;
8569 Py_INCREF(Py_None
); resultobj
= Py_None
;
8592 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8593 PyObject
*resultobj
;
8599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8602 result
= (wxLogNull
*)new wxLogNull();
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8614 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8615 PyObject
*resultobj
;
8616 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8617 PyObject
* obj0
= 0 ;
8619 (char *) "self", NULL
8622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8629 wxPyEndAllowThreads(__tstate
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8632 Py_INCREF(Py_None
); resultobj
= Py_None
;
8639 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
8641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8642 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8644 return Py_BuildValue((char *)"");
8646 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
;
8653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 result
= (wxPyLog
*)new wxPyLog();
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8668 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8669 PyObject
*resultobj
;
8670 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8671 PyObject
*arg2
= (PyObject
*) 0 ;
8672 PyObject
*arg3
= (PyObject
*) 0 ;
8673 PyObject
* obj0
= 0 ;
8674 PyObject
* obj1
= 0 ;
8675 PyObject
* obj2
= 0 ;
8677 (char *) "self",(char *) "self",(char *) "_class", NULL
8680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8687 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8689 wxPyEndAllowThreads(__tstate
);
8690 if (PyErr_Occurred()) SWIG_fail
;
8692 Py_INCREF(Py_None
); resultobj
= Py_None
;
8699 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
8701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8702 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8704 return Py_BuildValue((char *)"");
8706 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8707 PyObject
*resultobj
;
8709 int arg2
= (int) wxSIGTERM
;
8711 PyObject
* obj0
= 0 ;
8712 PyObject
* obj1
= 0 ;
8714 (char *) "pid",(char *) "sig", NULL
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8718 arg1
= (int) SWIG_AsInt(obj0
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8721 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8722 if (PyErr_Occurred()) SWIG_fail
;
8725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8726 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8728 wxPyEndAllowThreads(__tstate
);
8729 if (PyErr_Occurred()) SWIG_fail
;
8731 resultobj
= SWIG_FromInt((int)result
);
8738 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8739 PyObject
*resultobj
;
8742 PyObject
* obj0
= 0 ;
8744 (char *) "pid", NULL
8747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8748 arg1
= (int) SWIG_AsInt(obj0
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8752 result
= (bool)wxPyProcess::Exists(arg1
);
8754 wxPyEndAllowThreads(__tstate
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8766 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8767 PyObject
*resultobj
;
8768 wxString
*arg1
= 0 ;
8769 int arg2
= (int) wxEXEC_ASYNC
;
8770 wxPyProcess
*result
;
8771 bool temp1
= False
;
8772 PyObject
* obj0
= 0 ;
8773 PyObject
* obj1
= 0 ;
8775 (char *) "cmd",(char *) "flags", NULL
8778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8780 arg1
= wxString_in_helper(obj0
);
8781 if (arg1
== NULL
) SWIG_fail
;
8785 arg2
= (int) SWIG_AsInt(obj1
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8790 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
8810 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
*resultobj
;
8812 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8813 int arg2
= (int) -1 ;
8814 wxPyProcess
*result
;
8815 PyObject
* obj0
= 0 ;
8816 PyObject
* obj1
= 0 ;
8818 (char *) "parent",(char *) "id", NULL
8821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
8824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8827 arg2
= (int) SWIG_AsInt(obj1
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8832 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8834 wxPyEndAllowThreads(__tstate
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
8844 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8845 PyObject
*resultobj
;
8846 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8847 PyObject
*arg2
= (PyObject
*) 0 ;
8848 PyObject
*arg3
= (PyObject
*) 0 ;
8849 PyObject
* obj0
= 0 ;
8850 PyObject
* obj1
= 0 ;
8851 PyObject
* obj2
= 0 ;
8853 (char *) "self",(char *) "self",(char *) "_class", NULL
8856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8863 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8865 wxPyEndAllowThreads(__tstate
);
8866 if (PyErr_Occurred()) SWIG_fail
;
8868 Py_INCREF(Py_None
); resultobj
= Py_None
;
8875 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
*resultobj
;
8877 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8880 PyObject
* obj0
= 0 ;
8881 PyObject
* obj1
= 0 ;
8882 PyObject
* obj2
= 0 ;
8884 (char *) "self",(char *) "pid",(char *) "status", NULL
8887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8890 arg2
= (int) SWIG_AsInt(obj1
);
8891 if (PyErr_Occurred()) SWIG_fail
;
8892 arg3
= (int) SWIG_AsInt(obj2
);
8893 if (PyErr_Occurred()) SWIG_fail
;
8895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8896 (arg1
)->base_OnTerminate(arg2
,arg3
);
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8901 Py_INCREF(Py_None
); resultobj
= Py_None
;
8908 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8909 PyObject
*resultobj
;
8910 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8911 PyObject
* obj0
= 0 ;
8913 (char *) "self", NULL
8916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8923 wxPyEndAllowThreads(__tstate
);
8924 if (PyErr_Occurred()) SWIG_fail
;
8926 Py_INCREF(Py_None
); resultobj
= Py_None
;
8933 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8934 PyObject
*resultobj
;
8935 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8937 PyObject
* obj0
= 0 ;
8939 (char *) "self", NULL
8942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8947 result
= (bool)(arg1
)->IsRedirected();
8949 wxPyEndAllowThreads(__tstate
);
8950 if (PyErr_Occurred()) SWIG_fail
;
8953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8961 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8962 PyObject
*resultobj
;
8963 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8964 PyObject
* obj0
= 0 ;
8966 (char *) "self", NULL
8969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
8970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8976 wxPyEndAllowThreads(__tstate
);
8977 if (PyErr_Occurred()) SWIG_fail
;
8979 Py_INCREF(Py_None
); resultobj
= Py_None
;
8986 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8987 PyObject
*resultobj
;
8988 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8989 wxInputStream
*result
;
8990 PyObject
* obj0
= 0 ;
8992 (char *) "self", NULL
8995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
8996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9002 wxPyEndAllowThreads(__tstate
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9006 wxPyInputStream
* _ptr
= NULL
;
9009 _ptr
= new wxPyInputStream(result
);
9011 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9019 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
*resultobj
;
9021 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9022 wxInputStream
*result
;
9023 PyObject
* obj0
= 0 ;
9025 (char *) "self", NULL
9028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9033 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9035 wxPyEndAllowThreads(__tstate
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9039 wxPyInputStream
* _ptr
= NULL
;
9042 _ptr
= new wxPyInputStream(result
);
9044 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9052 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
*resultobj
;
9054 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9055 wxOutputStream
*result
;
9056 PyObject
* obj0
= 0 ;
9058 (char *) "self", NULL
9061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9068 wxPyEndAllowThreads(__tstate
);
9069 if (PyErr_Occurred()) SWIG_fail
;
9071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9078 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9079 PyObject
*resultobj
;
9080 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9081 PyObject
* obj0
= 0 ;
9083 (char *) "self", NULL
9086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9091 (arg1
)->CloseOutput();
9093 wxPyEndAllowThreads(__tstate
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9096 Py_INCREF(Py_None
); resultobj
= Py_None
;
9103 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9104 PyObject
*resultobj
;
9105 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9107 PyObject
* obj0
= 0 ;
9109 (char *) "self", NULL
9112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9117 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9119 wxPyEndAllowThreads(__tstate
);
9120 if (PyErr_Occurred()) SWIG_fail
;
9123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9131 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9132 PyObject
*resultobj
;
9133 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9135 PyObject
* obj0
= 0 ;
9137 (char *) "self", NULL
9140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9145 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9147 wxPyEndAllowThreads(__tstate
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9159 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9160 PyObject
*resultobj
;
9161 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9163 PyObject
* obj0
= 0 ;
9165 (char *) "self", NULL
9168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9173 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9175 wxPyEndAllowThreads(__tstate
);
9176 if (PyErr_Occurred()) SWIG_fail
;
9179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9187 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
9189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9190 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9192 return Py_BuildValue((char *)"");
9194 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
*resultobj
;
9196 int arg1
= (int) 0 ;
9197 int arg2
= (int) 0 ;
9198 int arg3
= (int) 0 ;
9199 wxProcessEvent
*result
;
9200 PyObject
* obj0
= 0 ;
9201 PyObject
* obj1
= 0 ;
9202 PyObject
* obj2
= 0 ;
9204 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9209 arg1
= (int) SWIG_AsInt(obj0
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9213 arg2
= (int) SWIG_AsInt(obj1
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9217 arg3
= (int) SWIG_AsInt(obj2
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9234 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
;
9236 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9238 PyObject
* obj0
= 0 ;
9240 (char *) "self", NULL
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 result
= (int)(arg1
)->GetPid();
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9253 resultobj
= SWIG_FromInt((int)result
);
9260 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9261 PyObject
*resultobj
;
9262 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9264 PyObject
* obj0
= 0 ;
9266 (char *) "self", NULL
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 result
= (int)(arg1
)->GetExitCode();
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9279 resultobj
= SWIG_FromInt((int)result
);
9286 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
*resultobj
;
9288 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9290 PyObject
* obj0
= 0 ;
9291 PyObject
* obj1
= 0 ;
9293 (char *) "self",(char *) "m_pid", NULL
9296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9299 arg2
= (int) SWIG_AsInt(obj1
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9301 if (arg1
) (arg1
)->m_pid
= arg2
;
9303 Py_INCREF(Py_None
); resultobj
= Py_None
;
9310 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9311 PyObject
*resultobj
;
9312 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9314 PyObject
* obj0
= 0 ;
9316 (char *) "self", NULL
9319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9322 result
= (int) ((arg1
)->m_pid
);
9324 resultobj
= SWIG_FromInt((int)result
);
9331 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
*resultobj
;
9333 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9335 PyObject
* obj0
= 0 ;
9336 PyObject
* obj1
= 0 ;
9338 (char *) "self",(char *) "m_exitcode", NULL
9341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9344 arg2
= (int) SWIG_AsInt(obj1
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9346 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9348 Py_INCREF(Py_None
); resultobj
= Py_None
;
9355 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
*resultobj
;
9357 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9359 PyObject
* obj0
= 0 ;
9361 (char *) "self", NULL
9364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9367 result
= (int) ((arg1
)->m_exitcode
);
9369 resultobj
= SWIG_FromInt((int)result
);
9376 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
9378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9379 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9381 return Py_BuildValue((char *)"");
9383 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9384 PyObject
*resultobj
;
9385 wxString
*arg1
= 0 ;
9386 int arg2
= (int) wxEXEC_ASYNC
;
9387 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9389 bool temp1
= False
;
9390 PyObject
* obj0
= 0 ;
9391 PyObject
* obj1
= 0 ;
9392 PyObject
* obj2
= 0 ;
9394 (char *) "command",(char *) "flags",(char *) "process", NULL
9397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9399 arg1
= wxString_in_helper(obj0
);
9400 if (arg1
== NULL
) SWIG_fail
;
9404 arg2
= (int) SWIG_AsInt(obj1
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9408 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9415 wxPyEndAllowThreads(__tstate
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9418 resultobj
= SWIG_FromLong((long)result
);
9433 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9434 PyObject
*resultobj
;
9435 int arg1
= (int) wxJOYSTICK1
;
9437 PyObject
* obj0
= 0 ;
9439 (char *) "joystick", NULL
9442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9444 arg1
= (int) SWIG_AsInt(obj0
);
9445 if (PyErr_Occurred()) SWIG_fail
;
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9449 result
= (wxJoystick
*)new wxJoystick(arg1
);
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9461 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9462 PyObject
*resultobj
;
9463 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9464 PyObject
* obj0
= 0 ;
9466 (char *) "self", NULL
9469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9476 wxPyEndAllowThreads(__tstate
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9479 Py_INCREF(Py_None
); resultobj
= Py_None
;
9486 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9487 PyObject
*resultobj
;
9488 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9490 PyObject
* obj0
= 0 ;
9492 (char *) "self", NULL
9495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9500 result
= (arg1
)->GetPosition();
9502 wxPyEndAllowThreads(__tstate
);
9503 if (PyErr_Occurred()) SWIG_fail
;
9506 wxPoint
* resultptr
;
9507 resultptr
= new wxPoint((wxPoint
&) result
);
9508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9516 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9517 PyObject
*resultobj
;
9518 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9520 PyObject
* obj0
= 0 ;
9522 (char *) "self", NULL
9525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9530 result
= (int)(arg1
)->GetZPosition();
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9535 resultobj
= SWIG_FromInt((int)result
);
9542 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9543 PyObject
*resultobj
;
9544 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9546 PyObject
* obj0
= 0 ;
9548 (char *) "self", NULL
9551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9556 result
= (int)(arg1
)->GetButtonState();
9558 wxPyEndAllowThreads(__tstate
);
9559 if (PyErr_Occurred()) SWIG_fail
;
9561 resultobj
= SWIG_FromInt((int)result
);
9568 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9569 PyObject
*resultobj
;
9570 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9572 PyObject
* obj0
= 0 ;
9574 (char *) "self", NULL
9577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9582 result
= (int)(arg1
)->GetPOVPosition();
9584 wxPyEndAllowThreads(__tstate
);
9585 if (PyErr_Occurred()) SWIG_fail
;
9587 resultobj
= SWIG_FromInt((int)result
);
9594 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
*resultobj
;
9596 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9598 PyObject
* obj0
= 0 ;
9600 (char *) "self", NULL
9603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9608 result
= (int)(arg1
)->GetPOVCTSPosition();
9610 wxPyEndAllowThreads(__tstate
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9613 resultobj
= SWIG_FromInt((int)result
);
9620 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9621 PyObject
*resultobj
;
9622 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9624 PyObject
* obj0
= 0 ;
9626 (char *) "self", NULL
9629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9634 result
= (int)(arg1
)->GetRudderPosition();
9636 wxPyEndAllowThreads(__tstate
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9639 resultobj
= SWIG_FromInt((int)result
);
9646 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9647 PyObject
*resultobj
;
9648 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9650 PyObject
* obj0
= 0 ;
9652 (char *) "self", NULL
9655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9660 result
= (int)(arg1
)->GetUPosition();
9662 wxPyEndAllowThreads(__tstate
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9665 resultobj
= SWIG_FromInt((int)result
);
9672 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9673 PyObject
*resultobj
;
9674 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9676 PyObject
* obj0
= 0 ;
9678 (char *) "self", NULL
9681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 result
= (int)(arg1
)->GetVPosition();
9688 wxPyEndAllowThreads(__tstate
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9691 resultobj
= SWIG_FromInt((int)result
);
9698 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9699 PyObject
*resultobj
;
9700 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9702 PyObject
* obj0
= 0 ;
9704 (char *) "self", NULL
9707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9712 result
= (int)(arg1
)->GetMovementThreshold();
9714 wxPyEndAllowThreads(__tstate
);
9715 if (PyErr_Occurred()) SWIG_fail
;
9717 resultobj
= SWIG_FromInt((int)result
);
9724 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9725 PyObject
*resultobj
;
9726 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9728 PyObject
* obj0
= 0 ;
9729 PyObject
* obj1
= 0 ;
9731 (char *) "self",(char *) "threshold", NULL
9734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9737 arg2
= (int) SWIG_AsInt(obj1
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9741 (arg1
)->SetMovementThreshold(arg2
);
9743 wxPyEndAllowThreads(__tstate
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9746 Py_INCREF(Py_None
); resultobj
= Py_None
;
9753 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9754 PyObject
*resultobj
;
9755 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9757 PyObject
* obj0
= 0 ;
9759 (char *) "self", NULL
9762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9767 result
= (bool)(arg1
)->IsOk();
9769 wxPyEndAllowThreads(__tstate
);
9770 if (PyErr_Occurred()) SWIG_fail
;
9773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9781 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
*resultobj
;
9783 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9785 PyObject
* obj0
= 0 ;
9787 (char *) "self", NULL
9790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9795 result
= (int)(arg1
)->GetNumberJoysticks();
9797 wxPyEndAllowThreads(__tstate
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9800 resultobj
= SWIG_FromInt((int)result
);
9807 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9808 PyObject
*resultobj
;
9809 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9811 PyObject
* obj0
= 0 ;
9813 (char *) "self", NULL
9816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9821 result
= (int)(arg1
)->GetManufacturerId();
9823 wxPyEndAllowThreads(__tstate
);
9824 if (PyErr_Occurred()) SWIG_fail
;
9826 resultobj
= SWIG_FromInt((int)result
);
9833 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9834 PyObject
*resultobj
;
9835 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9837 PyObject
* obj0
= 0 ;
9839 (char *) "self", NULL
9842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 result
= (int)(arg1
)->GetProductId();
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9852 resultobj
= SWIG_FromInt((int)result
);
9859 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9860 PyObject
*resultobj
;
9861 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9863 PyObject
* obj0
= 0 ;
9865 (char *) "self", NULL
9868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 result
= (arg1
)->GetProductName();
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) SWIG_fail
;
9880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9891 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9892 PyObject
*resultobj
;
9893 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9895 PyObject
* obj0
= 0 ;
9897 (char *) "self", NULL
9900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9905 result
= (int)(arg1
)->GetXMin();
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9910 resultobj
= SWIG_FromInt((int)result
);
9917 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9918 PyObject
*resultobj
;
9919 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9921 PyObject
* obj0
= 0 ;
9923 (char *) "self", NULL
9926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 result
= (int)(arg1
)->GetYMin();
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9936 resultobj
= SWIG_FromInt((int)result
);
9943 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9944 PyObject
*resultobj
;
9945 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9947 PyObject
* obj0
= 0 ;
9949 (char *) "self", NULL
9952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
9953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 result
= (int)(arg1
)->GetZMin();
9959 wxPyEndAllowThreads(__tstate
);
9960 if (PyErr_Occurred()) SWIG_fail
;
9962 resultobj
= SWIG_FromInt((int)result
);
9969 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9970 PyObject
*resultobj
;
9971 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9973 PyObject
* obj0
= 0 ;
9975 (char *) "self", NULL
9978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
9979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9983 result
= (int)(arg1
)->GetXMax();
9985 wxPyEndAllowThreads(__tstate
);
9986 if (PyErr_Occurred()) SWIG_fail
;
9988 resultobj
= SWIG_FromInt((int)result
);
9995 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9996 PyObject
*resultobj
;
9997 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9999 PyObject
* obj0
= 0 ;
10000 char *kwnames
[] = {
10001 (char *) "self", NULL
10004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10009 result
= (int)(arg1
)->GetYMax();
10011 wxPyEndAllowThreads(__tstate
);
10012 if (PyErr_Occurred()) SWIG_fail
;
10014 resultobj
= SWIG_FromInt((int)result
);
10021 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10022 PyObject
*resultobj
;
10023 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10025 PyObject
* obj0
= 0 ;
10026 char *kwnames
[] = {
10027 (char *) "self", NULL
10030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10035 result
= (int)(arg1
)->GetZMax();
10037 wxPyEndAllowThreads(__tstate
);
10038 if (PyErr_Occurred()) SWIG_fail
;
10040 resultobj
= SWIG_FromInt((int)result
);
10047 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10048 PyObject
*resultobj
;
10049 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10051 PyObject
* obj0
= 0 ;
10052 char *kwnames
[] = {
10053 (char *) "self", NULL
10056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10061 result
= (int)(arg1
)->GetNumberButtons();
10063 wxPyEndAllowThreads(__tstate
);
10064 if (PyErr_Occurred()) SWIG_fail
;
10066 resultobj
= SWIG_FromInt((int)result
);
10073 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10074 PyObject
*resultobj
;
10075 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10077 PyObject
* obj0
= 0 ;
10078 char *kwnames
[] = {
10079 (char *) "self", NULL
10082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10087 result
= (int)(arg1
)->GetNumberAxes();
10089 wxPyEndAllowThreads(__tstate
);
10090 if (PyErr_Occurred()) SWIG_fail
;
10092 resultobj
= SWIG_FromInt((int)result
);
10099 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10100 PyObject
*resultobj
;
10101 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10103 PyObject
* obj0
= 0 ;
10104 char *kwnames
[] = {
10105 (char *) "self", NULL
10108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10113 result
= (int)(arg1
)->GetMaxButtons();
10115 wxPyEndAllowThreads(__tstate
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10118 resultobj
= SWIG_FromInt((int)result
);
10125 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10126 PyObject
*resultobj
;
10127 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10129 PyObject
* obj0
= 0 ;
10130 char *kwnames
[] = {
10131 (char *) "self", NULL
10134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 result
= (int)(arg1
)->GetMaxAxes();
10141 wxPyEndAllowThreads(__tstate
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10144 resultobj
= SWIG_FromInt((int)result
);
10151 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
*resultobj
;
10153 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10155 PyObject
* obj0
= 0 ;
10156 char *kwnames
[] = {
10157 (char *) "self", NULL
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10165 result
= (int)(arg1
)->GetPollingMin();
10167 wxPyEndAllowThreads(__tstate
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10170 resultobj
= SWIG_FromInt((int)result
);
10177 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10178 PyObject
*resultobj
;
10179 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10181 PyObject
* obj0
= 0 ;
10182 char *kwnames
[] = {
10183 (char *) "self", NULL
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 result
= (int)(arg1
)->GetPollingMax();
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10196 resultobj
= SWIG_FromInt((int)result
);
10203 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
*resultobj
;
10205 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10207 PyObject
* obj0
= 0 ;
10208 char *kwnames
[] = {
10209 (char *) "self", NULL
10212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 result
= (int)(arg1
)->GetRudderMin();
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 resultobj
= SWIG_FromInt((int)result
);
10229 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
;
10231 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10233 PyObject
* obj0
= 0 ;
10234 char *kwnames
[] = {
10235 (char *) "self", NULL
10238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10243 result
= (int)(arg1
)->GetRudderMax();
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10248 resultobj
= SWIG_FromInt((int)result
);
10255 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10256 PyObject
*resultobj
;
10257 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10259 PyObject
* obj0
= 0 ;
10260 char *kwnames
[] = {
10261 (char *) "self", NULL
10264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10269 result
= (int)(arg1
)->GetUMin();
10271 wxPyEndAllowThreads(__tstate
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10274 resultobj
= SWIG_FromInt((int)result
);
10281 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
*resultobj
;
10283 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10285 PyObject
* obj0
= 0 ;
10286 char *kwnames
[] = {
10287 (char *) "self", NULL
10290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10295 result
= (int)(arg1
)->GetUMax();
10297 wxPyEndAllowThreads(__tstate
);
10298 if (PyErr_Occurred()) SWIG_fail
;
10300 resultobj
= SWIG_FromInt((int)result
);
10307 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10308 PyObject
*resultobj
;
10309 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10311 PyObject
* obj0
= 0 ;
10312 char *kwnames
[] = {
10313 (char *) "self", NULL
10316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 result
= (int)(arg1
)->GetVMin();
10323 wxPyEndAllowThreads(__tstate
);
10324 if (PyErr_Occurred()) SWIG_fail
;
10326 resultobj
= SWIG_FromInt((int)result
);
10333 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10334 PyObject
*resultobj
;
10335 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10337 PyObject
* obj0
= 0 ;
10338 char *kwnames
[] = {
10339 (char *) "self", NULL
10342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 result
= (int)(arg1
)->GetVMax();
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10352 resultobj
= SWIG_FromInt((int)result
);
10359 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
;
10361 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10363 PyObject
* obj0
= 0 ;
10364 char *kwnames
[] = {
10365 (char *) "self", NULL
10368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 result
= (bool)(arg1
)->HasRudder();
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10387 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10388 PyObject
*resultobj
;
10389 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10391 PyObject
* obj0
= 0 ;
10392 char *kwnames
[] = {
10393 (char *) "self", NULL
10396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10401 result
= (bool)(arg1
)->HasZ();
10403 wxPyEndAllowThreads(__tstate
);
10404 if (PyErr_Occurred()) SWIG_fail
;
10407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10415 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10416 PyObject
*resultobj
;
10417 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10419 PyObject
* obj0
= 0 ;
10420 char *kwnames
[] = {
10421 (char *) "self", NULL
10424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10429 result
= (bool)(arg1
)->HasU();
10431 wxPyEndAllowThreads(__tstate
);
10432 if (PyErr_Occurred()) SWIG_fail
;
10435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10443 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10444 PyObject
*resultobj
;
10445 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10447 PyObject
* obj0
= 0 ;
10448 char *kwnames
[] = {
10449 (char *) "self", NULL
10452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10457 result
= (bool)(arg1
)->HasV();
10459 wxPyEndAllowThreads(__tstate
);
10460 if (PyErr_Occurred()) SWIG_fail
;
10463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10471 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10472 PyObject
*resultobj
;
10473 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10475 PyObject
* obj0
= 0 ;
10476 char *kwnames
[] = {
10477 (char *) "self", NULL
10480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10485 result
= (bool)(arg1
)->HasPOV();
10487 wxPyEndAllowThreads(__tstate
);
10488 if (PyErr_Occurred()) SWIG_fail
;
10491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10499 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10500 PyObject
*resultobj
;
10501 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10503 PyObject
* obj0
= 0 ;
10504 char *kwnames
[] = {
10505 (char *) "self", NULL
10508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 result
= (bool)(arg1
)->HasPOV4Dir();
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10527 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10528 PyObject
*resultobj
;
10529 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10531 PyObject
* obj0
= 0 ;
10532 char *kwnames
[] = {
10533 (char *) "self", NULL
10536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10541 result
= (bool)(arg1
)->HasPOVCTS();
10543 wxPyEndAllowThreads(__tstate
);
10544 if (PyErr_Occurred()) SWIG_fail
;
10547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10555 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10556 PyObject
*resultobj
;
10557 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10558 wxWindow
*arg2
= (wxWindow
*) 0 ;
10559 int arg3
= (int) 0 ;
10561 PyObject
* obj0
= 0 ;
10562 PyObject
* obj1
= 0 ;
10563 PyObject
* obj2
= 0 ;
10564 char *kwnames
[] = {
10565 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10574 arg3
= (int) SWIG_AsInt(obj2
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10593 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
*resultobj
;
10595 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10597 PyObject
* obj0
= 0 ;
10598 char *kwnames
[] = {
10599 (char *) "self", NULL
10602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 result
= (bool)(arg1
)->ReleaseCapture();
10609 wxPyEndAllowThreads(__tstate
);
10610 if (PyErr_Occurred()) SWIG_fail
;
10613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10621 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
10623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10624 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10626 return Py_BuildValue((char *)"");
10628 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10629 PyObject
*resultobj
;
10630 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10631 wxPoint
*arg2
= (wxPoint
*) 0 ;
10632 PyObject
* obj0
= 0 ;
10633 PyObject
* obj1
= 0 ;
10634 char *kwnames
[] = {
10635 (char *) "self",(char *) "m_pos", NULL
10638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10643 if (arg1
) (arg1
)->m_pos
= *arg2
;
10645 Py_INCREF(Py_None
); resultobj
= Py_None
;
10652 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10653 PyObject
*resultobj
;
10654 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10656 PyObject
* obj0
= 0 ;
10657 char *kwnames
[] = {
10658 (char *) "self", NULL
10661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10664 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10673 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10674 PyObject
*resultobj
;
10675 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10677 PyObject
* obj0
= 0 ;
10678 PyObject
* obj1
= 0 ;
10679 char *kwnames
[] = {
10680 (char *) "self",(char *) "m_zPosition", NULL
10683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10686 arg2
= (int) SWIG_AsInt(obj1
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10688 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10690 Py_INCREF(Py_None
); resultobj
= Py_None
;
10697 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10698 PyObject
*resultobj
;
10699 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10701 PyObject
* obj0
= 0 ;
10702 char *kwnames
[] = {
10703 (char *) "self", NULL
10706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10709 result
= (int) ((arg1
)->m_zPosition
);
10711 resultobj
= SWIG_FromInt((int)result
);
10718 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
*resultobj
;
10720 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10722 PyObject
* obj0
= 0 ;
10723 PyObject
* obj1
= 0 ;
10724 char *kwnames
[] = {
10725 (char *) "self",(char *) "m_buttonChange", NULL
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10731 arg2
= (int) SWIG_AsInt(obj1
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10733 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10735 Py_INCREF(Py_None
); resultobj
= Py_None
;
10742 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10743 PyObject
*resultobj
;
10744 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10746 PyObject
* obj0
= 0 ;
10747 char *kwnames
[] = {
10748 (char *) "self", NULL
10751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10754 result
= (int) ((arg1
)->m_buttonChange
);
10756 resultobj
= SWIG_FromInt((int)result
);
10763 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10764 PyObject
*resultobj
;
10765 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10767 PyObject
* obj0
= 0 ;
10768 PyObject
* obj1
= 0 ;
10769 char *kwnames
[] = {
10770 (char *) "self",(char *) "m_buttonState", NULL
10773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10776 arg2
= (int) SWIG_AsInt(obj1
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10778 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10780 Py_INCREF(Py_None
); resultobj
= Py_None
;
10787 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10788 PyObject
*resultobj
;
10789 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10791 PyObject
* obj0
= 0 ;
10792 char *kwnames
[] = {
10793 (char *) "self", NULL
10796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10799 result
= (int) ((arg1
)->m_buttonState
);
10801 resultobj
= SWIG_FromInt((int)result
);
10808 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
*resultobj
;
10810 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10812 PyObject
* obj0
= 0 ;
10813 PyObject
* obj1
= 0 ;
10814 char *kwnames
[] = {
10815 (char *) "self",(char *) "m_joyStick", NULL
10818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10821 arg2
= (int) SWIG_AsInt(obj1
);
10822 if (PyErr_Occurred()) SWIG_fail
;
10823 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10825 Py_INCREF(Py_None
); resultobj
= Py_None
;
10832 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10833 PyObject
*resultobj
;
10834 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10836 PyObject
* obj0
= 0 ;
10837 char *kwnames
[] = {
10838 (char *) "self", NULL
10841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10844 result
= (int) ((arg1
)->m_joyStick
);
10846 resultobj
= SWIG_FromInt((int)result
);
10853 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10854 PyObject
*resultobj
;
10855 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10856 int arg2
= (int) 0 ;
10857 int arg3
= (int) wxJOYSTICK1
;
10858 int arg4
= (int) 0 ;
10859 wxJoystickEvent
*result
;
10860 PyObject
* obj0
= 0 ;
10861 PyObject
* obj1
= 0 ;
10862 PyObject
* obj2
= 0 ;
10863 PyObject
* obj3
= 0 ;
10864 char *kwnames
[] = {
10865 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10870 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10871 if (PyErr_Occurred()) SWIG_fail
;
10874 arg2
= (int) SWIG_AsInt(obj1
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10878 arg3
= (int) SWIG_AsInt(obj2
);
10879 if (PyErr_Occurred()) SWIG_fail
;
10882 arg4
= (int) SWIG_AsInt(obj3
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10887 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10889 wxPyEndAllowThreads(__tstate
);
10890 if (PyErr_Occurred()) SWIG_fail
;
10892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
10899 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
;
10901 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10903 PyObject
* obj0
= 0 ;
10904 char *kwnames
[] = {
10905 (char *) "self", NULL
10908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10919 wxPoint
* resultptr
;
10920 resultptr
= new wxPoint((wxPoint
&) result
);
10921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10929 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10930 PyObject
*resultobj
;
10931 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10933 PyObject
* obj0
= 0 ;
10934 char *kwnames
[] = {
10935 (char *) "self", NULL
10938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
10939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10943 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10948 resultobj
= SWIG_FromInt((int)result
);
10955 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10956 PyObject
*resultobj
;
10957 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10959 PyObject
* obj0
= 0 ;
10960 char *kwnames
[] = {
10961 (char *) "self", NULL
10964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
10965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10969 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
10971 wxPyEndAllowThreads(__tstate
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10974 resultobj
= SWIG_FromInt((int)result
);
10981 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10982 PyObject
*resultobj
;
10983 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10985 PyObject
* obj0
= 0 ;
10986 char *kwnames
[] = {
10987 (char *) "self", NULL
10990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
10991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11000 resultobj
= SWIG_FromInt((int)result
);
11007 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11008 PyObject
*resultobj
;
11009 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11011 PyObject
* obj0
= 0 ;
11012 char *kwnames
[] = {
11013 (char *) "self", NULL
11016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11021 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11023 wxPyEndAllowThreads(__tstate
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11026 resultobj
= SWIG_FromInt((int)result
);
11033 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11034 PyObject
*resultobj
;
11035 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11037 PyObject
* obj0
= 0 ;
11038 PyObject
* obj1
= 0 ;
11039 char *kwnames
[] = {
11040 (char *) "self",(char *) "stick", NULL
11043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11046 arg2
= (int) SWIG_AsInt(obj1
);
11047 if (PyErr_Occurred()) SWIG_fail
;
11049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11050 (arg1
)->SetJoystick(arg2
);
11052 wxPyEndAllowThreads(__tstate
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11055 Py_INCREF(Py_None
); resultobj
= Py_None
;
11062 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11063 PyObject
*resultobj
;
11064 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11066 PyObject
* obj0
= 0 ;
11067 PyObject
* obj1
= 0 ;
11068 char *kwnames
[] = {
11069 (char *) "self",(char *) "state", NULL
11072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11075 arg2
= (int) SWIG_AsInt(obj1
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11079 (arg1
)->SetButtonState(arg2
);
11081 wxPyEndAllowThreads(__tstate
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11084 Py_INCREF(Py_None
); resultobj
= Py_None
;
11091 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11092 PyObject
*resultobj
;
11093 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11095 PyObject
* obj0
= 0 ;
11096 PyObject
* obj1
= 0 ;
11097 char *kwnames
[] = {
11098 (char *) "self",(char *) "change", NULL
11101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11104 arg2
= (int) SWIG_AsInt(obj1
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11108 (arg1
)->SetButtonChange(arg2
);
11110 wxPyEndAllowThreads(__tstate
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11113 Py_INCREF(Py_None
); resultobj
= Py_None
;
11120 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11121 PyObject
*resultobj
;
11122 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11123 wxPoint
*arg2
= 0 ;
11125 PyObject
* obj0
= 0 ;
11126 PyObject
* obj1
= 0 ;
11127 char *kwnames
[] = {
11128 (char *) "self",(char *) "pos", NULL
11131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11136 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11140 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11142 wxPyEndAllowThreads(__tstate
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11145 Py_INCREF(Py_None
); resultobj
= Py_None
;
11152 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11153 PyObject
*resultobj
;
11154 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11156 PyObject
* obj0
= 0 ;
11157 PyObject
* obj1
= 0 ;
11158 char *kwnames
[] = {
11159 (char *) "self",(char *) "zPos", NULL
11162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11165 arg2
= (int) SWIG_AsInt(obj1
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11169 (arg1
)->SetZPosition(arg2
);
11171 wxPyEndAllowThreads(__tstate
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11174 Py_INCREF(Py_None
); resultobj
= Py_None
;
11181 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11182 PyObject
*resultobj
;
11183 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11185 PyObject
* obj0
= 0 ;
11186 char *kwnames
[] = {
11187 (char *) "self", NULL
11190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11195 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11197 wxPyEndAllowThreads(__tstate
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11209 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11210 PyObject
*resultobj
;
11211 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11213 PyObject
* obj0
= 0 ;
11214 char *kwnames
[] = {
11215 (char *) "self", NULL
11218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11223 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11225 wxPyEndAllowThreads(__tstate
);
11226 if (PyErr_Occurred()) SWIG_fail
;
11229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11237 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11238 PyObject
*resultobj
;
11239 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11241 PyObject
* obj0
= 0 ;
11242 char *kwnames
[] = {
11243 (char *) "self", NULL
11246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11251 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11253 wxPyEndAllowThreads(__tstate
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11265 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11266 PyObject
*resultobj
;
11267 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11268 int arg2
= (int) wxJOY_BUTTON_ANY
;
11270 PyObject
* obj0
= 0 ;
11271 PyObject
* obj1
= 0 ;
11272 char *kwnames
[] = {
11273 (char *) "self",(char *) "but", NULL
11276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11280 arg2
= (int) SWIG_AsInt(obj1
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11285 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11299 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11300 PyObject
*resultobj
;
11301 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11302 int arg2
= (int) wxJOY_BUTTON_ANY
;
11304 PyObject
* obj0
= 0 ;
11305 PyObject
* obj1
= 0 ;
11306 char *kwnames
[] = {
11307 (char *) "self",(char *) "but", NULL
11310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11314 arg2
= (int) SWIG_AsInt(obj1
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11319 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11321 wxPyEndAllowThreads(__tstate
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11333 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11334 PyObject
*resultobj
;
11335 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11336 int arg2
= (int) wxJOY_BUTTON_ANY
;
11338 PyObject
* obj0
= 0 ;
11339 PyObject
* obj1
= 0 ;
11340 char *kwnames
[] = {
11341 (char *) "self",(char *) "but", NULL
11344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11348 arg2
= (int) SWIG_AsInt(obj1
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11353 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11367 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
11369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11370 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11372 return Py_BuildValue((char *)"");
11374 static PyObject
*_wrap_new_Sound__SWIG_0(PyObject
*, PyObject
*args
) {
11375 PyObject
*resultobj
;
11378 if(!PyArg_ParseTuple(args
,(char *)":new_Sound")) goto fail
;
11380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11381 result
= (wxSound
*)new wxSound();
11383 wxPyEndAllowThreads(__tstate
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11393 static PyObject
*_wrap_new_Sound__SWIG_1(PyObject
*, PyObject
*args
) {
11394 PyObject
*resultobj
;
11395 wxString
*arg1
= 0 ;
11396 bool arg2
= (bool) false ;
11398 bool temp1
= False
;
11399 PyObject
* obj0
= 0 ;
11400 PyObject
* obj1
= 0 ;
11402 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_Sound",&obj0
,&obj1
)) goto fail
;
11404 arg1
= wxString_in_helper(obj0
);
11405 if (arg1
== NULL
) SWIG_fail
;
11409 arg2
= (bool) SWIG_AsBool(obj1
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11414 result
= (wxSound
*)new wxSound((wxString
const &)*arg1
,arg2
);
11416 wxPyEndAllowThreads(__tstate
);
11417 if (PyErr_Occurred()) SWIG_fail
;
11419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11434 static PyObject
*_wrap_new_Sound__SWIG_2(PyObject
*, PyObject
*args
) {
11435 PyObject
*resultobj
;
11437 wxByte
*arg2
= (wxByte
*) 0 ;
11439 PyObject
* obj0
= 0 ;
11440 PyObject
* obj1
= 0 ;
11442 if(!PyArg_ParseTuple(args
,(char *)"OO:new_Sound",&obj0
,&obj1
)) goto fail
;
11443 arg1
= (int) SWIG_AsInt(obj0
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxByte
,
11446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11449 result
= (wxSound
*)new wxSound(arg1
,(wxByte
const *)arg2
);
11451 wxPyEndAllowThreads(__tstate
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11461 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
) {
11466 argc
= PyObject_Length(args
);
11467 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11468 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11471 return _wrap_new_Sound__SWIG_0(self
,args
);
11473 if ((argc
>= 1) && (argc
<= 2)) {
11476 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11480 return _wrap_new_Sound__SWIG_1(self
,args
);
11482 _v
= SWIG_CheckBool(argv
[1]);
11484 return _wrap_new_Sound__SWIG_1(self
,args
);
11490 _v
= SWIG_CheckInt(argv
[0]);
11494 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11502 return _wrap_new_Sound__SWIG_2(self
,args
);
11507 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Sound'");
11512 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11513 PyObject
*resultobj
;
11514 wxSound
*arg1
= (wxSound
*) 0 ;
11515 PyObject
* obj0
= 0 ;
11516 char *kwnames
[] = {
11517 (char *) "self", NULL
11520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 wxPyEndAllowThreads(__tstate
);
11528 if (PyErr_Occurred()) SWIG_fail
;
11530 Py_INCREF(Py_None
); resultobj
= Py_None
;
11537 static PyObject
*_wrap_Sound_Create__SWIG_0(PyObject
*, PyObject
*args
) {
11538 PyObject
*resultobj
;
11539 wxSound
*arg1
= (wxSound
*) 0 ;
11540 wxString
*arg2
= 0 ;
11541 bool arg3
= (bool) false ;
11543 bool temp2
= False
;
11544 PyObject
* obj0
= 0 ;
11545 PyObject
* obj1
= 0 ;
11546 PyObject
* obj2
= 0 ;
11548 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11552 arg2
= wxString_in_helper(obj1
);
11553 if (arg2
== NULL
) SWIG_fail
;
11557 arg3
= (bool) SWIG_AsBool(obj2
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11562 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,arg3
);
11564 wxPyEndAllowThreads(__tstate
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11584 static PyObject
*_wrap_Sound_Create__SWIG_1(PyObject
*, PyObject
*args
) {
11585 PyObject
*resultobj
;
11586 wxSound
*arg1
= (wxSound
*) 0 ;
11588 wxByte
*arg3
= (wxByte
*) 0 ;
11590 PyObject
* obj0
= 0 ;
11591 PyObject
* obj1
= 0 ;
11592 PyObject
* obj2
= 0 ;
11594 if(!PyArg_ParseTuple(args
,(char *)"OOO:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11597 arg2
= (int) SWIG_AsInt(obj1
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11599 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxByte
,
11600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 result
= (bool)wxSound_Create__SWIG_1(arg1
,arg2
,(wxByte
const *)arg3
);
11605 wxPyEndAllowThreads(__tstate
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11617 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
) {
11622 argc
= PyObject_Length(args
);
11623 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
11624 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11626 if ((argc
>= 2) && (argc
<= 3)) {
11630 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11639 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11643 return _wrap_Sound_Create__SWIG_0(self
,args
);
11645 _v
= SWIG_CheckBool(argv
[2]);
11647 return _wrap_Sound_Create__SWIG_0(self
,args
);
11656 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11664 _v
= SWIG_CheckInt(argv
[1]);
11668 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11676 return _wrap_Sound_Create__SWIG_1(self
,args
);
11682 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Sound_Create'");
11687 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11688 PyObject
*resultobj
;
11689 wxSound
*arg1
= (wxSound
*) 0 ;
11691 PyObject
* obj0
= 0 ;
11692 char *kwnames
[] = {
11693 (char *) "self", NULL
11696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11701 result
= (bool)(arg1
)->IsOk();
11703 wxPyEndAllowThreads(__tstate
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11715 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
) {
11716 PyObject
*resultobj
;
11717 wxSound
*arg1
= (wxSound
*) 0 ;
11718 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11720 PyObject
* obj0
= 0 ;
11721 PyObject
* obj1
= 0 ;
11723 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_Play",&obj0
,&obj1
)) goto fail
;
11724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11727 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11732 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11734 wxPyEndAllowThreads(__tstate
);
11735 if (PyErr_Occurred()) SWIG_fail
;
11738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11746 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
) {
11747 PyObject
*resultobj
;
11748 wxString
*arg1
= 0 ;
11749 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11751 bool temp1
= False
;
11752 PyObject
* obj0
= 0 ;
11753 PyObject
* obj1
= 0 ;
11755 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_PlaySound",&obj0
,&obj1
)) goto fail
;
11757 arg1
= wxString_in_helper(obj0
);
11758 if (arg1
== NULL
) SWIG_fail
;
11762 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11763 if (PyErr_Occurred()) SWIG_fail
;
11766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11767 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11769 wxPyEndAllowThreads(__tstate
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11789 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
*resultobj
;
11791 char *kwnames
[] = {
11795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11800 wxPyEndAllowThreads(__tstate
);
11801 if (PyErr_Occurred()) SWIG_fail
;
11803 Py_INCREF(Py_None
); resultobj
= Py_None
;
11810 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
11812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11813 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11815 return Py_BuildValue((char *)"");
11817 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11818 PyObject
*resultobj
;
11819 wxString
*arg1
= 0 ;
11820 wxString
*arg2
= 0 ;
11821 wxString
*arg3
= 0 ;
11822 wxString
*arg4
= 0 ;
11823 wxFileTypeInfo
*result
;
11824 bool temp1
= False
;
11825 bool temp2
= False
;
11826 bool temp3
= False
;
11827 bool temp4
= False
;
11828 PyObject
* obj0
= 0 ;
11829 PyObject
* obj1
= 0 ;
11830 PyObject
* obj2
= 0 ;
11831 PyObject
* obj3
= 0 ;
11832 char *kwnames
[] = {
11833 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11838 arg1
= wxString_in_helper(obj0
);
11839 if (arg1
== NULL
) SWIG_fail
;
11843 arg2
= wxString_in_helper(obj1
);
11844 if (arg2
== NULL
) SWIG_fail
;
11848 arg3
= wxString_in_helper(obj2
);
11849 if (arg3
== NULL
) SWIG_fail
;
11853 arg4
= wxString_in_helper(obj3
);
11854 if (arg4
== NULL
) SWIG_fail
;
11858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11859 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11861 wxPyEndAllowThreads(__tstate
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11903 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11904 PyObject
*resultobj
;
11905 wxArrayString
*arg1
= 0 ;
11906 wxFileTypeInfo
*result
;
11907 bool temp1
= False
;
11908 PyObject
* obj0
= 0 ;
11909 char *kwnames
[] = {
11910 (char *) "sArray", NULL
11913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11915 if (! PySequence_Check(obj0
)) {
11916 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11919 arg1
= new wxArrayString
;
11921 int i
, len
=PySequence_Length(obj0
);
11922 for (i
=0; i
<len
; i
++) {
11923 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11925 PyObject
* str
= PyObject_Unicode(item
);
11927 PyObject
* str
= PyObject_Str(item
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11930 arg1
->Add(Py2wxString(str
));
11936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11937 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11939 wxPyEndAllowThreads(__tstate
);
11940 if (PyErr_Occurred()) SWIG_fail
;
11942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11944 if (temp1
) delete arg1
;
11949 if (temp1
) delete arg1
;
11955 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11956 PyObject
*resultobj
;
11957 wxFileTypeInfo
*result
;
11958 char *kwnames
[] = {
11962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11967 wxPyEndAllowThreads(__tstate
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11977 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11978 PyObject
*resultobj
;
11979 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11981 PyObject
* obj0
= 0 ;
11982 char *kwnames
[] = {
11983 (char *) "self", NULL
11986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
11987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11991 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12005 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12006 PyObject
*resultobj
;
12007 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12008 wxString
*arg2
= 0 ;
12009 int arg3
= (int) 0 ;
12010 bool temp2
= False
;
12011 PyObject
* obj0
= 0 ;
12012 PyObject
* obj1
= 0 ;
12013 PyObject
* obj2
= 0 ;
12014 char *kwnames
[] = {
12015 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12022 arg2
= wxString_in_helper(obj1
);
12023 if (arg2
== NULL
) SWIG_fail
;
12027 arg3
= (int) SWIG_AsInt(obj2
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12032 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12034 wxPyEndAllowThreads(__tstate
);
12035 if (PyErr_Occurred()) SWIG_fail
;
12037 Py_INCREF(Py_None
); resultobj
= Py_None
;
12052 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12053 PyObject
*resultobj
;
12054 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12055 wxString
*arg2
= 0 ;
12056 bool temp2
= False
;
12057 PyObject
* obj0
= 0 ;
12058 PyObject
* obj1
= 0 ;
12059 char *kwnames
[] = {
12060 (char *) "self",(char *) "shortDesc", NULL
12063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12067 arg2
= wxString_in_helper(obj1
);
12068 if (arg2
== NULL
) SWIG_fail
;
12072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12073 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12075 wxPyEndAllowThreads(__tstate
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12078 Py_INCREF(Py_None
); resultobj
= Py_None
;
12093 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12094 PyObject
*resultobj
;
12095 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12097 PyObject
* obj0
= 0 ;
12098 char *kwnames
[] = {
12099 (char *) "self", NULL
12102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12109 result
= (wxString
*) &_result_ref
;
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12117 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12119 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12128 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12129 PyObject
*resultobj
;
12130 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12132 PyObject
* obj0
= 0 ;
12133 char *kwnames
[] = {
12134 (char *) "self", NULL
12137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12143 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12144 result
= (wxString
*) &_result_ref
;
12147 wxPyEndAllowThreads(__tstate
);
12148 if (PyErr_Occurred()) SWIG_fail
;
12152 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12154 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12163 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12164 PyObject
*resultobj
;
12165 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12167 PyObject
* obj0
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "self", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12178 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12179 result
= (wxString
*) &_result_ref
;
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12187 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12189 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12198 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12199 PyObject
*resultobj
;
12200 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12202 PyObject
* obj0
= 0 ;
12203 char *kwnames
[] = {
12204 (char *) "self", NULL
12207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12213 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12214 result
= (wxString
*) &_result_ref
;
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12222 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12224 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12233 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12234 PyObject
*resultobj
;
12235 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12237 PyObject
* obj0
= 0 ;
12238 char *kwnames
[] = {
12239 (char *) "self", NULL
12242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12249 result
= (wxString
*) &_result_ref
;
12252 wxPyEndAllowThreads(__tstate
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12257 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12259 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12268 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12269 PyObject
*resultobj
;
12270 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12271 wxArrayString
*result
;
12272 PyObject
* obj0
= 0 ;
12273 char *kwnames
[] = {
12274 (char *) "self", NULL
12277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12283 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12284 result
= (wxArrayString
*) &_result_ref
;
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12291 resultobj
= wxArrayString2PyList_helper(*result
);
12299 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12300 PyObject
*resultobj
;
12301 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12303 PyObject
* obj0
= 0 ;
12304 char *kwnames
[] = {
12305 (char *) "self", NULL
12308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12313 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12315 wxPyEndAllowThreads(__tstate
);
12316 if (PyErr_Occurred()) SWIG_fail
;
12318 resultobj
= SWIG_FromInt((int)result
);
12325 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12326 PyObject
*resultobj
;
12327 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12329 PyObject
* obj0
= 0 ;
12330 char *kwnames
[] = {
12331 (char *) "self", NULL
12334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12340 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12341 result
= (wxString
*) &_result_ref
;
12344 wxPyEndAllowThreads(__tstate
);
12345 if (PyErr_Occurred()) SWIG_fail
;
12349 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12351 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12360 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12361 PyObject
*resultobj
;
12362 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12364 PyObject
* obj0
= 0 ;
12365 char *kwnames
[] = {
12366 (char *) "self", NULL
12369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12374 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12376 wxPyEndAllowThreads(__tstate
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12379 resultobj
= SWIG_FromInt((int)result
);
12386 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
12388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12389 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12391 return Py_BuildValue((char *)"");
12393 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12394 PyObject
*resultobj
;
12395 wxFileTypeInfo
*arg1
= 0 ;
12396 wxFileType
*result
;
12397 PyObject
* obj0
= 0 ;
12398 char *kwnames
[] = {
12399 (char *) "ftInfo", NULL
12402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12404 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12406 if (arg1
== NULL
) {
12407 PyErr_SetString(PyExc_TypeError
,"null reference");
12411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12412 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12414 wxPyEndAllowThreads(__tstate
);
12415 if (PyErr_Occurred()) SWIG_fail
;
12417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12424 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12425 PyObject
*resultobj
;
12426 wxFileType
*arg1
= (wxFileType
*) 0 ;
12427 PyObject
* obj0
= 0 ;
12428 char *kwnames
[] = {
12429 (char *) "self", NULL
12432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12439 wxPyEndAllowThreads(__tstate
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12442 Py_INCREF(Py_None
); resultobj
= Py_None
;
12449 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12450 PyObject
*resultobj
;
12451 wxFileType
*arg1
= (wxFileType
*) 0 ;
12453 PyObject
* obj0
= 0 ;
12454 char *kwnames
[] = {
12455 (char *) "self", NULL
12458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12468 resultobj
= result
;
12475 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12476 PyObject
*resultobj
;
12477 wxFileType
*arg1
= (wxFileType
*) 0 ;
12479 PyObject
* obj0
= 0 ;
12480 char *kwnames
[] = {
12481 (char *) "self", NULL
12484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12489 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12491 wxPyEndAllowThreads(__tstate
);
12492 if (PyErr_Occurred()) SWIG_fail
;
12494 resultobj
= result
;
12501 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12502 PyObject
*resultobj
;
12503 wxFileType
*arg1
= (wxFileType
*) 0 ;
12505 PyObject
* obj0
= 0 ;
12506 char *kwnames
[] = {
12507 (char *) "self", NULL
12510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12515 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12517 wxPyEndAllowThreads(__tstate
);
12518 if (PyErr_Occurred()) SWIG_fail
;
12520 resultobj
= result
;
12527 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12528 PyObject
*resultobj
;
12529 wxFileType
*arg1
= (wxFileType
*) 0 ;
12531 PyObject
* obj0
= 0 ;
12532 char *kwnames
[] = {
12533 (char *) "self", NULL
12536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12541 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12543 wxPyEndAllowThreads(__tstate
);
12544 if (PyErr_Occurred()) SWIG_fail
;
12546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12553 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12554 PyObject
*resultobj
;
12555 wxFileType
*arg1
= (wxFileType
*) 0 ;
12557 PyObject
* obj0
= 0 ;
12558 char *kwnames
[] = {
12559 (char *) "self", NULL
12562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12567 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12569 wxPyEndAllowThreads(__tstate
);
12570 if (PyErr_Occurred()) SWIG_fail
;
12572 resultobj
= result
;
12579 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12580 PyObject
*resultobj
;
12581 wxFileType
*arg1
= (wxFileType
*) 0 ;
12583 PyObject
* obj0
= 0 ;
12584 char *kwnames
[] = {
12585 (char *) "self", NULL
12588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12593 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12595 wxPyEndAllowThreads(__tstate
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12598 resultobj
= result
;
12605 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12606 PyObject
*resultobj
;
12607 wxFileType
*arg1
= (wxFileType
*) 0 ;
12608 wxString
*arg2
= 0 ;
12609 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12610 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12612 bool temp2
= False
;
12613 bool temp3
= False
;
12614 PyObject
* obj0
= 0 ;
12615 PyObject
* obj1
= 0 ;
12616 PyObject
* obj2
= 0 ;
12617 char *kwnames
[] = {
12618 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12625 arg2
= wxString_in_helper(obj1
);
12626 if (arg2
== NULL
) SWIG_fail
;
12631 arg3
= wxString_in_helper(obj2
);
12632 if (arg3
== NULL
) SWIG_fail
;
12637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12638 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12640 wxPyEndAllowThreads(__tstate
);
12641 if (PyErr_Occurred()) SWIG_fail
;
12643 resultobj
= result
;
12666 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12667 PyObject
*resultobj
;
12668 wxFileType
*arg1
= (wxFileType
*) 0 ;
12669 wxString
*arg2
= 0 ;
12670 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12671 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12673 bool temp2
= False
;
12674 bool temp3
= False
;
12675 PyObject
* obj0
= 0 ;
12676 PyObject
* obj1
= 0 ;
12677 PyObject
* obj2
= 0 ;
12678 char *kwnames
[] = {
12679 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12686 arg2
= wxString_in_helper(obj1
);
12687 if (arg2
== NULL
) SWIG_fail
;
12692 arg3
= wxString_in_helper(obj2
);
12693 if (arg3
== NULL
) SWIG_fail
;
12698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12699 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12701 wxPyEndAllowThreads(__tstate
);
12702 if (PyErr_Occurred()) SWIG_fail
;
12704 resultobj
= result
;
12727 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12728 PyObject
*resultobj
;
12729 wxFileType
*arg1
= (wxFileType
*) 0 ;
12730 wxString
*arg2
= 0 ;
12731 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12732 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12734 bool temp2
= False
;
12735 bool temp3
= False
;
12736 PyObject
* obj0
= 0 ;
12737 PyObject
* obj1
= 0 ;
12738 PyObject
* obj2
= 0 ;
12739 char *kwnames
[] = {
12740 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12747 arg2
= wxString_in_helper(obj1
);
12748 if (arg2
== NULL
) SWIG_fail
;
12753 arg3
= wxString_in_helper(obj2
);
12754 if (arg3
== NULL
) SWIG_fail
;
12759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12760 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12762 wxPyEndAllowThreads(__tstate
);
12763 if (PyErr_Occurred()) SWIG_fail
;
12765 resultobj
= result
;
12788 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12789 PyObject
*resultobj
;
12790 wxFileType
*arg1
= (wxFileType
*) 0 ;
12791 wxString
*arg2
= 0 ;
12792 wxString
*arg3
= 0 ;
12793 bool arg4
= (bool) True
;
12795 bool temp2
= False
;
12796 bool temp3
= False
;
12797 PyObject
* obj0
= 0 ;
12798 PyObject
* obj1
= 0 ;
12799 PyObject
* obj2
= 0 ;
12800 PyObject
* obj3
= 0 ;
12801 char *kwnames
[] = {
12802 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12809 arg2
= wxString_in_helper(obj1
);
12810 if (arg2
== NULL
) SWIG_fail
;
12814 arg3
= wxString_in_helper(obj2
);
12815 if (arg3
== NULL
) SWIG_fail
;
12819 arg4
= (bool) SWIG_AsBool(obj3
);
12820 if (PyErr_Occurred()) SWIG_fail
;
12823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12824 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12826 wxPyEndAllowThreads(__tstate
);
12827 if (PyErr_Occurred()) SWIG_fail
;
12830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12854 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12855 PyObject
*resultobj
;
12856 wxFileType
*arg1
= (wxFileType
*) 0 ;
12857 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12858 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12859 int arg3
= (int) 0 ;
12861 bool temp2
= False
;
12862 PyObject
* obj0
= 0 ;
12863 PyObject
* obj1
= 0 ;
12864 PyObject
* obj2
= 0 ;
12865 char *kwnames
[] = {
12866 (char *) "self",(char *) "cmd",(char *) "index", NULL
12869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12874 arg2
= wxString_in_helper(obj1
);
12875 if (arg2
== NULL
) SWIG_fail
;
12880 arg3
= (int) SWIG_AsInt(obj2
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12907 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12908 PyObject
*resultobj
;
12909 wxFileType
*arg1
= (wxFileType
*) 0 ;
12911 PyObject
* obj0
= 0 ;
12912 char *kwnames
[] = {
12913 (char *) "self", NULL
12916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12921 result
= (bool)(arg1
)->Unassociate();
12923 wxPyEndAllowThreads(__tstate
);
12924 if (PyErr_Occurred()) SWIG_fail
;
12927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12935 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12936 PyObject
*resultobj
;
12937 wxString
*arg1
= 0 ;
12938 wxString
*arg2
= 0 ;
12939 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12940 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12942 bool temp1
= False
;
12943 bool temp2
= False
;
12944 bool temp3
= False
;
12945 PyObject
* obj0
= 0 ;
12946 PyObject
* obj1
= 0 ;
12947 PyObject
* obj2
= 0 ;
12948 char *kwnames
[] = {
12949 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12954 arg1
= wxString_in_helper(obj0
);
12955 if (arg1
== NULL
) SWIG_fail
;
12959 arg2
= wxString_in_helper(obj1
);
12960 if (arg2
== NULL
) SWIG_fail
;
12965 arg3
= wxString_in_helper(obj2
);
12966 if (arg3
== NULL
) SWIG_fail
;
12971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12972 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12974 wxPyEndAllowThreads(__tstate
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13014 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
13016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13017 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13019 return Py_BuildValue((char *)"");
13021 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
13022 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13027 static PyObject
*_wrap_TheMimeTypesManager_get() {
13030 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13035 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13036 PyObject
*resultobj
;
13037 wxString
*arg1
= 0 ;
13038 wxString
*arg2
= 0 ;
13040 bool temp1
= False
;
13041 bool temp2
= False
;
13042 PyObject
* obj0
= 0 ;
13043 PyObject
* obj1
= 0 ;
13044 char *kwnames
[] = {
13045 (char *) "mimeType",(char *) "wildcard", NULL
13048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13050 arg1
= wxString_in_helper(obj0
);
13051 if (arg1
== NULL
) SWIG_fail
;
13055 arg2
= wxString_in_helper(obj1
);
13056 if (arg2
== NULL
) SWIG_fail
;
13060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13061 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13063 wxPyEndAllowThreads(__tstate
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13091 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13092 PyObject
*resultobj
;
13093 wxMimeTypesManager
*result
;
13094 char *kwnames
[] = {
13098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13101 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13103 wxPyEndAllowThreads(__tstate
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13113 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
;
13115 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13116 int arg2
= (int) wxMAILCAP_ALL
;
13117 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13118 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13119 bool temp3
= False
;
13120 PyObject
* obj0
= 0 ;
13121 PyObject
* obj1
= 0 ;
13122 PyObject
* obj2
= 0 ;
13123 char *kwnames
[] = {
13124 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13131 arg2
= (int) SWIG_AsInt(obj1
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13136 arg3
= wxString_in_helper(obj2
);
13137 if (arg3
== NULL
) SWIG_fail
;
13142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13143 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13145 wxPyEndAllowThreads(__tstate
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13148 Py_INCREF(Py_None
); resultobj
= Py_None
;
13163 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13164 PyObject
*resultobj
;
13165 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13166 PyObject
* obj0
= 0 ;
13167 char *kwnames
[] = {
13168 (char *) "self", NULL
13171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 (arg1
)->ClearData();
13178 wxPyEndAllowThreads(__tstate
);
13179 if (PyErr_Occurred()) SWIG_fail
;
13181 Py_INCREF(Py_None
); resultobj
= Py_None
;
13188 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13189 PyObject
*resultobj
;
13190 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13191 wxString
*arg2
= 0 ;
13192 wxFileType
*result
;
13193 bool temp2
= False
;
13194 PyObject
* obj0
= 0 ;
13195 PyObject
* obj1
= 0 ;
13196 char *kwnames
[] = {
13197 (char *) "self",(char *) "ext", NULL
13200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13204 arg2
= wxString_in_helper(obj1
);
13205 if (arg2
== NULL
) SWIG_fail
;
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13230 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13231 PyObject
*resultobj
;
13232 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13233 wxString
*arg2
= 0 ;
13234 wxFileType
*result
;
13235 bool temp2
= False
;
13236 PyObject
* obj0
= 0 ;
13237 PyObject
* obj1
= 0 ;
13238 char *kwnames
[] = {
13239 (char *) "self",(char *) "mimeType", NULL
13242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13246 arg2
= wxString_in_helper(obj1
);
13247 if (arg2
== NULL
) SWIG_fail
;
13251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13252 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13254 wxPyEndAllowThreads(__tstate
);
13255 if (PyErr_Occurred()) SWIG_fail
;
13257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13272 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13273 PyObject
*resultobj
;
13274 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13275 wxString
*arg2
= 0 ;
13276 bool arg3
= (bool) False
;
13278 bool temp2
= False
;
13279 PyObject
* obj0
= 0 ;
13280 PyObject
* obj1
= 0 ;
13281 PyObject
* obj2
= 0 ;
13282 char *kwnames
[] = {
13283 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13290 arg2
= wxString_in_helper(obj1
);
13291 if (arg2
== NULL
) SWIG_fail
;
13295 arg3
= (bool) SWIG_AsBool(obj2
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13322 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13323 PyObject
*resultobj
;
13324 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13325 wxString
*arg2
= 0 ;
13327 bool temp2
= False
;
13328 PyObject
* obj0
= 0 ;
13329 PyObject
* obj1
= 0 ;
13330 char *kwnames
[] = {
13331 (char *) "self",(char *) "filename", NULL
13334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13338 arg2
= wxString_in_helper(obj1
);
13339 if (arg2
== NULL
) SWIG_fail
;
13343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13344 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13366 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13367 PyObject
*resultobj
;
13368 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13370 PyObject
* obj0
= 0 ;
13371 char *kwnames
[] = {
13372 (char *) "self", NULL
13375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13380 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13382 wxPyEndAllowThreads(__tstate
);
13383 if (PyErr_Occurred()) SWIG_fail
;
13385 resultobj
= result
;
13392 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13393 PyObject
*resultobj
;
13394 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13395 wxFileTypeInfo
*arg2
= 0 ;
13396 PyObject
* obj0
= 0 ;
13397 PyObject
* obj1
= 0 ;
13398 char *kwnames
[] = {
13399 (char *) "self",(char *) "ft", NULL
13402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13406 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13408 if (arg2
== NULL
) {
13409 PyErr_SetString(PyExc_TypeError
,"null reference");
13413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13414 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13416 wxPyEndAllowThreads(__tstate
);
13417 if (PyErr_Occurred()) SWIG_fail
;
13419 Py_INCREF(Py_None
); resultobj
= Py_None
;
13426 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13427 PyObject
*resultobj
;
13428 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13429 wxFileTypeInfo
*arg2
= 0 ;
13430 wxFileType
*result
;
13431 PyObject
* obj0
= 0 ;
13432 PyObject
* obj1
= 0 ;
13433 char *kwnames
[] = {
13434 (char *) "self",(char *) "ftInfo", NULL
13437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13441 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13443 if (arg2
== NULL
) {
13444 PyErr_SetString(PyExc_TypeError
,"null reference");
13448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13449 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13451 wxPyEndAllowThreads(__tstate
);
13452 if (PyErr_Occurred()) SWIG_fail
;
13454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13461 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13462 PyObject
*resultobj
;
13463 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13464 wxFileType
*arg2
= (wxFileType
*) 0 ;
13466 PyObject
* obj0
= 0 ;
13467 PyObject
* obj1
= 0 ;
13468 char *kwnames
[] = {
13469 (char *) "self",(char *) "ft", NULL
13472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13479 result
= (bool)(arg1
)->Unassociate(arg2
);
13481 wxPyEndAllowThreads(__tstate
);
13482 if (PyErr_Occurred()) SWIG_fail
;
13485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13493 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13494 PyObject
*resultobj
;
13495 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13496 PyObject
* obj0
= 0 ;
13497 char *kwnames
[] = {
13498 (char *) "self", NULL
13501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13508 wxPyEndAllowThreads(__tstate
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13511 Py_INCREF(Py_None
); resultobj
= Py_None
;
13518 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
13520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13521 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13523 return Py_BuildValue((char *)"");
13525 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
13526 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13531 static PyObject
*_wrap_ART_TOOLBAR_get() {
13536 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13538 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13545 static int _wrap_ART_MENU_set(PyObject
*) {
13546 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13551 static PyObject
*_wrap_ART_MENU_get() {
13556 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13558 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13565 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
13566 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13571 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13576 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13578 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13585 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
13586 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13591 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13596 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13598 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13605 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
13606 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13611 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13616 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13618 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13625 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
13626 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13631 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13636 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13638 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13645 static int _wrap_ART_OTHER_set(PyObject
*) {
13646 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13651 static PyObject
*_wrap_ART_OTHER_get() {
13656 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13658 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13665 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
13666 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13671 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13676 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13678 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13685 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
13686 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13691 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13696 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13698 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13705 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
13706 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13711 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13716 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13718 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13725 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
13726 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13731 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13736 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13738 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13745 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
13746 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13751 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13756 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13758 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13765 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
13766 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13771 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13776 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13778 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13785 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
13786 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13791 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13796 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13798 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13805 static int _wrap_ART_GO_BACK_set(PyObject
*) {
13806 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13811 static PyObject
*_wrap_ART_GO_BACK_get() {
13816 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13818 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13825 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
13826 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13831 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13836 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13838 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13845 static int _wrap_ART_GO_UP_set(PyObject
*) {
13846 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13851 static PyObject
*_wrap_ART_GO_UP_get() {
13856 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13858 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13865 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
13866 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13871 static PyObject
*_wrap_ART_GO_DOWN_get() {
13876 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13878 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13885 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
13886 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13891 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13896 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13898 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13905 static int _wrap_ART_GO_HOME_set(PyObject
*) {
13906 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13911 static PyObject
*_wrap_ART_GO_HOME_get() {
13916 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13918 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13925 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
13926 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13931 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13936 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13938 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13945 static int _wrap_ART_PRINT_set(PyObject
*) {
13946 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13951 static PyObject
*_wrap_ART_PRINT_get() {
13956 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13958 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13965 static int _wrap_ART_HELP_set(PyObject
*) {
13966 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13971 static PyObject
*_wrap_ART_HELP_get() {
13976 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13978 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13985 static int _wrap_ART_TIP_set(PyObject
*) {
13986 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
13991 static PyObject
*_wrap_ART_TIP_get() {
13996 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13998 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14005 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
14006 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14011 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14016 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14018 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14025 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
14026 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14031 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14036 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14038 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14045 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
14046 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14051 static PyObject
*_wrap_ART_NEW_DIR_get() {
14056 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14058 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14065 static int _wrap_ART_FOLDER_set(PyObject
*) {
14066 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14071 static PyObject
*_wrap_ART_FOLDER_get() {
14076 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14078 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14085 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
14086 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14091 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14096 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14098 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14105 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
14106 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14111 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14116 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14118 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14125 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
14126 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14131 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14136 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14138 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14145 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
14146 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14151 static PyObject
*_wrap_ART_TICK_MARK_get() {
14156 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14158 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14165 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
14166 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14171 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14176 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14178 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14185 static int _wrap_ART_ERROR_set(PyObject
*) {
14186 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14191 static PyObject
*_wrap_ART_ERROR_get() {
14196 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14198 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14205 static int _wrap_ART_QUESTION_set(PyObject
*) {
14206 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14211 static PyObject
*_wrap_ART_QUESTION_get() {
14216 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14218 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14225 static int _wrap_ART_WARNING_set(PyObject
*) {
14226 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14231 static PyObject
*_wrap_ART_WARNING_get() {
14236 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14238 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14245 static int _wrap_ART_INFORMATION_set(PyObject
*) {
14246 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14251 static PyObject
*_wrap_ART_INFORMATION_get() {
14256 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14258 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14265 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
14266 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14271 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14276 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14278 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14285 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14286 PyObject
*resultobj
;
14287 wxPyArtProvider
*result
;
14288 char *kwnames
[] = {
14292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14295 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14297 wxPyEndAllowThreads(__tstate
);
14298 if (PyErr_Occurred()) SWIG_fail
;
14300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14307 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14308 PyObject
*resultobj
;
14309 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14310 PyObject
*arg2
= (PyObject
*) 0 ;
14311 PyObject
*arg3
= (PyObject
*) 0 ;
14312 PyObject
* obj0
= 0 ;
14313 PyObject
* obj1
= 0 ;
14314 PyObject
* obj2
= 0 ;
14315 char *kwnames
[] = {
14316 (char *) "self",(char *) "self",(char *) "_class", NULL
14319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14326 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14328 wxPyEndAllowThreads(__tstate
);
14329 if (PyErr_Occurred()) SWIG_fail
;
14331 Py_INCREF(Py_None
); resultobj
= Py_None
;
14338 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14339 PyObject
*resultobj
;
14340 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14341 PyObject
* obj0
= 0 ;
14342 char *kwnames
[] = {
14343 (char *) "provider", NULL
14346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14351 wxPyArtProvider::PushProvider(arg1
);
14353 wxPyEndAllowThreads(__tstate
);
14354 if (PyErr_Occurred()) SWIG_fail
;
14356 Py_INCREF(Py_None
); resultobj
= Py_None
;
14363 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14364 PyObject
*resultobj
;
14366 char *kwnames
[] = {
14370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14373 result
= (bool)wxPyArtProvider::PopProvider();
14375 wxPyEndAllowThreads(__tstate
);
14376 if (PyErr_Occurred()) SWIG_fail
;
14379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14387 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14388 PyObject
*resultobj
;
14389 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14391 PyObject
* obj0
= 0 ;
14392 char *kwnames
[] = {
14393 (char *) "provider", NULL
14396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14401 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14403 wxPyEndAllowThreads(__tstate
);
14404 if (PyErr_Occurred()) SWIG_fail
;
14407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14415 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14416 PyObject
*resultobj
;
14417 wxString
*arg1
= 0 ;
14418 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14419 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14420 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14421 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14423 bool temp1
= False
;
14424 bool temp2
= False
;
14426 PyObject
* obj0
= 0 ;
14427 PyObject
* obj1
= 0 ;
14428 PyObject
* obj2
= 0 ;
14429 char *kwnames
[] = {
14430 (char *) "id",(char *) "client",(char *) "size", NULL
14433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14435 arg1
= wxString_in_helper(obj0
);
14436 if (arg1
== NULL
) SWIG_fail
;
14441 arg2
= wxString_in_helper(obj1
);
14442 if (arg2
== NULL
) SWIG_fail
;
14449 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14454 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14456 wxPyEndAllowThreads(__tstate
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14460 wxBitmap
* resultptr
;
14461 resultptr
= new wxBitmap((wxBitmap
&) result
);
14462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14486 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14487 PyObject
*resultobj
;
14488 wxString
*arg1
= 0 ;
14489 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14490 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14491 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14492 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14494 bool temp1
= False
;
14495 bool temp2
= False
;
14497 PyObject
* obj0
= 0 ;
14498 PyObject
* obj1
= 0 ;
14499 PyObject
* obj2
= 0 ;
14500 char *kwnames
[] = {
14501 (char *) "id",(char *) "client",(char *) "size", NULL
14504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14506 arg1
= wxString_in_helper(obj0
);
14507 if (arg1
== NULL
) SWIG_fail
;
14512 arg2
= wxString_in_helper(obj1
);
14513 if (arg2
== NULL
) SWIG_fail
;
14520 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14525 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14527 wxPyEndAllowThreads(__tstate
);
14528 if (PyErr_Occurred()) SWIG_fail
;
14531 wxIcon
* resultptr
;
14532 resultptr
= new wxIcon((wxIcon
&) result
);
14533 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14557 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14558 PyObject
*resultobj
;
14559 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14560 PyObject
* obj0
= 0 ;
14561 char *kwnames
[] = {
14562 (char *) "self", NULL
14565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14570 wxPyArtProvider_Destroy(arg1
);
14572 wxPyEndAllowThreads(__tstate
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14575 Py_INCREF(Py_None
); resultobj
= Py_None
;
14582 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
14584 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14585 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14587 return Py_BuildValue((char *)"");
14589 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14590 PyObject
*resultobj
;
14591 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14592 PyObject
* obj0
= 0 ;
14593 char *kwnames
[] = {
14594 (char *) "self", NULL
14597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14604 wxPyEndAllowThreads(__tstate
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14607 Py_INCREF(Py_None
); resultobj
= Py_None
;
14614 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14615 PyObject
*resultobj
;
14616 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14617 wxConfigBase
*result
;
14618 PyObject
* obj0
= 0 ;
14619 char *kwnames
[] = {
14620 (char *) "config", NULL
14623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14628 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14630 wxPyEndAllowThreads(__tstate
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14640 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14641 PyObject
*resultobj
;
14642 bool arg1
= (bool) True
;
14643 wxConfigBase
*result
;
14644 PyObject
* obj0
= 0 ;
14645 char *kwnames
[] = {
14646 (char *) "createOnDemand", NULL
14649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14651 arg1
= (bool) SWIG_AsBool(obj0
);
14652 if (PyErr_Occurred()) SWIG_fail
;
14655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14656 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14658 wxPyEndAllowThreads(__tstate
);
14659 if (PyErr_Occurred()) SWIG_fail
;
14661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14668 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14669 PyObject
*resultobj
;
14670 wxConfigBase
*result
;
14671 char *kwnames
[] = {
14675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14678 result
= (wxConfigBase
*)wxConfigBase::Create();
14680 wxPyEndAllowThreads(__tstate
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14690 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14691 PyObject
*resultobj
;
14692 char *kwnames
[] = {
14696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14699 wxConfigBase::DontCreateOnDemand();
14701 wxPyEndAllowThreads(__tstate
);
14702 if (PyErr_Occurred()) SWIG_fail
;
14704 Py_INCREF(Py_None
); resultobj
= Py_None
;
14711 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14712 PyObject
*resultobj
;
14713 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14714 wxString
*arg2
= 0 ;
14715 bool temp2
= False
;
14716 PyObject
* obj0
= 0 ;
14717 PyObject
* obj1
= 0 ;
14718 char *kwnames
[] = {
14719 (char *) "self",(char *) "path", NULL
14722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14726 arg2
= wxString_in_helper(obj1
);
14727 if (arg2
== NULL
) SWIG_fail
;
14731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14732 (arg1
)->SetPath((wxString
const &)*arg2
);
14734 wxPyEndAllowThreads(__tstate
);
14735 if (PyErr_Occurred()) SWIG_fail
;
14737 Py_INCREF(Py_None
); resultobj
= Py_None
;
14752 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14753 PyObject
*resultobj
;
14754 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14756 PyObject
* obj0
= 0 ;
14757 char *kwnames
[] = {
14758 (char *) "self", NULL
14761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14767 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14768 result
= (wxString
*) &_result_ref
;
14771 wxPyEndAllowThreads(__tstate
);
14772 if (PyErr_Occurred()) SWIG_fail
;
14776 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14778 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14787 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14788 PyObject
*resultobj
;
14789 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14791 PyObject
* obj0
= 0 ;
14792 char *kwnames
[] = {
14793 (char *) "self", NULL
14796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14801 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14803 wxPyEndAllowThreads(__tstate
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14806 resultobj
= result
;
14813 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14814 PyObject
*resultobj
;
14815 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14818 PyObject
* obj0
= 0 ;
14819 PyObject
* obj1
= 0 ;
14820 char *kwnames
[] = {
14821 (char *) "self",(char *) "index", NULL
14824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14827 arg2
= (long) SWIG_AsLong(obj1
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14831 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14833 wxPyEndAllowThreads(__tstate
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14836 resultobj
= result
;
14843 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14844 PyObject
*resultobj
;
14845 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14847 PyObject
* obj0
= 0 ;
14848 char *kwnames
[] = {
14849 (char *) "self", NULL
14852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14857 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14859 wxPyEndAllowThreads(__tstate
);
14860 if (PyErr_Occurred()) SWIG_fail
;
14862 resultobj
= result
;
14869 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14870 PyObject
*resultobj
;
14871 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14874 PyObject
* obj0
= 0 ;
14875 PyObject
* obj1
= 0 ;
14876 char *kwnames
[] = {
14877 (char *) "self",(char *) "index", NULL
14880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14883 arg2
= (long) SWIG_AsLong(obj1
);
14884 if (PyErr_Occurred()) SWIG_fail
;
14886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14887 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14889 wxPyEndAllowThreads(__tstate
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14892 resultobj
= result
;
14899 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14900 PyObject
*resultobj
;
14901 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14902 bool arg2
= (bool) False
;
14904 PyObject
* obj0
= 0 ;
14905 PyObject
* obj1
= 0 ;
14906 char *kwnames
[] = {
14907 (char *) "self",(char *) "recursive", NULL
14910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14914 arg2
= (bool) SWIG_AsBool(obj1
);
14915 if (PyErr_Occurred()) SWIG_fail
;
14918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14919 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14921 wxPyEndAllowThreads(__tstate
);
14922 if (PyErr_Occurred()) SWIG_fail
;
14924 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14931 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14932 PyObject
*resultobj
;
14933 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14934 bool arg2
= (bool) False
;
14936 PyObject
* obj0
= 0 ;
14937 PyObject
* obj1
= 0 ;
14938 char *kwnames
[] = {
14939 (char *) "self",(char *) "recursive", NULL
14942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14946 arg2
= (bool) SWIG_AsBool(obj1
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14951 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14953 wxPyEndAllowThreads(__tstate
);
14954 if (PyErr_Occurred()) SWIG_fail
;
14956 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14963 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14964 PyObject
*resultobj
;
14965 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14966 wxString
*arg2
= 0 ;
14968 bool temp2
= False
;
14969 PyObject
* obj0
= 0 ;
14970 PyObject
* obj1
= 0 ;
14971 char *kwnames
[] = {
14972 (char *) "self",(char *) "name", NULL
14975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14979 arg2
= wxString_in_helper(obj1
);
14980 if (arg2
== NULL
) SWIG_fail
;
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14985 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
14987 wxPyEndAllowThreads(__tstate
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15007 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15008 PyObject
*resultobj
;
15009 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15010 wxString
*arg2
= 0 ;
15012 bool temp2
= False
;
15013 PyObject
* obj0
= 0 ;
15014 PyObject
* obj1
= 0 ;
15015 char *kwnames
[] = {
15016 (char *) "self",(char *) "name", NULL
15019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15023 arg2
= wxString_in_helper(obj1
);
15024 if (arg2
== NULL
) SWIG_fail
;
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15031 wxPyEndAllowThreads(__tstate
);
15032 if (PyErr_Occurred()) SWIG_fail
;
15035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15051 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15052 PyObject
*resultobj
;
15053 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15054 wxString
*arg2
= 0 ;
15056 bool temp2
= False
;
15057 PyObject
* obj0
= 0 ;
15058 PyObject
* obj1
= 0 ;
15059 char *kwnames
[] = {
15060 (char *) "self",(char *) "name", NULL
15063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15067 arg2
= wxString_in_helper(obj1
);
15068 if (arg2
== NULL
) SWIG_fail
;
15072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15073 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15075 wxPyEndAllowThreads(__tstate
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15095 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15096 PyObject
*resultobj
;
15097 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15098 wxString
*arg2
= 0 ;
15100 bool temp2
= False
;
15101 PyObject
* obj0
= 0 ;
15102 PyObject
* obj1
= 0 ;
15103 char *kwnames
[] = {
15104 (char *) "self",(char *) "name", NULL
15107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15111 arg2
= wxString_in_helper(obj1
);
15112 if (arg2
== NULL
) SWIG_fail
;
15116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15117 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15119 wxPyEndAllowThreads(__tstate
);
15120 if (PyErr_Occurred()) SWIG_fail
;
15122 resultobj
= SWIG_FromInt((int)result
);
15137 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15138 PyObject
*resultobj
;
15139 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15140 wxString
*arg2
= 0 ;
15141 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15142 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15144 bool temp2
= False
;
15145 bool temp3
= False
;
15146 PyObject
* obj0
= 0 ;
15147 PyObject
* obj1
= 0 ;
15148 PyObject
* obj2
= 0 ;
15149 char *kwnames
[] = {
15150 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15157 arg2
= wxString_in_helper(obj1
);
15158 if (arg2
== NULL
) SWIG_fail
;
15163 arg3
= wxString_in_helper(obj2
);
15164 if (arg3
== NULL
) SWIG_fail
;
15169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15170 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15177 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15179 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15204 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15205 PyObject
*resultobj
;
15206 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15207 wxString
*arg2
= 0 ;
15208 long arg3
= (long) 0 ;
15210 bool temp2
= False
;
15211 PyObject
* obj0
= 0 ;
15212 PyObject
* obj1
= 0 ;
15213 PyObject
* obj2
= 0 ;
15214 char *kwnames
[] = {
15215 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15222 arg2
= wxString_in_helper(obj1
);
15223 if (arg2
== NULL
) SWIG_fail
;
15227 arg3
= (long) SWIG_AsLong(obj2
);
15228 if (PyErr_Occurred()) SWIG_fail
;
15231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15232 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15234 wxPyEndAllowThreads(__tstate
);
15235 if (PyErr_Occurred()) SWIG_fail
;
15237 resultobj
= SWIG_FromLong((long)result
);
15252 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15253 PyObject
*resultobj
;
15254 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15255 wxString
*arg2
= 0 ;
15256 double arg3
= (double) 0.0 ;
15258 bool temp2
= False
;
15259 PyObject
* obj0
= 0 ;
15260 PyObject
* obj1
= 0 ;
15261 PyObject
* obj2
= 0 ;
15262 char *kwnames
[] = {
15263 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15270 arg2
= wxString_in_helper(obj1
);
15271 if (arg2
== NULL
) SWIG_fail
;
15275 arg3
= (double) SWIG_AsDouble(obj2
);
15276 if (PyErr_Occurred()) SWIG_fail
;
15279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15280 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15282 wxPyEndAllowThreads(__tstate
);
15283 if (PyErr_Occurred()) SWIG_fail
;
15285 resultobj
= SWIG_FromDouble((double)result
);
15300 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15301 PyObject
*resultobj
;
15302 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15303 wxString
*arg2
= 0 ;
15304 bool arg3
= (bool) False
;
15306 bool temp2
= False
;
15307 PyObject
* obj0
= 0 ;
15308 PyObject
* obj1
= 0 ;
15309 PyObject
* obj2
= 0 ;
15310 char *kwnames
[] = {
15311 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15318 arg2
= wxString_in_helper(obj1
);
15319 if (arg2
== NULL
) SWIG_fail
;
15323 arg3
= (bool) SWIG_AsBool(obj2
);
15324 if (PyErr_Occurred()) SWIG_fail
;
15327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15328 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15330 wxPyEndAllowThreads(__tstate
);
15331 if (PyErr_Occurred()) SWIG_fail
;
15334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15350 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15351 PyObject
*resultobj
;
15352 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15353 wxString
*arg2
= 0 ;
15354 wxString
*arg3
= 0 ;
15356 bool temp2
= False
;
15357 bool temp3
= False
;
15358 PyObject
* obj0
= 0 ;
15359 PyObject
* obj1
= 0 ;
15360 PyObject
* obj2
= 0 ;
15361 char *kwnames
[] = {
15362 (char *) "self",(char *) "key",(char *) "value", NULL
15365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15369 arg2
= wxString_in_helper(obj1
);
15370 if (arg2
== NULL
) SWIG_fail
;
15374 arg3
= wxString_in_helper(obj2
);
15375 if (arg3
== NULL
) SWIG_fail
;
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15410 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15411 PyObject
*resultobj
;
15412 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15413 wxString
*arg2
= 0 ;
15416 bool temp2
= False
;
15417 PyObject
* obj0
= 0 ;
15418 PyObject
* obj1
= 0 ;
15419 PyObject
* obj2
= 0 ;
15420 char *kwnames
[] = {
15421 (char *) "self",(char *) "key",(char *) "value", NULL
15424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15428 arg2
= wxString_in_helper(obj1
);
15429 if (arg2
== NULL
) SWIG_fail
;
15432 arg3
= (long) SWIG_AsLong(obj2
);
15433 if (PyErr_Occurred()) SWIG_fail
;
15435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15436 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15438 wxPyEndAllowThreads(__tstate
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15458 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15459 PyObject
*resultobj
;
15460 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15461 wxString
*arg2
= 0 ;
15464 bool temp2
= False
;
15465 PyObject
* obj0
= 0 ;
15466 PyObject
* obj1
= 0 ;
15467 PyObject
* obj2
= 0 ;
15468 char *kwnames
[] = {
15469 (char *) "self",(char *) "key",(char *) "value", NULL
15472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15476 arg2
= wxString_in_helper(obj1
);
15477 if (arg2
== NULL
) SWIG_fail
;
15480 arg3
= (double) SWIG_AsDouble(obj2
);
15481 if (PyErr_Occurred()) SWIG_fail
;
15483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15484 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15486 wxPyEndAllowThreads(__tstate
);
15487 if (PyErr_Occurred()) SWIG_fail
;
15490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15506 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15507 PyObject
*resultobj
;
15508 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15509 wxString
*arg2
= 0 ;
15512 bool temp2
= False
;
15513 PyObject
* obj0
= 0 ;
15514 PyObject
* obj1
= 0 ;
15515 PyObject
* obj2
= 0 ;
15516 char *kwnames
[] = {
15517 (char *) "self",(char *) "key",(char *) "value", NULL
15520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15524 arg2
= wxString_in_helper(obj1
);
15525 if (arg2
== NULL
) SWIG_fail
;
15528 arg3
= (bool) SWIG_AsBool(obj2
);
15529 if (PyErr_Occurred()) SWIG_fail
;
15531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15532 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15534 wxPyEndAllowThreads(__tstate
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15554 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15555 PyObject
*resultobj
;
15556 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15557 bool arg2
= (bool) False
;
15559 PyObject
* obj0
= 0 ;
15560 PyObject
* obj1
= 0 ;
15561 char *kwnames
[] = {
15562 (char *) "self",(char *) "currentOnly", NULL
15565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15569 arg2
= (bool) SWIG_AsBool(obj1
);
15570 if (PyErr_Occurred()) SWIG_fail
;
15573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15574 result
= (bool)(arg1
)->Flush(arg2
);
15576 wxPyEndAllowThreads(__tstate
);
15577 if (PyErr_Occurred()) SWIG_fail
;
15580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15588 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15589 PyObject
*resultobj
;
15590 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15591 wxString
*arg2
= 0 ;
15592 wxString
*arg3
= 0 ;
15594 bool temp2
= False
;
15595 bool temp3
= False
;
15596 PyObject
* obj0
= 0 ;
15597 PyObject
* obj1
= 0 ;
15598 PyObject
* obj2
= 0 ;
15599 char *kwnames
[] = {
15600 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15607 arg2
= wxString_in_helper(obj1
);
15608 if (arg2
== NULL
) SWIG_fail
;
15612 arg3
= wxString_in_helper(obj2
);
15613 if (arg3
== NULL
) SWIG_fail
;
15617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15618 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15620 wxPyEndAllowThreads(__tstate
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15648 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15649 PyObject
*resultobj
;
15650 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15651 wxString
*arg2
= 0 ;
15652 wxString
*arg3
= 0 ;
15654 bool temp2
= False
;
15655 bool temp3
= False
;
15656 PyObject
* obj0
= 0 ;
15657 PyObject
* obj1
= 0 ;
15658 PyObject
* obj2
= 0 ;
15659 char *kwnames
[] = {
15660 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15667 arg2
= wxString_in_helper(obj1
);
15668 if (arg2
== NULL
) SWIG_fail
;
15672 arg3
= wxString_in_helper(obj2
);
15673 if (arg3
== NULL
) SWIG_fail
;
15677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15678 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15680 wxPyEndAllowThreads(__tstate
);
15681 if (PyErr_Occurred()) SWIG_fail
;
15684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15708 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15709 PyObject
*resultobj
;
15710 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15711 wxString
*arg2
= 0 ;
15712 bool arg3
= (bool) True
;
15714 bool temp2
= False
;
15715 PyObject
* obj0
= 0 ;
15716 PyObject
* obj1
= 0 ;
15717 PyObject
* obj2
= 0 ;
15718 char *kwnames
[] = {
15719 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15726 arg2
= wxString_in_helper(obj1
);
15727 if (arg2
== NULL
) SWIG_fail
;
15731 arg3
= (bool) SWIG_AsBool(obj2
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15736 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15738 wxPyEndAllowThreads(__tstate
);
15739 if (PyErr_Occurred()) SWIG_fail
;
15742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15758 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15759 PyObject
*resultobj
;
15760 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15761 wxString
*arg2
= 0 ;
15763 bool temp2
= False
;
15764 PyObject
* obj0
= 0 ;
15765 PyObject
* obj1
= 0 ;
15766 char *kwnames
[] = {
15767 (char *) "self",(char *) "key", NULL
15770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15774 arg2
= wxString_in_helper(obj1
);
15775 if (arg2
== NULL
) SWIG_fail
;
15779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15780 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15782 wxPyEndAllowThreads(__tstate
);
15783 if (PyErr_Occurred()) SWIG_fail
;
15786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15802 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15803 PyObject
*resultobj
;
15804 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15806 PyObject
* obj0
= 0 ;
15807 char *kwnames
[] = {
15808 (char *) "self", NULL
15811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15816 result
= (bool)(arg1
)->DeleteAll();
15818 wxPyEndAllowThreads(__tstate
);
15819 if (PyErr_Occurred()) SWIG_fail
;
15822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15830 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15831 PyObject
*resultobj
;
15832 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15833 bool arg2
= (bool) True
;
15834 PyObject
* obj0
= 0 ;
15835 PyObject
* obj1
= 0 ;
15836 char *kwnames
[] = {
15837 (char *) "self",(char *) "doIt", NULL
15840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15844 arg2
= (bool) SWIG_AsBool(obj1
);
15845 if (PyErr_Occurred()) SWIG_fail
;
15848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15849 (arg1
)->SetExpandEnvVars(arg2
);
15851 wxPyEndAllowThreads(__tstate
);
15852 if (PyErr_Occurred()) SWIG_fail
;
15854 Py_INCREF(Py_None
); resultobj
= Py_None
;
15861 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15862 PyObject
*resultobj
;
15863 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15865 PyObject
* obj0
= 0 ;
15866 char *kwnames
[] = {
15867 (char *) "self", NULL
15870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15875 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15877 wxPyEndAllowThreads(__tstate
);
15878 if (PyErr_Occurred()) SWIG_fail
;
15881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15889 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15890 PyObject
*resultobj
;
15891 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15892 bool arg2
= (bool) True
;
15893 PyObject
* obj0
= 0 ;
15894 PyObject
* obj1
= 0 ;
15895 char *kwnames
[] = {
15896 (char *) "self",(char *) "doIt", NULL
15899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15903 arg2
= (bool) SWIG_AsBool(obj1
);
15904 if (PyErr_Occurred()) SWIG_fail
;
15907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15908 (arg1
)->SetRecordDefaults(arg2
);
15910 wxPyEndAllowThreads(__tstate
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15913 Py_INCREF(Py_None
); resultobj
= Py_None
;
15920 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15921 PyObject
*resultobj
;
15922 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15924 PyObject
* obj0
= 0 ;
15925 char *kwnames
[] = {
15926 (char *) "self", NULL
15929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15934 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15936 wxPyEndAllowThreads(__tstate
);
15937 if (PyErr_Occurred()) SWIG_fail
;
15940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15948 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15949 PyObject
*resultobj
;
15950 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15951 wxString
*arg2
= 0 ;
15953 bool temp2
= False
;
15954 PyObject
* obj0
= 0 ;
15955 PyObject
* obj1
= 0 ;
15956 char *kwnames
[] = {
15957 (char *) "self",(char *) "str", NULL
15960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15964 arg2
= wxString_in_helper(obj1
);
15965 if (arg2
== NULL
) SWIG_fail
;
15969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15970 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15972 wxPyEndAllowThreads(__tstate
);
15973 if (PyErr_Occurred()) SWIG_fail
;
15977 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15979 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15996 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15997 PyObject
*resultobj
;
15998 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16000 PyObject
* obj0
= 0 ;
16001 char *kwnames
[] = {
16002 (char *) "self", NULL
16005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16010 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16012 wxPyEndAllowThreads(__tstate
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16028 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16029 PyObject
*resultobj
;
16030 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16032 PyObject
* obj0
= 0 ;
16033 char *kwnames
[] = {
16034 (char *) "self", NULL
16037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16042 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16044 wxPyEndAllowThreads(__tstate
);
16045 if (PyErr_Occurred()) SWIG_fail
;
16049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16060 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16061 PyObject
*resultobj
;
16062 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16063 wxString
*arg2
= 0 ;
16064 bool temp2
= False
;
16065 PyObject
* obj0
= 0 ;
16066 PyObject
* obj1
= 0 ;
16067 char *kwnames
[] = {
16068 (char *) "self",(char *) "appName", NULL
16071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16075 arg2
= wxString_in_helper(obj1
);
16076 if (arg2
== NULL
) SWIG_fail
;
16080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16081 (arg1
)->SetAppName((wxString
const &)*arg2
);
16083 wxPyEndAllowThreads(__tstate
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16086 Py_INCREF(Py_None
); resultobj
= Py_None
;
16101 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16102 PyObject
*resultobj
;
16103 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16104 wxString
*arg2
= 0 ;
16105 bool temp2
= False
;
16106 PyObject
* obj0
= 0 ;
16107 PyObject
* obj1
= 0 ;
16108 char *kwnames
[] = {
16109 (char *) "self",(char *) "vendorName", NULL
16112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16116 arg2
= wxString_in_helper(obj1
);
16117 if (arg2
== NULL
) SWIG_fail
;
16121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16122 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16124 wxPyEndAllowThreads(__tstate
);
16125 if (PyErr_Occurred()) SWIG_fail
;
16127 Py_INCREF(Py_None
); resultobj
= Py_None
;
16142 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16143 PyObject
*resultobj
;
16144 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16146 PyObject
* obj0
= 0 ;
16147 PyObject
* obj1
= 0 ;
16148 char *kwnames
[] = {
16149 (char *) "self",(char *) "style", NULL
16152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16155 arg2
= (long) SWIG_AsLong(obj1
);
16156 if (PyErr_Occurred()) SWIG_fail
;
16158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16159 (arg1
)->SetStyle(arg2
);
16161 wxPyEndAllowThreads(__tstate
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16164 Py_INCREF(Py_None
); resultobj
= Py_None
;
16171 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16172 PyObject
*resultobj
;
16173 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16175 PyObject
* obj0
= 0 ;
16176 char *kwnames
[] = {
16177 (char *) "self", NULL
16180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16185 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16187 wxPyEndAllowThreads(__tstate
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16190 resultobj
= SWIG_FromLong((long)result
);
16197 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
16199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16200 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16202 return Py_BuildValue((char *)"");
16204 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16205 PyObject
*resultobj
;
16206 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16207 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16208 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16209 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16210 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16211 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16212 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16213 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16214 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16216 bool temp1
= False
;
16217 bool temp2
= False
;
16218 bool temp3
= False
;
16219 bool temp4
= False
;
16220 PyObject
* obj0
= 0 ;
16221 PyObject
* obj1
= 0 ;
16222 PyObject
* obj2
= 0 ;
16223 PyObject
* obj3
= 0 ;
16224 PyObject
* obj4
= 0 ;
16225 char *kwnames
[] = {
16226 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16232 arg1
= wxString_in_helper(obj0
);
16233 if (arg1
== NULL
) SWIG_fail
;
16239 arg2
= wxString_in_helper(obj1
);
16240 if (arg2
== NULL
) SWIG_fail
;
16246 arg3
= wxString_in_helper(obj2
);
16247 if (arg3
== NULL
) SWIG_fail
;
16253 arg4
= wxString_in_helper(obj3
);
16254 if (arg4
== NULL
) SWIG_fail
;
16259 arg5
= (long) SWIG_AsLong(obj4
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16264 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16308 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16309 PyObject
*resultobj
;
16310 wxConfig
*arg1
= (wxConfig
*) 0 ;
16311 PyObject
* obj0
= 0 ;
16312 char *kwnames
[] = {
16313 (char *) "self", NULL
16316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16323 wxPyEndAllowThreads(__tstate
);
16324 if (PyErr_Occurred()) SWIG_fail
;
16326 Py_INCREF(Py_None
); resultobj
= Py_None
;
16333 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
16335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16336 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16338 return Py_BuildValue((char *)"");
16340 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16341 PyObject
*resultobj
;
16342 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16343 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16344 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16345 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16346 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16347 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16348 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16349 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16350 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16351 wxFileConfig
*result
;
16352 bool temp1
= False
;
16353 bool temp2
= False
;
16354 bool temp3
= False
;
16355 bool temp4
= False
;
16356 PyObject
* obj0
= 0 ;
16357 PyObject
* obj1
= 0 ;
16358 PyObject
* obj2
= 0 ;
16359 PyObject
* obj3
= 0 ;
16360 PyObject
* obj4
= 0 ;
16361 char *kwnames
[] = {
16362 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16368 arg1
= wxString_in_helper(obj0
);
16369 if (arg1
== NULL
) SWIG_fail
;
16375 arg2
= wxString_in_helper(obj1
);
16376 if (arg2
== NULL
) SWIG_fail
;
16382 arg3
= wxString_in_helper(obj2
);
16383 if (arg3
== NULL
) SWIG_fail
;
16389 arg4
= wxString_in_helper(obj3
);
16390 if (arg4
== NULL
) SWIG_fail
;
16395 arg5
= (long) SWIG_AsLong(obj4
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16400 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16402 wxPyEndAllowThreads(__tstate
);
16403 if (PyErr_Occurred()) SWIG_fail
;
16405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16444 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16445 PyObject
*resultobj
;
16446 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16447 PyObject
* obj0
= 0 ;
16448 char *kwnames
[] = {
16449 (char *) "self", NULL
16452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16459 wxPyEndAllowThreads(__tstate
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16462 Py_INCREF(Py_None
); resultobj
= Py_None
;
16469 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
16471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16472 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16474 return Py_BuildValue((char *)"");
16476 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16477 PyObject
*resultobj
;
16478 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16479 wxString
*arg2
= 0 ;
16480 wxConfigPathChanger
*result
;
16481 bool temp2
= False
;
16482 PyObject
* obj0
= 0 ;
16483 PyObject
* obj1
= 0 ;
16484 char *kwnames
[] = {
16485 (char *) "config",(char *) "entry", NULL
16488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16492 arg2
= wxString_in_helper(obj1
);
16493 if (arg2
== NULL
) SWIG_fail
;
16497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16498 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16500 wxPyEndAllowThreads(__tstate
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16518 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16519 PyObject
*resultobj
;
16520 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16521 PyObject
* obj0
= 0 ;
16522 char *kwnames
[] = {
16523 (char *) "self", NULL
16526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16533 wxPyEndAllowThreads(__tstate
);
16534 if (PyErr_Occurred()) SWIG_fail
;
16536 Py_INCREF(Py_None
); resultobj
= Py_None
;
16543 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16544 PyObject
*resultobj
;
16545 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16547 PyObject
* obj0
= 0 ;
16548 char *kwnames
[] = {
16549 (char *) "self", NULL
16552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16558 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16559 result
= (wxString
*) &_result_ref
;
16562 wxPyEndAllowThreads(__tstate
);
16563 if (PyErr_Occurred()) SWIG_fail
;
16567 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16569 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16578 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
16580 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16581 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16583 return Py_BuildValue((char *)"");
16585 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16586 PyObject
*resultobj
;
16587 wxString
*arg1
= 0 ;
16589 bool temp1
= False
;
16590 PyObject
* obj0
= 0 ;
16591 char *kwnames
[] = {
16592 (char *) "sz", NULL
16595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16597 arg1
= wxString_in_helper(obj0
);
16598 if (arg1
== NULL
) SWIG_fail
;
16602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16603 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16605 wxPyEndAllowThreads(__tstate
);
16606 if (PyErr_Occurred()) SWIG_fail
;
16610 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16612 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16629 static int _wrap_DateFormatStr_set(PyObject
*) {
16630 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16635 static PyObject
*_wrap_DateFormatStr_get() {
16640 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16642 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16649 static int _wrap_TimeSpanFormatStr_set(PyObject
*) {
16650 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16655 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16660 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16662 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16669 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16670 PyObject
*resultobj
;
16672 PyObject
* obj0
= 0 ;
16673 char *kwnames
[] = {
16674 (char *) "country", NULL
16677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16678 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16682 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16684 wxPyEndAllowThreads(__tstate
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16687 Py_INCREF(Py_None
); resultobj
= Py_None
;
16694 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16695 PyObject
*resultobj
;
16697 char *kwnames
[] = {
16701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16704 result
= (int)wxDateTime::GetCountry();
16706 wxPyEndAllowThreads(__tstate
);
16707 if (PyErr_Occurred()) SWIG_fail
;
16709 resultobj
= SWIG_FromInt((int)result
);
16716 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16717 PyObject
*resultobj
;
16718 int arg1
= (int) wxDateTime::Country_Default
;
16720 PyObject
* obj0
= 0 ;
16721 char *kwnames
[] = {
16722 (char *) "country", NULL
16725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16727 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16728 if (PyErr_Occurred()) SWIG_fail
;
16731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16732 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16734 wxPyEndAllowThreads(__tstate
);
16735 if (PyErr_Occurred()) SWIG_fail
;
16738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16746 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16747 PyObject
*resultobj
;
16748 int arg1
= (int) wxDateTime::Gregorian
;
16750 PyObject
* obj0
= 0 ;
16751 char *kwnames
[] = {
16752 (char *) "cal", NULL
16755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16757 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16758 if (PyErr_Occurred()) SWIG_fail
;
16761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16762 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16764 wxPyEndAllowThreads(__tstate
);
16765 if (PyErr_Occurred()) SWIG_fail
;
16767 resultobj
= SWIG_FromInt((int)result
);
16774 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16775 PyObject
*resultobj
;
16778 PyObject
* obj0
= 0 ;
16779 char *kwnames
[] = {
16780 (char *) "year", NULL
16783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16784 arg1
= (int) SWIG_AsInt(obj0
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16788 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16790 wxPyEndAllowThreads(__tstate
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16793 resultobj
= SWIG_FromInt((int)result
);
16800 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16801 PyObject
*resultobj
;
16802 int arg1
= (int) wxDateTime::Gregorian
;
16804 PyObject
* obj0
= 0 ;
16805 char *kwnames
[] = {
16806 (char *) "cal", NULL
16809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16811 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16812 if (PyErr_Occurred()) SWIG_fail
;
16815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16816 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16818 wxPyEndAllowThreads(__tstate
);
16819 if (PyErr_Occurred()) SWIG_fail
;
16821 resultobj
= SWIG_FromInt((int)result
);
16828 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16829 PyObject
*resultobj
;
16830 int arg1
= (int) wxDateTime::Inv_Year
;
16831 int arg2
= (int) wxDateTime::Gregorian
;
16833 PyObject
* obj0
= 0 ;
16834 PyObject
* obj1
= 0 ;
16835 char *kwnames
[] = {
16836 (char *) "year",(char *) "cal", NULL
16839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16841 arg1
= (int) SWIG_AsInt(obj0
);
16842 if (PyErr_Occurred()) SWIG_fail
;
16845 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16864 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16865 PyObject
*resultobj
;
16866 int arg1
= (int) wxDateTime::Inv_Year
;
16868 PyObject
* obj0
= 0 ;
16869 char *kwnames
[] = {
16870 (char *) "year", NULL
16873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16875 arg1
= (int) SWIG_AsInt(obj0
);
16876 if (PyErr_Occurred()) SWIG_fail
;
16879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16880 result
= (int)wxDateTime::GetCentury(arg1
);
16882 wxPyEndAllowThreads(__tstate
);
16883 if (PyErr_Occurred()) SWIG_fail
;
16885 resultobj
= SWIG_FromInt((int)result
);
16892 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16893 PyObject
*resultobj
;
16895 int arg2
= (int) wxDateTime::Gregorian
;
16897 PyObject
* obj0
= 0 ;
16898 PyObject
* obj1
= 0 ;
16899 char *kwnames
[] = {
16900 (char *) "year",(char *) "cal", NULL
16903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16904 arg1
= (int) SWIG_AsInt(obj0
);
16905 if (PyErr_Occurred()) SWIG_fail
;
16907 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16908 if (PyErr_Occurred()) SWIG_fail
;
16911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16912 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16914 wxPyEndAllowThreads(__tstate
);
16915 if (PyErr_Occurred()) SWIG_fail
;
16917 resultobj
= SWIG_FromInt((int)result
);
16924 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16925 PyObject
*resultobj
;
16927 int arg2
= (int) wxDateTime::Inv_Year
;
16928 int arg3
= (int) wxDateTime::Gregorian
;
16930 PyObject
* obj0
= 0 ;
16931 PyObject
* obj1
= 0 ;
16932 PyObject
* obj2
= 0 ;
16933 char *kwnames
[] = {
16934 (char *) "month",(char *) "year",(char *) "cal", NULL
16937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16938 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16939 if (PyErr_Occurred()) SWIG_fail
;
16941 arg2
= (int) SWIG_AsInt(obj1
);
16942 if (PyErr_Occurred()) SWIG_fail
;
16945 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
16946 if (PyErr_Occurred()) SWIG_fail
;
16949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16950 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16952 wxPyEndAllowThreads(__tstate
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16955 resultobj
= SWIG_FromInt((int)result
);
16962 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16963 PyObject
*resultobj
;
16965 int arg2
= (int) wxDateTime::Name_Full
;
16967 PyObject
* obj0
= 0 ;
16968 PyObject
* obj1
= 0 ;
16969 char *kwnames
[] = {
16970 (char *) "month",(char *) "flags", NULL
16973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16974 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16977 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16978 if (PyErr_Occurred()) SWIG_fail
;
16981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16982 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16984 wxPyEndAllowThreads(__tstate
);
16985 if (PyErr_Occurred()) SWIG_fail
;
16989 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16991 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17000 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17001 PyObject
*resultobj
;
17003 int arg2
= (int) wxDateTime::Name_Full
;
17005 PyObject
* obj0
= 0 ;
17006 PyObject
* obj1
= 0 ;
17007 char *kwnames
[] = {
17008 (char *) "weekday",(char *) "flags", NULL
17011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17012 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17015 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17020 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17022 wxPyEndAllowThreads(__tstate
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17027 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17029 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17038 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17039 PyObject
*resultobj
;
17040 wxString
*arg1
= (wxString
*) 0 ;
17041 wxString
*arg2
= (wxString
*) 0 ;
17042 bool temp1
= False
;
17043 bool temp2
= False
;
17044 PyObject
* obj0
= 0 ;
17045 PyObject
* obj1
= 0 ;
17046 char *kwnames
[] = {
17047 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17052 arg1
= wxString_in_helper(obj0
);
17053 if (arg1
== NULL
) SWIG_fail
;
17057 arg2
= wxString_in_helper(obj1
);
17058 if (arg2
== NULL
) SWIG_fail
;
17062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17063 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17065 wxPyEndAllowThreads(__tstate
);
17066 if (PyErr_Occurred()) SWIG_fail
;
17068 Py_INCREF(Py_None
); resultobj
= Py_None
;
17091 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17092 PyObject
*resultobj
;
17093 int arg1
= (int) wxDateTime::Inv_Year
;
17094 int arg2
= (int) wxDateTime::Country_Default
;
17096 PyObject
* obj0
= 0 ;
17097 PyObject
* obj1
= 0 ;
17098 char *kwnames
[] = {
17099 (char *) "year",(char *) "country", NULL
17102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17104 arg1
= (int) SWIG_AsInt(obj0
);
17105 if (PyErr_Occurred()) SWIG_fail
;
17108 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17109 if (PyErr_Occurred()) SWIG_fail
;
17112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17113 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17115 wxPyEndAllowThreads(__tstate
);
17116 if (PyErr_Occurred()) SWIG_fail
;
17119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17127 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17128 PyObject
*resultobj
;
17129 int arg1
= (int) wxDateTime::Inv_Year
;
17130 int arg2
= (int) wxDateTime::Country_Default
;
17132 PyObject
* obj0
= 0 ;
17133 PyObject
* obj1
= 0 ;
17134 char *kwnames
[] = {
17135 (char *) "year",(char *) "country", NULL
17138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17140 arg1
= (int) SWIG_AsInt(obj0
);
17141 if (PyErr_Occurred()) SWIG_fail
;
17144 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17145 if (PyErr_Occurred()) SWIG_fail
;
17148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17149 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17151 wxPyEndAllowThreads(__tstate
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17155 wxDateTime
* resultptr
;
17156 resultptr
= new wxDateTime((wxDateTime
&) result
);
17157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17165 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
;
17167 int arg1
= (int) wxDateTime::Inv_Year
;
17168 int arg2
= (int) wxDateTime::Country_Default
;
17170 PyObject
* obj0
= 0 ;
17171 PyObject
* obj1
= 0 ;
17172 char *kwnames
[] = {
17173 (char *) "year",(char *) "country", NULL
17176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17178 arg1
= (int) SWIG_AsInt(obj0
);
17179 if (PyErr_Occurred()) SWIG_fail
;
17182 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17183 if (PyErr_Occurred()) SWIG_fail
;
17186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17187 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17189 wxPyEndAllowThreads(__tstate
);
17190 if (PyErr_Occurred()) SWIG_fail
;
17193 wxDateTime
* resultptr
;
17194 resultptr
= new wxDateTime((wxDateTime
&) result
);
17195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17203 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17204 PyObject
*resultobj
;
17206 char *kwnames
[] = {
17210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17213 result
= wxDateTime::Now();
17215 wxPyEndAllowThreads(__tstate
);
17216 if (PyErr_Occurred()) SWIG_fail
;
17219 wxDateTime
* resultptr
;
17220 resultptr
= new wxDateTime((wxDateTime
&) result
);
17221 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17229 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17230 PyObject
*resultobj
;
17232 char *kwnames
[] = {
17236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17239 result
= wxDateTime::UNow();
17241 wxPyEndAllowThreads(__tstate
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17245 wxDateTime
* resultptr
;
17246 resultptr
= new wxDateTime((wxDateTime
&) result
);
17247 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17255 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17256 PyObject
*resultobj
;
17258 char *kwnames
[] = {
17262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17265 result
= wxDateTime::Today();
17267 wxPyEndAllowThreads(__tstate
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17271 wxDateTime
* resultptr
;
17272 resultptr
= new wxDateTime((wxDateTime
&) result
);
17273 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17281 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17282 PyObject
*resultobj
;
17283 wxDateTime
*result
;
17284 char *kwnames
[] = {
17288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17291 result
= (wxDateTime
*)new wxDateTime();
17293 wxPyEndAllowThreads(__tstate
);
17294 if (PyErr_Occurred()) SWIG_fail
;
17296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17303 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17304 PyObject
*resultobj
;
17306 wxDateTime
*result
;
17307 PyObject
* obj0
= 0 ;
17308 char *kwnames
[] = {
17309 (char *) "timet", NULL
17312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17313 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17314 if (PyErr_Occurred()) SWIG_fail
;
17316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17317 result
= (wxDateTime
*)new wxDateTime(arg1
);
17319 wxPyEndAllowThreads(__tstate
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17329 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17330 PyObject
*resultobj
;
17332 wxDateTime
*result
;
17333 PyObject
* obj0
= 0 ;
17334 char *kwnames
[] = {
17335 (char *) "jdn", NULL
17338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17339 arg1
= (double) SWIG_AsDouble(obj0
);
17340 if (PyErr_Occurred()) SWIG_fail
;
17342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17343 result
= (wxDateTime
*)new wxDateTime(arg1
);
17345 wxPyEndAllowThreads(__tstate
);
17346 if (PyErr_Occurred()) SWIG_fail
;
17348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17355 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17356 PyObject
*resultobj
;
17358 int arg2
= (int) 0 ;
17359 int arg3
= (int) 0 ;
17360 int arg4
= (int) 0 ;
17361 wxDateTime
*result
;
17362 PyObject
* obj0
= 0 ;
17363 PyObject
* obj1
= 0 ;
17364 PyObject
* obj2
= 0 ;
17365 PyObject
* obj3
= 0 ;
17366 char *kwnames
[] = {
17367 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17371 arg1
= (int) SWIG_AsInt(obj0
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17374 arg2
= (int) SWIG_AsInt(obj1
);
17375 if (PyErr_Occurred()) SWIG_fail
;
17378 arg3
= (int) SWIG_AsInt(obj2
);
17379 if (PyErr_Occurred()) SWIG_fail
;
17382 arg4
= (int) SWIG_AsInt(obj3
);
17383 if (PyErr_Occurred()) SWIG_fail
;
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17399 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17400 PyObject
*resultobj
;
17402 int arg2
= (int) wxDateTime::Inv_Month
;
17403 int arg3
= (int) wxDateTime::Inv_Year
;
17404 int arg4
= (int) 0 ;
17405 int arg5
= (int) 0 ;
17406 int arg6
= (int) 0 ;
17407 int arg7
= (int) 0 ;
17408 wxDateTime
*result
;
17409 PyObject
* obj0
= 0 ;
17410 PyObject
* obj1
= 0 ;
17411 PyObject
* obj2
= 0 ;
17412 PyObject
* obj3
= 0 ;
17413 PyObject
* obj4
= 0 ;
17414 PyObject
* obj5
= 0 ;
17415 PyObject
* obj6
= 0 ;
17416 char *kwnames
[] = {
17417 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17421 arg1
= (int) SWIG_AsInt(obj0
);
17422 if (PyErr_Occurred()) SWIG_fail
;
17424 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17425 if (PyErr_Occurred()) SWIG_fail
;
17428 arg3
= (int) SWIG_AsInt(obj2
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17432 arg4
= (int) SWIG_AsInt(obj3
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17436 arg5
= (int) SWIG_AsInt(obj4
);
17437 if (PyErr_Occurred()) SWIG_fail
;
17440 arg6
= (int) SWIG_AsInt(obj5
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17444 arg7
= (int) SWIG_AsInt(obj6
);
17445 if (PyErr_Occurred()) SWIG_fail
;
17448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17449 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17451 wxPyEndAllowThreads(__tstate
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17461 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17462 PyObject
*resultobj
;
17463 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17464 PyObject
* obj0
= 0 ;
17465 char *kwnames
[] = {
17466 (char *) "self", NULL
17469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17476 wxPyEndAllowThreads(__tstate
);
17477 if (PyErr_Occurred()) SWIG_fail
;
17479 Py_INCREF(Py_None
); resultobj
= Py_None
;
17486 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17487 PyObject
*resultobj
;
17488 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17489 wxDateTime
*result
;
17490 PyObject
* obj0
= 0 ;
17491 char *kwnames
[] = {
17492 (char *) "self", NULL
17495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17501 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17502 result
= (wxDateTime
*) &_result_ref
;
17505 wxPyEndAllowThreads(__tstate
);
17506 if (PyErr_Occurred()) SWIG_fail
;
17508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17515 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17516 PyObject
*resultobj
;
17517 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17519 wxDateTime
*result
;
17520 PyObject
* obj0
= 0 ;
17521 PyObject
* obj1
= 0 ;
17522 char *kwnames
[] = {
17523 (char *) "self",(char *) "timet", NULL
17526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17529 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17530 if (PyErr_Occurred()) SWIG_fail
;
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17534 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17535 result
= (wxDateTime
*) &_result_ref
;
17538 wxPyEndAllowThreads(__tstate
);
17539 if (PyErr_Occurred()) SWIG_fail
;
17541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17548 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17549 PyObject
*resultobj
;
17550 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17552 wxDateTime
*result
;
17553 PyObject
* obj0
= 0 ;
17554 PyObject
* obj1
= 0 ;
17555 char *kwnames
[] = {
17556 (char *) "self",(char *) "jdn", NULL
17559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17562 arg2
= (double) SWIG_AsDouble(obj1
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17567 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17568 result
= (wxDateTime
*) &_result_ref
;
17571 wxPyEndAllowThreads(__tstate
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17581 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17582 PyObject
*resultobj
;
17583 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17585 int arg3
= (int) 0 ;
17586 int arg4
= (int) 0 ;
17587 int arg5
= (int) 0 ;
17588 wxDateTime
*result
;
17589 PyObject
* obj0
= 0 ;
17590 PyObject
* obj1
= 0 ;
17591 PyObject
* obj2
= 0 ;
17592 PyObject
* obj3
= 0 ;
17593 PyObject
* obj4
= 0 ;
17594 char *kwnames
[] = {
17595 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17601 arg2
= (int) SWIG_AsInt(obj1
);
17602 if (PyErr_Occurred()) SWIG_fail
;
17604 arg3
= (int) SWIG_AsInt(obj2
);
17605 if (PyErr_Occurred()) SWIG_fail
;
17608 arg4
= (int) SWIG_AsInt(obj3
);
17609 if (PyErr_Occurred()) SWIG_fail
;
17612 arg5
= (int) SWIG_AsInt(obj4
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17618 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17619 result
= (wxDateTime
*) &_result_ref
;
17622 wxPyEndAllowThreads(__tstate
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17632 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17633 PyObject
*resultobj
;
17634 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17636 int arg3
= (int) wxDateTime::Inv_Month
;
17637 int arg4
= (int) wxDateTime::Inv_Year
;
17638 int arg5
= (int) 0 ;
17639 int arg6
= (int) 0 ;
17640 int arg7
= (int) 0 ;
17641 int arg8
= (int) 0 ;
17642 wxDateTime
*result
;
17643 PyObject
* obj0
= 0 ;
17644 PyObject
* obj1
= 0 ;
17645 PyObject
* obj2
= 0 ;
17646 PyObject
* obj3
= 0 ;
17647 PyObject
* obj4
= 0 ;
17648 PyObject
* obj5
= 0 ;
17649 PyObject
* obj6
= 0 ;
17650 PyObject
* obj7
= 0 ;
17651 char *kwnames
[] = {
17652 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17658 arg2
= (int) SWIG_AsInt(obj1
);
17659 if (PyErr_Occurred()) SWIG_fail
;
17661 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17662 if (PyErr_Occurred()) SWIG_fail
;
17665 arg4
= (int) SWIG_AsInt(obj3
);
17666 if (PyErr_Occurred()) SWIG_fail
;
17669 arg5
= (int) SWIG_AsInt(obj4
);
17670 if (PyErr_Occurred()) SWIG_fail
;
17673 arg6
= (int) SWIG_AsInt(obj5
);
17674 if (PyErr_Occurred()) SWIG_fail
;
17677 arg7
= (int) SWIG_AsInt(obj6
);
17678 if (PyErr_Occurred()) SWIG_fail
;
17681 arg8
= (int) SWIG_AsInt(obj7
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17687 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17688 result
= (wxDateTime
*) &_result_ref
;
17691 wxPyEndAllowThreads(__tstate
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17701 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17702 PyObject
*resultobj
;
17703 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17704 wxDateTime
*result
;
17705 PyObject
* obj0
= 0 ;
17706 char *kwnames
[] = {
17707 (char *) "self", NULL
17710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17716 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17717 result
= (wxDateTime
*) &_result_ref
;
17720 wxPyEndAllowThreads(__tstate
);
17721 if (PyErr_Occurred()) SWIG_fail
;
17723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17730 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17731 PyObject
*resultobj
;
17732 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17734 wxDateTime
*result
;
17735 PyObject
* obj0
= 0 ;
17736 PyObject
* obj1
= 0 ;
17737 char *kwnames
[] = {
17738 (char *) "self",(char *) "year", NULL
17741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17744 arg2
= (int) SWIG_AsInt(obj1
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17749 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17750 result
= (wxDateTime
*) &_result_ref
;
17753 wxPyEndAllowThreads(__tstate
);
17754 if (PyErr_Occurred()) SWIG_fail
;
17756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17763 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17764 PyObject
*resultobj
;
17765 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17767 wxDateTime
*result
;
17768 PyObject
* obj0
= 0 ;
17769 PyObject
* obj1
= 0 ;
17770 char *kwnames
[] = {
17771 (char *) "self",(char *) "month", NULL
17774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17777 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17778 if (PyErr_Occurred()) SWIG_fail
;
17780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17782 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17783 result
= (wxDateTime
*) &_result_ref
;
17786 wxPyEndAllowThreads(__tstate
);
17787 if (PyErr_Occurred()) SWIG_fail
;
17789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17796 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17797 PyObject
*resultobj
;
17798 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17800 wxDateTime
*result
;
17801 PyObject
* obj0
= 0 ;
17802 PyObject
* obj1
= 0 ;
17803 char *kwnames
[] = {
17804 (char *) "self",(char *) "day", NULL
17807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17810 arg2
= (int) SWIG_AsInt(obj1
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17815 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17816 result
= (wxDateTime
*) &_result_ref
;
17819 wxPyEndAllowThreads(__tstate
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17829 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17830 PyObject
*resultobj
;
17831 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17833 wxDateTime
*result
;
17834 PyObject
* obj0
= 0 ;
17835 PyObject
* obj1
= 0 ;
17836 char *kwnames
[] = {
17837 (char *) "self",(char *) "hour", NULL
17840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17843 arg2
= (int) SWIG_AsInt(obj1
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17848 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17849 result
= (wxDateTime
*) &_result_ref
;
17852 wxPyEndAllowThreads(__tstate
);
17853 if (PyErr_Occurred()) SWIG_fail
;
17855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17862 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17863 PyObject
*resultobj
;
17864 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17866 wxDateTime
*result
;
17867 PyObject
* obj0
= 0 ;
17868 PyObject
* obj1
= 0 ;
17869 char *kwnames
[] = {
17870 (char *) "self",(char *) "minute", NULL
17873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17876 arg2
= (int) SWIG_AsInt(obj1
);
17877 if (PyErr_Occurred()) SWIG_fail
;
17879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17881 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17882 result
= (wxDateTime
*) &_result_ref
;
17885 wxPyEndAllowThreads(__tstate
);
17886 if (PyErr_Occurred()) SWIG_fail
;
17888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17895 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17896 PyObject
*resultobj
;
17897 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17899 wxDateTime
*result
;
17900 PyObject
* obj0
= 0 ;
17901 PyObject
* obj1
= 0 ;
17902 char *kwnames
[] = {
17903 (char *) "self",(char *) "second", NULL
17906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17909 arg2
= (int) SWIG_AsInt(obj1
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17914 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17915 result
= (wxDateTime
*) &_result_ref
;
17918 wxPyEndAllowThreads(__tstate
);
17919 if (PyErr_Occurred()) SWIG_fail
;
17921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17928 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17929 PyObject
*resultobj
;
17930 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17932 wxDateTime
*result
;
17933 PyObject
* obj0
= 0 ;
17934 PyObject
* obj1
= 0 ;
17935 char *kwnames
[] = {
17936 (char *) "self",(char *) "millisecond", NULL
17939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17942 arg2
= (int) SWIG_AsInt(obj1
);
17943 if (PyErr_Occurred()) SWIG_fail
;
17945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17947 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17948 result
= (wxDateTime
*) &_result_ref
;
17951 wxPyEndAllowThreads(__tstate
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17961 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17962 PyObject
*resultobj
;
17963 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17965 int arg3
= (int) wxDateTime::Monday_First
;
17966 wxDateTime
*result
;
17967 PyObject
* obj0
= 0 ;
17968 PyObject
* obj1
= 0 ;
17969 PyObject
* obj2
= 0 ;
17970 char *kwnames
[] = {
17971 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17977 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17978 if (PyErr_Occurred()) SWIG_fail
;
17980 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17986 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17987 result
= (wxDateTime
*) &_result_ref
;
17990 wxPyEndAllowThreads(__tstate
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18000 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18001 PyObject
*resultobj
;
18002 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18004 int arg3
= (int) wxDateTime::Monday_First
;
18006 PyObject
* obj0
= 0 ;
18007 PyObject
* obj1
= 0 ;
18008 PyObject
* obj2
= 0 ;
18009 char *kwnames
[] = {
18010 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18016 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18017 if (PyErr_Occurred()) SWIG_fail
;
18019 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18024 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18026 wxPyEndAllowThreads(__tstate
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18030 wxDateTime
* resultptr
;
18031 resultptr
= new wxDateTime((wxDateTime
&) result
);
18032 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18040 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18041 PyObject
*resultobj
;
18042 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18044 wxDateTime
*result
;
18045 PyObject
* obj0
= 0 ;
18046 PyObject
* obj1
= 0 ;
18047 char *kwnames
[] = {
18048 (char *) "self",(char *) "weekday", NULL
18051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18054 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18059 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18060 result
= (wxDateTime
*) &_result_ref
;
18063 wxPyEndAllowThreads(__tstate
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18073 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18074 PyObject
*resultobj
;
18075 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18078 PyObject
* obj0
= 0 ;
18079 PyObject
* obj1
= 0 ;
18080 char *kwnames
[] = {
18081 (char *) "self",(char *) "weekday", NULL
18084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18087 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18088 if (PyErr_Occurred()) SWIG_fail
;
18090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18091 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18093 wxPyEndAllowThreads(__tstate
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18097 wxDateTime
* resultptr
;
18098 resultptr
= new wxDateTime((wxDateTime
&) result
);
18099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18107 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18108 PyObject
*resultobj
;
18109 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18111 wxDateTime
*result
;
18112 PyObject
* obj0
= 0 ;
18113 PyObject
* obj1
= 0 ;
18114 char *kwnames
[] = {
18115 (char *) "self",(char *) "weekday", NULL
18118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18121 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18126 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18127 result
= (wxDateTime
*) &_result_ref
;
18130 wxPyEndAllowThreads(__tstate
);
18131 if (PyErr_Occurred()) SWIG_fail
;
18133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18140 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18141 PyObject
*resultobj
;
18142 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18145 PyObject
* obj0
= 0 ;
18146 PyObject
* obj1
= 0 ;
18147 char *kwnames
[] = {
18148 (char *) "self",(char *) "weekday", NULL
18151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18154 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18155 if (PyErr_Occurred()) SWIG_fail
;
18157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18158 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18160 wxPyEndAllowThreads(__tstate
);
18161 if (PyErr_Occurred()) SWIG_fail
;
18164 wxDateTime
* resultptr
;
18165 resultptr
= new wxDateTime((wxDateTime
&) result
);
18166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18174 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18175 PyObject
*resultobj
;
18176 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18178 int arg3
= (int) 1 ;
18179 int arg4
= (int) wxDateTime::Inv_Month
;
18180 int arg5
= (int) wxDateTime::Inv_Year
;
18182 PyObject
* obj0
= 0 ;
18183 PyObject
* obj1
= 0 ;
18184 PyObject
* obj2
= 0 ;
18185 PyObject
* obj3
= 0 ;
18186 PyObject
* obj4
= 0 ;
18187 char *kwnames
[] = {
18188 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18194 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18195 if (PyErr_Occurred()) SWIG_fail
;
18197 arg3
= (int) SWIG_AsInt(obj2
);
18198 if (PyErr_Occurred()) SWIG_fail
;
18201 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18202 if (PyErr_Occurred()) SWIG_fail
;
18205 arg5
= (int) SWIG_AsInt(obj4
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18210 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18212 wxPyEndAllowThreads(__tstate
);
18213 if (PyErr_Occurred()) SWIG_fail
;
18216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18224 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18225 PyObject
*resultobj
;
18226 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18228 int arg3
= (int) wxDateTime::Inv_Month
;
18229 int arg4
= (int) wxDateTime::Inv_Year
;
18231 PyObject
* obj0
= 0 ;
18232 PyObject
* obj1
= 0 ;
18233 PyObject
* obj2
= 0 ;
18234 PyObject
* obj3
= 0 ;
18235 char *kwnames
[] = {
18236 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18242 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18243 if (PyErr_Occurred()) SWIG_fail
;
18245 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18249 arg4
= (int) SWIG_AsInt(obj3
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18256 wxPyEndAllowThreads(__tstate
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18268 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18269 PyObject
*resultobj
;
18270 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18272 int arg3
= (int) wxDateTime::Inv_Month
;
18273 int arg4
= (int) wxDateTime::Inv_Year
;
18275 PyObject
* obj0
= 0 ;
18276 PyObject
* obj1
= 0 ;
18277 PyObject
* obj2
= 0 ;
18278 PyObject
* obj3
= 0 ;
18279 char *kwnames
[] = {
18280 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18286 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18289 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18290 if (PyErr_Occurred()) SWIG_fail
;
18293 arg4
= (int) SWIG_AsInt(obj3
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18298 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18300 wxPyEndAllowThreads(__tstate
);
18301 if (PyErr_Occurred()) SWIG_fail
;
18304 wxDateTime
* resultptr
;
18305 resultptr
= new wxDateTime((wxDateTime
&) result
);
18306 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18314 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18315 PyObject
*resultobj
;
18316 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18318 int arg3
= (int) wxDateTime::Mon
;
18319 int arg4
= (int) wxDateTime::Monday_First
;
18321 PyObject
* obj0
= 0 ;
18322 PyObject
* obj1
= 0 ;
18323 PyObject
* obj2
= 0 ;
18324 PyObject
* obj3
= 0 ;
18325 char *kwnames
[] = {
18326 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18332 arg2
= (int) SWIG_AsInt(obj1
);
18333 if (PyErr_Occurred()) SWIG_fail
;
18335 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18336 if (PyErr_Occurred()) SWIG_fail
;
18339 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18340 if (PyErr_Occurred()) SWIG_fail
;
18343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18344 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18346 wxPyEndAllowThreads(__tstate
);
18347 if (PyErr_Occurred()) SWIG_fail
;
18350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18358 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18359 PyObject
*resultobj
;
18360 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18362 int arg3
= (int) wxDateTime::Mon
;
18363 int arg4
= (int) wxDateTime::Monday_First
;
18365 PyObject
* obj0
= 0 ;
18366 PyObject
* obj1
= 0 ;
18367 PyObject
* obj2
= 0 ;
18368 PyObject
* obj3
= 0 ;
18369 char *kwnames
[] = {
18370 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18376 arg2
= (int) SWIG_AsInt(obj1
);
18377 if (PyErr_Occurred()) SWIG_fail
;
18379 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18383 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18388 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18390 wxPyEndAllowThreads(__tstate
);
18391 if (PyErr_Occurred()) SWIG_fail
;
18394 wxDateTime
* resultptr
;
18395 resultptr
= new wxDateTime((wxDateTime
&) result
);
18396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18404 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18405 PyObject
*resultobj
;
18406 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18407 int arg2
= (int) wxDateTime::Inv_Month
;
18408 int arg3
= (int) wxDateTime::Inv_Year
;
18409 wxDateTime
*result
;
18410 PyObject
* obj0
= 0 ;
18411 PyObject
* obj1
= 0 ;
18412 PyObject
* obj2
= 0 ;
18413 char *kwnames
[] = {
18414 (char *) "self",(char *) "month",(char *) "year", NULL
18417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18421 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18425 arg3
= (int) SWIG_AsInt(obj2
);
18426 if (PyErr_Occurred()) SWIG_fail
;
18429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18431 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18432 result
= (wxDateTime
*) &_result_ref
;
18435 wxPyEndAllowThreads(__tstate
);
18436 if (PyErr_Occurred()) SWIG_fail
;
18438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18445 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18446 PyObject
*resultobj
;
18447 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18448 int arg2
= (int) wxDateTime::Inv_Month
;
18449 int arg3
= (int) wxDateTime::Inv_Year
;
18451 PyObject
* obj0
= 0 ;
18452 PyObject
* obj1
= 0 ;
18453 PyObject
* obj2
= 0 ;
18454 char *kwnames
[] = {
18455 (char *) "self",(char *) "month",(char *) "year", NULL
18458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18462 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18463 if (PyErr_Occurred()) SWIG_fail
;
18466 arg3
= (int) SWIG_AsInt(obj2
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18471 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18473 wxPyEndAllowThreads(__tstate
);
18474 if (PyErr_Occurred()) SWIG_fail
;
18477 wxDateTime
* resultptr
;
18478 resultptr
= new wxDateTime((wxDateTime
&) result
);
18479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18487 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18488 PyObject
*resultobj
;
18489 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18491 wxDateTime
*result
;
18492 PyObject
* obj0
= 0 ;
18493 PyObject
* obj1
= 0 ;
18494 char *kwnames
[] = {
18495 (char *) "self",(char *) "yday", NULL
18498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18501 arg2
= (int) SWIG_AsInt(obj1
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18507 result
= (wxDateTime
*) &_result_ref
;
18510 wxPyEndAllowThreads(__tstate
);
18511 if (PyErr_Occurred()) SWIG_fail
;
18513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18520 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18521 PyObject
*resultobj
;
18522 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18525 PyObject
* obj0
= 0 ;
18526 PyObject
* obj1
= 0 ;
18527 char *kwnames
[] = {
18528 (char *) "self",(char *) "yday", NULL
18531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18534 arg2
= (int) SWIG_AsInt(obj1
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18538 result
= (arg1
)->GetYearDay(arg2
);
18540 wxPyEndAllowThreads(__tstate
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18544 wxDateTime
* resultptr
;
18545 resultptr
= new wxDateTime((wxDateTime
&) result
);
18546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18554 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18555 PyObject
*resultobj
;
18556 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18558 PyObject
* obj0
= 0 ;
18559 char *kwnames
[] = {
18560 (char *) "self", NULL
18563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18568 result
= (double)(arg1
)->GetJulianDayNumber();
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18573 resultobj
= SWIG_FromDouble((double)result
);
18580 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18581 PyObject
*resultobj
;
18582 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18584 PyObject
* obj0
= 0 ;
18585 char *kwnames
[] = {
18586 (char *) "self", NULL
18589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18594 result
= (double)(arg1
)->GetJDN();
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18599 resultobj
= SWIG_FromDouble((double)result
);
18606 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18607 PyObject
*resultobj
;
18608 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18610 PyObject
* obj0
= 0 ;
18611 char *kwnames
[] = {
18612 (char *) "self", NULL
18615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18620 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18622 wxPyEndAllowThreads(__tstate
);
18623 if (PyErr_Occurred()) SWIG_fail
;
18625 resultobj
= SWIG_FromDouble((double)result
);
18632 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18633 PyObject
*resultobj
;
18634 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18636 PyObject
* obj0
= 0 ;
18637 char *kwnames
[] = {
18638 (char *) "self", NULL
18641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18646 result
= (double)(arg1
)->GetMJD();
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18651 resultobj
= SWIG_FromDouble((double)result
);
18658 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18659 PyObject
*resultobj
;
18660 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18662 PyObject
* obj0
= 0 ;
18663 char *kwnames
[] = {
18664 (char *) "self", NULL
18667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18672 result
= (double)(arg1
)->GetRataDie();
18674 wxPyEndAllowThreads(__tstate
);
18675 if (PyErr_Occurred()) SWIG_fail
;
18677 resultobj
= SWIG_FromDouble((double)result
);
18684 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18685 PyObject
*resultobj
;
18686 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18687 wxDateTime::TimeZone
*arg2
= 0 ;
18688 bool arg3
= (bool) False
;
18690 bool temp2
= False
;
18691 PyObject
* obj0
= 0 ;
18692 PyObject
* obj1
= 0 ;
18693 PyObject
* obj2
= 0 ;
18694 char *kwnames
[] = {
18695 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18702 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18706 arg3
= (bool) SWIG_AsBool(obj2
);
18707 if (PyErr_Occurred()) SWIG_fail
;
18710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18711 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18713 wxPyEndAllowThreads(__tstate
);
18714 if (PyErr_Occurred()) SWIG_fail
;
18717 wxDateTime
* resultptr
;
18718 resultptr
= new wxDateTime((wxDateTime
&) result
);
18719 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18722 if (temp2
) delete arg2
;
18727 if (temp2
) delete arg2
;
18733 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18734 PyObject
*resultobj
;
18735 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18736 wxDateTime::TimeZone
*arg2
= 0 ;
18737 bool arg3
= (bool) False
;
18738 wxDateTime
*result
;
18739 bool temp2
= False
;
18740 PyObject
* obj0
= 0 ;
18741 PyObject
* obj1
= 0 ;
18742 PyObject
* obj2
= 0 ;
18743 char *kwnames
[] = {
18744 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18751 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18755 arg3
= (bool) SWIG_AsBool(obj2
);
18756 if (PyErr_Occurred()) SWIG_fail
;
18759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18761 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18762 result
= (wxDateTime
*) &_result_ref
;
18765 wxPyEndAllowThreads(__tstate
);
18766 if (PyErr_Occurred()) SWIG_fail
;
18768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18770 if (temp2
) delete arg2
;
18775 if (temp2
) delete arg2
;
18781 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18782 PyObject
*resultobj
;
18783 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18784 bool arg2
= (bool) False
;
18786 PyObject
* obj0
= 0 ;
18787 PyObject
* obj1
= 0 ;
18788 char *kwnames
[] = {
18789 (char *) "self",(char *) "noDST", NULL
18792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18796 arg2
= (bool) SWIG_AsBool(obj1
);
18797 if (PyErr_Occurred()) SWIG_fail
;
18800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18801 result
= (arg1
)->ToGMT(arg2
);
18803 wxPyEndAllowThreads(__tstate
);
18804 if (PyErr_Occurred()) SWIG_fail
;
18807 wxDateTime
* resultptr
;
18808 resultptr
= new wxDateTime((wxDateTime
&) result
);
18809 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18817 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18818 PyObject
*resultobj
;
18819 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18820 bool arg2
= (bool) False
;
18821 wxDateTime
*result
;
18822 PyObject
* obj0
= 0 ;
18823 PyObject
* obj1
= 0 ;
18824 char *kwnames
[] = {
18825 (char *) "self",(char *) "noDST", NULL
18828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18832 arg2
= (bool) SWIG_AsBool(obj1
);
18833 if (PyErr_Occurred()) SWIG_fail
;
18836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18838 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18839 result
= (wxDateTime
*) &_result_ref
;
18842 wxPyEndAllowThreads(__tstate
);
18843 if (PyErr_Occurred()) SWIG_fail
;
18845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18852 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18853 PyObject
*resultobj
;
18854 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18855 int arg2
= (int) wxDateTime::Country_Default
;
18857 PyObject
* obj0
= 0 ;
18858 PyObject
* obj1
= 0 ;
18859 char *kwnames
[] = {
18860 (char *) "self",(char *) "country", NULL
18863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18867 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18868 if (PyErr_Occurred()) SWIG_fail
;
18871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18872 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18874 wxPyEndAllowThreads(__tstate
);
18875 if (PyErr_Occurred()) SWIG_fail
;
18877 resultobj
= SWIG_FromInt((int)result
);
18884 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18885 PyObject
*resultobj
;
18886 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18888 PyObject
* obj0
= 0 ;
18889 char *kwnames
[] = {
18890 (char *) "self", NULL
18893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18898 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18900 wxPyEndAllowThreads(__tstate
);
18901 if (PyErr_Occurred()) SWIG_fail
;
18904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18912 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18913 PyObject
*resultobj
;
18914 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18916 PyObject
* obj0
= 0 ;
18917 char *kwnames
[] = {
18918 (char *) "self", NULL
18921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18926 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18928 wxPyEndAllowThreads(__tstate
);
18929 if (PyErr_Occurred()) SWIG_fail
;
18931 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
18938 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18939 PyObject
*resultobj
;
18940 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18941 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18942 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18944 bool temp2
= False
;
18945 PyObject
* obj0
= 0 ;
18946 PyObject
* obj1
= 0 ;
18947 char *kwnames
[] = {
18948 (char *) "self",(char *) "tz", NULL
18951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18956 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18962 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18964 wxPyEndAllowThreads(__tstate
);
18965 if (PyErr_Occurred()) SWIG_fail
;
18967 resultobj
= SWIG_FromInt((int)result
);
18969 if (temp2
) delete arg2
;
18974 if (temp2
) delete arg2
;
18980 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18981 PyObject
*resultobj
;
18982 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18983 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18984 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18986 bool temp2
= False
;
18987 PyObject
* obj0
= 0 ;
18988 PyObject
* obj1
= 0 ;
18989 char *kwnames
[] = {
18990 (char *) "self",(char *) "tz", NULL
18993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18998 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19004 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19006 wxPyEndAllowThreads(__tstate
);
19007 if (PyErr_Occurred()) SWIG_fail
;
19009 resultobj
= SWIG_FromInt((int)result
);
19011 if (temp2
) delete arg2
;
19016 if (temp2
) delete arg2
;
19022 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19023 PyObject
*resultobj
;
19024 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19025 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19026 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19028 bool temp2
= False
;
19029 PyObject
* obj0
= 0 ;
19030 PyObject
* obj1
= 0 ;
19031 char *kwnames
[] = {
19032 (char *) "self",(char *) "tz", NULL
19035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19040 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19046 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19048 wxPyEndAllowThreads(__tstate
);
19049 if (PyErr_Occurred()) SWIG_fail
;
19051 resultobj
= SWIG_FromInt((int)result
);
19053 if (temp2
) delete arg2
;
19058 if (temp2
) delete arg2
;
19064 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19065 PyObject
*resultobj
;
19066 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19067 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19068 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19070 bool temp2
= False
;
19071 PyObject
* obj0
= 0 ;
19072 PyObject
* obj1
= 0 ;
19073 char *kwnames
[] = {
19074 (char *) "self",(char *) "tz", NULL
19077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19082 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19088 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19090 wxPyEndAllowThreads(__tstate
);
19091 if (PyErr_Occurred()) SWIG_fail
;
19093 resultobj
= SWIG_FromInt((int)result
);
19095 if (temp2
) delete arg2
;
19100 if (temp2
) delete arg2
;
19106 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
;
19108 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19109 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19110 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19112 bool temp2
= False
;
19113 PyObject
* obj0
= 0 ;
19114 PyObject
* obj1
= 0 ;
19115 char *kwnames
[] = {
19116 (char *) "self",(char *) "tz", NULL
19119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19124 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19130 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19132 wxPyEndAllowThreads(__tstate
);
19133 if (PyErr_Occurred()) SWIG_fail
;
19135 resultobj
= SWIG_FromInt((int)result
);
19137 if (temp2
) delete arg2
;
19142 if (temp2
) delete arg2
;
19148 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19149 PyObject
*resultobj
;
19150 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19151 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19152 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19154 bool temp2
= False
;
19155 PyObject
* obj0
= 0 ;
19156 PyObject
* obj1
= 0 ;
19157 char *kwnames
[] = {
19158 (char *) "self",(char *) "tz", NULL
19161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19166 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19172 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19174 wxPyEndAllowThreads(__tstate
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19177 resultobj
= SWIG_FromInt((int)result
);
19179 if (temp2
) delete arg2
;
19184 if (temp2
) delete arg2
;
19190 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19191 PyObject
*resultobj
;
19192 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19193 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19194 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19196 bool temp2
= False
;
19197 PyObject
* obj0
= 0 ;
19198 PyObject
* obj1
= 0 ;
19199 char *kwnames
[] = {
19200 (char *) "self",(char *) "tz", NULL
19203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19208 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19214 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19216 wxPyEndAllowThreads(__tstate
);
19217 if (PyErr_Occurred()) SWIG_fail
;
19219 resultobj
= SWIG_FromInt((int)result
);
19221 if (temp2
) delete arg2
;
19226 if (temp2
) delete arg2
;
19232 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19233 PyObject
*resultobj
;
19234 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19235 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19236 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19238 bool temp2
= False
;
19239 PyObject
* obj0
= 0 ;
19240 PyObject
* obj1
= 0 ;
19241 char *kwnames
[] = {
19242 (char *) "self",(char *) "tz", NULL
19245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19250 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19256 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19258 wxPyEndAllowThreads(__tstate
);
19259 if (PyErr_Occurred()) SWIG_fail
;
19261 resultobj
= SWIG_FromInt((int)result
);
19263 if (temp2
) delete arg2
;
19268 if (temp2
) delete arg2
;
19274 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19275 PyObject
*resultobj
;
19276 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19277 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19278 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19280 bool temp2
= False
;
19281 PyObject
* obj0
= 0 ;
19282 PyObject
* obj1
= 0 ;
19283 char *kwnames
[] = {
19284 (char *) "self",(char *) "tz", NULL
19287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19292 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19298 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19300 wxPyEndAllowThreads(__tstate
);
19301 if (PyErr_Occurred()) SWIG_fail
;
19303 resultobj
= SWIG_FromInt((int)result
);
19305 if (temp2
) delete arg2
;
19310 if (temp2
) delete arg2
;
19316 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19317 PyObject
*resultobj
;
19318 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19319 int arg2
= (int) wxDateTime::Monday_First
;
19320 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19321 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19323 bool temp3
= False
;
19324 PyObject
* obj0
= 0 ;
19325 PyObject
* obj1
= 0 ;
19326 PyObject
* obj2
= 0 ;
19327 char *kwnames
[] = {
19328 (char *) "self",(char *) "flags",(char *) "tz", NULL
19331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19335 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19340 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19346 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19348 wxPyEndAllowThreads(__tstate
);
19349 if (PyErr_Occurred()) SWIG_fail
;
19351 resultobj
= SWIG_FromInt((int)result
);
19353 if (temp3
) delete arg3
;
19358 if (temp3
) delete arg3
;
19364 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19365 PyObject
*resultobj
;
19366 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19367 int arg2
= (int) wxDateTime::Monday_First
;
19368 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19369 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19371 bool temp3
= False
;
19372 PyObject
* obj0
= 0 ;
19373 PyObject
* obj1
= 0 ;
19374 PyObject
* obj2
= 0 ;
19375 char *kwnames
[] = {
19376 (char *) "self",(char *) "flags",(char *) "tz", NULL
19379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19383 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19384 if (PyErr_Occurred()) SWIG_fail
;
19388 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19394 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19396 wxPyEndAllowThreads(__tstate
);
19397 if (PyErr_Occurred()) SWIG_fail
;
19399 resultobj
= SWIG_FromInt((int)result
);
19401 if (temp3
) delete arg3
;
19406 if (temp3
) delete arg3
;
19412 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19413 PyObject
*resultobj
;
19414 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19415 int arg2
= (int) wxDateTime::Country_Default
;
19417 PyObject
* obj0
= 0 ;
19418 PyObject
* obj1
= 0 ;
19419 char *kwnames
[] = {
19420 (char *) "self",(char *) "country", NULL
19423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19427 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19428 if (PyErr_Occurred()) SWIG_fail
;
19431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19432 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19434 wxPyEndAllowThreads(__tstate
);
19435 if (PyErr_Occurred()) SWIG_fail
;
19438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19446 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19447 PyObject
*resultobj
;
19448 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19449 wxDateTime
*arg2
= 0 ;
19451 PyObject
* obj0
= 0 ;
19452 PyObject
* obj1
= 0 ;
19453 char *kwnames
[] = {
19454 (char *) "self",(char *) "datetime", NULL
19457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19461 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19463 if (arg2
== NULL
) {
19464 PyErr_SetString(PyExc_TypeError
,"null reference");
19468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19469 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19471 wxPyEndAllowThreads(__tstate
);
19472 if (PyErr_Occurred()) SWIG_fail
;
19475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19483 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19484 PyObject
*resultobj
;
19485 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19486 wxDateTime
*arg2
= 0 ;
19488 PyObject
* obj0
= 0 ;
19489 PyObject
* obj1
= 0 ;
19490 char *kwnames
[] = {
19491 (char *) "self",(char *) "datetime", NULL
19494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19498 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19500 if (arg2
== NULL
) {
19501 PyErr_SetString(PyExc_TypeError
,"null reference");
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19508 wxPyEndAllowThreads(__tstate
);
19509 if (PyErr_Occurred()) SWIG_fail
;
19512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19520 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19521 PyObject
*resultobj
;
19522 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19523 wxDateTime
*arg2
= 0 ;
19525 PyObject
* obj0
= 0 ;
19526 PyObject
* obj1
= 0 ;
19527 char *kwnames
[] = {
19528 (char *) "self",(char *) "datetime", NULL
19531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19535 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19537 if (arg2
== NULL
) {
19538 PyErr_SetString(PyExc_TypeError
,"null reference");
19542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19543 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19545 wxPyEndAllowThreads(__tstate
);
19546 if (PyErr_Occurred()) SWIG_fail
;
19549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19557 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19558 PyObject
*resultobj
;
19559 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19560 wxDateTime
*arg2
= 0 ;
19561 wxDateTime
*arg3
= 0 ;
19563 PyObject
* obj0
= 0 ;
19564 PyObject
* obj1
= 0 ;
19565 PyObject
* obj2
= 0 ;
19566 char *kwnames
[] = {
19567 (char *) "self",(char *) "t1",(char *) "t2", NULL
19570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19574 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19576 if (arg2
== NULL
) {
19577 PyErr_SetString(PyExc_TypeError
,"null reference");
19580 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19581 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19583 if (arg3
== NULL
) {
19584 PyErr_SetString(PyExc_TypeError
,"null reference");
19588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19589 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19591 wxPyEndAllowThreads(__tstate
);
19592 if (PyErr_Occurred()) SWIG_fail
;
19595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19603 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19604 PyObject
*resultobj
;
19605 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19606 wxDateTime
*arg2
= 0 ;
19607 wxDateTime
*arg3
= 0 ;
19609 PyObject
* obj0
= 0 ;
19610 PyObject
* obj1
= 0 ;
19611 PyObject
* obj2
= 0 ;
19612 char *kwnames
[] = {
19613 (char *) "self",(char *) "t1",(char *) "t2", NULL
19616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19620 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19622 if (arg2
== NULL
) {
19623 PyErr_SetString(PyExc_TypeError
,"null reference");
19626 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19627 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19629 if (arg3
== NULL
) {
19630 PyErr_SetString(PyExc_TypeError
,"null reference");
19634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19635 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19637 wxPyEndAllowThreads(__tstate
);
19638 if (PyErr_Occurred()) SWIG_fail
;
19641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19649 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19650 PyObject
*resultobj
;
19651 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19652 wxDateTime
*arg2
= 0 ;
19654 PyObject
* obj0
= 0 ;
19655 PyObject
* obj1
= 0 ;
19656 char *kwnames
[] = {
19657 (char *) "self",(char *) "dt", NULL
19660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19664 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19666 if (arg2
== NULL
) {
19667 PyErr_SetString(PyExc_TypeError
,"null reference");
19671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19672 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19674 wxPyEndAllowThreads(__tstate
);
19675 if (PyErr_Occurred()) SWIG_fail
;
19678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19686 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19687 PyObject
*resultobj
;
19688 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19689 wxDateTime
*arg2
= 0 ;
19691 PyObject
* obj0
= 0 ;
19692 PyObject
* obj1
= 0 ;
19693 char *kwnames
[] = {
19694 (char *) "self",(char *) "dt", NULL
19697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19700 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19701 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19703 if (arg2
== NULL
) {
19704 PyErr_SetString(PyExc_TypeError
,"null reference");
19708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19709 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19711 wxPyEndAllowThreads(__tstate
);
19712 if (PyErr_Occurred()) SWIG_fail
;
19715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19723 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19724 PyObject
*resultobj
;
19725 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19726 wxDateTime
*arg2
= 0 ;
19727 wxTimeSpan
*arg3
= 0 ;
19729 PyObject
* obj0
= 0 ;
19730 PyObject
* obj1
= 0 ;
19731 PyObject
* obj2
= 0 ;
19732 char *kwnames
[] = {
19733 (char *) "self",(char *) "dt",(char *) "ts", NULL
19736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19740 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19742 if (arg2
== NULL
) {
19743 PyErr_SetString(PyExc_TypeError
,"null reference");
19746 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19747 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19749 if (arg3
== NULL
) {
19750 PyErr_SetString(PyExc_TypeError
,"null reference");
19754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19755 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19757 wxPyEndAllowThreads(__tstate
);
19758 if (PyErr_Occurred()) SWIG_fail
;
19761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19769 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19770 PyObject
*resultobj
;
19771 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19772 wxTimeSpan
*arg2
= 0 ;
19773 wxDateTime
*result
;
19774 PyObject
* obj0
= 0 ;
19775 PyObject
* obj1
= 0 ;
19776 char *kwnames
[] = {
19777 (char *) "self",(char *) "diff", NULL
19780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19786 if (arg2
== NULL
) {
19787 PyErr_SetString(PyExc_TypeError
,"null reference");
19791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19793 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19794 result
= (wxDateTime
*) &_result_ref
;
19797 wxPyEndAllowThreads(__tstate
);
19798 if (PyErr_Occurred()) SWIG_fail
;
19800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19807 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19808 PyObject
*resultobj
;
19809 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19810 wxDateSpan
*arg2
= 0 ;
19811 wxDateTime
*result
;
19812 PyObject
* obj0
= 0 ;
19813 PyObject
* obj1
= 0 ;
19814 char *kwnames
[] = {
19815 (char *) "self",(char *) "diff", NULL
19818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19821 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19822 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19824 if (arg2
== NULL
) {
19825 PyErr_SetString(PyExc_TypeError
,"null reference");
19829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19831 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19832 result
= (wxDateTime
*) &_result_ref
;
19835 wxPyEndAllowThreads(__tstate
);
19836 if (PyErr_Occurred()) SWIG_fail
;
19838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19845 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19846 PyObject
*resultobj
;
19847 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19848 wxTimeSpan
*arg2
= 0 ;
19849 wxDateTime
*result
;
19850 PyObject
* obj0
= 0 ;
19851 PyObject
* obj1
= 0 ;
19852 char *kwnames
[] = {
19853 (char *) "self",(char *) "diff", NULL
19856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19860 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19862 if (arg2
== NULL
) {
19863 PyErr_SetString(PyExc_TypeError
,"null reference");
19867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19869 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19870 result
= (wxDateTime
*) &_result_ref
;
19873 wxPyEndAllowThreads(__tstate
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19883 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
;
19885 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19886 wxDateSpan
*arg2
= 0 ;
19887 wxDateTime
*result
;
19888 PyObject
* obj0
= 0 ;
19889 PyObject
* obj1
= 0 ;
19890 char *kwnames
[] = {
19891 (char *) "self",(char *) "diff", NULL
19894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19897 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19898 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19900 if (arg2
== NULL
) {
19901 PyErr_SetString(PyExc_TypeError
,"null reference");
19905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19907 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19908 result
= (wxDateTime
*) &_result_ref
;
19911 wxPyEndAllowThreads(__tstate
);
19912 if (PyErr_Occurred()) SWIG_fail
;
19914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19921 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19922 PyObject
*resultobj
;
19923 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19924 wxDateTime
*arg2
= 0 ;
19926 PyObject
* obj0
= 0 ;
19927 PyObject
* obj1
= 0 ;
19928 char *kwnames
[] = {
19929 (char *) "self",(char *) "dt", NULL
19932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19936 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19938 if (arg2
== NULL
) {
19939 PyErr_SetString(PyExc_TypeError
,"null reference");
19943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19944 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19946 wxPyEndAllowThreads(__tstate
);
19947 if (PyErr_Occurred()) SWIG_fail
;
19950 wxTimeSpan
* resultptr
;
19951 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
19960 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
19961 PyObject
*resultobj
;
19962 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19963 wxTimeSpan
*arg2
= 0 ;
19964 wxDateTime
*result
;
19965 PyObject
* obj0
= 0 ;
19966 PyObject
* obj1
= 0 ;
19968 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19971 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19972 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19974 if (arg2
== NULL
) {
19975 PyErr_SetString(PyExc_TypeError
,"null reference");
19979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19981 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19982 result
= (wxDateTime
*) &_result_ref
;
19985 wxPyEndAllowThreads(__tstate
);
19986 if (PyErr_Occurred()) SWIG_fail
;
19988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19995 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
19996 PyObject
*resultobj
;
19997 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19998 wxDateSpan
*arg2
= 0 ;
19999 wxDateTime
*result
;
20000 PyObject
* obj0
= 0 ;
20001 PyObject
* obj1
= 0 ;
20003 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20007 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20009 if (arg2
== NULL
) {
20010 PyErr_SetString(PyExc_TypeError
,"null reference");
20014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20017 result
= (wxDateTime
*) &_result_ref
;
20020 wxPyEndAllowThreads(__tstate
);
20021 if (PyErr_Occurred()) SWIG_fail
;
20023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20030 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20035 argc
= PyObject_Length(args
);
20036 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20037 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20043 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20053 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20061 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20069 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20079 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20087 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20092 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20097 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
20098 PyObject
*resultobj
;
20099 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20100 wxTimeSpan
*arg2
= 0 ;
20101 wxDateTime
*result
;
20102 PyObject
* obj0
= 0 ;
20103 PyObject
* obj1
= 0 ;
20105 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20108 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20109 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20111 if (arg2
== NULL
) {
20112 PyErr_SetString(PyExc_TypeError
,"null reference");
20116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20118 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20119 result
= (wxDateTime
*) &_result_ref
;
20122 wxPyEndAllowThreads(__tstate
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20132 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
20133 PyObject
*resultobj
;
20134 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20135 wxDateSpan
*arg2
= 0 ;
20136 wxDateTime
*result
;
20137 PyObject
* obj0
= 0 ;
20138 PyObject
* obj1
= 0 ;
20140 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20144 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20146 if (arg2
== NULL
) {
20147 PyErr_SetString(PyExc_TypeError
,"null reference");
20151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20153 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20154 result
= (wxDateTime
*) &_result_ref
;
20157 wxPyEndAllowThreads(__tstate
);
20158 if (PyErr_Occurred()) SWIG_fail
;
20160 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20167 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20172 argc
= PyObject_Length(args
);
20173 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20174 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20180 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20190 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20198 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20206 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20216 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20224 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20229 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20234 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
20235 PyObject
*resultobj
;
20236 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20237 wxTimeSpan
*arg2
= 0 ;
20239 PyObject
* obj0
= 0 ;
20240 PyObject
* obj1
= 0 ;
20242 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20245 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20246 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20248 if (arg2
== NULL
) {
20249 PyErr_SetString(PyExc_TypeError
,"null reference");
20253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20254 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20256 wxPyEndAllowThreads(__tstate
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20260 wxDateTime
* resultptr
;
20261 resultptr
= new wxDateTime((wxDateTime
&) result
);
20262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20270 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
20271 PyObject
*resultobj
;
20272 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20273 wxDateSpan
*arg2
= 0 ;
20275 PyObject
* obj0
= 0 ;
20276 PyObject
* obj1
= 0 ;
20278 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20282 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20284 if (arg2
== NULL
) {
20285 PyErr_SetString(PyExc_TypeError
,"null reference");
20289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20290 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20292 wxPyEndAllowThreads(__tstate
);
20293 if (PyErr_Occurred()) SWIG_fail
;
20296 wxDateTime
* resultptr
;
20297 resultptr
= new wxDateTime((wxDateTime
&) result
);
20298 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20306 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20311 argc
= PyObject_Length(args
);
20312 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20313 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20319 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20329 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20337 return _wrap_DateTime___add____SWIG_0(self
,args
);
20345 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20355 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20363 return _wrap_DateTime___add____SWIG_1(self
,args
);
20368 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20373 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
20374 PyObject
*resultobj
;
20375 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20376 wxDateTime
*arg2
= 0 ;
20378 PyObject
* obj0
= 0 ;
20379 PyObject
* obj1
= 0 ;
20381 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20385 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20387 if (arg2
== NULL
) {
20388 PyErr_SetString(PyExc_TypeError
,"null reference");
20392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20393 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20395 wxPyEndAllowThreads(__tstate
);
20396 if (PyErr_Occurred()) SWIG_fail
;
20399 wxTimeSpan
* resultptr
;
20400 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20401 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20409 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
20410 PyObject
*resultobj
;
20411 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20412 wxTimeSpan
*arg2
= 0 ;
20414 PyObject
* obj0
= 0 ;
20415 PyObject
* obj1
= 0 ;
20417 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20423 if (arg2
== NULL
) {
20424 PyErr_SetString(PyExc_TypeError
,"null reference");
20428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20429 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20431 wxPyEndAllowThreads(__tstate
);
20432 if (PyErr_Occurred()) SWIG_fail
;
20435 wxDateTime
* resultptr
;
20436 resultptr
= new wxDateTime((wxDateTime
&) result
);
20437 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20445 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
20446 PyObject
*resultobj
;
20447 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20448 wxDateSpan
*arg2
= 0 ;
20450 PyObject
* obj0
= 0 ;
20451 PyObject
* obj1
= 0 ;
20453 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20456 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20457 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20459 if (arg2
== NULL
) {
20460 PyErr_SetString(PyExc_TypeError
,"null reference");
20464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20465 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20467 wxPyEndAllowThreads(__tstate
);
20468 if (PyErr_Occurred()) SWIG_fail
;
20471 wxDateTime
* resultptr
;
20472 resultptr
= new wxDateTime((wxDateTime
&) result
);
20473 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20481 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20486 argc
= PyObject_Length(args
);
20487 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20488 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20494 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20504 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20512 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20520 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20530 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20538 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20546 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20556 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20564 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20569 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20574 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
) {
20575 PyObject
*resultobj
;
20576 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20577 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20579 PyObject
* obj0
= 0 ;
20580 PyObject
* obj1
= 0 ;
20582 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20589 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20591 wxPyEndAllowThreads(__tstate
);
20592 if (PyErr_Occurred()) SWIG_fail
;
20595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20603 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
) {
20604 PyObject
*resultobj
;
20605 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20606 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20608 PyObject
* obj0
= 0 ;
20609 PyObject
* obj1
= 0 ;
20611 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20618 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20620 wxPyEndAllowThreads(__tstate
);
20621 if (PyErr_Occurred()) SWIG_fail
;
20624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20632 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
) {
20633 PyObject
*resultobj
;
20634 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20635 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20637 PyObject
* obj0
= 0 ;
20638 PyObject
* obj1
= 0 ;
20640 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20643 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20647 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20649 wxPyEndAllowThreads(__tstate
);
20650 if (PyErr_Occurred()) SWIG_fail
;
20653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20661 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
) {
20662 PyObject
*resultobj
;
20663 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20664 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20666 PyObject
* obj0
= 0 ;
20667 PyObject
* obj1
= 0 ;
20669 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20672 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20676 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20678 wxPyEndAllowThreads(__tstate
);
20679 if (PyErr_Occurred()) SWIG_fail
;
20682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20690 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
) {
20691 PyObject
*resultobj
;
20692 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20693 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20695 PyObject
* obj0
= 0 ;
20696 PyObject
* obj1
= 0 ;
20698 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20701 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20705 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20707 wxPyEndAllowThreads(__tstate
);
20708 if (PyErr_Occurred()) SWIG_fail
;
20711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20719 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
) {
20720 PyObject
*resultobj
;
20721 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20722 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20724 PyObject
* obj0
= 0 ;
20725 PyObject
* obj1
= 0 ;
20727 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20734 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20736 wxPyEndAllowThreads(__tstate
);
20737 if (PyErr_Occurred()) SWIG_fail
;
20740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20748 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20749 PyObject
*resultobj
;
20750 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20751 wxString
*arg2
= 0 ;
20753 bool temp2
= False
;
20754 PyObject
* obj0
= 0 ;
20755 PyObject
* obj1
= 0 ;
20756 char *kwnames
[] = {
20757 (char *) "self",(char *) "date", NULL
20760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20764 arg2
= wxString_in_helper(obj1
);
20765 if (arg2
== NULL
) SWIG_fail
;
20769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20770 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20772 wxPyEndAllowThreads(__tstate
);
20773 if (PyErr_Occurred()) SWIG_fail
;
20775 resultobj
= SWIG_FromInt((int)result
);
20790 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20791 PyObject
*resultobj
;
20792 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20793 wxString
*arg2
= 0 ;
20794 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20795 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20796 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20797 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20799 bool temp2
= False
;
20800 bool temp3
= False
;
20801 PyObject
* obj0
= 0 ;
20802 PyObject
* obj1
= 0 ;
20803 PyObject
* obj2
= 0 ;
20804 PyObject
* obj3
= 0 ;
20805 char *kwnames
[] = {
20806 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20813 arg2
= wxString_in_helper(obj1
);
20814 if (arg2
== NULL
) SWIG_fail
;
20819 arg3
= wxString_in_helper(obj2
);
20820 if (arg3
== NULL
) SWIG_fail
;
20825 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20826 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20828 if (arg4
== NULL
) {
20829 PyErr_SetString(PyExc_TypeError
,"null reference");
20834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20835 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20837 wxPyEndAllowThreads(__tstate
);
20838 if (PyErr_Occurred()) SWIG_fail
;
20840 resultobj
= SWIG_FromInt((int)result
);
20863 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20864 PyObject
*resultobj
;
20865 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20866 wxString
*arg2
= 0 ;
20868 bool temp2
= False
;
20869 PyObject
* obj0
= 0 ;
20870 PyObject
* obj1
= 0 ;
20871 char *kwnames
[] = {
20872 (char *) "self",(char *) "datetime", NULL
20875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20879 arg2
= wxString_in_helper(obj1
);
20880 if (arg2
== NULL
) SWIG_fail
;
20884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20885 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20887 wxPyEndAllowThreads(__tstate
);
20888 if (PyErr_Occurred()) SWIG_fail
;
20890 resultobj
= SWIG_FromInt((int)result
);
20905 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20906 PyObject
*resultobj
;
20907 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20908 wxString
*arg2
= 0 ;
20910 bool temp2
= False
;
20911 PyObject
* obj0
= 0 ;
20912 PyObject
* obj1
= 0 ;
20913 char *kwnames
[] = {
20914 (char *) "self",(char *) "date", NULL
20917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20921 arg2
= wxString_in_helper(obj1
);
20922 if (arg2
== NULL
) SWIG_fail
;
20926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20927 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20929 wxPyEndAllowThreads(__tstate
);
20930 if (PyErr_Occurred()) SWIG_fail
;
20932 resultobj
= SWIG_FromInt((int)result
);
20947 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20948 PyObject
*resultobj
;
20949 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20950 wxString
*arg2
= 0 ;
20952 bool temp2
= False
;
20953 PyObject
* obj0
= 0 ;
20954 PyObject
* obj1
= 0 ;
20955 char *kwnames
[] = {
20956 (char *) "self",(char *) "time", NULL
20959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20963 arg2
= wxString_in_helper(obj1
);
20964 if (arg2
== NULL
) SWIG_fail
;
20968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20969 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20971 wxPyEndAllowThreads(__tstate
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20974 resultobj
= SWIG_FromInt((int)result
);
20989 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20990 PyObject
*resultobj
;
20991 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20992 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
20993 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20994 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20995 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20997 bool temp2
= False
;
20998 bool temp3
= False
;
20999 PyObject
* obj0
= 0 ;
21000 PyObject
* obj1
= 0 ;
21001 PyObject
* obj2
= 0 ;
21002 char *kwnames
[] = {
21003 (char *) "self",(char *) "format",(char *) "tz", NULL
21006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21011 arg2
= wxString_in_helper(obj1
);
21012 if (arg2
== NULL
) SWIG_fail
;
21018 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21024 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21026 wxPyEndAllowThreads(__tstate
);
21027 if (PyErr_Occurred()) SWIG_fail
;
21031 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21033 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21041 if (temp3
) delete arg3
;
21050 if (temp3
) delete arg3
;
21056 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21057 PyObject
*resultobj
;
21058 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21060 PyObject
* obj0
= 0 ;
21061 char *kwnames
[] = {
21062 (char *) "self", NULL
21065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21070 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21072 wxPyEndAllowThreads(__tstate
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21077 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21079 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21088 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21089 PyObject
*resultobj
;
21090 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21092 PyObject
* obj0
= 0 ;
21093 char *kwnames
[] = {
21094 (char *) "self", NULL
21097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21102 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21104 wxPyEndAllowThreads(__tstate
);
21105 if (PyErr_Occurred()) SWIG_fail
;
21109 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21111 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21120 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21121 PyObject
*resultobj
;
21122 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21124 PyObject
* obj0
= 0 ;
21125 char *kwnames
[] = {
21126 (char *) "self", NULL
21129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21134 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21136 wxPyEndAllowThreads(__tstate
);
21137 if (PyErr_Occurred()) SWIG_fail
;
21141 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21143 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21152 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21153 PyObject
*resultobj
;
21154 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21156 PyObject
* obj0
= 0 ;
21157 char *kwnames
[] = {
21158 (char *) "self", NULL
21161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21166 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21168 wxPyEndAllowThreads(__tstate
);
21169 if (PyErr_Occurred()) SWIG_fail
;
21173 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21175 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21184 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
21186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21187 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21189 return Py_BuildValue((char *)"");
21191 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21192 PyObject
*resultobj
;
21195 PyObject
* obj0
= 0 ;
21196 char *kwnames
[] = {
21197 (char *) "sec", NULL
21200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21201 arg1
= (long) SWIG_AsLong(obj0
);
21202 if (PyErr_Occurred()) SWIG_fail
;
21204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21205 result
= wxTimeSpan::Seconds(arg1
);
21207 wxPyEndAllowThreads(__tstate
);
21208 if (PyErr_Occurred()) SWIG_fail
;
21211 wxTimeSpan
* resultptr
;
21212 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21221 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21222 PyObject
*resultobj
;
21224 char *kwnames
[] = {
21228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21231 result
= wxTimeSpan::Second();
21233 wxPyEndAllowThreads(__tstate
);
21234 if (PyErr_Occurred()) SWIG_fail
;
21237 wxTimeSpan
* resultptr
;
21238 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21247 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21248 PyObject
*resultobj
;
21251 PyObject
* obj0
= 0 ;
21252 char *kwnames
[] = {
21253 (char *) "min", NULL
21256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21257 arg1
= (long) SWIG_AsLong(obj0
);
21258 if (PyErr_Occurred()) SWIG_fail
;
21260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21261 result
= wxTimeSpan::Minutes(arg1
);
21263 wxPyEndAllowThreads(__tstate
);
21264 if (PyErr_Occurred()) SWIG_fail
;
21267 wxTimeSpan
* resultptr
;
21268 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21269 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21277 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21278 PyObject
*resultobj
;
21280 char *kwnames
[] = {
21284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21287 result
= wxTimeSpan::Minute();
21289 wxPyEndAllowThreads(__tstate
);
21290 if (PyErr_Occurred()) SWIG_fail
;
21293 wxTimeSpan
* resultptr
;
21294 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21295 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21303 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21304 PyObject
*resultobj
;
21307 PyObject
* obj0
= 0 ;
21308 char *kwnames
[] = {
21309 (char *) "hours", NULL
21312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21313 arg1
= (long) SWIG_AsLong(obj0
);
21314 if (PyErr_Occurred()) SWIG_fail
;
21316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21317 result
= wxTimeSpan::Hours(arg1
);
21319 wxPyEndAllowThreads(__tstate
);
21320 if (PyErr_Occurred()) SWIG_fail
;
21323 wxTimeSpan
* resultptr
;
21324 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21325 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21333 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21334 PyObject
*resultobj
;
21336 char *kwnames
[] = {
21340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21343 result
= wxTimeSpan::Hour();
21345 wxPyEndAllowThreads(__tstate
);
21346 if (PyErr_Occurred()) SWIG_fail
;
21349 wxTimeSpan
* resultptr
;
21350 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21351 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21359 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21360 PyObject
*resultobj
;
21363 PyObject
* obj0
= 0 ;
21364 char *kwnames
[] = {
21365 (char *) "days", NULL
21368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21369 arg1
= (long) SWIG_AsLong(obj0
);
21370 if (PyErr_Occurred()) SWIG_fail
;
21372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21373 result
= wxTimeSpan::Days(arg1
);
21375 wxPyEndAllowThreads(__tstate
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21379 wxTimeSpan
* resultptr
;
21380 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21389 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21390 PyObject
*resultobj
;
21392 char *kwnames
[] = {
21396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21399 result
= wxTimeSpan::Day();
21401 wxPyEndAllowThreads(__tstate
);
21402 if (PyErr_Occurred()) SWIG_fail
;
21405 wxTimeSpan
* resultptr
;
21406 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21407 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21415 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21416 PyObject
*resultobj
;
21419 PyObject
* obj0
= 0 ;
21420 char *kwnames
[] = {
21421 (char *) "days", NULL
21424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21425 arg1
= (long) SWIG_AsLong(obj0
);
21426 if (PyErr_Occurred()) SWIG_fail
;
21428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21429 result
= wxTimeSpan::Weeks(arg1
);
21431 wxPyEndAllowThreads(__tstate
);
21432 if (PyErr_Occurred()) SWIG_fail
;
21435 wxTimeSpan
* resultptr
;
21436 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21437 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21445 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21446 PyObject
*resultobj
;
21448 char *kwnames
[] = {
21452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21455 result
= wxTimeSpan::Week();
21457 wxPyEndAllowThreads(__tstate
);
21458 if (PyErr_Occurred()) SWIG_fail
;
21461 wxTimeSpan
* resultptr
;
21462 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21463 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21471 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21472 PyObject
*resultobj
;
21473 long arg1
= (long) 0 ;
21474 long arg2
= (long) 0 ;
21475 long arg3
= (long) 0 ;
21476 long arg4
= (long) 0 ;
21477 wxTimeSpan
*result
;
21478 PyObject
* obj0
= 0 ;
21479 PyObject
* obj1
= 0 ;
21480 PyObject
* obj2
= 0 ;
21481 PyObject
* obj3
= 0 ;
21482 char *kwnames
[] = {
21483 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21488 arg1
= (long) SWIG_AsLong(obj0
);
21489 if (PyErr_Occurred()) SWIG_fail
;
21492 arg2
= (long) SWIG_AsLong(obj1
);
21493 if (PyErr_Occurred()) SWIG_fail
;
21496 arg3
= (long) SWIG_AsLong(obj2
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21500 arg4
= (long) SWIG_AsLong(obj3
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21505 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21507 wxPyEndAllowThreads(__tstate
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21517 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21518 PyObject
*resultobj
;
21519 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21520 PyObject
* obj0
= 0 ;
21521 char *kwnames
[] = {
21522 (char *) "self", NULL
21525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21532 wxPyEndAllowThreads(__tstate
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21535 Py_INCREF(Py_None
); resultobj
= Py_None
;
21542 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21543 PyObject
*resultobj
;
21544 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21545 wxTimeSpan
*arg2
= 0 ;
21546 wxTimeSpan
*result
;
21547 PyObject
* obj0
= 0 ;
21548 PyObject
* obj1
= 0 ;
21549 char *kwnames
[] = {
21550 (char *) "self",(char *) "diff", NULL
21553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21557 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21559 if (arg2
== NULL
) {
21560 PyErr_SetString(PyExc_TypeError
,"null reference");
21564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21566 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21567 result
= (wxTimeSpan
*) &_result_ref
;
21570 wxPyEndAllowThreads(__tstate
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21580 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21581 PyObject
*resultobj
;
21582 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21583 wxTimeSpan
*arg2
= 0 ;
21584 wxTimeSpan
*result
;
21585 PyObject
* obj0
= 0 ;
21586 PyObject
* obj1
= 0 ;
21587 char *kwnames
[] = {
21588 (char *) "self",(char *) "diff", NULL
21591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21594 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21595 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21597 if (arg2
== NULL
) {
21598 PyErr_SetString(PyExc_TypeError
,"null reference");
21602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21604 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21605 result
= (wxTimeSpan
*) &_result_ref
;
21608 wxPyEndAllowThreads(__tstate
);
21609 if (PyErr_Occurred()) SWIG_fail
;
21611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21618 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21619 PyObject
*resultobj
;
21620 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21622 wxTimeSpan
*result
;
21623 PyObject
* obj0
= 0 ;
21624 PyObject
* obj1
= 0 ;
21625 char *kwnames
[] = {
21626 (char *) "self",(char *) "n", NULL
21629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21632 arg2
= (int) SWIG_AsInt(obj1
);
21633 if (PyErr_Occurred()) SWIG_fail
;
21635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21637 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21638 result
= (wxTimeSpan
*) &_result_ref
;
21641 wxPyEndAllowThreads(__tstate
);
21642 if (PyErr_Occurred()) SWIG_fail
;
21644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21651 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21652 PyObject
*resultobj
;
21653 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21654 wxTimeSpan
*result
;
21655 PyObject
* obj0
= 0 ;
21656 char *kwnames
[] = {
21657 (char *) "self", NULL
21660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21666 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21667 result
= (wxTimeSpan
*) &_result_ref
;
21670 wxPyEndAllowThreads(__tstate
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21680 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21681 PyObject
*resultobj
;
21682 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21684 PyObject
* obj0
= 0 ;
21685 char *kwnames
[] = {
21686 (char *) "self", NULL
21689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21694 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21696 wxPyEndAllowThreads(__tstate
);
21697 if (PyErr_Occurred()) SWIG_fail
;
21700 wxTimeSpan
* resultptr
;
21701 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21702 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21710 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21711 PyObject
*resultobj
;
21712 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21713 wxTimeSpan
*arg2
= 0 ;
21714 wxTimeSpan
*result
;
21715 PyObject
* obj0
= 0 ;
21716 PyObject
* obj1
= 0 ;
21717 char *kwnames
[] = {
21718 (char *) "self",(char *) "diff", NULL
21721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21725 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21727 if (arg2
== NULL
) {
21728 PyErr_SetString(PyExc_TypeError
,"null reference");
21732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21734 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21735 result
= (wxTimeSpan
*) &_result_ref
;
21738 wxPyEndAllowThreads(__tstate
);
21739 if (PyErr_Occurred()) SWIG_fail
;
21741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21748 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21749 PyObject
*resultobj
;
21750 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21751 wxTimeSpan
*arg2
= 0 ;
21752 wxTimeSpan
*result
;
21753 PyObject
* obj0
= 0 ;
21754 PyObject
* obj1
= 0 ;
21755 char *kwnames
[] = {
21756 (char *) "self",(char *) "diff", NULL
21759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21763 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21765 if (arg2
== NULL
) {
21766 PyErr_SetString(PyExc_TypeError
,"null reference");
21770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21772 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21773 result
= (wxTimeSpan
*) &_result_ref
;
21776 wxPyEndAllowThreads(__tstate
);
21777 if (PyErr_Occurred()) SWIG_fail
;
21779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21786 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21787 PyObject
*resultobj
;
21788 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21790 wxTimeSpan
*result
;
21791 PyObject
* obj0
= 0 ;
21792 PyObject
* obj1
= 0 ;
21793 char *kwnames
[] = {
21794 (char *) "self",(char *) "n", NULL
21797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21800 arg2
= (int) SWIG_AsInt(obj1
);
21801 if (PyErr_Occurred()) SWIG_fail
;
21803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21805 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21806 result
= (wxTimeSpan
*) &_result_ref
;
21809 wxPyEndAllowThreads(__tstate
);
21810 if (PyErr_Occurred()) SWIG_fail
;
21812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21819 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21820 PyObject
*resultobj
;
21821 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21822 wxTimeSpan
*result
;
21823 PyObject
* obj0
= 0 ;
21824 char *kwnames
[] = {
21825 (char *) "self", NULL
21828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21835 result
= (wxTimeSpan
*) &_result_ref
;
21838 wxPyEndAllowThreads(__tstate
);
21839 if (PyErr_Occurred()) SWIG_fail
;
21841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21848 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21849 PyObject
*resultobj
;
21850 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21851 wxTimeSpan
*arg2
= 0 ;
21853 PyObject
* obj0
= 0 ;
21854 PyObject
* obj1
= 0 ;
21855 char *kwnames
[] = {
21856 (char *) "self",(char *) "other", NULL
21859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21862 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21863 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21865 if (arg2
== NULL
) {
21866 PyErr_SetString(PyExc_TypeError
,"null reference");
21870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21871 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21877 wxTimeSpan
* resultptr
;
21878 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21879 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21887 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21888 PyObject
*resultobj
;
21889 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21890 wxTimeSpan
*arg2
= 0 ;
21892 PyObject
* obj0
= 0 ;
21893 PyObject
* obj1
= 0 ;
21894 char *kwnames
[] = {
21895 (char *) "self",(char *) "other", NULL
21898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21901 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21902 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21904 if (arg2
== NULL
) {
21905 PyErr_SetString(PyExc_TypeError
,"null reference");
21909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21910 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21912 wxPyEndAllowThreads(__tstate
);
21913 if (PyErr_Occurred()) SWIG_fail
;
21916 wxTimeSpan
* resultptr
;
21917 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21918 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21926 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21927 PyObject
*resultobj
;
21928 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21931 PyObject
* obj0
= 0 ;
21932 PyObject
* obj1
= 0 ;
21933 char *kwnames
[] = {
21934 (char *) "self",(char *) "n", NULL
21937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21940 arg2
= (int) SWIG_AsInt(obj1
);
21941 if (PyErr_Occurred()) SWIG_fail
;
21943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21944 result
= wxTimeSpan___mul__(arg1
,arg2
);
21946 wxPyEndAllowThreads(__tstate
);
21947 if (PyErr_Occurred()) SWIG_fail
;
21950 wxTimeSpan
* resultptr
;
21951 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21960 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21961 PyObject
*resultobj
;
21962 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21965 PyObject
* obj0
= 0 ;
21966 PyObject
* obj1
= 0 ;
21967 char *kwnames
[] = {
21968 (char *) "self",(char *) "n", NULL
21971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21974 arg2
= (int) SWIG_AsInt(obj1
);
21975 if (PyErr_Occurred()) SWIG_fail
;
21977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21978 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21980 wxPyEndAllowThreads(__tstate
);
21981 if (PyErr_Occurred()) SWIG_fail
;
21984 wxTimeSpan
* resultptr
;
21985 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21986 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21994 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21995 PyObject
*resultobj
;
21996 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21997 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21999 PyObject
* obj0
= 0 ;
22000 PyObject
* obj1
= 0 ;
22001 char *kwnames
[] = {
22002 (char *) "self",(char *) "other", NULL
22005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22012 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22014 wxPyEndAllowThreads(__tstate
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22026 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22027 PyObject
*resultobj
;
22028 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22029 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22031 PyObject
* obj0
= 0 ;
22032 PyObject
* obj1
= 0 ;
22033 char *kwnames
[] = {
22034 (char *) "self",(char *) "other", NULL
22037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22044 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22058 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22059 PyObject
*resultobj
;
22060 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22061 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22063 PyObject
* obj0
= 0 ;
22064 PyObject
* obj1
= 0 ;
22065 char *kwnames
[] = {
22066 (char *) "self",(char *) "other", NULL
22069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22072 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22078 wxPyEndAllowThreads(__tstate
);
22079 if (PyErr_Occurred()) SWIG_fail
;
22082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22090 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22091 PyObject
*resultobj
;
22092 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22093 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22095 PyObject
* obj0
= 0 ;
22096 PyObject
* obj1
= 0 ;
22097 char *kwnames
[] = {
22098 (char *) "self",(char *) "other", NULL
22101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22104 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22108 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22110 wxPyEndAllowThreads(__tstate
);
22111 if (PyErr_Occurred()) SWIG_fail
;
22114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22122 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22123 PyObject
*resultobj
;
22124 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22125 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22127 PyObject
* obj0
= 0 ;
22128 PyObject
* obj1
= 0 ;
22129 char *kwnames
[] = {
22130 (char *) "self",(char *) "other", NULL
22133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22136 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22140 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22142 wxPyEndAllowThreads(__tstate
);
22143 if (PyErr_Occurred()) SWIG_fail
;
22146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22154 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22155 PyObject
*resultobj
;
22156 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22157 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22159 PyObject
* obj0
= 0 ;
22160 PyObject
* obj1
= 0 ;
22161 char *kwnames
[] = {
22162 (char *) "self",(char *) "other", NULL
22165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22172 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22174 wxPyEndAllowThreads(__tstate
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22186 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22187 PyObject
*resultobj
;
22188 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22190 PyObject
* obj0
= 0 ;
22191 char *kwnames
[] = {
22192 (char *) "self", NULL
22195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22200 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22202 wxPyEndAllowThreads(__tstate
);
22203 if (PyErr_Occurred()) SWIG_fail
;
22206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22214 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22215 PyObject
*resultobj
;
22216 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22218 PyObject
* obj0
= 0 ;
22219 char *kwnames
[] = {
22220 (char *) "self", NULL
22223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22228 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22230 wxPyEndAllowThreads(__tstate
);
22231 if (PyErr_Occurred()) SWIG_fail
;
22234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22242 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22243 PyObject
*resultobj
;
22244 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22246 PyObject
* obj0
= 0 ;
22247 char *kwnames
[] = {
22248 (char *) "self", NULL
22251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22256 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22258 wxPyEndAllowThreads(__tstate
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22270 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22271 PyObject
*resultobj
;
22272 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22273 wxTimeSpan
*arg2
= 0 ;
22275 PyObject
* obj0
= 0 ;
22276 PyObject
* obj1
= 0 ;
22277 char *kwnames
[] = {
22278 (char *) "self",(char *) "ts", NULL
22281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22284 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22285 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22287 if (arg2
== NULL
) {
22288 PyErr_SetString(PyExc_TypeError
,"null reference");
22292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22293 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22295 wxPyEndAllowThreads(__tstate
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22307 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22308 PyObject
*resultobj
;
22309 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22310 wxTimeSpan
*arg2
= 0 ;
22312 PyObject
* obj0
= 0 ;
22313 PyObject
* obj1
= 0 ;
22314 char *kwnames
[] = {
22315 (char *) "self",(char *) "ts", NULL
22318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22322 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22324 if (arg2
== NULL
) {
22325 PyErr_SetString(PyExc_TypeError
,"null reference");
22329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22330 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22344 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22345 PyObject
*resultobj
;
22346 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22347 wxTimeSpan
*arg2
= 0 ;
22349 PyObject
* obj0
= 0 ;
22350 PyObject
* obj1
= 0 ;
22351 char *kwnames
[] = {
22352 (char *) "self",(char *) "t", NULL
22355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22358 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22359 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22361 if (arg2
== NULL
) {
22362 PyErr_SetString(PyExc_TypeError
,"null reference");
22366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22367 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22369 wxPyEndAllowThreads(__tstate
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22381 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22382 PyObject
*resultobj
;
22383 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22385 PyObject
* obj0
= 0 ;
22386 char *kwnames
[] = {
22387 (char *) "self", NULL
22390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22395 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22397 wxPyEndAllowThreads(__tstate
);
22398 if (PyErr_Occurred()) SWIG_fail
;
22400 resultobj
= SWIG_FromInt((int)result
);
22407 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22408 PyObject
*resultobj
;
22409 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22411 PyObject
* obj0
= 0 ;
22412 char *kwnames
[] = {
22413 (char *) "self", NULL
22416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22421 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22423 wxPyEndAllowThreads(__tstate
);
22424 if (PyErr_Occurred()) SWIG_fail
;
22426 resultobj
= SWIG_FromInt((int)result
);
22433 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22434 PyObject
*resultobj
;
22435 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22437 PyObject
* obj0
= 0 ;
22438 char *kwnames
[] = {
22439 (char *) "self", NULL
22442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22447 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22449 wxPyEndAllowThreads(__tstate
);
22450 if (PyErr_Occurred()) SWIG_fail
;
22452 resultobj
= SWIG_FromInt((int)result
);
22459 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22460 PyObject
*resultobj
;
22461 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22463 PyObject
* obj0
= 0 ;
22464 char *kwnames
[] = {
22465 (char *) "self", NULL
22468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22473 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22475 wxPyEndAllowThreads(__tstate
);
22476 if (PyErr_Occurred()) SWIG_fail
;
22478 resultobj
= SWIG_FromInt((int)result
);
22485 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22486 PyObject
*resultobj
;
22487 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22489 PyObject
* obj0
= 0 ;
22490 char *kwnames
[] = {
22491 (char *) "self", NULL
22494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22499 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22501 wxPyEndAllowThreads(__tstate
);
22502 if (PyErr_Occurred()) SWIG_fail
;
22505 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22506 hi
= PyLong_FromLong( (&result
)->GetHi() );
22507 lo
= PyLong_FromLong( (&result
)->GetLo() );
22508 shifter
= PyLong_FromLong(32);
22509 shifted
= PyNumber_Lshift(hi
, shifter
);
22510 resultobj
= PyNumber_Or(shifted
, lo
);
22513 Py_DECREF(shifter
);
22514 Py_DECREF(shifted
);
22522 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22523 PyObject
*resultobj
;
22524 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22526 PyObject
* obj0
= 0 ;
22527 char *kwnames
[] = {
22528 (char *) "self", NULL
22531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22536 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22538 wxPyEndAllowThreads(__tstate
);
22539 if (PyErr_Occurred()) SWIG_fail
;
22542 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22543 hi
= PyLong_FromLong( (&result
)->GetHi() );
22544 lo
= PyLong_FromLong( (&result
)->GetLo() );
22545 shifter
= PyLong_FromLong(32);
22546 shifted
= PyNumber_Lshift(hi
, shifter
);
22547 resultobj
= PyNumber_Or(shifted
, lo
);
22550 Py_DECREF(shifter
);
22551 Py_DECREF(shifted
);
22559 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22560 PyObject
*resultobj
;
22561 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22562 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22563 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22565 bool temp2
= False
;
22566 PyObject
* obj0
= 0 ;
22567 PyObject
* obj1
= 0 ;
22568 char *kwnames
[] = {
22569 (char *) "self",(char *) "format", NULL
22572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22577 arg2
= wxString_in_helper(obj1
);
22578 if (arg2
== NULL
) SWIG_fail
;
22583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22584 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22586 wxPyEndAllowThreads(__tstate
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22610 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
22612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22613 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22615 return Py_BuildValue((char *)"");
22617 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22618 PyObject
*resultobj
;
22619 int arg1
= (int) 0 ;
22620 int arg2
= (int) 0 ;
22621 int arg3
= (int) 0 ;
22622 int arg4
= (int) 0 ;
22623 wxDateSpan
*result
;
22624 PyObject
* obj0
= 0 ;
22625 PyObject
* obj1
= 0 ;
22626 PyObject
* obj2
= 0 ;
22627 PyObject
* obj3
= 0 ;
22628 char *kwnames
[] = {
22629 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22634 arg1
= (int) SWIG_AsInt(obj0
);
22635 if (PyErr_Occurred()) SWIG_fail
;
22638 arg2
= (int) SWIG_AsInt(obj1
);
22639 if (PyErr_Occurred()) SWIG_fail
;
22642 arg3
= (int) SWIG_AsInt(obj2
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22646 arg4
= (int) SWIG_AsInt(obj3
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22651 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22653 wxPyEndAllowThreads(__tstate
);
22654 if (PyErr_Occurred()) SWIG_fail
;
22656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22663 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22664 PyObject
*resultobj
;
22665 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22666 PyObject
* obj0
= 0 ;
22667 char *kwnames
[] = {
22668 (char *) "self", NULL
22671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22678 wxPyEndAllowThreads(__tstate
);
22679 if (PyErr_Occurred()) SWIG_fail
;
22681 Py_INCREF(Py_None
); resultobj
= Py_None
;
22688 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22689 PyObject
*resultobj
;
22692 PyObject
* obj0
= 0 ;
22693 char *kwnames
[] = {
22694 (char *) "days", NULL
22697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22698 arg1
= (int) SWIG_AsInt(obj0
);
22699 if (PyErr_Occurred()) SWIG_fail
;
22701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22702 result
= wxDateSpan::Days(arg1
);
22704 wxPyEndAllowThreads(__tstate
);
22705 if (PyErr_Occurred()) SWIG_fail
;
22708 wxDateSpan
* resultptr
;
22709 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22710 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22718 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22719 PyObject
*resultobj
;
22721 char *kwnames
[] = {
22725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22728 result
= wxDateSpan::Day();
22730 wxPyEndAllowThreads(__tstate
);
22731 if (PyErr_Occurred()) SWIG_fail
;
22734 wxDateSpan
* resultptr
;
22735 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22736 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22744 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22745 PyObject
*resultobj
;
22748 PyObject
* obj0
= 0 ;
22749 char *kwnames
[] = {
22750 (char *) "weeks", NULL
22753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22754 arg1
= (int) SWIG_AsInt(obj0
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22758 result
= wxDateSpan::Weeks(arg1
);
22760 wxPyEndAllowThreads(__tstate
);
22761 if (PyErr_Occurred()) SWIG_fail
;
22764 wxDateSpan
* resultptr
;
22765 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22766 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22774 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22775 PyObject
*resultobj
;
22777 char *kwnames
[] = {
22781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22784 result
= wxDateSpan::Week();
22786 wxPyEndAllowThreads(__tstate
);
22787 if (PyErr_Occurred()) SWIG_fail
;
22790 wxDateSpan
* resultptr
;
22791 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22800 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22801 PyObject
*resultobj
;
22804 PyObject
* obj0
= 0 ;
22805 char *kwnames
[] = {
22806 (char *) "mon", NULL
22809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22810 arg1
= (int) SWIG_AsInt(obj0
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22814 result
= wxDateSpan::Months(arg1
);
22816 wxPyEndAllowThreads(__tstate
);
22817 if (PyErr_Occurred()) SWIG_fail
;
22820 wxDateSpan
* resultptr
;
22821 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22830 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22831 PyObject
*resultobj
;
22833 char *kwnames
[] = {
22837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22840 result
= wxDateSpan::Month();
22842 wxPyEndAllowThreads(__tstate
);
22843 if (PyErr_Occurred()) SWIG_fail
;
22846 wxDateSpan
* resultptr
;
22847 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22856 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22857 PyObject
*resultobj
;
22860 PyObject
* obj0
= 0 ;
22861 char *kwnames
[] = {
22862 (char *) "years", NULL
22865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22866 arg1
= (int) SWIG_AsInt(obj0
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22870 result
= wxDateSpan::Years(arg1
);
22872 wxPyEndAllowThreads(__tstate
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22876 wxDateSpan
* resultptr
;
22877 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22878 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22886 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22887 PyObject
*resultobj
;
22889 char *kwnames
[] = {
22893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22896 result
= wxDateSpan::Year();
22898 wxPyEndAllowThreads(__tstate
);
22899 if (PyErr_Occurred()) SWIG_fail
;
22902 wxDateSpan
* resultptr
;
22903 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22912 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22913 PyObject
*resultobj
;
22914 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22916 wxDateSpan
*result
;
22917 PyObject
* obj0
= 0 ;
22918 PyObject
* obj1
= 0 ;
22919 char *kwnames
[] = {
22920 (char *) "self",(char *) "n", NULL
22923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22926 arg2
= (int) SWIG_AsInt(obj1
);
22927 if (PyErr_Occurred()) SWIG_fail
;
22929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22931 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22932 result
= (wxDateSpan
*) &_result_ref
;
22935 wxPyEndAllowThreads(__tstate
);
22936 if (PyErr_Occurred()) SWIG_fail
;
22938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22945 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22946 PyObject
*resultobj
;
22947 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22949 wxDateSpan
*result
;
22950 PyObject
* obj0
= 0 ;
22951 PyObject
* obj1
= 0 ;
22952 char *kwnames
[] = {
22953 (char *) "self",(char *) "n", NULL
22956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22959 arg2
= (int) SWIG_AsInt(obj1
);
22960 if (PyErr_Occurred()) SWIG_fail
;
22962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22964 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22965 result
= (wxDateSpan
*) &_result_ref
;
22968 wxPyEndAllowThreads(__tstate
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22978 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22979 PyObject
*resultobj
;
22980 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22982 wxDateSpan
*result
;
22983 PyObject
* obj0
= 0 ;
22984 PyObject
* obj1
= 0 ;
22985 char *kwnames
[] = {
22986 (char *) "self",(char *) "n", NULL
22989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
22990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22992 arg2
= (int) SWIG_AsInt(obj1
);
22993 if (PyErr_Occurred()) SWIG_fail
;
22995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22997 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
22998 result
= (wxDateSpan
*) &_result_ref
;
23001 wxPyEndAllowThreads(__tstate
);
23002 if (PyErr_Occurred()) SWIG_fail
;
23004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23011 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23012 PyObject
*resultobj
;
23013 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23015 wxDateSpan
*result
;
23016 PyObject
* obj0
= 0 ;
23017 PyObject
* obj1
= 0 ;
23018 char *kwnames
[] = {
23019 (char *) "self",(char *) "n", NULL
23022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23025 arg2
= (int) SWIG_AsInt(obj1
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23030 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23031 result
= (wxDateSpan
*) &_result_ref
;
23034 wxPyEndAllowThreads(__tstate
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23044 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23045 PyObject
*resultobj
;
23046 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23048 PyObject
* obj0
= 0 ;
23049 char *kwnames
[] = {
23050 (char *) "self", NULL
23053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23058 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23060 wxPyEndAllowThreads(__tstate
);
23061 if (PyErr_Occurred()) SWIG_fail
;
23063 resultobj
= SWIG_FromInt((int)result
);
23070 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23071 PyObject
*resultobj
;
23072 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23074 PyObject
* obj0
= 0 ;
23075 char *kwnames
[] = {
23076 (char *) "self", NULL
23079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23084 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23086 wxPyEndAllowThreads(__tstate
);
23087 if (PyErr_Occurred()) SWIG_fail
;
23089 resultobj
= SWIG_FromInt((int)result
);
23096 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23097 PyObject
*resultobj
;
23098 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23100 PyObject
* obj0
= 0 ;
23101 char *kwnames
[] = {
23102 (char *) "self", NULL
23105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23110 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23112 wxPyEndAllowThreads(__tstate
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23115 resultobj
= SWIG_FromInt((int)result
);
23122 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23123 PyObject
*resultobj
;
23124 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23126 PyObject
* obj0
= 0 ;
23127 char *kwnames
[] = {
23128 (char *) "self", NULL
23131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23136 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23138 wxPyEndAllowThreads(__tstate
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23141 resultobj
= SWIG_FromInt((int)result
);
23148 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23149 PyObject
*resultobj
;
23150 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23152 PyObject
* obj0
= 0 ;
23153 char *kwnames
[] = {
23154 (char *) "self", NULL
23157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23162 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23164 wxPyEndAllowThreads(__tstate
);
23165 if (PyErr_Occurred()) SWIG_fail
;
23167 resultobj
= SWIG_FromInt((int)result
);
23174 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23175 PyObject
*resultobj
;
23176 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23177 wxDateSpan
*arg2
= 0 ;
23178 wxDateSpan
*result
;
23179 PyObject
* obj0
= 0 ;
23180 PyObject
* obj1
= 0 ;
23181 char *kwnames
[] = {
23182 (char *) "self",(char *) "other", NULL
23185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23188 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23189 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23191 if (arg2
== NULL
) {
23192 PyErr_SetString(PyExc_TypeError
,"null reference");
23196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23198 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23199 result
= (wxDateSpan
*) &_result_ref
;
23202 wxPyEndAllowThreads(__tstate
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23212 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23213 PyObject
*resultobj
;
23214 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23215 wxDateSpan
*arg2
= 0 ;
23216 wxDateSpan
*result
;
23217 PyObject
* obj0
= 0 ;
23218 PyObject
* obj1
= 0 ;
23219 char *kwnames
[] = {
23220 (char *) "self",(char *) "other", NULL
23223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23226 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23227 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23229 if (arg2
== NULL
) {
23230 PyErr_SetString(PyExc_TypeError
,"null reference");
23234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23236 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23237 result
= (wxDateSpan
*) &_result_ref
;
23240 wxPyEndAllowThreads(__tstate
);
23241 if (PyErr_Occurred()) SWIG_fail
;
23243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23250 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23251 PyObject
*resultobj
;
23252 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23253 wxDateSpan
*result
;
23254 PyObject
* obj0
= 0 ;
23255 char *kwnames
[] = {
23256 (char *) "self", NULL
23259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23265 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23266 result
= (wxDateSpan
*) &_result_ref
;
23269 wxPyEndAllowThreads(__tstate
);
23270 if (PyErr_Occurred()) SWIG_fail
;
23272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23279 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23280 PyObject
*resultobj
;
23281 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23283 wxDateSpan
*result
;
23284 PyObject
* obj0
= 0 ;
23285 PyObject
* obj1
= 0 ;
23286 char *kwnames
[] = {
23287 (char *) "self",(char *) "factor", NULL
23290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23293 arg2
= (int) SWIG_AsInt(obj1
);
23294 if (PyErr_Occurred()) SWIG_fail
;
23296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23298 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23299 result
= (wxDateSpan
*) &_result_ref
;
23302 wxPyEndAllowThreads(__tstate
);
23303 if (PyErr_Occurred()) SWIG_fail
;
23305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23312 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23313 PyObject
*resultobj
;
23314 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23315 wxDateSpan
*arg2
= 0 ;
23316 wxDateSpan
*result
;
23317 PyObject
* obj0
= 0 ;
23318 PyObject
* obj1
= 0 ;
23319 char *kwnames
[] = {
23320 (char *) "self",(char *) "other", NULL
23323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23327 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23329 if (arg2
== NULL
) {
23330 PyErr_SetString(PyExc_TypeError
,"null reference");
23334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23336 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23337 result
= (wxDateSpan
*) &_result_ref
;
23340 wxPyEndAllowThreads(__tstate
);
23341 if (PyErr_Occurred()) SWIG_fail
;
23343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23350 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23351 PyObject
*resultobj
;
23352 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23353 wxDateSpan
*arg2
= 0 ;
23354 wxDateSpan
*result
;
23355 PyObject
* obj0
= 0 ;
23356 PyObject
* obj1
= 0 ;
23357 char *kwnames
[] = {
23358 (char *) "self",(char *) "other", NULL
23361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23365 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23367 if (arg2
== NULL
) {
23368 PyErr_SetString(PyExc_TypeError
,"null reference");
23372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23374 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23375 result
= (wxDateSpan
*) &_result_ref
;
23378 wxPyEndAllowThreads(__tstate
);
23379 if (PyErr_Occurred()) SWIG_fail
;
23381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23388 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23389 PyObject
*resultobj
;
23390 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23391 wxDateSpan
*result
;
23392 PyObject
* obj0
= 0 ;
23393 char *kwnames
[] = {
23394 (char *) "self", NULL
23397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23403 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23404 result
= (wxDateSpan
*) &_result_ref
;
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23417 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23418 PyObject
*resultobj
;
23419 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23421 wxDateSpan
*result
;
23422 PyObject
* obj0
= 0 ;
23423 PyObject
* obj1
= 0 ;
23424 char *kwnames
[] = {
23425 (char *) "self",(char *) "factor", NULL
23428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23431 arg2
= (int) SWIG_AsInt(obj1
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23436 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23437 result
= (wxDateSpan
*) &_result_ref
;
23440 wxPyEndAllowThreads(__tstate
);
23441 if (PyErr_Occurred()) SWIG_fail
;
23443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23450 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23451 PyObject
*resultobj
;
23452 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23453 wxDateSpan
*arg2
= 0 ;
23455 PyObject
* obj0
= 0 ;
23456 PyObject
* obj1
= 0 ;
23457 char *kwnames
[] = {
23458 (char *) "self",(char *) "other", NULL
23461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23465 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23467 if (arg2
== NULL
) {
23468 PyErr_SetString(PyExc_TypeError
,"null reference");
23472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23473 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23475 wxPyEndAllowThreads(__tstate
);
23476 if (PyErr_Occurred()) SWIG_fail
;
23479 wxDateSpan
* resultptr
;
23480 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23481 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23489 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23490 PyObject
*resultobj
;
23491 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23492 wxDateSpan
*arg2
= 0 ;
23494 PyObject
* obj0
= 0 ;
23495 PyObject
* obj1
= 0 ;
23496 char *kwnames
[] = {
23497 (char *) "self",(char *) "other", NULL
23500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23504 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23506 if (arg2
== NULL
) {
23507 PyErr_SetString(PyExc_TypeError
,"null reference");
23511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23512 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23514 wxPyEndAllowThreads(__tstate
);
23515 if (PyErr_Occurred()) SWIG_fail
;
23518 wxDateSpan
* resultptr
;
23519 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23520 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23528 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23529 PyObject
*resultobj
;
23530 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23533 PyObject
* obj0
= 0 ;
23534 PyObject
* obj1
= 0 ;
23535 char *kwnames
[] = {
23536 (char *) "self",(char *) "n", NULL
23539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23542 arg2
= (int) SWIG_AsInt(obj1
);
23543 if (PyErr_Occurred()) SWIG_fail
;
23545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23546 result
= wxDateSpan___mul__(arg1
,arg2
);
23548 wxPyEndAllowThreads(__tstate
);
23549 if (PyErr_Occurred()) SWIG_fail
;
23552 wxDateSpan
* resultptr
;
23553 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23554 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23562 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23563 PyObject
*resultobj
;
23564 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23567 PyObject
* obj0
= 0 ;
23568 PyObject
* obj1
= 0 ;
23569 char *kwnames
[] = {
23570 (char *) "self",(char *) "n", NULL
23573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23576 arg2
= (int) SWIG_AsInt(obj1
);
23577 if (PyErr_Occurred()) SWIG_fail
;
23579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 result
= wxDateSpan___rmul__(arg1
,arg2
);
23582 wxPyEndAllowThreads(__tstate
);
23583 if (PyErr_Occurred()) SWIG_fail
;
23586 wxDateSpan
* resultptr
;
23587 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23596 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23597 PyObject
*resultobj
;
23598 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23599 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23601 PyObject
* obj0
= 0 ;
23602 PyObject
* obj1
= 0 ;
23603 char *kwnames
[] = {
23604 (char *) "self",(char *) "other", NULL
23607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23614 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23616 wxPyEndAllowThreads(__tstate
);
23617 if (PyErr_Occurred()) SWIG_fail
;
23620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23628 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23629 PyObject
*resultobj
;
23630 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23631 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23633 PyObject
* obj0
= 0 ;
23634 PyObject
* obj1
= 0 ;
23635 char *kwnames
[] = {
23636 (char *) "self",(char *) "other", NULL
23639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23642 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23646 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23648 wxPyEndAllowThreads(__tstate
);
23649 if (PyErr_Occurred()) SWIG_fail
;
23652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23660 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
23662 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23663 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23665 return Py_BuildValue((char *)"");
23667 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23668 PyObject
*resultobj
;
23670 char *kwnames
[] = {
23674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23677 result
= (long)wxGetLocalTime();
23679 wxPyEndAllowThreads(__tstate
);
23680 if (PyErr_Occurred()) SWIG_fail
;
23682 resultobj
= SWIG_FromLong((long)result
);
23689 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23690 PyObject
*resultobj
;
23692 char *kwnames
[] = {
23696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23699 result
= (long)wxGetUTCTime();
23701 wxPyEndAllowThreads(__tstate
);
23702 if (PyErr_Occurred()) SWIG_fail
;
23704 resultobj
= SWIG_FromLong((long)result
);
23711 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23712 PyObject
*resultobj
;
23714 char *kwnames
[] = {
23718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23721 result
= (long)wxGetCurrentTime();
23723 wxPyEndAllowThreads(__tstate
);
23724 if (PyErr_Occurred()) SWIG_fail
;
23726 resultobj
= SWIG_FromLong((long)result
);
23733 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23734 PyObject
*resultobj
;
23736 char *kwnames
[] = {
23740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23743 result
= wxGetLocalTimeMillis();
23745 wxPyEndAllowThreads(__tstate
);
23746 if (PyErr_Occurred()) SWIG_fail
;
23749 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23750 hi
= PyLong_FromLong( (&result
)->GetHi() );
23751 lo
= PyLong_FromLong( (&result
)->GetLo() );
23752 shifter
= PyLong_FromLong(32);
23753 shifted
= PyNumber_Lshift(hi
, shifter
);
23754 resultobj
= PyNumber_Or(shifted
, lo
);
23757 Py_DECREF(shifter
);
23758 Py_DECREF(shifted
);
23766 static int _wrap_DefaultDateTime_set(PyObject
*) {
23767 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23772 static PyObject
*_wrap_DefaultDateTime_get() {
23775 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23780 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23781 PyObject
*resultobj
;
23783 wxDataFormat
*result
;
23784 PyObject
* obj0
= 0 ;
23785 char *kwnames
[] = {
23786 (char *) "type", NULL
23789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23790 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23794 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23796 wxPyEndAllowThreads(__tstate
);
23797 if (PyErr_Occurred()) SWIG_fail
;
23799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23806 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23807 PyObject
*resultobj
;
23808 wxString
*arg1
= 0 ;
23809 wxDataFormat
*result
;
23810 bool temp1
= False
;
23811 PyObject
* obj0
= 0 ;
23812 char *kwnames
[] = {
23813 (char *) "format", NULL
23816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23818 arg1
= wxString_in_helper(obj0
);
23819 if (arg1
== NULL
) SWIG_fail
;
23823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23824 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23826 wxPyEndAllowThreads(__tstate
);
23827 if (PyErr_Occurred()) SWIG_fail
;
23829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23844 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23845 PyObject
*resultobj
;
23846 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23847 PyObject
* obj0
= 0 ;
23848 char *kwnames
[] = {
23849 (char *) "self", NULL
23852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23859 wxPyEndAllowThreads(__tstate
);
23860 if (PyErr_Occurred()) SWIG_fail
;
23862 Py_INCREF(Py_None
); resultobj
= Py_None
;
23869 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
23870 PyObject
*resultobj
;
23871 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23874 PyObject
* obj0
= 0 ;
23875 PyObject
* obj1
= 0 ;
23877 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23880 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23884 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23886 wxPyEndAllowThreads(__tstate
);
23887 if (PyErr_Occurred()) SWIG_fail
;
23890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23898 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
23899 PyObject
*resultobj
;
23900 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23903 PyObject
* obj0
= 0 ;
23904 PyObject
* obj1
= 0 ;
23906 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23909 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23910 if (PyErr_Occurred()) SWIG_fail
;
23912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23913 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23915 wxPyEndAllowThreads(__tstate
);
23916 if (PyErr_Occurred()) SWIG_fail
;
23919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23927 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
23928 PyObject
*resultobj
;
23929 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23930 wxDataFormat
*arg2
= 0 ;
23932 PyObject
* obj0
= 0 ;
23933 PyObject
* obj1
= 0 ;
23935 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23939 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23941 if (arg2
== NULL
) {
23942 PyErr_SetString(PyExc_TypeError
,"null reference");
23946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23947 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23949 wxPyEndAllowThreads(__tstate
);
23950 if (PyErr_Occurred()) SWIG_fail
;
23953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23961 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23966 argc
= PyObject_Length(args
);
23967 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23968 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23974 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23984 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23992 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24000 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24008 _v
= SWIG_CheckInt(argv
[1]);
24010 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24015 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24020 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
24021 PyObject
*resultobj
;
24022 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24023 wxDataFormat
*arg2
= 0 ;
24025 PyObject
* obj0
= 0 ;
24026 PyObject
* obj1
= 0 ;
24028 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24031 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24032 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24034 if (arg2
== NULL
) {
24035 PyErr_SetString(PyExc_TypeError
,"null reference");
24039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24040 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24042 wxPyEndAllowThreads(__tstate
);
24043 if (PyErr_Occurred()) SWIG_fail
;
24046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24054 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24059 argc
= PyObject_Length(args
);
24060 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24061 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24067 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24077 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24085 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24093 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24101 _v
= SWIG_CheckInt(argv
[1]);
24103 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24108 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24113 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24114 PyObject
*resultobj
;
24115 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24117 PyObject
* obj0
= 0 ;
24118 PyObject
* obj1
= 0 ;
24119 char *kwnames
[] = {
24120 (char *) "self",(char *) "format", NULL
24123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24126 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24127 if (PyErr_Occurred()) SWIG_fail
;
24129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24130 (arg1
)->SetType((wxDataFormatId
)arg2
);
24132 wxPyEndAllowThreads(__tstate
);
24133 if (PyErr_Occurred()) SWIG_fail
;
24135 Py_INCREF(Py_None
); resultobj
= Py_None
;
24142 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24143 PyObject
*resultobj
;
24144 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24146 PyObject
* obj0
= 0 ;
24147 char *kwnames
[] = {
24148 (char *) "self", NULL
24151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24156 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24158 wxPyEndAllowThreads(__tstate
);
24159 if (PyErr_Occurred()) SWIG_fail
;
24161 resultobj
= SWIG_FromInt((int)result
);
24168 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24169 PyObject
*resultobj
;
24170 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24172 PyObject
* obj0
= 0 ;
24173 char *kwnames
[] = {
24174 (char *) "self", NULL
24177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24182 result
= ((wxDataFormat
const *)arg1
)->GetId();
24184 wxPyEndAllowThreads(__tstate
);
24185 if (PyErr_Occurred()) SWIG_fail
;
24189 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24191 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24200 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24201 PyObject
*resultobj
;
24202 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24203 wxString
*arg2
= 0 ;
24204 bool temp2
= False
;
24205 PyObject
* obj0
= 0 ;
24206 PyObject
* obj1
= 0 ;
24207 char *kwnames
[] = {
24208 (char *) "self",(char *) "format", NULL
24211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24215 arg2
= wxString_in_helper(obj1
);
24216 if (arg2
== NULL
) SWIG_fail
;
24220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24221 (arg1
)->SetId((wxString
const &)*arg2
);
24223 wxPyEndAllowThreads(__tstate
);
24224 if (PyErr_Occurred()) SWIG_fail
;
24226 Py_INCREF(Py_None
); resultobj
= Py_None
;
24241 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
24243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24244 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24246 return Py_BuildValue((char *)"");
24248 static int _wrap_FormatInvalid_set(PyObject
*) {
24249 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24254 static PyObject
*_wrap_FormatInvalid_get() {
24257 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24262 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24263 PyObject
*resultobj
;
24264 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24265 PyObject
* obj0
= 0 ;
24266 char *kwnames
[] = {
24267 (char *) "self", NULL
24270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24277 wxPyEndAllowThreads(__tstate
);
24278 if (PyErr_Occurred()) SWIG_fail
;
24280 Py_INCREF(Py_None
); resultobj
= Py_None
;
24287 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24288 PyObject
*resultobj
;
24289 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24290 int arg2
= (int) wxDataObject::Get
;
24291 SwigValueWrapper
< wxDataFormat
> result
;
24292 PyObject
* obj0
= 0 ;
24293 PyObject
* obj1
= 0 ;
24294 char *kwnames
[] = {
24295 (char *) "self",(char *) "dir", NULL
24298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24302 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24303 if (PyErr_Occurred()) SWIG_fail
;
24306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24307 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24309 wxPyEndAllowThreads(__tstate
);
24310 if (PyErr_Occurred()) SWIG_fail
;
24313 wxDataFormat
* resultptr
;
24314 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24323 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24324 PyObject
*resultobj
;
24325 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24326 int arg2
= (int) wxDataObject::Get
;
24328 PyObject
* obj0
= 0 ;
24329 PyObject
* obj1
= 0 ;
24330 char *kwnames
[] = {
24331 (char *) "self",(char *) "dir", NULL
24334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24338 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24339 if (PyErr_Occurred()) SWIG_fail
;
24342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24343 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24345 wxPyEndAllowThreads(__tstate
);
24346 if (PyErr_Occurred()) SWIG_fail
;
24348 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24355 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24356 PyObject
*resultobj
;
24357 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24358 wxDataFormat
*arg2
= 0 ;
24359 int arg3
= (int) wxDataObject::Get
;
24361 PyObject
* obj0
= 0 ;
24362 PyObject
* obj1
= 0 ;
24363 PyObject
* obj2
= 0 ;
24364 char *kwnames
[] = {
24365 (char *) "self",(char *) "format",(char *) "dir", NULL
24368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24371 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24372 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24374 if (arg2
== NULL
) {
24375 PyErr_SetString(PyExc_TypeError
,"null reference");
24379 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24384 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24386 wxPyEndAllowThreads(__tstate
);
24387 if (PyErr_Occurred()) SWIG_fail
;
24390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24398 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24399 PyObject
*resultobj
;
24400 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24401 wxDataFormat
*arg2
= 0 ;
24403 PyObject
* obj0
= 0 ;
24404 PyObject
* obj1
= 0 ;
24405 char *kwnames
[] = {
24406 (char *) "self",(char *) "format", NULL
24409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24412 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24413 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24415 if (arg2
== NULL
) {
24416 PyErr_SetString(PyExc_TypeError
,"null reference");
24420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24421 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24423 wxPyEndAllowThreads(__tstate
);
24424 if (PyErr_Occurred()) SWIG_fail
;
24426 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24433 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24434 PyObject
*resultobj
;
24435 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24436 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
24437 int arg3
= (int) wxDataObject::Get
;
24438 PyObject
* obj0
= 0 ;
24439 PyObject
* obj1
= 0 ;
24440 PyObject
* obj2
= 0 ;
24441 char *kwnames
[] = {
24442 (char *) "self",(char *) "formats",(char *) "dir", NULL
24445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24448 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24451 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24452 if (PyErr_Occurred()) SWIG_fail
;
24455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24456 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
24458 wxPyEndAllowThreads(__tstate
);
24459 if (PyErr_Occurred()) SWIG_fail
;
24461 Py_INCREF(Py_None
); resultobj
= Py_None
;
24468 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24469 PyObject
*resultobj
;
24470 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24471 wxDataFormat
*arg2
= 0 ;
24472 void *arg3
= (void *) 0 ;
24474 PyObject
* obj0
= 0 ;
24475 PyObject
* obj1
= 0 ;
24476 PyObject
* obj2
= 0 ;
24477 char *kwnames
[] = {
24478 (char *) "self",(char *) "format",(char *) "buf", NULL
24481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24485 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24487 if (arg2
== NULL
) {
24488 PyErr_SetString(PyExc_TypeError
,"null reference");
24491 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24494 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
24496 wxPyEndAllowThreads(__tstate
);
24497 if (PyErr_Occurred()) SWIG_fail
;
24500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24508 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24509 PyObject
*resultobj
;
24510 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24511 wxDataFormat
*arg2
= 0 ;
24513 void *arg4
= (void *) 0 ;
24515 PyObject
* obj0
= 0 ;
24516 PyObject
* obj1
= 0 ;
24517 PyObject
* obj2
= 0 ;
24518 PyObject
* obj3
= 0 ;
24519 char *kwnames
[] = {
24520 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24526 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24527 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24529 if (arg2
== NULL
) {
24530 PyErr_SetString(PyExc_TypeError
,"null reference");
24533 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24535 if ((SWIG_ConvertPtr(obj3
,&arg4
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24538 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
24540 wxPyEndAllowThreads(__tstate
);
24541 if (PyErr_Occurred()) SWIG_fail
;
24544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24552 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
24554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24555 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24557 return Py_BuildValue((char *)"");
24559 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24560 PyObject
*resultobj
;
24561 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24562 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24563 wxDataObjectSimple
*result
;
24564 PyObject
* obj0
= 0 ;
24565 char *kwnames
[] = {
24566 (char *) "format", NULL
24569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24572 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24574 if (arg1
== NULL
) {
24575 PyErr_SetString(PyExc_TypeError
,"null reference");
24580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24581 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24583 wxPyEndAllowThreads(__tstate
);
24584 if (PyErr_Occurred()) SWIG_fail
;
24586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24593 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24594 PyObject
*resultobj
;
24595 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24596 wxDataFormat
*result
;
24597 PyObject
* obj0
= 0 ;
24598 char *kwnames
[] = {
24599 (char *) "self", NULL
24602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24608 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24609 result
= (wxDataFormat
*) &_result_ref
;
24612 wxPyEndAllowThreads(__tstate
);
24613 if (PyErr_Occurred()) SWIG_fail
;
24615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24622 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24623 PyObject
*resultobj
;
24624 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24625 wxDataFormat
*arg2
= 0 ;
24626 PyObject
* obj0
= 0 ;
24627 PyObject
* obj1
= 0 ;
24628 char *kwnames
[] = {
24629 (char *) "self",(char *) "format", NULL
24632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24636 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24638 if (arg2
== NULL
) {
24639 PyErr_SetString(PyExc_TypeError
,"null reference");
24643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24644 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24646 wxPyEndAllowThreads(__tstate
);
24647 if (PyErr_Occurred()) SWIG_fail
;
24649 Py_INCREF(Py_None
); resultobj
= Py_None
;
24656 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
24658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24659 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24661 return Py_BuildValue((char *)"");
24663 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24664 PyObject
*resultobj
;
24665 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24666 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24667 wxPyDataObjectSimple
*result
;
24668 PyObject
* obj0
= 0 ;
24669 char *kwnames
[] = {
24670 (char *) "format", NULL
24673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24676 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24678 if (arg1
== NULL
) {
24679 PyErr_SetString(PyExc_TypeError
,"null reference");
24684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24685 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24687 wxPyEndAllowThreads(__tstate
);
24688 if (PyErr_Occurred()) SWIG_fail
;
24690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24697 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24698 PyObject
*resultobj
;
24699 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24700 PyObject
*arg2
= (PyObject
*) 0 ;
24701 PyObject
*arg3
= (PyObject
*) 0 ;
24702 PyObject
* obj0
= 0 ;
24703 PyObject
* obj1
= 0 ;
24704 PyObject
* obj2
= 0 ;
24705 char *kwnames
[] = {
24706 (char *) "self",(char *) "self",(char *) "_class", NULL
24709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24716 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24718 wxPyEndAllowThreads(__tstate
);
24719 if (PyErr_Occurred()) SWIG_fail
;
24721 Py_INCREF(Py_None
); resultobj
= Py_None
;
24728 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
24730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24731 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24733 return Py_BuildValue((char *)"");
24735 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24736 PyObject
*resultobj
;
24737 wxDataObjectComposite
*result
;
24738 char *kwnames
[] = {
24742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24745 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24747 wxPyEndAllowThreads(__tstate
);
24748 if (PyErr_Occurred()) SWIG_fail
;
24750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24757 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24758 PyObject
*resultobj
;
24759 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24760 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24761 int arg3
= (int) False
;
24762 PyObject
* obj0
= 0 ;
24763 PyObject
* obj1
= 0 ;
24764 PyObject
* obj2
= 0 ;
24765 char *kwnames
[] = {
24766 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24773 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24775 arg3
= (int) SWIG_AsInt(obj2
);
24776 if (PyErr_Occurred()) SWIG_fail
;
24779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24780 (arg1
)->Add(arg2
,arg3
);
24782 wxPyEndAllowThreads(__tstate
);
24783 if (PyErr_Occurred()) SWIG_fail
;
24785 Py_INCREF(Py_None
); resultobj
= Py_None
;
24792 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
24794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24795 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24797 return Py_BuildValue((char *)"");
24799 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24800 PyObject
*resultobj
;
24801 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24802 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24803 wxTextDataObject
*result
;
24804 bool temp1
= False
;
24805 PyObject
* obj0
= 0 ;
24806 char *kwnames
[] = {
24807 (char *) "text", NULL
24810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24813 arg1
= wxString_in_helper(obj0
);
24814 if (arg1
== NULL
) SWIG_fail
;
24819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24820 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24822 wxPyEndAllowThreads(__tstate
);
24823 if (PyErr_Occurred()) SWIG_fail
;
24825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24840 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24841 PyObject
*resultobj
;
24842 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24844 PyObject
* obj0
= 0 ;
24845 char *kwnames
[] = {
24846 (char *) "self", NULL
24849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24854 result
= (size_t)(arg1
)->GetTextLength();
24856 wxPyEndAllowThreads(__tstate
);
24857 if (PyErr_Occurred()) SWIG_fail
;
24859 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24866 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24867 PyObject
*resultobj
;
24868 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24870 PyObject
* obj0
= 0 ;
24871 char *kwnames
[] = {
24872 (char *) "self", NULL
24875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24880 result
= (arg1
)->GetText();
24882 wxPyEndAllowThreads(__tstate
);
24883 if (PyErr_Occurred()) SWIG_fail
;
24887 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24889 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24898 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24899 PyObject
*resultobj
;
24900 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24901 wxString
*arg2
= 0 ;
24902 bool temp2
= False
;
24903 PyObject
* obj0
= 0 ;
24904 PyObject
* obj1
= 0 ;
24905 char *kwnames
[] = {
24906 (char *) "self",(char *) "text", NULL
24909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24913 arg2
= wxString_in_helper(obj1
);
24914 if (arg2
== NULL
) SWIG_fail
;
24918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24919 (arg1
)->SetText((wxString
const &)*arg2
);
24921 wxPyEndAllowThreads(__tstate
);
24922 if (PyErr_Occurred()) SWIG_fail
;
24924 Py_INCREF(Py_None
); resultobj
= Py_None
;
24939 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
24941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24942 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
24944 return Py_BuildValue((char *)"");
24946 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24947 PyObject
*resultobj
;
24948 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24949 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24950 wxPyTextDataObject
*result
;
24951 bool temp1
= False
;
24952 PyObject
* obj0
= 0 ;
24953 char *kwnames
[] = {
24954 (char *) "text", NULL
24957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
24960 arg1
= wxString_in_helper(obj0
);
24961 if (arg1
== NULL
) SWIG_fail
;
24966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24967 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
24969 wxPyEndAllowThreads(__tstate
);
24970 if (PyErr_Occurred()) SWIG_fail
;
24972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
24987 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24988 PyObject
*resultobj
;
24989 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
24990 PyObject
*arg2
= (PyObject
*) 0 ;
24991 PyObject
*arg3
= (PyObject
*) 0 ;
24992 PyObject
* obj0
= 0 ;
24993 PyObject
* obj1
= 0 ;
24994 PyObject
* obj2
= 0 ;
24995 char *kwnames
[] = {
24996 (char *) "self",(char *) "self",(char *) "_class", NULL
24999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25006 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25008 wxPyEndAllowThreads(__tstate
);
25009 if (PyErr_Occurred()) SWIG_fail
;
25011 Py_INCREF(Py_None
); resultobj
= Py_None
;
25018 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25021 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25023 return Py_BuildValue((char *)"");
25025 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25026 PyObject
*resultobj
;
25027 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25028 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25029 wxBitmapDataObject
*result
;
25030 PyObject
* obj0
= 0 ;
25031 char *kwnames
[] = {
25032 (char *) "bitmap", NULL
25035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25038 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25040 if (arg1
== NULL
) {
25041 PyErr_SetString(PyExc_TypeError
,"null reference");
25046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25047 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25049 wxPyEndAllowThreads(__tstate
);
25050 if (PyErr_Occurred()) SWIG_fail
;
25052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25059 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25060 PyObject
*resultobj
;
25061 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25063 PyObject
* obj0
= 0 ;
25064 char *kwnames
[] = {
25065 (char *) "self", NULL
25068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25073 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25075 wxPyEndAllowThreads(__tstate
);
25076 if (PyErr_Occurred()) SWIG_fail
;
25079 wxBitmap
* resultptr
;
25080 resultptr
= new wxBitmap((wxBitmap
&) result
);
25081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25089 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25090 PyObject
*resultobj
;
25091 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25092 wxBitmap
*arg2
= 0 ;
25093 PyObject
* obj0
= 0 ;
25094 PyObject
* obj1
= 0 ;
25095 char *kwnames
[] = {
25096 (char *) "self",(char *) "bitmap", NULL
25099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25103 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25105 if (arg2
== NULL
) {
25106 PyErr_SetString(PyExc_TypeError
,"null reference");
25110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25111 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25113 wxPyEndAllowThreads(__tstate
);
25114 if (PyErr_Occurred()) SWIG_fail
;
25116 Py_INCREF(Py_None
); resultobj
= Py_None
;
25123 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25126 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25128 return Py_BuildValue((char *)"");
25130 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25131 PyObject
*resultobj
;
25132 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25133 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25134 wxPyBitmapDataObject
*result
;
25135 PyObject
* obj0
= 0 ;
25136 char *kwnames
[] = {
25137 (char *) "bitmap", NULL
25140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25143 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25145 if (arg1
== NULL
) {
25146 PyErr_SetString(PyExc_TypeError
,"null reference");
25151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25152 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25154 wxPyEndAllowThreads(__tstate
);
25155 if (PyErr_Occurred()) SWIG_fail
;
25157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25164 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25165 PyObject
*resultobj
;
25166 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25167 PyObject
*arg2
= (PyObject
*) 0 ;
25168 PyObject
*arg3
= (PyObject
*) 0 ;
25169 PyObject
* obj0
= 0 ;
25170 PyObject
* obj1
= 0 ;
25171 PyObject
* obj2
= 0 ;
25172 char *kwnames
[] = {
25173 (char *) "self",(char *) "self",(char *) "_class", NULL
25176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25183 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25185 wxPyEndAllowThreads(__tstate
);
25186 if (PyErr_Occurred()) SWIG_fail
;
25188 Py_INCREF(Py_None
); resultobj
= Py_None
;
25195 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25197 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25198 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25200 return Py_BuildValue((char *)"");
25202 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25203 PyObject
*resultobj
;
25204 wxFileDataObject
*result
;
25205 char *kwnames
[] = {
25209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25212 result
= (wxFileDataObject
*)new wxFileDataObject();
25214 wxPyEndAllowThreads(__tstate
);
25215 if (PyErr_Occurred()) SWIG_fail
;
25217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25224 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25225 PyObject
*resultobj
;
25226 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25227 wxArrayString
*result
;
25228 PyObject
* obj0
= 0 ;
25229 char *kwnames
[] = {
25230 (char *) "self", NULL
25233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25239 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25240 result
= (wxArrayString
*) &_result_ref
;
25243 wxPyEndAllowThreads(__tstate
);
25244 if (PyErr_Occurred()) SWIG_fail
;
25247 resultobj
= wxArrayString2PyList_helper(*result
);
25255 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25256 PyObject
*resultobj
;
25257 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25258 wxString
*arg2
= 0 ;
25259 bool temp2
= False
;
25260 PyObject
* obj0
= 0 ;
25261 PyObject
* obj1
= 0 ;
25262 char *kwnames
[] = {
25263 (char *) "self",(char *) "filename", NULL
25266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25270 arg2
= wxString_in_helper(obj1
);
25271 if (arg2
== NULL
) SWIG_fail
;
25275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25276 (arg1
)->AddFile((wxString
const &)*arg2
);
25278 wxPyEndAllowThreads(__tstate
);
25279 if (PyErr_Occurred()) SWIG_fail
;
25281 Py_INCREF(Py_None
); resultobj
= Py_None
;
25296 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
25298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25299 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25301 return Py_BuildValue((char *)"");
25303 static PyObject
*_wrap_new_CustomDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25304 PyObject
*resultobj
;
25305 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25306 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25307 wxCustomDataObject
*result
;
25308 PyObject
* obj0
= 0 ;
25309 char *kwnames
[] = {
25310 (char *) "format", NULL
25313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25316 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25318 if (arg1
== NULL
) {
25319 PyErr_SetString(PyExc_TypeError
,"null reference");
25324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25325 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25327 wxPyEndAllowThreads(__tstate
);
25328 if (PyErr_Occurred()) SWIG_fail
;
25330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25337 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25338 PyObject
*resultobj
;
25339 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25340 PyObject
*arg2
= (PyObject
*) 0 ;
25341 PyObject
* obj0
= 0 ;
25342 PyObject
* obj1
= 0 ;
25343 char *kwnames
[] = {
25344 (char *) "self",(char *) "data", NULL
25347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
25348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25353 wxCustomDataObject_TakeData(arg1
,arg2
);
25355 wxPyEndAllowThreads(__tstate
);
25356 if (PyErr_Occurred()) SWIG_fail
;
25358 Py_INCREF(Py_None
); resultobj
= Py_None
;
25365 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25366 PyObject
*resultobj
;
25367 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25368 PyObject
*arg2
= (PyObject
*) 0 ;
25370 PyObject
* obj0
= 0 ;
25371 PyObject
* obj1
= 0 ;
25372 char *kwnames
[] = {
25373 (char *) "self",(char *) "data", NULL
25376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25382 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25384 wxPyEndAllowThreads(__tstate
);
25385 if (PyErr_Occurred()) SWIG_fail
;
25388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25396 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25397 PyObject
*resultobj
;
25398 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25400 PyObject
* obj0
= 0 ;
25401 char *kwnames
[] = {
25402 (char *) "self", NULL
25405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25410 result
= (size_t)(arg1
)->GetSize();
25412 wxPyEndAllowThreads(__tstate
);
25413 if (PyErr_Occurred()) SWIG_fail
;
25415 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25422 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25423 PyObject
*resultobj
;
25424 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25426 PyObject
* obj0
= 0 ;
25427 char *kwnames
[] = {
25428 (char *) "self", NULL
25431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25436 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25438 wxPyEndAllowThreads(__tstate
);
25439 if (PyErr_Occurred()) SWIG_fail
;
25441 resultobj
= result
;
25448 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
25450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25451 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25453 return Py_BuildValue((char *)"");
25455 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25456 PyObject
*resultobj
;
25457 wxURLDataObject
*result
;
25458 char *kwnames
[] = {
25462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25465 result
= (wxURLDataObject
*)new wxURLDataObject();
25467 wxPyEndAllowThreads(__tstate
);
25468 if (PyErr_Occurred()) SWIG_fail
;
25470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25477 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25478 PyObject
*resultobj
;
25479 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25481 PyObject
* obj0
= 0 ;
25482 char *kwnames
[] = {
25483 (char *) "self", NULL
25486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25491 result
= (arg1
)->GetURL();
25493 wxPyEndAllowThreads(__tstate
);
25494 if (PyErr_Occurred()) SWIG_fail
;
25498 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25500 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25509 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25510 PyObject
*resultobj
;
25511 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25512 wxString
*arg2
= 0 ;
25513 bool temp2
= False
;
25514 PyObject
* obj0
= 0 ;
25515 PyObject
* obj1
= 0 ;
25516 char *kwnames
[] = {
25517 (char *) "self",(char *) "url", NULL
25520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25524 arg2
= wxString_in_helper(obj1
);
25525 if (arg2
== NULL
) SWIG_fail
;
25529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25530 (arg1
)->SetURL((wxString
const &)*arg2
);
25532 wxPyEndAllowThreads(__tstate
);
25533 if (PyErr_Occurred()) SWIG_fail
;
25535 Py_INCREF(Py_None
); resultobj
= Py_None
;
25550 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
25552 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25553 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25555 return Py_BuildValue((char *)"");
25557 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25558 PyObject
*resultobj
;
25559 wxMetafileDataObject
*result
;
25560 char *kwnames
[] = {
25564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25567 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25569 wxPyEndAllowThreads(__tstate
);
25570 if (PyErr_Occurred()) SWIG_fail
;
25572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25579 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25580 PyObject
*resultobj
;
25581 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25582 wxMetafile
*arg2
= 0 ;
25583 PyObject
* obj0
= 0 ;
25584 PyObject
* obj1
= 0 ;
25585 char *kwnames
[] = {
25586 (char *) "self",(char *) "metafile", NULL
25589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
25593 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25595 if (arg2
== NULL
) {
25596 PyErr_SetString(PyExc_TypeError
,"null reference");
25600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25601 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25603 wxPyEndAllowThreads(__tstate
);
25604 if (PyErr_Occurred()) SWIG_fail
;
25606 Py_INCREF(Py_None
); resultobj
= Py_None
;
25613 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25614 PyObject
*resultobj
;
25615 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25617 PyObject
* obj0
= 0 ;
25618 char *kwnames
[] = {
25619 (char *) "self", NULL
25622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25627 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25629 wxPyEndAllowThreads(__tstate
);
25630 if (PyErr_Occurred()) SWIG_fail
;
25633 wxMetafile
* resultptr
;
25634 resultptr
= new wxMetafile((wxMetafile
&) result
);
25635 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
25643 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
25645 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25646 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25648 return Py_BuildValue((char *)"");
25650 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25651 PyObject
*resultobj
;
25654 PyObject
* obj0
= 0 ;
25655 char *kwnames
[] = {
25656 (char *) "res", NULL
25659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25660 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25661 if (PyErr_Occurred()) SWIG_fail
;
25663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25664 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25666 wxPyEndAllowThreads(__tstate
);
25667 if (PyErr_Occurred()) SWIG_fail
;
25670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25678 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25679 PyObject
*resultobj
;
25680 wxWindow
*arg1
= (wxWindow
*) 0 ;
25681 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25682 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25683 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25684 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25685 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25686 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25687 wxPyDropSource
*result
;
25688 PyObject
* obj0
= 0 ;
25689 PyObject
* obj1
= 0 ;
25690 PyObject
* obj2
= 0 ;
25691 PyObject
* obj3
= 0 ;
25692 char *kwnames
[] = {
25693 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25700 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25701 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25703 if (arg2
== NULL
) {
25704 PyErr_SetString(PyExc_TypeError
,"null reference");
25709 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25710 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25712 if (arg3
== NULL
) {
25713 PyErr_SetString(PyExc_TypeError
,"null reference");
25718 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
25719 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25721 if (arg4
== NULL
) {
25722 PyErr_SetString(PyExc_TypeError
,"null reference");
25727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25728 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25730 wxPyEndAllowThreads(__tstate
);
25731 if (PyErr_Occurred()) SWIG_fail
;
25733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25740 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25741 PyObject
*resultobj
;
25742 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25743 PyObject
*arg2
= (PyObject
*) 0 ;
25744 PyObject
*arg3
= (PyObject
*) 0 ;
25746 PyObject
* obj0
= 0 ;
25747 PyObject
* obj1
= 0 ;
25748 PyObject
* obj2
= 0 ;
25749 PyObject
* obj3
= 0 ;
25750 char *kwnames
[] = {
25751 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25759 arg4
= (int) SWIG_AsInt(obj3
);
25760 if (PyErr_Occurred()) SWIG_fail
;
25762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25763 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25765 wxPyEndAllowThreads(__tstate
);
25766 if (PyErr_Occurred()) SWIG_fail
;
25768 Py_INCREF(Py_None
); resultobj
= Py_None
;
25775 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25776 PyObject
*resultobj
;
25777 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25778 PyObject
* obj0
= 0 ;
25779 char *kwnames
[] = {
25780 (char *) "self", NULL
25783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25790 wxPyEndAllowThreads(__tstate
);
25791 if (PyErr_Occurred()) SWIG_fail
;
25793 Py_INCREF(Py_None
); resultobj
= Py_None
;
25800 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25801 PyObject
*resultobj
;
25802 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25803 wxDataObject
*arg2
= 0 ;
25804 PyObject
* obj0
= 0 ;
25805 PyObject
* obj1
= 0 ;
25806 char *kwnames
[] = {
25807 (char *) "self",(char *) "data", NULL
25810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25814 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25816 if (arg2
== NULL
) {
25817 PyErr_SetString(PyExc_TypeError
,"null reference");
25821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25822 (arg1
)->SetData(*arg2
);
25824 wxPyEndAllowThreads(__tstate
);
25825 if (PyErr_Occurred()) SWIG_fail
;
25827 Py_INCREF(Py_None
); resultobj
= Py_None
;
25834 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25835 PyObject
*resultobj
;
25836 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25837 wxDataObject
*result
;
25838 PyObject
* obj0
= 0 ;
25839 char *kwnames
[] = {
25840 (char *) "self", NULL
25843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25848 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25850 wxPyEndAllowThreads(__tstate
);
25851 if (PyErr_Occurred()) SWIG_fail
;
25853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25860 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25861 PyObject
*resultobj
;
25862 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25864 wxCursor
*arg3
= 0 ;
25865 PyObject
* obj0
= 0 ;
25866 PyObject
* obj1
= 0 ;
25867 PyObject
* obj2
= 0 ;
25868 char *kwnames
[] = {
25869 (char *) "self",(char *) "res",(char *) "cursor", NULL
25872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25875 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25876 if (PyErr_Occurred()) SWIG_fail
;
25877 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25878 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25880 if (arg3
== NULL
) {
25881 PyErr_SetString(PyExc_TypeError
,"null reference");
25885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25886 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25888 wxPyEndAllowThreads(__tstate
);
25889 if (PyErr_Occurred()) SWIG_fail
;
25891 Py_INCREF(Py_None
); resultobj
= Py_None
;
25898 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25899 PyObject
*resultobj
;
25900 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25901 int arg2
= (int) wxDrag_CopyOnly
;
25903 PyObject
* obj0
= 0 ;
25904 PyObject
* obj1
= 0 ;
25905 char *kwnames
[] = {
25906 (char *) "self",(char *) "flags", NULL
25909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25913 arg2
= (int) SWIG_AsInt(obj1
);
25914 if (PyErr_Occurred()) SWIG_fail
;
25917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25918 result
= (int)(arg1
)->DoDragDrop(arg2
);
25920 wxPyEndAllowThreads(__tstate
);
25921 if (PyErr_Occurred()) SWIG_fail
;
25923 resultobj
= SWIG_FromInt((int)result
);
25930 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25931 PyObject
*resultobj
;
25932 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25935 PyObject
* obj0
= 0 ;
25936 PyObject
* obj1
= 0 ;
25937 char *kwnames
[] = {
25938 (char *) "self",(char *) "effect", NULL
25941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25944 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25945 if (PyErr_Occurred()) SWIG_fail
;
25947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25948 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25950 wxPyEndAllowThreads(__tstate
);
25951 if (PyErr_Occurred()) SWIG_fail
;
25954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25962 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
25964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25965 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25967 return Py_BuildValue((char *)"");
25969 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25970 PyObject
*resultobj
;
25971 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25972 wxPyDropTarget
*result
;
25973 PyObject
* obj0
= 0 ;
25974 char *kwnames
[] = {
25975 (char *) "dataObject", NULL
25978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
25980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25981 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25985 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25987 wxPyEndAllowThreads(__tstate
);
25988 if (PyErr_Occurred()) SWIG_fail
;
25990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
25997 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25998 PyObject
*resultobj
;
25999 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26000 PyObject
*arg2
= (PyObject
*) 0 ;
26001 PyObject
*arg3
= (PyObject
*) 0 ;
26002 PyObject
* obj0
= 0 ;
26003 PyObject
* obj1
= 0 ;
26004 PyObject
* obj2
= 0 ;
26005 char *kwnames
[] = {
26006 (char *) "self",(char *) "self",(char *) "_class", NULL
26009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26016 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26018 wxPyEndAllowThreads(__tstate
);
26019 if (PyErr_Occurred()) SWIG_fail
;
26021 Py_INCREF(Py_None
); resultobj
= Py_None
;
26028 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26029 PyObject
*resultobj
;
26030 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26031 PyObject
* obj0
= 0 ;
26032 char *kwnames
[] = {
26033 (char *) "self", NULL
26036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26043 wxPyEndAllowThreads(__tstate
);
26044 if (PyErr_Occurred()) SWIG_fail
;
26046 Py_INCREF(Py_None
); resultobj
= Py_None
;
26053 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26054 PyObject
*resultobj
;
26055 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26056 wxDataObject
*result
;
26057 PyObject
* obj0
= 0 ;
26058 char *kwnames
[] = {
26059 (char *) "self", NULL
26062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26067 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26069 wxPyEndAllowThreads(__tstate
);
26070 if (PyErr_Occurred()) SWIG_fail
;
26072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26079 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26080 PyObject
*resultobj
;
26081 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26082 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26083 PyObject
* obj0
= 0 ;
26084 PyObject
* obj1
= 0 ;
26085 char *kwnames
[] = {
26086 (char *) "self",(char *) "dataObject", NULL
26089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26093 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26096 (arg1
)->SetDataObject(arg2
);
26098 wxPyEndAllowThreads(__tstate
);
26099 if (PyErr_Occurred()) SWIG_fail
;
26101 Py_INCREF(Py_None
); resultobj
= Py_None
;
26108 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26109 PyObject
*resultobj
;
26110 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26115 PyObject
* obj0
= 0 ;
26116 PyObject
* obj1
= 0 ;
26117 PyObject
* obj2
= 0 ;
26118 PyObject
* obj3
= 0 ;
26119 char *kwnames
[] = {
26120 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26126 arg2
= (int) SWIG_AsInt(obj1
);
26127 if (PyErr_Occurred()) SWIG_fail
;
26128 arg3
= (int) SWIG_AsInt(obj2
);
26129 if (PyErr_Occurred()) SWIG_fail
;
26130 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26131 if (PyErr_Occurred()) SWIG_fail
;
26133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26134 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26136 wxPyEndAllowThreads(__tstate
);
26137 if (PyErr_Occurred()) SWIG_fail
;
26139 resultobj
= SWIG_FromInt((int)result
);
26146 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26147 PyObject
*resultobj
;
26148 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26153 PyObject
* obj0
= 0 ;
26154 PyObject
* obj1
= 0 ;
26155 PyObject
* obj2
= 0 ;
26156 PyObject
* obj3
= 0 ;
26157 char *kwnames
[] = {
26158 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26164 arg2
= (int) SWIG_AsInt(obj1
);
26165 if (PyErr_Occurred()) SWIG_fail
;
26166 arg3
= (int) SWIG_AsInt(obj2
);
26167 if (PyErr_Occurred()) SWIG_fail
;
26168 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26169 if (PyErr_Occurred()) SWIG_fail
;
26171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26172 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26174 wxPyEndAllowThreads(__tstate
);
26175 if (PyErr_Occurred()) SWIG_fail
;
26177 resultobj
= SWIG_FromInt((int)result
);
26184 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26185 PyObject
*resultobj
;
26186 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26187 PyObject
* obj0
= 0 ;
26188 char *kwnames
[] = {
26189 (char *) "self", NULL
26192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26197 (arg1
)->base_OnLeave();
26199 wxPyEndAllowThreads(__tstate
);
26200 if (PyErr_Occurred()) SWIG_fail
;
26202 Py_INCREF(Py_None
); resultobj
= Py_None
;
26209 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26210 PyObject
*resultobj
;
26211 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26215 PyObject
* obj0
= 0 ;
26216 PyObject
* obj1
= 0 ;
26217 PyObject
* obj2
= 0 ;
26218 char *kwnames
[] = {
26219 (char *) "self",(char *) "x",(char *) "y", NULL
26222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26225 arg2
= (int) SWIG_AsInt(obj1
);
26226 if (PyErr_Occurred()) SWIG_fail
;
26227 arg3
= (int) SWIG_AsInt(obj2
);
26228 if (PyErr_Occurred()) SWIG_fail
;
26230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26231 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26233 wxPyEndAllowThreads(__tstate
);
26234 if (PyErr_Occurred()) SWIG_fail
;
26237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26245 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26246 PyObject
*resultobj
;
26247 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26249 PyObject
* obj0
= 0 ;
26250 char *kwnames
[] = {
26251 (char *) "self", NULL
26254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26259 result
= (bool)(arg1
)->GetData();
26261 wxPyEndAllowThreads(__tstate
);
26262 if (PyErr_Occurred()) SWIG_fail
;
26265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26273 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
26275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26276 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26278 return Py_BuildValue((char *)"");
26280 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26281 PyObject
*resultobj
;
26282 wxPyTextDropTarget
*result
;
26283 char *kwnames
[] = {
26287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26290 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26292 wxPyEndAllowThreads(__tstate
);
26293 if (PyErr_Occurred()) SWIG_fail
;
26295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26302 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26303 PyObject
*resultobj
;
26304 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26305 PyObject
*arg2
= (PyObject
*) 0 ;
26306 PyObject
*arg3
= (PyObject
*) 0 ;
26307 PyObject
* obj0
= 0 ;
26308 PyObject
* obj1
= 0 ;
26309 PyObject
* obj2
= 0 ;
26310 char *kwnames
[] = {
26311 (char *) "self",(char *) "self",(char *) "_class", NULL
26314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26321 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26323 wxPyEndAllowThreads(__tstate
);
26324 if (PyErr_Occurred()) SWIG_fail
;
26326 Py_INCREF(Py_None
); resultobj
= Py_None
;
26333 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26334 PyObject
*resultobj
;
26335 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26340 PyObject
* obj0
= 0 ;
26341 PyObject
* obj1
= 0 ;
26342 PyObject
* obj2
= 0 ;
26343 PyObject
* obj3
= 0 ;
26344 char *kwnames
[] = {
26345 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26351 arg2
= (int) SWIG_AsInt(obj1
);
26352 if (PyErr_Occurred()) SWIG_fail
;
26353 arg3
= (int) SWIG_AsInt(obj2
);
26354 if (PyErr_Occurred()) SWIG_fail
;
26355 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26356 if (PyErr_Occurred()) SWIG_fail
;
26358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26359 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26361 wxPyEndAllowThreads(__tstate
);
26362 if (PyErr_Occurred()) SWIG_fail
;
26364 resultobj
= SWIG_FromInt((int)result
);
26371 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26372 PyObject
*resultobj
;
26373 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26378 PyObject
* obj0
= 0 ;
26379 PyObject
* obj1
= 0 ;
26380 PyObject
* obj2
= 0 ;
26381 PyObject
* obj3
= 0 ;
26382 char *kwnames
[] = {
26383 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26389 arg2
= (int) SWIG_AsInt(obj1
);
26390 if (PyErr_Occurred()) SWIG_fail
;
26391 arg3
= (int) SWIG_AsInt(obj2
);
26392 if (PyErr_Occurred()) SWIG_fail
;
26393 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26394 if (PyErr_Occurred()) SWIG_fail
;
26396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26397 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26399 wxPyEndAllowThreads(__tstate
);
26400 if (PyErr_Occurred()) SWIG_fail
;
26402 resultobj
= SWIG_FromInt((int)result
);
26409 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26410 PyObject
*resultobj
;
26411 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26412 PyObject
* obj0
= 0 ;
26413 char *kwnames
[] = {
26414 (char *) "self", NULL
26417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26422 (arg1
)->base_OnLeave();
26424 wxPyEndAllowThreads(__tstate
);
26425 if (PyErr_Occurred()) SWIG_fail
;
26427 Py_INCREF(Py_None
); resultobj
= Py_None
;
26434 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26435 PyObject
*resultobj
;
26436 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26440 PyObject
* obj0
= 0 ;
26441 PyObject
* obj1
= 0 ;
26442 PyObject
* obj2
= 0 ;
26443 char *kwnames
[] = {
26444 (char *) "self",(char *) "x",(char *) "y", NULL
26447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26450 arg2
= (int) SWIG_AsInt(obj1
);
26451 if (PyErr_Occurred()) SWIG_fail
;
26452 arg3
= (int) SWIG_AsInt(obj2
);
26453 if (PyErr_Occurred()) SWIG_fail
;
26455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26456 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26458 wxPyEndAllowThreads(__tstate
);
26459 if (PyErr_Occurred()) SWIG_fail
;
26462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26470 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26471 PyObject
*resultobj
;
26472 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26477 PyObject
* obj0
= 0 ;
26478 PyObject
* obj1
= 0 ;
26479 PyObject
* obj2
= 0 ;
26480 PyObject
* obj3
= 0 ;
26481 char *kwnames
[] = {
26482 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26488 arg2
= (int) SWIG_AsInt(obj1
);
26489 if (PyErr_Occurred()) SWIG_fail
;
26490 arg3
= (int) SWIG_AsInt(obj2
);
26491 if (PyErr_Occurred()) SWIG_fail
;
26492 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26493 if (PyErr_Occurred()) SWIG_fail
;
26495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26496 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26498 wxPyEndAllowThreads(__tstate
);
26499 if (PyErr_Occurred()) SWIG_fail
;
26501 resultobj
= SWIG_FromInt((int)result
);
26508 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
26510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26511 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26513 return Py_BuildValue((char *)"");
26515 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26516 PyObject
*resultobj
;
26517 wxPyFileDropTarget
*result
;
26518 char *kwnames
[] = {
26522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26525 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26527 wxPyEndAllowThreads(__tstate
);
26528 if (PyErr_Occurred()) SWIG_fail
;
26530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26537 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26538 PyObject
*resultobj
;
26539 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26540 PyObject
*arg2
= (PyObject
*) 0 ;
26541 PyObject
*arg3
= (PyObject
*) 0 ;
26542 PyObject
* obj0
= 0 ;
26543 PyObject
* obj1
= 0 ;
26544 PyObject
* obj2
= 0 ;
26545 char *kwnames
[] = {
26546 (char *) "self",(char *) "self",(char *) "_class", NULL
26549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26556 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26558 wxPyEndAllowThreads(__tstate
);
26559 if (PyErr_Occurred()) SWIG_fail
;
26561 Py_INCREF(Py_None
); resultobj
= Py_None
;
26568 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26569 PyObject
*resultobj
;
26570 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26575 PyObject
* obj0
= 0 ;
26576 PyObject
* obj1
= 0 ;
26577 PyObject
* obj2
= 0 ;
26578 PyObject
* obj3
= 0 ;
26579 char *kwnames
[] = {
26580 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26586 arg2
= (int) SWIG_AsInt(obj1
);
26587 if (PyErr_Occurred()) SWIG_fail
;
26588 arg3
= (int) SWIG_AsInt(obj2
);
26589 if (PyErr_Occurred()) SWIG_fail
;
26590 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26591 if (PyErr_Occurred()) SWIG_fail
;
26593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26594 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26596 wxPyEndAllowThreads(__tstate
);
26597 if (PyErr_Occurred()) SWIG_fail
;
26599 resultobj
= SWIG_FromInt((int)result
);
26606 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26607 PyObject
*resultobj
;
26608 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26613 PyObject
* obj0
= 0 ;
26614 PyObject
* obj1
= 0 ;
26615 PyObject
* obj2
= 0 ;
26616 PyObject
* obj3
= 0 ;
26617 char *kwnames
[] = {
26618 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26624 arg2
= (int) SWIG_AsInt(obj1
);
26625 if (PyErr_Occurred()) SWIG_fail
;
26626 arg3
= (int) SWIG_AsInt(obj2
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26628 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26629 if (PyErr_Occurred()) SWIG_fail
;
26631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26632 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26634 wxPyEndAllowThreads(__tstate
);
26635 if (PyErr_Occurred()) SWIG_fail
;
26637 resultobj
= SWIG_FromInt((int)result
);
26644 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26645 PyObject
*resultobj
;
26646 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26647 PyObject
* obj0
= 0 ;
26648 char *kwnames
[] = {
26649 (char *) "self", NULL
26652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26657 (arg1
)->base_OnLeave();
26659 wxPyEndAllowThreads(__tstate
);
26660 if (PyErr_Occurred()) SWIG_fail
;
26662 Py_INCREF(Py_None
); resultobj
= Py_None
;
26669 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26670 PyObject
*resultobj
;
26671 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26675 PyObject
* obj0
= 0 ;
26676 PyObject
* obj1
= 0 ;
26677 PyObject
* obj2
= 0 ;
26678 char *kwnames
[] = {
26679 (char *) "self",(char *) "x",(char *) "y", NULL
26682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26685 arg2
= (int) SWIG_AsInt(obj1
);
26686 if (PyErr_Occurred()) SWIG_fail
;
26687 arg3
= (int) SWIG_AsInt(obj2
);
26688 if (PyErr_Occurred()) SWIG_fail
;
26690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26691 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26693 wxPyEndAllowThreads(__tstate
);
26694 if (PyErr_Occurred()) SWIG_fail
;
26697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26705 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26706 PyObject
*resultobj
;
26707 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26712 PyObject
* obj0
= 0 ;
26713 PyObject
* obj1
= 0 ;
26714 PyObject
* obj2
= 0 ;
26715 PyObject
* obj3
= 0 ;
26716 char *kwnames
[] = {
26717 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26723 arg2
= (int) SWIG_AsInt(obj1
);
26724 if (PyErr_Occurred()) SWIG_fail
;
26725 arg3
= (int) SWIG_AsInt(obj2
);
26726 if (PyErr_Occurred()) SWIG_fail
;
26727 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26728 if (PyErr_Occurred()) SWIG_fail
;
26730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26731 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26733 wxPyEndAllowThreads(__tstate
);
26734 if (PyErr_Occurred()) SWIG_fail
;
26736 resultobj
= SWIG_FromInt((int)result
);
26743 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
26745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26746 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26748 return Py_BuildValue((char *)"");
26750 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26751 PyObject
*resultobj
;
26752 wxClipboard
*result
;
26753 char *kwnames
[] = {
26757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26760 result
= (wxClipboard
*)new wxClipboard();
26762 wxPyEndAllowThreads(__tstate
);
26763 if (PyErr_Occurred()) SWIG_fail
;
26765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26772 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26773 PyObject
*resultobj
;
26774 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26775 PyObject
* obj0
= 0 ;
26776 char *kwnames
[] = {
26777 (char *) "self", NULL
26780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26787 wxPyEndAllowThreads(__tstate
);
26788 if (PyErr_Occurred()) SWIG_fail
;
26790 Py_INCREF(Py_None
); resultobj
= Py_None
;
26797 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26798 PyObject
*resultobj
;
26799 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26801 PyObject
* obj0
= 0 ;
26802 char *kwnames
[] = {
26803 (char *) "self", NULL
26806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26811 result
= (bool)(arg1
)->Open();
26813 wxPyEndAllowThreads(__tstate
);
26814 if (PyErr_Occurred()) SWIG_fail
;
26817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26825 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26826 PyObject
*resultobj
;
26827 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26828 PyObject
* obj0
= 0 ;
26829 char *kwnames
[] = {
26830 (char *) "self", NULL
26833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26840 wxPyEndAllowThreads(__tstate
);
26841 if (PyErr_Occurred()) SWIG_fail
;
26843 Py_INCREF(Py_None
); resultobj
= Py_None
;
26850 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26851 PyObject
*resultobj
;
26852 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26854 PyObject
* obj0
= 0 ;
26855 char *kwnames
[] = {
26856 (char *) "self", NULL
26859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26864 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26866 wxPyEndAllowThreads(__tstate
);
26867 if (PyErr_Occurred()) SWIG_fail
;
26870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26878 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26879 PyObject
*resultobj
;
26880 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26881 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26883 PyObject
* obj0
= 0 ;
26884 PyObject
* obj1
= 0 ;
26885 char *kwnames
[] = {
26886 (char *) "self",(char *) "data", NULL
26889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26893 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26896 result
= (bool)(arg1
)->AddData(arg2
);
26898 wxPyEndAllowThreads(__tstate
);
26899 if (PyErr_Occurred()) SWIG_fail
;
26902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26910 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26911 PyObject
*resultobj
;
26912 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26913 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26915 PyObject
* obj0
= 0 ;
26916 PyObject
* obj1
= 0 ;
26917 char *kwnames
[] = {
26918 (char *) "self",(char *) "data", NULL
26921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26925 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26928 result
= (bool)(arg1
)->SetData(arg2
);
26930 wxPyEndAllowThreads(__tstate
);
26931 if (PyErr_Occurred()) SWIG_fail
;
26934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26942 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26943 PyObject
*resultobj
;
26944 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26945 wxDataFormat
*arg2
= 0 ;
26947 PyObject
* obj0
= 0 ;
26948 PyObject
* obj1
= 0 ;
26949 char *kwnames
[] = {
26950 (char *) "self",(char *) "format", NULL
26953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
26957 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26959 if (arg2
== NULL
) {
26960 PyErr_SetString(PyExc_TypeError
,"null reference");
26964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26965 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26967 wxPyEndAllowThreads(__tstate
);
26968 if (PyErr_Occurred()) SWIG_fail
;
26971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26979 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26980 PyObject
*resultobj
;
26981 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26982 wxDataObject
*arg2
= 0 ;
26984 PyObject
* obj0
= 0 ;
26985 PyObject
* obj1
= 0 ;
26986 char *kwnames
[] = {
26987 (char *) "self",(char *) "data", NULL
26990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26994 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26996 if (arg2
== NULL
) {
26997 PyErr_SetString(PyExc_TypeError
,"null reference");
27001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27002 result
= (bool)(arg1
)->GetData(*arg2
);
27004 wxPyEndAllowThreads(__tstate
);
27005 if (PyErr_Occurred()) SWIG_fail
;
27008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27016 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27017 PyObject
*resultobj
;
27018 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27019 PyObject
* obj0
= 0 ;
27020 char *kwnames
[] = {
27021 (char *) "self", NULL
27024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27031 wxPyEndAllowThreads(__tstate
);
27032 if (PyErr_Occurred()) SWIG_fail
;
27034 Py_INCREF(Py_None
); resultobj
= Py_None
;
27041 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27042 PyObject
*resultobj
;
27043 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27045 PyObject
* obj0
= 0 ;
27046 char *kwnames
[] = {
27047 (char *) "self", NULL
27050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27055 result
= (bool)(arg1
)->Flush();
27057 wxPyEndAllowThreads(__tstate
);
27058 if (PyErr_Occurred()) SWIG_fail
;
27061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27069 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27070 PyObject
*resultobj
;
27071 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27072 bool arg2
= (bool) True
;
27073 PyObject
* obj0
= 0 ;
27074 PyObject
* obj1
= 0 ;
27075 char *kwnames
[] = {
27076 (char *) "self",(char *) "primary", NULL
27079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27083 arg2
= (bool) SWIG_AsBool(obj1
);
27084 if (PyErr_Occurred()) SWIG_fail
;
27087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27088 (arg1
)->UsePrimarySelection(arg2
);
27090 wxPyEndAllowThreads(__tstate
);
27091 if (PyErr_Occurred()) SWIG_fail
;
27093 Py_INCREF(Py_None
); resultobj
= Py_None
;
27100 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
27102 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27103 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27105 return Py_BuildValue((char *)"");
27107 static int _wrap_TheClipboard_set(PyObject
*) {
27108 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
27113 static PyObject
*_wrap_TheClipboard_get() {
27116 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
27121 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27122 PyObject
*resultobj
;
27123 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27124 wxClipboardLocker
*result
;
27125 PyObject
* obj0
= 0 ;
27126 char *kwnames
[] = {
27127 (char *) "clipboard", NULL
27130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27137 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27139 wxPyEndAllowThreads(__tstate
);
27140 if (PyErr_Occurred()) SWIG_fail
;
27142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27149 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27150 PyObject
*resultobj
;
27151 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27152 PyObject
* obj0
= 0 ;
27153 char *kwnames
[] = {
27154 (char *) "self", NULL
27157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27164 wxPyEndAllowThreads(__tstate
);
27165 if (PyErr_Occurred()) SWIG_fail
;
27167 Py_INCREF(Py_None
); resultobj
= Py_None
;
27174 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27175 PyObject
*resultobj
;
27176 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27178 PyObject
* obj0
= 0 ;
27179 char *kwnames
[] = {
27180 (char *) "self", NULL
27183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27188 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27190 wxPyEndAllowThreads(__tstate
);
27191 if (PyErr_Occurred()) SWIG_fail
;
27194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27202 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
27204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27205 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27207 return Py_BuildValue((char *)"");
27209 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27210 PyObject
*resultobj
;
27211 int arg1
= (int) 0 ;
27212 int arg2
= (int) 0 ;
27213 int arg3
= (int) 0 ;
27214 int arg4
= (int) 0 ;
27215 wxVideoMode
*result
;
27216 PyObject
* obj0
= 0 ;
27217 PyObject
* obj1
= 0 ;
27218 PyObject
* obj2
= 0 ;
27219 PyObject
* obj3
= 0 ;
27220 char *kwnames
[] = {
27221 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27226 arg1
= (int) SWIG_AsInt(obj0
);
27227 if (PyErr_Occurred()) SWIG_fail
;
27230 arg2
= (int) SWIG_AsInt(obj1
);
27231 if (PyErr_Occurred()) SWIG_fail
;
27234 arg3
= (int) SWIG_AsInt(obj2
);
27235 if (PyErr_Occurred()) SWIG_fail
;
27238 arg4
= (int) SWIG_AsInt(obj3
);
27239 if (PyErr_Occurred()) SWIG_fail
;
27242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27243 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27245 wxPyEndAllowThreads(__tstate
);
27246 if (PyErr_Occurred()) SWIG_fail
;
27248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27255 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27256 PyObject
*resultobj
;
27257 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27258 PyObject
* obj0
= 0 ;
27259 char *kwnames
[] = {
27260 (char *) "self", NULL
27263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27270 wxPyEndAllowThreads(__tstate
);
27271 if (PyErr_Occurred()) SWIG_fail
;
27273 Py_INCREF(Py_None
); resultobj
= Py_None
;
27280 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27281 PyObject
*resultobj
;
27282 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27283 wxVideoMode
*arg2
= 0 ;
27285 PyObject
* obj0
= 0 ;
27286 PyObject
* obj1
= 0 ;
27287 char *kwnames
[] = {
27288 (char *) "self",(char *) "other", NULL
27291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27294 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27295 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27297 if (arg2
== NULL
) {
27298 PyErr_SetString(PyExc_TypeError
,"null reference");
27302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27303 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27305 wxPyEndAllowThreads(__tstate
);
27306 if (PyErr_Occurred()) SWIG_fail
;
27309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27317 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27318 PyObject
*resultobj
;
27319 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27321 PyObject
* obj0
= 0 ;
27322 char *kwnames
[] = {
27323 (char *) "self", NULL
27326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27331 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27333 wxPyEndAllowThreads(__tstate
);
27334 if (PyErr_Occurred()) SWIG_fail
;
27336 resultobj
= SWIG_FromInt((int)result
);
27343 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27344 PyObject
*resultobj
;
27345 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27347 PyObject
* obj0
= 0 ;
27348 char *kwnames
[] = {
27349 (char *) "self", NULL
27352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27357 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27359 wxPyEndAllowThreads(__tstate
);
27360 if (PyErr_Occurred()) SWIG_fail
;
27362 resultobj
= SWIG_FromInt((int)result
);
27369 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27370 PyObject
*resultobj
;
27371 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27373 PyObject
* obj0
= 0 ;
27374 char *kwnames
[] = {
27375 (char *) "self", NULL
27378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27383 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27385 wxPyEndAllowThreads(__tstate
);
27386 if (PyErr_Occurred()) SWIG_fail
;
27388 resultobj
= SWIG_FromInt((int)result
);
27395 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27396 PyObject
*resultobj
;
27397 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27399 PyObject
* obj0
= 0 ;
27400 char *kwnames
[] = {
27401 (char *) "self", NULL
27404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27409 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27411 wxPyEndAllowThreads(__tstate
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27423 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27424 PyObject
*resultobj
;
27425 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27426 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27428 PyObject
* obj0
= 0 ;
27429 PyObject
* obj1
= 0 ;
27430 char *kwnames
[] = {
27431 (char *) "self",(char *) "other", NULL
27434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27441 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27443 wxPyEndAllowThreads(__tstate
);
27444 if (PyErr_Occurred()) SWIG_fail
;
27447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27455 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27456 PyObject
*resultobj
;
27457 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27458 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27460 PyObject
* obj0
= 0 ;
27461 PyObject
* obj1
= 0 ;
27462 char *kwnames
[] = {
27463 (char *) "self",(char *) "other", NULL
27466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27473 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27475 wxPyEndAllowThreads(__tstate
);
27476 if (PyErr_Occurred()) SWIG_fail
;
27479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27487 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27488 PyObject
*resultobj
;
27489 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27491 PyObject
* obj0
= 0 ;
27492 PyObject
* obj1
= 0 ;
27493 char *kwnames
[] = {
27494 (char *) "self",(char *) "w", NULL
27497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27500 arg2
= (int) SWIG_AsInt(obj1
);
27501 if (PyErr_Occurred()) SWIG_fail
;
27502 if (arg1
) (arg1
)->w
= arg2
;
27504 Py_INCREF(Py_None
); resultobj
= Py_None
;
27511 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27512 PyObject
*resultobj
;
27513 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27515 PyObject
* obj0
= 0 ;
27516 char *kwnames
[] = {
27517 (char *) "self", NULL
27520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27523 result
= (int) ((arg1
)->w
);
27525 resultobj
= SWIG_FromInt((int)result
);
27532 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27533 PyObject
*resultobj
;
27534 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27536 PyObject
* obj0
= 0 ;
27537 PyObject
* obj1
= 0 ;
27538 char *kwnames
[] = {
27539 (char *) "self",(char *) "h", NULL
27542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27545 arg2
= (int) SWIG_AsInt(obj1
);
27546 if (PyErr_Occurred()) SWIG_fail
;
27547 if (arg1
) (arg1
)->h
= arg2
;
27549 Py_INCREF(Py_None
); resultobj
= Py_None
;
27556 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27557 PyObject
*resultobj
;
27558 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27560 PyObject
* obj0
= 0 ;
27561 char *kwnames
[] = {
27562 (char *) "self", NULL
27565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27568 result
= (int) ((arg1
)->h
);
27570 resultobj
= SWIG_FromInt((int)result
);
27577 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27578 PyObject
*resultobj
;
27579 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27581 PyObject
* obj0
= 0 ;
27582 PyObject
* obj1
= 0 ;
27583 char *kwnames
[] = {
27584 (char *) "self",(char *) "bpp", NULL
27587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27590 arg2
= (int) SWIG_AsInt(obj1
);
27591 if (PyErr_Occurred()) SWIG_fail
;
27592 if (arg1
) (arg1
)->bpp
= arg2
;
27594 Py_INCREF(Py_None
); resultobj
= Py_None
;
27601 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27602 PyObject
*resultobj
;
27603 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27605 PyObject
* obj0
= 0 ;
27606 char *kwnames
[] = {
27607 (char *) "self", NULL
27610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27613 result
= (int) ((arg1
)->bpp
);
27615 resultobj
= SWIG_FromInt((int)result
);
27622 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27623 PyObject
*resultobj
;
27624 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27626 PyObject
* obj0
= 0 ;
27627 PyObject
* obj1
= 0 ;
27628 char *kwnames
[] = {
27629 (char *) "self",(char *) "refresh", NULL
27632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27635 arg2
= (int) SWIG_AsInt(obj1
);
27636 if (PyErr_Occurred()) SWIG_fail
;
27637 if (arg1
) (arg1
)->refresh
= arg2
;
27639 Py_INCREF(Py_None
); resultobj
= Py_None
;
27646 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27647 PyObject
*resultobj
;
27648 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27650 PyObject
* obj0
= 0 ;
27651 char *kwnames
[] = {
27652 (char *) "self", NULL
27655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27658 result
= (int) ((arg1
)->refresh
);
27660 resultobj
= SWIG_FromInt((int)result
);
27667 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
27669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27670 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27672 return Py_BuildValue((char *)"");
27674 static int _wrap_DefaultVideoMode_set(PyObject
*) {
27675 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27680 static PyObject
*_wrap_DefaultVideoMode_get() {
27683 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27688 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27689 PyObject
*resultobj
;
27690 size_t arg1
= (size_t) 0 ;
27692 PyObject
* obj0
= 0 ;
27693 char *kwnames
[] = {
27694 (char *) "index", NULL
27697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27699 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27700 if (PyErr_Occurred()) SWIG_fail
;
27703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27704 result
= (wxDisplay
*)new wxDisplay(arg1
);
27706 wxPyEndAllowThreads(__tstate
);
27707 if (PyErr_Occurred()) SWIG_fail
;
27709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27716 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27717 PyObject
*resultobj
;
27718 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27719 PyObject
* obj0
= 0 ;
27720 char *kwnames
[] = {
27721 (char *) "self", NULL
27724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27731 wxPyEndAllowThreads(__tstate
);
27732 if (PyErr_Occurred()) SWIG_fail
;
27734 Py_INCREF(Py_None
); resultobj
= Py_None
;
27741 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27742 PyObject
*resultobj
;
27744 char *kwnames
[] = {
27748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27751 result
= (size_t)wxDisplay::GetCount();
27753 wxPyEndAllowThreads(__tstate
);
27754 if (PyErr_Occurred()) SWIG_fail
;
27756 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27763 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27764 PyObject
*resultobj
;
27765 wxPoint
*arg1
= 0 ;
27768 PyObject
* obj0
= 0 ;
27769 char *kwnames
[] = {
27770 (char *) "pt", NULL
27773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27776 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27780 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27782 wxPyEndAllowThreads(__tstate
);
27783 if (PyErr_Occurred()) SWIG_fail
;
27785 resultobj
= SWIG_FromInt((int)result
);
27792 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27793 PyObject
*resultobj
;
27794 wxWindow
*arg1
= (wxWindow
*) 0 ;
27796 PyObject
* obj0
= 0 ;
27797 char *kwnames
[] = {
27798 (char *) "window", NULL
27801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27806 result
= (int)Display_GetFromWindow(arg1
);
27808 wxPyEndAllowThreads(__tstate
);
27809 if (PyErr_Occurred()) SWIG_fail
;
27811 resultobj
= SWIG_FromInt((int)result
);
27818 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27819 PyObject
*resultobj
;
27820 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27822 PyObject
* obj0
= 0 ;
27823 char *kwnames
[] = {
27824 (char *) "self", NULL
27827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27832 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27834 wxPyEndAllowThreads(__tstate
);
27835 if (PyErr_Occurred()) SWIG_fail
;
27838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27846 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27847 PyObject
*resultobj
;
27848 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27850 PyObject
* obj0
= 0 ;
27851 char *kwnames
[] = {
27852 (char *) "self", NULL
27855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
27856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27860 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
27862 wxPyEndAllowThreads(__tstate
);
27863 if (PyErr_Occurred()) SWIG_fail
;
27866 wxRect
* resultptr
;
27867 resultptr
= new wxRect((wxRect
&) result
);
27868 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
27876 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27877 PyObject
*resultobj
;
27878 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27880 PyObject
* obj0
= 0 ;
27881 char *kwnames
[] = {
27882 (char *) "self", NULL
27885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
27886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27890 result
= ((wxDisplay
const *)arg1
)->GetName();
27892 wxPyEndAllowThreads(__tstate
);
27893 if (PyErr_Occurred()) SWIG_fail
;
27897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27908 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27909 PyObject
*resultobj
;
27910 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27912 PyObject
* obj0
= 0 ;
27913 char *kwnames
[] = {
27914 (char *) "self", NULL
27917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
27918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27922 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
27924 wxPyEndAllowThreads(__tstate
);
27925 if (PyErr_Occurred()) SWIG_fail
;
27928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27936 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27937 PyObject
*resultobj
;
27938 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27939 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27940 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27942 PyObject
* obj0
= 0 ;
27943 PyObject
* obj1
= 0 ;
27944 char *kwnames
[] = {
27945 (char *) "self",(char *) "mode", NULL
27948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
27949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27952 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27953 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27955 if (arg2
== NULL
) {
27956 PyErr_SetString(PyExc_TypeError
,"null reference");
27961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27962 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
27964 wxPyEndAllowThreads(__tstate
);
27965 if (PyErr_Occurred()) SWIG_fail
;
27967 resultobj
= result
;
27974 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27975 PyObject
*resultobj
;
27976 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27977 wxVideoMode result
;
27978 PyObject
* obj0
= 0 ;
27979 char *kwnames
[] = {
27980 (char *) "self", NULL
27983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
27984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27988 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
27990 wxPyEndAllowThreads(__tstate
);
27991 if (PyErr_Occurred()) SWIG_fail
;
27994 wxVideoMode
* resultptr
;
27995 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
27996 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28004 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28005 PyObject
*resultobj
;
28006 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28007 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28008 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28010 PyObject
* obj0
= 0 ;
28011 PyObject
* obj1
= 0 ;
28012 char *kwnames
[] = {
28013 (char *) "self",(char *) "mode", NULL
28016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28020 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28021 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28023 if (arg2
== NULL
) {
28024 PyErr_SetString(PyExc_TypeError
,"null reference");
28029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28030 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28032 wxPyEndAllowThreads(__tstate
);
28033 if (PyErr_Occurred()) SWIG_fail
;
28036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28044 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28045 PyObject
*resultobj
;
28046 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28047 PyObject
* obj0
= 0 ;
28048 char *kwnames
[] = {
28049 (char *) "self", NULL
28052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28057 (arg1
)->ResetMode();
28059 wxPyEndAllowThreads(__tstate
);
28060 if (PyErr_Occurred()) SWIG_fail
;
28062 Py_INCREF(Py_None
); resultobj
= Py_None
;
28069 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
28071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28072 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28074 return Py_BuildValue((char *)"");
28076 static PyMethodDef SwigMethods
[] = {
28077 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28078 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28079 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28080 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28081 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28082 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28083 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
28084 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28085 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28086 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28087 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28088 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28089 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28090 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
28091 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28092 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28093 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28094 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28095 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28096 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28097 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28098 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28099 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28100 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28101 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28102 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28103 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28104 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28105 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28106 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28107 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28108 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28109 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28110 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28111 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28112 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28113 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28114 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28115 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28116 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28117 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28118 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28119 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28120 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28121 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28122 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28123 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28124 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28125 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28126 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28127 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28128 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28129 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28130 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28131 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28132 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28133 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28134 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28135 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28136 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28137 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28138 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28139 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28140 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28141 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28142 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28143 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28144 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28145 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28146 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28147 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28148 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28149 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28150 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
28151 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28152 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28153 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28154 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28155 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28156 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28157 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28158 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
28159 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28160 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28161 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28162 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28163 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28164 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28165 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28166 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28167 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28168 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28169 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28170 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28171 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28172 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28173 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28174 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
28175 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28176 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28177 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28178 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28179 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
28180 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28181 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28182 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
28183 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28184 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28185 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
28186 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28187 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28188 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28189 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28190 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28191 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
28192 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28193 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28194 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28195 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28196 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28197 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28198 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28199 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28200 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28201 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28202 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28203 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28204 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28205 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
28206 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28207 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28208 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28209 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28210 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28211 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
28212 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28213 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28214 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28215 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28216 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28217 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
28218 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28219 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28220 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
28221 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28222 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28223 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28224 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28225 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28226 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28227 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28228 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28229 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28230 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28231 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28232 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28233 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
28234 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28235 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28236 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
28237 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
28238 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28239 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28240 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
28241 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28242 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28243 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28244 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28245 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28246 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28247 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28248 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28249 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28250 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28251 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28252 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28253 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28254 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28255 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28256 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28257 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28258 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28259 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28260 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28261 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28262 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28263 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28264 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28265 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28266 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28267 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
28268 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28269 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
28270 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28271 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
28272 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28273 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
28274 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28275 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28276 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28277 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28278 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28279 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28280 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
28281 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28282 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28283 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28284 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28285 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28286 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
28287 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28288 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28289 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28290 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28291 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28292 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28293 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28294 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28295 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28296 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28297 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28298 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28299 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
28300 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28301 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28302 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28303 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28304 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
28305 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28306 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28307 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
28308 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28309 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28310 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28311 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28312 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28313 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28314 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28315 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28316 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28317 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28318 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28319 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28320 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28321 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28322 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28323 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28324 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
28325 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28326 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28327 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28328 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28329 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28330 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28331 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28332 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
28333 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28334 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28335 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28336 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28337 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28338 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28339 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28340 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28341 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28342 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28343 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28344 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28345 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28346 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28347 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28348 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28349 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28350 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28351 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28352 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28353 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28354 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28355 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28356 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28357 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28358 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28359 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28360 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28361 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28362 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28363 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28364 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28365 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28366 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28367 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28368 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28369 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28370 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28371 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28372 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28373 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28374 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28375 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28376 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28377 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28378 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
28379 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28380 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28381 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28382 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28383 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28384 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28385 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28386 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28387 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28388 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28389 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28390 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28391 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28392 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28393 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28394 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28395 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28396 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28397 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28398 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28399 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28400 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28401 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28402 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28403 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28404 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28405 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28406 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
28407 { (char *)"new_Sound", _wrap_new_Sound
, METH_VARARGS
, NULL
},
28408 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28409 { (char *)"Sound_Create", _wrap_Sound_Create
, METH_VARARGS
, NULL
},
28410 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28411 { (char *)"Sound_Play", _wrap_Sound_Play
, METH_VARARGS
, NULL
},
28412 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound
, METH_VARARGS
, NULL
},
28413 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28414 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
28415 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28416 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28417 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28418 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28419 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28420 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28421 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28422 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28423 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28424 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28425 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28426 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28427 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28428 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28429 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28430 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
28431 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28432 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28433 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28434 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28435 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28436 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28437 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28438 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28439 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28440 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28441 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28442 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28443 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28444 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28445 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28446 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
28447 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28448 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28449 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28450 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28451 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28452 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28453 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28454 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28455 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28456 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28457 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28458 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28459 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28460 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
28461 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28462 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28463 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28464 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28465 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28466 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28467 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28468 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28469 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
28470 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28471 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28472 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28473 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28474 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28475 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28476 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28477 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28478 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28479 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28480 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28481 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28482 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28483 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28484 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28485 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28486 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28487 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28488 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28489 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28490 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28491 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28492 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28493 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28494 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28495 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28496 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28497 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28498 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28499 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28500 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28501 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28502 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28503 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28504 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28505 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28506 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28507 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28508 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28509 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28510 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28511 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28512 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
28513 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28514 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28515 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
28516 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28517 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28518 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
28519 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28520 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28521 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28522 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
28523 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28524 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28525 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28526 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28527 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28528 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28529 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28530 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28531 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28532 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28533 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28534 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28535 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28536 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28537 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28538 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28539 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28540 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28541 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28542 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28543 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28544 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28545 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28546 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28547 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28548 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28549 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28550 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28551 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28552 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28553 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28554 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28555 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28556 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28557 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28558 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28559 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28560 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28561 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28562 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28563 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28564 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28565 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28566 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28567 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28568 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28569 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28570 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28571 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28572 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28573 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28574 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28575 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28576 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28577 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28578 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28579 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28580 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28581 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28582 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28583 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28584 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28585 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28586 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28587 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28588 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28589 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28590 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28591 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28592 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28593 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28594 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28595 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28596 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28597 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28598 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28599 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28600 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28601 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28602 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28603 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28604 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28605 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28606 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28607 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28608 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28609 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28610 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28611 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28612 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28613 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28614 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
28615 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
28616 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
28617 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
28618 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
, NULL
},
28619 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
, NULL
},
28620 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
, NULL
},
28621 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
, NULL
},
28622 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
, NULL
},
28623 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
, NULL
},
28624 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28625 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28626 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28627 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28628 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28629 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28630 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28631 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28632 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28633 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28634 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
28635 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28636 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28637 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28638 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28639 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28640 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28641 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28642 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28643 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28644 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28645 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28646 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28647 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28648 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28649 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28650 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28651 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28652 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28653 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28654 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28655 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28656 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28657 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28658 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28659 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28660 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28661 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28662 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28663 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28664 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28665 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28666 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28667 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28668 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28669 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28670 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28671 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28672 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28673 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28674 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28675 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28676 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28677 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28678 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28679 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
28680 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28681 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28682 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28683 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28684 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28685 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28686 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28687 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28688 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28689 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28690 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28691 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28692 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28693 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28694 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28695 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28696 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28697 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28698 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28699 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28700 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28701 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28702 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28703 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28704 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28705 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28706 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28707 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28708 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28709 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28710 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28711 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28712 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28713 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
28714 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28715 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28716 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28717 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28718 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28719 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28720 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28721 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
28722 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
28723 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28724 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28725 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28726 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28727 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
28728 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28729 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28730 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28731 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28732 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28733 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28734 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28735 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28736 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
28737 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28738 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28739 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28740 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
28741 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28742 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28743 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
28744 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28745 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28746 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
28747 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28748 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28749 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28750 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28751 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
28752 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28753 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28754 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
28755 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28756 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28757 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28758 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
28759 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28760 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28761 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
28762 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28763 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28764 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28765 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
28766 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28767 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28768 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28769 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28770 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28771 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
28772 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28773 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28774 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28775 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
28776 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28777 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28778 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28779 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
28780 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28781 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28782 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28783 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28784 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28785 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28786 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28787 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28788 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28789 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
28790 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28791 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28792 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28793 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28794 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28795 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28796 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28797 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28798 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28799 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28800 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
28801 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28802 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28803 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28804 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28805 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28806 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28807 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28808 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
28809 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28810 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28811 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28812 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28813 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28814 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28815 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28816 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
28817 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28818 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28819 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28820 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28821 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28822 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28823 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28824 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28825 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28826 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28827 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28828 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28829 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
28830 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28831 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28832 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28833 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
28834 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28835 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28836 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28837 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28838 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28839 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28840 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28841 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28842 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28843 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28844 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28845 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28846 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28847 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28848 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28849 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28850 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28851 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
28852 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28853 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28854 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28855 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28856 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28857 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28858 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28859 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28860 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28861 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28862 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28863 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28864 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28865 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
28866 { NULL
, NULL
, 0, NULL
}
28870 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28872 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28873 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28875 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28876 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28878 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28879 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28881 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28882 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28884 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28885 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28887 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28888 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28890 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
28891 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
28893 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28894 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28896 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28897 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28899 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28900 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28902 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28903 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28905 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
28906 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
28908 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28909 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28911 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28912 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28914 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28915 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28917 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28918 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28920 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28921 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28923 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28924 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28926 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28927 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28929 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28930 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28932 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28933 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28935 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28936 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28938 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28939 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28941 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28942 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28944 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28945 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28947 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28948 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28950 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28951 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28953 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28954 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28956 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28957 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28959 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28960 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28962 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
28963 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
28965 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28966 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28968 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28969 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28971 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28972 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28974 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28975 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28977 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28978 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28980 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28981 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28983 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28984 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28986 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
28987 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
28989 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
28990 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
28992 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
28993 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28995 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
28996 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28998 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
28999 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
29001 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
29002 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29004 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
29005 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
29007 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
29008 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29010 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29011 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29013 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29014 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29016 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29017 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29019 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29020 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29022 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29023 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29025 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29026 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29028 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29029 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29031 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29032 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29034 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29035 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29037 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29038 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29040 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29041 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29043 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29044 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29046 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29047 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29049 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29050 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29052 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29053 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29055 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29056 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29058 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29059 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29061 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29062 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29064 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29065 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29067 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29068 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29070 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29071 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29073 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29074 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29076 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29077 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29079 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29080 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29082 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29083 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29085 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29086 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29088 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29089 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29091 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29092 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29094 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29095 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29097 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29098 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29100 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29101 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29103 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29104 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29106 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29107 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29109 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29110 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29112 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29113 return (void *)((wxObject
*) ((wxSizer
*) x
));
29115 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29116 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29118 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29119 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29121 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29122 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29124 static void *_p_wxEventTo_p_wxObject(void *x
) {
29125 return (void *)((wxObject
*) ((wxEvent
*) x
));
29127 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29128 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29130 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29131 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29133 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29134 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29136 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29137 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29139 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29140 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29142 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29143 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29145 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29146 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29148 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29149 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29151 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29152 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29154 static void *_p_wxControlTo_p_wxObject(void *x
) {
29155 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29157 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29158 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29160 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29161 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29163 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29164 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29166 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29167 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29169 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29170 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29172 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29173 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29175 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29176 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29178 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29179 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29181 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29182 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29184 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29185 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29187 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29188 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29190 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29191 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29193 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29194 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29196 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29197 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29199 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29200 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29202 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29203 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29205 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29206 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29208 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29209 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29211 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29212 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29214 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29215 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29217 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29218 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29220 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29221 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29223 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29224 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29226 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29227 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29229 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29230 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29232 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29233 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29235 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29236 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29238 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29239 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29241 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29242 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29244 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29245 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29247 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29248 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29250 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29251 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29253 static void *_p_wxImageTo_p_wxObject(void *x
) {
29254 return (void *)((wxObject
*) ((wxImage
*) x
));
29256 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29257 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29259 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29260 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29262 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29263 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29265 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29266 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29268 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29269 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29271 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29272 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29274 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29275 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29277 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29278 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29280 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29281 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29283 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29284 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29286 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29287 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29289 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29290 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29292 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29293 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29295 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29296 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29298 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29299 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29301 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29302 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29304 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29305 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29307 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29308 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29310 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29311 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29313 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29314 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29316 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29317 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29319 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29320 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29322 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29323 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29325 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29326 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29328 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29329 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29331 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29332 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29334 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29335 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29337 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29338 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29340 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29341 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29343 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29344 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29346 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29347 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29349 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29350 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29352 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29353 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29355 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29356 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29358 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29359 return (void *)((wxWindow
*) ((wxControl
*) x
));
29361 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29362 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29364 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29365 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29367 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29368 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29370 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29371 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29373 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}};
29374 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}};
29375 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}};
29376 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}};
29377 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}};
29378 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}};
29379 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}};
29380 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}};
29381 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}};
29382 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}};
29383 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}};
29384 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}};
29385 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}};
29386 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}};
29387 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}};
29388 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}};
29389 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}};
29390 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}};
29391 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}};
29392 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}};
29393 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}};
29394 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}};
29395 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}};
29396 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}};
29397 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}};
29398 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}};
29399 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}};
29400 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}};
29401 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}};
29402 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}};
29403 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}};
29404 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}};
29405 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}};
29406 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}};
29407 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}};
29408 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}};
29409 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}};
29410 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}};
29411 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}};
29412 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}};
29413 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}};
29414 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}};
29415 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}};
29416 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}};
29417 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}};
29418 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}};
29419 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}};
29420 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}};
29421 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}};
29422 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}};
29423 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}};
29424 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}};
29425 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}};
29426 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}};
29427 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}};
29428 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}};
29429 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}};
29430 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}};
29431 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}};
29432 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}};
29433 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}};
29434 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}};
29435 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}};
29436 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}};
29437 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}};
29438 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}};
29439 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}};
29440 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}};
29441 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}};
29442 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}};
29443 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}};
29444 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}};
29445 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}};
29446 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}};
29447 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}};
29448 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}};
29449 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}};
29450 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}};
29451 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}};
29452 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}};
29453 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}};
29454 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}};
29455 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}};
29456 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}};
29457 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}};
29458 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}};
29459 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}};
29461 static swig_type_info
*swig_types_initial
[] = {
29462 _swigt__p_wxLogChain
,
29463 _swigt__p_wxMutexGuiLocker
,
29464 _swigt__p_wxMetafile
,
29465 _swigt__p_wxFileHistory
,
29467 _swigt__p_wxDateTime__TimeZone
,
29470 _swigt__p_wxConfigBase
,
29471 _swigt__p_wxDisplay
,
29472 _swigt__p_wxFileType
,
29473 _swigt__p_wxLogGui
,
29475 _swigt__p_wxDataFormat
,
29476 _swigt__p_wxTimerEvent
,
29480 _swigt__p_wxClipboard
,
29481 _swigt__p_wxStopWatch
,
29483 _swigt__p_wxClipboardLocker
,
29485 _swigt__p_wxLogStderr
,
29486 _swigt__p_wxLogTextCtrl
,
29487 _swigt__p_wxTextCtrl
,
29488 _swigt__p_wxBusyCursor
,
29489 _swigt__p_wxPyTextDataObject
,
29490 _swigt__p_wxBitmapDataObject
,
29491 _swigt__p_wxTextDataObject
,
29492 _swigt__p_wxDataObject
,
29493 _swigt__p_wxPyBitmapDataObject
,
29494 _swigt__p_wxFileDataObject
,
29495 _swigt__p_wxCustomDataObject
,
29496 _swigt__p_wxURLDataObject
,
29497 _swigt__p_wxMetafileDataObject
,
29499 _swigt__p_wxTimerRunner
,
29500 _swigt__p_wxLogWindow
,
29501 _swigt__p_wxTimeSpan
,
29502 _swigt__p_wxArrayString
,
29503 _swigt__p_wxWindowDisabler
,
29504 _swigt__p_wxToolTip
,
29505 _swigt__p_wxDataObjectComposite
,
29506 _swigt__p_wxFileConfig
,
29507 _swigt__p_wxSystemSettings
,
29508 _swigt__p_wxVideoMode
,
29509 _swigt__p_wxPyDataObjectSimple
,
29510 _swigt__p_wxDataObjectSimple
,
29511 _swigt__p_wxEvtHandler
,
29514 _swigt__p_wxSingleInstanceChecker
,
29515 _swigt__p_wxFileTypeInfo
,
29518 _swigt__p_wxMimeTypesManager
,
29519 _swigt__p_wxPyArtProvider
,
29520 _swigt__p_wxPyTipProvider
,
29521 _swigt__p_wxTipProvider
,
29522 _swigt__p_wxJoystick
,
29523 _swigt__p_wxSystemOptions
,
29525 _swigt__p_wxJoystickEvent
,
29526 _swigt__p_wxCursor
,
29527 _swigt__p_wxObject
,
29528 _swigt__p_wxOutputStream
,
29529 _swigt__p_wxDateTime
,
29530 _swigt__p_wxPyDropSource
,
29531 _swigt__p_wxWindow
,
29532 _swigt__p_wxString
,
29533 _swigt__p_wxPyProcess
,
29534 _swigt__p_wxBitmap
,
29535 _swigt__p_wxConfig
,
29537 _swigt__p_wxBusyInfo
,
29538 _swigt__p_wxPyDropTarget
,
29539 _swigt__p_wxPyTextDropTarget
,
29540 _swigt__p_wxPyFileDropTarget
,
29541 _swigt__p_wxProcessEvent
,
29543 _swigt__p_wxLogNull
,
29544 _swigt__p_wxColour
,
29546 _swigt__p_wxConfigPathChanger
,
29547 _swigt__p_wxPyTimer
,
29548 _swigt__p_wxDateSpan
,
29553 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29555 static swig_const_info swig_const_table
[] = {
29556 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29557 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29558 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29559 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29560 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29561 {0, 0, 0, 0.0, 0, 0}};
29570 SWIGEXPORT(void) SWIG_init(void) {
29571 static PyObject
*SWIG_globals
= 0;
29572 static int typeinit
= 0;
29575 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29576 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29577 d
= PyModule_GetDict(m
);
29580 for (i
= 0; swig_types_initial
[i
]; i
++) {
29581 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29585 SWIG_InstallConstants(d
,swig_const_table
);
29587 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29588 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29589 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29590 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29591 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29592 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29593 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29594 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29595 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29596 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29597 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29598 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29599 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29600 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29601 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29602 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29603 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29604 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29605 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29606 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29607 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29608 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29609 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29610 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29611 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29612 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29613 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29614 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29615 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29616 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29617 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29618 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29619 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29620 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29621 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29622 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29623 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29624 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29625 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29626 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29627 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29628 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29629 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29630 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29631 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29632 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29633 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29634 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29635 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29636 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29637 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29638 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29639 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29640 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29641 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29642 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29643 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29644 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29645 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29646 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29647 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29648 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29649 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29650 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29651 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29652 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29653 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29654 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29655 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29656 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29657 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29658 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29659 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29660 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29661 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29662 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29663 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29664 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29665 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29666 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29667 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29668 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29669 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29670 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29671 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29672 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29673 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29674 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29675 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29676 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29677 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29678 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29679 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29680 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29681 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29682 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29683 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29684 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29685 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29686 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29687 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29688 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29689 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29690 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29691 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29692 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29693 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29694 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29695 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29696 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29697 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29698 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29699 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29700 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29701 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29702 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29703 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29704 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29705 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29706 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29707 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29708 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29709 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29710 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29711 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29712 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29713 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29714 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29715 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29716 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29717 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29718 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29719 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29720 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29721 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29722 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29723 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29724 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29725 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29726 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29727 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29728 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29729 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29730 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29731 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29732 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29733 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29734 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29735 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29736 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29738 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29740 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29741 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29742 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29743 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29744 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29745 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29746 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29747 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29748 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29749 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29750 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29751 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29752 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29753 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29754 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29755 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29756 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29757 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29758 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29759 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29760 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29761 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29762 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29763 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29764 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29765 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29766 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29767 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29768 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29769 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29770 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29771 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29772 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29773 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29774 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29775 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29776 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29777 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29778 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29779 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29780 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29781 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29782 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29783 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29784 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29785 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29786 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29787 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29788 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29789 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29790 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29791 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29792 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29793 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29794 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29795 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29796 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29797 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29799 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29801 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29802 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29803 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29804 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29805 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29806 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29807 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29808 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29809 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29810 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29811 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29812 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29813 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29814 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29815 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29816 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29817 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29818 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29819 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29820 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29821 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29822 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29823 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29824 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29825 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29826 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29827 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29828 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29829 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29830 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29831 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29832 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29833 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29834 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
29835 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
29836 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
29837 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
29838 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
29839 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
29840 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
29841 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
29842 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
29843 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
29844 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
29845 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
29846 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
29847 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
29848 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
29849 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
29850 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
29851 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
29852 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
29853 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
29854 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
29855 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
29856 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
29857 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
29858 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
29859 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
29860 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
29861 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
29862 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
29863 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
29864 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
29865 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
29866 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
29867 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
29868 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
29869 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
29870 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
29871 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
29872 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
29873 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
29874 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
29875 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
29876 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
29877 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
29878 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
29879 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
29880 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
29881 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
29882 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
29883 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
29884 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
29885 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
29886 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
29887 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
29888 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
29889 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
29890 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
29891 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
29892 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
29893 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
29894 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
29895 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
29896 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
29897 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
29898 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
29899 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
29900 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
29901 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
29902 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
29903 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
29904 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
29905 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
29906 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
29907 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
29908 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
29909 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
29910 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
29911 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
29912 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
29913 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
29914 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
29915 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
29916 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
29917 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
29918 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
29919 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
29920 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
29921 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
29922 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
29923 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
29924 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
29925 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
29926 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
29927 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
29928 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
29929 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
29930 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
29931 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
29932 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
29933 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
29934 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
29935 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
29936 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
29937 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
29938 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
29939 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
29940 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
29941 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
29942 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
29943 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
29944 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
29945 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
29946 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
29947 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
29948 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
29949 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
29950 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
29951 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
29952 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
29953 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
29954 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
29955 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
29956 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
29957 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
29958 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
29959 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
29960 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
29961 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
29962 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
29963 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
29964 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
29965 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
29966 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
29967 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
29968 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
29969 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
29970 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
29971 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
29972 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
29973 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
29974 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
29975 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
29976 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
29977 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
29978 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
29979 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
29980 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
29981 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
29982 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
29983 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
29984 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
29985 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
29986 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
29987 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
29988 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
29989 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
29990 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
29991 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
29992 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
29993 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
29994 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
29995 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
29996 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
29997 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
29998 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
29999 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
30000 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
30002 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30003 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30004 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30005 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30007 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);
30008 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);