1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLogChain swig_types[0]
210 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
211 #define SWIGTYPE_p_wxMetafile swig_types[2]
212 #define SWIGTYPE_p_wxFileHistory swig_types[3]
213 #define SWIGTYPE_p_wxLog swig_types[4]
214 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
215 #define SWIGTYPE_p_wxMenu swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxConfigBase swig_types[8]
218 #define SWIGTYPE_p_wxDisplay swig_types[9]
219 #define SWIGTYPE_p_wxFileType swig_types[10]
220 #define SWIGTYPE_p_wxLogGui swig_types[11]
221 #define SWIGTYPE_p_wxFont swig_types[12]
222 #define SWIGTYPE_p_wxDataFormat swig_types[13]
223 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
224 #define SWIGTYPE_p_wxCaret swig_types[15]
225 #define SWIGTYPE_p_int swig_types[16]
226 #define SWIGTYPE_p_wxSize swig_types[17]
227 #define SWIGTYPE_p_wxClipboard swig_types[18]
228 #define SWIGTYPE_p_wxStopWatch swig_types[19]
229 #define SWIGTYPE_p_wxDC swig_types[20]
230 #define SWIGTYPE_p_wxClipboardLocker swig_types[21]
231 #define SWIGTYPE_p_wxIcon swig_types[22]
232 #define SWIGTYPE_p_wxLogStderr swig_types[23]
233 #define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
234 #define SWIGTYPE_p_wxTextCtrl swig_types[25]
235 #define SWIGTYPE_p_wxBusyCursor swig_types[26]
236 #define SWIGTYPE_p_wxPyTextDataObject swig_types[27]
237 #define SWIGTYPE_p_wxBitmapDataObject swig_types[28]
238 #define SWIGTYPE_p_wxTextDataObject swig_types[29]
239 #define SWIGTYPE_p_wxDataObject swig_types[30]
240 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[31]
241 #define SWIGTYPE_p_wxFileDataObject swig_types[32]
242 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
243 #define SWIGTYPE_p_wxURLDataObject swig_types[34]
244 #define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
245 #define SWIGTYPE_p_wxSound swig_types[36]
246 #define SWIGTYPE_p_wxTimerRunner swig_types[37]
247 #define SWIGTYPE_p_wxLogWindow swig_types[38]
248 #define SWIGTYPE_p_wxTimeSpan swig_types[39]
249 #define SWIGTYPE_p_wxArrayString swig_types[40]
250 #define SWIGTYPE_p_wxWindowDisabler swig_types[41]
251 #define SWIGTYPE_p_wxToolTip swig_types[42]
252 #define SWIGTYPE_p_wxDataObjectComposite swig_types[43]
253 #define SWIGTYPE_p_wxFileConfig swig_types[44]
254 #define SWIGTYPE_p_wxSystemSettings swig_types[45]
255 #define SWIGTYPE_p_wxVideoMode swig_types[46]
256 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[47]
257 #define SWIGTYPE_p_wxDataObjectSimple swig_types[48]
258 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
259 #define SWIGTYPE_p_wxRect swig_types[50]
260 #define SWIGTYPE_p_char swig_types[51]
261 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[52]
262 #define SWIGTYPE_p_wxFileTypeInfo swig_types[53]
263 #define SWIGTYPE_p_wxFrame swig_types[54]
264 #define SWIGTYPE_p_wxTimer swig_types[55]
265 #define SWIGTYPE_p_wxMimeTypesManager swig_types[56]
266 #define SWIGTYPE_p_wxPyArtProvider swig_types[57]
267 #define SWIGTYPE_p_wxPyTipProvider swig_types[58]
268 #define SWIGTYPE_p_wxTipProvider swig_types[59]
269 #define SWIGTYPE_p_wxJoystick swig_types[60]
270 #define SWIGTYPE_p_wxSystemOptions swig_types[61]
271 #define SWIGTYPE_p_wxPoint swig_types[62]
272 #define SWIGTYPE_p_wxJoystickEvent swig_types[63]
273 #define SWIGTYPE_p_wxCursor swig_types[64]
274 #define SWIGTYPE_p_wxObject swig_types[65]
275 #define SWIGTYPE_p_wxOutputStream swig_types[66]
276 #define SWIGTYPE_p_wxDateTime swig_types[67]
277 #define SWIGTYPE_p_wxPyDropSource swig_types[68]
278 #define SWIGTYPE_p_wxWindow swig_types[69]
279 #define SWIGTYPE_p_wxString swig_types[70]
280 #define SWIGTYPE_p_wxPyProcess swig_types[71]
281 #define SWIGTYPE_p_wxBitmap swig_types[72]
282 #define SWIGTYPE_p_wxConfig swig_types[73]
283 #define SWIGTYPE_p_wxChar swig_types[74]
284 #define SWIGTYPE_p_wxBusyInfo swig_types[75]
285 #define SWIGTYPE_p_wxPyDropTarget swig_types[76]
286 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[77]
287 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[78]
288 #define SWIGTYPE_p_wxProcessEvent swig_types[79]
289 #define SWIGTYPE_p_wxPyLog swig_types[80]
290 #define SWIGTYPE_p_wxLogNull swig_types[81]
291 #define SWIGTYPE_p_wxColour swig_types[82]
292 #define SWIGTYPE_p_wxByte swig_types[83]
293 #define SWIGTYPE_p_wxConfigPathChanger swig_types[84]
294 #define SWIGTYPE_p_wxPyTimer swig_types[85]
295 #define SWIGTYPE_p_wxDateSpan swig_types[86]
296 static swig_type_info
*swig_types
[88];
298 /* -------- TYPES TABLE (END) -------- */
301 /*-----------------------------------------------
303 ------------------------------------------------*/
304 #define SWIG_init init_misc
306 #define SWIG_name "_misc"
308 /* Auxiliar swig macros */
311 #define SWIGSTATICINLINE(a) static inline a
312 #define SWIGSTATIC(a) static a
313 #define swig_new_array(type, size) (new type[(size)])
314 #define swig_delete_array(cptr) delete[] cptr
315 #define swig_const_cast(type,a) const_cast<type>(a)
316 #define swig_static_cast(type,a) static_cast<type>(a)
317 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
319 #ifdef HAVE_NUMERIC_CAST
320 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
322 #define swig_numeric_cast(type,a) static_cast<type>(a)
327 #define SWIGSTATICINLINE(a) static a
328 #define SWIGSTATIC(a) static a
329 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
330 #define swig_delete_array(cptr) free((char*)cptr)
331 #define swig_const_cast(type,a) (type)(a)
332 #define swig_static_cast(type,a) (type)(a)
333 #define swig_reinterpret_cast(type,a) (type)(a)
334 #define swig_numeric_cast(type,a) (type)(a)
336 #endif /* __cplusplus */
339 #define SWIG_FromSignedChar PyInt_FromLong
340 #define SWIG_FromUnsignedChar PyInt_FromLong
341 #define SWIG_FromShort PyInt_FromLong
342 #define SWIG_FromUnsignedShort PyInt_FromLong
343 #define SWIG_FromInt PyInt_FromLong
344 #define SWIG_FromLong PyInt_FromLong
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347 #define SWIG_FromFloat PyFloat_FromDouble
348 #define SWIG_FromDouble PyFloat_FromDouble
351 #include "wx/wxPython/wxPython.h"
352 #include "wx/wxPython/pyclasses.h"
353 #include "wx/wxPython/pyistream.h"
356 static const wxString
wxPyEmptyString(wxEmptyString
);
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value
, const char* type
,
365 long min_value
, long max_value
)
367 if (!PyErr_Occurred()) {
368 if (value
< min_value
) {
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value
, type
, min_value
);
373 PyErr_SetObject(PyExc_OverflowError
, err
);
375 } else if (value
> max_value
) {
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value
, type
, max_value
);
379 PyErr_SetObject(PyExc_OverflowError
, err
);
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject
* obj
)
390 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
394 #if INT_MAX != LONG_MAX
395 SWIGSTATICINLINE(int)
396 SWIG_AsInt(PyObject
*obj
)
398 return swig_numeric_cast(int,
399 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
400 "int", INT_MIN
, INT_MAX
));
403 #define SWIG_AsInt SWIG_AsLong
407 SWIGSTATICINLINE(int)
408 SWIG_CheckInt(PyObject
* obj
)
411 if (PyErr_Occurred()) {
419 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
420 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
421 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
423 SWIGSTATICINLINE(int)
424 SWIG_CheckLong(PyObject
* obj
)
427 if (PyErr_Occurred()) {
436 SWIGSTATICINLINE(bool)
437 SWIG_AsBool(PyObject
*obj
)
439 return PyObject_IsTrue(obj
) ? true : false;
443 SWIGSTATICINLINE(int)
444 SWIG_CheckBool(PyObject
* obj
)
447 if (PyErr_Occurred()) {
456 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
462 } else if (target
== Py_None
) {
466 if (!PyTuple_Check(target
)) {
468 target
= PyTuple_New(1);
469 PyTuple_SetItem(target
, 0, o2
);
472 PyTuple_SetItem(o3
, 0, o
);
475 target
= PySequence_Concat(o2
, o3
);
483 SWIGSTATICINLINE(unsigned long)
484 SWIG_AsUnsignedLong(PyObject
* obj
)
486 if (PyLong_Check(obj
)) {
487 return PyLong_AsUnsignedLong(obj
);
489 long i
= PyInt_AsLong(obj
);
490 if ( !PyErr_Occurred() && (i
< 0)) {
491 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
498 SWIGSTATICINLINE(int)
499 SWIG_CheckUnsignedLong(PyObject
* obj
)
501 SWIG_AsUnsignedLong(obj
);
502 if (PyErr_Occurred()) {
511 SWIGSTATICINLINE(PyObject
* )
512 SWIG_FromUnsignedLong(unsigned long value
)
514 return (value
> LONG_MAX
) ?
515 PyLong_FromUnsignedLong(value
)
516 : PyInt_FromLong(swig_numeric_cast(long,value
));
520 bool wxThread_IsMain() {
521 #ifdef WXP_WITH_THREAD
522 return wxThread::IsMain();
529 int wxCaret_GetBlinkTime() {
530 return wxCaret::GetBlinkTime();
533 void wxCaret_SetBlinkTime(int milliseconds
) {
534 wxCaret::SetBlinkTime(milliseconds
);
538 #include <wx/snglinst.h>
542 #include <wx/msw/private.h>
543 #include <wx/dynload.h>
548 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
555 // This one only partially works. Appears to be an undocumented
556 // "standard" convention that not all widgets adhear to. For
557 // example, for some widgets backgrounds or non-client areas may
559 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
563 // This one works much better, except for on XP. On Win2k nearly
564 // all widgets and their children are captured correctly[**]. On
565 // XP with Themes activated most native widgets draw only
566 // partially, if at all. Without themes it works just like on
569 // ** For example the radio buttons in a wxRadioBox are not its
570 // children by default, but you can capture it via the panel
571 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
572 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
573 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
574 PRF_ERASEBKGND
| PRF_OWNED
);
578 // This one is only defined in the latest SDK and is only
579 // available on XP. MSDN says it is similar to sending WM_PRINT
580 // so I expect that it will work similar to the above. Since it
581 // is avaialble only on XP, it can't be compiled like this and
582 // will have to be loaded dynamically.
583 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
588 // Use PrintWindow if available, or fallback to WM_PRINT
589 // otherwise. Unfortunately using PrintWindow is even worse than
590 // WM_PRINT. For most native widgets nothing is drawn to the dc
591 // at all, with or without Themes.
592 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
593 static bool s_triedToLoad
= False
;
594 static PrintWindow_t pfnPrintWindow
= NULL
;
595 if ( !s_triedToLoad
)
598 s_triedToLoad
= True
;
599 wxDynamicLibrary
dllUser32(_T("user32.dll"));
600 if ( dllUser32
.IsLoaded() )
602 wxLogNull nolog
; // Don't report errors here
603 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
608 printf("Using PrintWindow\n");
609 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
613 printf("Using WM_PRINT\n");
614 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
615 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
623 #include <wx/tipdlg.h>
626 class wxPyTipProvider
: public wxTipProvider
{
628 wxPyTipProvider(size_t currentTip
)
629 : wxTipProvider(currentTip
) {}
631 DEC_PYCALLBACK_STRING__pure(GetTip
);
632 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
636 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
637 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
640 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
642 void wxPyTimer::Notify() {
644 wxPyBeginBlockThreads();
645 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
646 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
647 wxPyEndBlockThreads();
651 void wxPyTimer::base_Notify() {
657 SWIGSTATICINLINE(PyObject
*)
658 SWIG_FromCharPtr(const char* cptr
)
660 size_t size
= cptr
? strlen(cptr
) : 0;
662 if (size
> INT_MAX
) {
663 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
664 SWIG_TypeQuery("char *"), 0);
666 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
675 SWIGSTATICINLINE(unsigned long)
676 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
677 unsigned long max_value
)
679 if (!PyErr_Occurred()) {
680 if (value
> max_value
) {
682 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
683 value
, type
, max_value
);
684 PyErr_SetObject(PyExc_OverflowError
, err
);
692 #if UINT_MAX != ULONG_MAX
693 SWIGSTATICINLINE(unsigned int)
694 SWIG_AsUnsignedInt(PyObject
*obj
)
696 return swig_numeric_cast(unsigned int,
697 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
698 "unsigned int", UINT_MAX
));
701 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
705 SWIGSTATICINLINE(int)
706 SWIG_CheckUnsignedInt(PyObject
* obj
)
708 SWIG_AsUnsignedInt(obj
);
709 if (PyErr_Occurred()) {
717 wxString
Log_TimeStamp(){
719 wxLog::TimeStamp(&msg
);
722 void wxLog_Destroy(wxLog
*self
){ delete self
; }
724 // A wxLog class that can be derived from in wxPython
725 class wxPyLog
: public wxLog
{
727 wxPyLog() : wxLog() {}
729 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
731 wxPyBeginBlockThreads();
732 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
733 PyObject
* s
= wx2PyString(szString
);
734 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
737 wxPyEndBlockThreads();
739 wxLog::DoLog(level
, szString
, t
);
742 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
744 wxPyBeginBlockThreads();
745 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
746 PyObject
* s
= wx2PyString(szString
);
747 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
750 wxPyEndBlockThreads();
752 wxLog::DoLogString(szString
, t
);
761 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
764 #include <wx/joystick.h>
767 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
768 // A C++ stub class for wxJoystick for platforms that don't have it.
769 class wxJoystick
: public wxObject
{
771 wxJoystick(int joystick
= wxJOYSTICK1
) {
772 wxPyBeginBlockThreads();
773 PyErr_SetString(PyExc_NotImplementedError
,
774 "wxJoystick is not available on this platform.");
775 wxPyEndBlockThreads();
777 wxPoint
GetPosition() { return wxPoint(-1,-1); }
778 int GetZPosition() { return -1; }
779 int GetButtonState() { return -1; }
780 int GetPOVPosition() { return -1; }
781 int GetPOVCTSPosition() { return -1; }
782 int GetRudderPosition() { return -1; }
783 int GetUPosition() { return -1; }
784 int GetVPosition() { return -1; }
785 int GetMovementThreshold() { return -1; }
786 void SetMovementThreshold(int threshold
) {}
788 bool IsOk(void) { return False
; }
789 int GetNumberJoysticks() { return -1; }
790 int GetManufacturerId() { return -1; }
791 int GetProductId() { return -1; }
792 wxString
GetProductName() { return ""; }
793 int GetXMin() { return -1; }
794 int GetYMin() { return -1; }
795 int GetZMin() { return -1; }
796 int GetXMax() { return -1; }
797 int GetYMax() { return -1; }
798 int GetZMax() { return -1; }
799 int GetNumberButtons() { return -1; }
800 int GetNumberAxes() { return -1; }
801 int GetMaxButtons() { return -1; }
802 int GetMaxAxes() { return -1; }
803 int GetPollingMin() { return -1; }
804 int GetPollingMax() { return -1; }
805 int GetRudderMin() { return -1; }
806 int GetRudderMax() { return -1; }
807 int GetUMin() { return -1; }
808 int GetUMax() { return -1; }
809 int GetVMin() { return -1; }
810 int GetVMax() { return -1; }
812 bool HasRudder() { return False
; }
813 bool HasZ() { return False
; }
814 bool HasU() { return False
; }
815 bool HasV() { return False
; }
816 bool HasPOV() { return False
; }
817 bool HasPOV4Dir() { return False
; }
818 bool HasPOVCTS() { return False
; }
820 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
821 bool ReleaseCapture() { return False
; }
826 #include <wx/sound.h>
830 // A C++ stub class for wxWave for platforms that don't have it.
831 class wxSound
: public wxObject
835 wxPyBeginBlockThreads();
836 PyErr_SetString(PyExc_NotImplementedError
,
837 "wxSound is not available on this platform.");
838 wxPyEndBlockThreads();
840 wxSound(const wxString
&, bool) {
841 wxPyBeginBlockThreads();
842 PyErr_SetString(PyExc_NotImplementedError
,
843 "wxSound is not available on this platform.");
844 wxPyEndBlockThreads();
846 wxSound(int, const wxByte
*) {
847 wxPyBeginBlockThreads();
848 PyErr_SetString(PyExc_NotImplementedError
,
849 "wxSound is not available on this platform.");
850 wxPyEndBlockThreads();
855 bool Create(const wxString
&, bool) { return false; }
856 bool Create(int, const wxByte
*) { return false; };
857 bool IsOk() { return false; };
858 bool Play(unsigned) const { return false; }
859 static bool Play(const wxString
&, unsigned) { return false; }
860 static void Stop() {}
866 #include <wx/mimetype.h>
868 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
870 if (self
->GetMimeType(&str
))
871 return wx2PyString(str
);
875 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
877 if (self
->GetMimeTypes(arr
))
878 return wxArrayString2PyList_helper(arr
);
882 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
884 if (self
->GetExtensions(arr
))
885 return wxArrayString2PyList_helper(arr
);
889 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
891 if (self
->GetIcon(&loc
))
892 return new wxIcon(loc
);
896 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
898 if (self
->GetIcon(&loc
)) {
899 wxString iconFile
= loc
.GetFileName();
902 iconIndex
= loc
.GetIndex();
904 // Make a tuple and put the values in it
905 wxPyBeginBlockThreads();
906 PyObject
* tuple
= PyTuple_New(3);
907 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
908 wxT("wxIcon"), True
));
909 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
910 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
911 wxPyEndBlockThreads();
917 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
919 if (self
->GetDescription(&str
))
920 return wx2PyString(str
);
924 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
926 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
927 return wx2PyString(str
);
931 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
933 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
934 return wx2PyString(str
);
938 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
940 wxArrayString commands
;
941 if (self
->GetAllCommands(&verbs
, &commands
,
942 wxFileType::MessageParameters(filename
, mimetype
))) {
943 wxPyBeginBlockThreads();
944 PyObject
* tuple
= PyTuple_New(2);
945 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
946 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
947 wxPyEndBlockThreads();
953 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
954 return wxFileType::ExpandCommand(command
,
955 wxFileType::MessageParameters(filename
, mimetype
));
957 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
959 self
->EnumAllFileTypes(arr
);
960 return wxArrayString2PyList_helper(arr
);
963 #include <wx/artprov.h>
965 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
966 static const wxString
wxPyART_MENU(wxART_MENU
);
967 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
968 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
969 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
970 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
971 static const wxString
wxPyART_OTHER(wxART_OTHER
);
972 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
973 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
974 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
975 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
976 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
977 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
978 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
979 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
980 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
981 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
982 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
983 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
984 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
985 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
986 static const wxString
wxPyART_PRINT(wxART_PRINT
);
987 static const wxString
wxPyART_HELP(wxART_HELP
);
988 static const wxString
wxPyART_TIP(wxART_TIP
);
989 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
990 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
991 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
992 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
993 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
994 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
995 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
996 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
997 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
998 static const wxString
wxPyART_ERROR(wxART_ERROR
);
999 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1000 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1001 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1002 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1003 // Python aware wxArtProvider
1004 class wxPyArtProvider
: public wxArtProvider
{
1007 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1008 const wxArtClient
& client
,
1009 const wxSize
& size
) {
1010 wxBitmap rval
= wxNullBitmap
;
1011 wxPyBeginBlockThreads();
1012 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1013 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1017 s1
= wx2PyString(id
);
1018 s2
= wx2PyString(client
);
1019 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1024 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1029 wxPyEndBlockThreads();
1036 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1040 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1041 PyObject
* ret
= PyTuple_New(3);
1043 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1044 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1045 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1050 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1055 cont
= self
->GetFirstGroup(value
, index
);
1056 return __EnumerationHelper(cont
, value
, index
);
1058 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1062 cont
= self
->GetNextGroup(value
, index
);
1063 return __EnumerationHelper(cont
, value
, index
);
1065 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1070 cont
= self
->GetFirstEntry(value
, index
);
1071 return __EnumerationHelper(cont
, value
, index
);
1073 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1077 cont
= self
->GetNextEntry(value
, index
);
1078 return __EnumerationHelper(cont
, value
, index
);
1080 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1082 self
->Read(key
, &rv
, defaultVal
);
1086 SWIGSTATICINLINE(double)
1087 SWIG_AsDouble(PyObject
*obj
)
1089 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
1091 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
1093 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
1095 if (PyErr_Occurred()) {
1097 PyErr_SetString(PyExc_TypeError
, "a double is expected");
1103 SWIGSTATICINLINE(int)
1104 SWIG_CheckDouble(PyObject
* obj
)
1107 if (PyErr_Occurred()) {
1115 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1117 self
->Read(key
, &rv
, defaultVal
);
1120 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1122 self
->Read(key
, &rv
, defaultVal
);
1126 #include <wx/datetime.h>
1129 static const wxString
wxPyDateFormatStr(wxT("%c"));
1130 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1132 #define LOCAL_TZ wxDateTime::Local
1135 #if UINT_MAX < LONG_MAX
1136 #define SWIG_FromUnsignedInt SWIG_FromLong
1138 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1141 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1142 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1143 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1144 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1145 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1146 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
< *other
) : False
; }
1147 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
<= *other
) : False
; }
1148 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
> *other
) : True
; }
1149 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
>= *other
) : True
; }
1150 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
== *other
) : False
; }
1151 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
!= *other
) : True
; }
1152 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1154 const wxChar
* _date
= date
;
1155 rv
= self
->ParseRfc822Date(_date
);
1156 if (rv
== NULL
) return -1;
1159 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1161 const wxChar
* _date
= date
;
1162 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1163 if (rv
== NULL
) return -1;
1166 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1168 const wxChar
* _datetime
= datetime
;
1169 rv
= self
->ParseDateTime(_datetime
);
1170 if (rv
== NULL
) return -1;
1171 return rv
- _datetime
;
1173 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1175 const wxChar
* _date
= date
;
1176 rv
= self
->ParseDate(_date
);
1177 if (rv
== NULL
) return -1;
1180 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1182 const wxChar
* _time
= time
;
1183 rv
= self
->ParseTime(_time
);
1184 if (rv
== NULL
) return -1;
1187 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1188 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1189 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1190 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1191 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1192 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1193 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1194 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1195 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1196 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1197 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1198 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1199 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1200 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1201 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1202 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1204 #include <wx/dataobj.h>
1206 // Create a new class for wxPython to use
1207 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1209 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1210 : wxDataObjectSimple(format
) {}
1212 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1213 bool GetDataHere(void *buf
) const;
1214 bool SetData(size_t len
, const void *buf
) const;
1218 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1220 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1221 // We need to get the data for this object and write it to buf. I think
1222 // the best way to do this for wxPython is to have the Python method
1223 // return either a string or None and then act appropriately with the
1227 wxPyBeginBlockThreads();
1228 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1230 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1232 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1234 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1238 wxPyEndBlockThreads();
1242 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1243 // For this one we simply need to make a string from buf and len
1244 // and send it to the Python method.
1246 wxPyBeginBlockThreads();
1247 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1248 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1249 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1252 wxPyEndBlockThreads();
1256 // Create a new class for wxPython to use
1257 class wxPyTextDataObject
: public wxTextDataObject
{
1259 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1260 : wxTextDataObject(text
) {}
1262 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1263 DEC_PYCALLBACK_STRING__const(GetText
);
1264 DEC_PYCALLBACK__STRING(SetText
);
1268 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1269 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1270 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1273 // Create a new class for wxPython to use
1274 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1276 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1277 : wxBitmapDataObject(bitmap
) {}
1279 wxBitmap
GetBitmap() const;
1280 void SetBitmap(const wxBitmap
& bitmap
);
1284 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1285 wxBitmap
* rval
= &wxNullBitmap
;
1286 wxPyBeginBlockThreads();
1287 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1290 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1292 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1297 wxPyEndBlockThreads();
1301 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1302 wxPyBeginBlockThreads();
1303 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1304 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1305 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1308 wxPyEndBlockThreads();
1311 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1312 if (PyString_Check(data
)) {
1313 // for Python we just call SetData here since we always need it to make a copy.
1314 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1317 // raise a TypeError if not a string
1318 PyErr_SetString(PyExc_TypeError
, "String expected.");
1321 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1322 if (PyString_Check(data
)) {
1323 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1326 // raise a TypeError if not a string
1327 PyErr_SetString(PyExc_TypeError
, "String expected.");
1331 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1332 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1335 #include <wx/metafile.h>
1338 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1341 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1342 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1343 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1344 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1345 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1348 class wxPyTextDropTarget
: public wxTextDropTarget
{
1350 wxPyTextDropTarget() {}
1352 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1354 DEC_PYCALLBACK__(OnLeave
);
1355 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1356 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1357 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1358 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1363 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1364 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1365 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1366 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1367 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1368 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1372 class wxPyFileDropTarget
: public wxFileDropTarget
{
1374 wxPyFileDropTarget() {}
1376 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1378 DEC_PYCALLBACK__(OnLeave
);
1379 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1380 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1381 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1382 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1387 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1388 const wxArrayString
& filenames
) {
1390 wxPyBeginBlockThreads();
1391 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1392 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1393 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1396 wxPyEndBlockThreads();
1402 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1403 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1404 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1405 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1406 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1411 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1413 #include "wx/display.h"
1415 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1416 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1417 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1418 PyObject
* pyList
= NULL
;
1419 wxArrayVideoModes arr
= self
->GetModes(mode
);
1420 wxPyBeginBlockThreads();
1421 pyList
= PyList_New(0);
1422 for (int i
=0; i
< arr
.GetCount(); i
++) {
1423 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1424 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1425 PyList_Append(pyList
, pyObj
);
1427 wxPyEndBlockThreads();
1433 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1434 PyObject
*resultobj
;
1437 PyObject
* obj0
= 0 ;
1439 (char *) "index", NULL
1442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1443 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1444 if (PyErr_Occurred()) SWIG_fail
;
1446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1447 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1449 wxPyEndAllowThreads(__tstate
);
1450 if (PyErr_Occurred()) SWIG_fail
;
1453 wxColour
* resultptr
;
1454 resultptr
= new wxColour((wxColour
&) result
);
1455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1463 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
*resultobj
;
1467 PyObject
* obj0
= 0 ;
1469 (char *) "index", NULL
1472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1473 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1474 if (PyErr_Occurred()) SWIG_fail
;
1476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1477 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1479 wxPyEndAllowThreads(__tstate
);
1480 if (PyErr_Occurred()) SWIG_fail
;
1484 resultptr
= new wxFont((wxFont
&) result
);
1485 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1493 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1494 PyObject
*resultobj
;
1497 PyObject
* obj0
= 0 ;
1499 (char *) "index", NULL
1502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1503 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1504 if (PyErr_Occurred()) SWIG_fail
;
1506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1507 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1509 wxPyEndAllowThreads(__tstate
);
1510 if (PyErr_Occurred()) SWIG_fail
;
1512 resultobj
= SWIG_FromInt((int)result
);
1519 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1520 PyObject
*resultobj
;
1523 PyObject
* obj0
= 0 ;
1525 (char *) "index", NULL
1528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1529 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1530 if (PyErr_Occurred()) SWIG_fail
;
1532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1533 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1535 wxPyEndAllowThreads(__tstate
);
1536 if (PyErr_Occurred()) SWIG_fail
;
1538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1545 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1546 PyObject
*resultobj
;
1552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1555 result
= (int)wxSystemSettings::GetScreenType();
1557 wxPyEndAllowThreads(__tstate
);
1558 if (PyErr_Occurred()) SWIG_fail
;
1560 resultobj
= SWIG_FromInt((int)result
);
1567 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1568 PyObject
*resultobj
;
1570 PyObject
* obj0
= 0 ;
1572 (char *) "screen", NULL
1575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1576 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1577 if (PyErr_Occurred()) SWIG_fail
;
1579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1580 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1582 wxPyEndAllowThreads(__tstate
);
1583 if (PyErr_Occurred()) SWIG_fail
;
1585 Py_INCREF(Py_None
); resultobj
= Py_None
;
1592 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1595 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1597 return Py_BuildValue((char *)"");
1599 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1600 PyObject
*resultobj
;
1601 wxSystemOptions
*result
;
1606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1609 result
= (wxSystemOptions
*)new wxSystemOptions();
1611 wxPyEndAllowThreads(__tstate
);
1612 if (PyErr_Occurred()) SWIG_fail
;
1614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1621 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1622 PyObject
*resultobj
;
1623 wxString
*arg1
= 0 ;
1624 wxString
*arg2
= 0 ;
1625 bool temp1
= False
;
1626 bool temp2
= False
;
1627 PyObject
* obj0
= 0 ;
1628 PyObject
* obj1
= 0 ;
1630 (char *) "name",(char *) "value", NULL
1633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1635 arg1
= wxString_in_helper(obj0
);
1636 if (arg1
== NULL
) SWIG_fail
;
1640 arg2
= wxString_in_helper(obj1
);
1641 if (arg2
== NULL
) SWIG_fail
;
1645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1646 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1648 wxPyEndAllowThreads(__tstate
);
1649 if (PyErr_Occurred()) SWIG_fail
;
1651 Py_INCREF(Py_None
); resultobj
= Py_None
;
1674 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1675 PyObject
*resultobj
;
1676 wxString
*arg1
= 0 ;
1678 bool temp1
= False
;
1679 PyObject
* obj0
= 0 ;
1680 PyObject
* obj1
= 0 ;
1682 (char *) "name",(char *) "value", NULL
1685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1687 arg1
= wxString_in_helper(obj0
);
1688 if (arg1
== NULL
) SWIG_fail
;
1691 arg2
= (int) SWIG_AsInt(obj1
);
1692 if (PyErr_Occurred()) SWIG_fail
;
1694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1695 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1697 wxPyEndAllowThreads(__tstate
);
1698 if (PyErr_Occurred()) SWIG_fail
;
1700 Py_INCREF(Py_None
); resultobj
= Py_None
;
1715 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1716 PyObject
*resultobj
;
1717 wxString
*arg1
= 0 ;
1719 bool temp1
= False
;
1720 PyObject
* obj0
= 0 ;
1722 (char *) "name", NULL
1725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1727 arg1
= wxString_in_helper(obj0
);
1728 if (arg1
== NULL
) SWIG_fail
;
1732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1733 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1735 wxPyEndAllowThreads(__tstate
);
1736 if (PyErr_Occurred()) SWIG_fail
;
1740 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1742 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1759 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1760 PyObject
*resultobj
;
1761 wxString
*arg1
= 0 ;
1763 bool temp1
= False
;
1764 PyObject
* obj0
= 0 ;
1766 (char *) "name", NULL
1769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1771 arg1
= wxString_in_helper(obj0
);
1772 if (arg1
== NULL
) SWIG_fail
;
1776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1777 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1779 wxPyEndAllowThreads(__tstate
);
1780 if (PyErr_Occurred()) SWIG_fail
;
1782 resultobj
= SWIG_FromInt((int)result
);
1797 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
*resultobj
;
1799 wxString
*arg1
= 0 ;
1801 bool temp1
= False
;
1802 PyObject
* obj0
= 0 ;
1804 (char *) "name", NULL
1807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1809 arg1
= wxString_in_helper(obj0
);
1810 if (arg1
== NULL
) SWIG_fail
;
1814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1815 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1817 wxPyEndAllowThreads(__tstate
);
1818 if (PyErr_Occurred()) SWIG_fail
;
1820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1835 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1838 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1840 return Py_BuildValue((char *)"");
1842 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1843 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1848 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1853 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1855 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1862 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
1863 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1868 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1873 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1875 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1882 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
1883 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1888 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1893 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1895 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1902 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1903 PyObject
*resultobj
;
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1912 result
= (long)wxNewId();
1914 wxPyEndAllowThreads(__tstate
);
1915 if (PyErr_Occurred()) SWIG_fail
;
1917 resultobj
= SWIG_FromLong((long)result
);
1924 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1925 PyObject
*resultobj
;
1927 PyObject
* obj0
= 0 ;
1932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
1933 arg1
= (long) SWIG_AsLong(obj0
);
1934 if (PyErr_Occurred()) SWIG_fail
;
1936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1939 wxPyEndAllowThreads(__tstate
);
1940 if (PyErr_Occurred()) SWIG_fail
;
1942 Py_INCREF(Py_None
); resultobj
= Py_None
;
1949 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1950 PyObject
*resultobj
;
1956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1959 result
= (long)wxGetCurrentId();
1961 wxPyEndAllowThreads(__tstate
);
1962 if (PyErr_Occurred()) SWIG_fail
;
1964 resultobj
= SWIG_FromLong((long)result
);
1971 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1972 PyObject
*resultobj
;
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
1979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1982 wxPyEndAllowThreads(__tstate
);
1983 if (PyErr_Occurred()) SWIG_fail
;
1985 Py_INCREF(Py_None
); resultobj
= Py_None
;
1992 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1993 PyObject
*resultobj
;
1998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2003 wxPyEndAllowThreads(__tstate
);
2004 if (PyErr_Occurred()) SWIG_fail
;
2006 Py_INCREF(Py_None
); resultobj
= Py_None
;
2013 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
*resultobj
;
2015 bool arg1
= (bool) True
;
2017 PyObject
* obj0
= 0 ;
2019 (char *) "resetTimer", NULL
2022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2024 arg1
= (bool) SWIG_AsBool(obj0
);
2025 if (PyErr_Occurred()) SWIG_fail
;
2028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2029 result
= (long)wxGetElapsedTime(arg1
);
2031 wxPyEndAllowThreads(__tstate
);
2032 if (PyErr_Occurred()) SWIG_fail
;
2034 resultobj
= SWIG_FromLong((long)result
);
2041 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2042 PyObject
*resultobj
;
2043 int *arg1
= (int *) 0 ;
2044 int *arg2
= (int *) 0 ;
2053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2056 wxGetMousePosition(arg1
,arg2
);
2058 wxPyEndAllowThreads(__tstate
);
2059 if (PyErr_Occurred()) SWIG_fail
;
2061 Py_INCREF(Py_None
); resultobj
= Py_None
;
2063 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2064 resultobj
= t_output_helper(resultobj
,o
);
2067 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2068 resultobj
= t_output_helper(resultobj
,o
);
2076 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2077 PyObject
*resultobj
;
2083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2086 result
= (bool)wxIsBusy();
2088 wxPyEndAllowThreads(__tstate
);
2089 if (PyErr_Occurred()) SWIG_fail
;
2091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2098 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2099 PyObject
*resultobj
;
2105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2110 wxPyEndAllowThreads(__tstate
);
2111 if (PyErr_Occurred()) SWIG_fail
;
2115 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2117 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2126 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
*resultobj
;
2128 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2129 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2131 bool temp1
= False
;
2132 PyObject
* obj0
= 0 ;
2134 (char *) "command", NULL
2137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2140 arg1
= wxString_in_helper(obj0
);
2141 if (arg1
== NULL
) SWIG_fail
;
2146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2147 result
= (bool)wxShell((wxString
const &)*arg1
);
2149 wxPyEndAllowThreads(__tstate
);
2150 if (PyErr_Occurred()) SWIG_fail
;
2152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2167 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2168 PyObject
*resultobj
;
2173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2178 wxPyEndAllowThreads(__tstate
);
2179 if (PyErr_Occurred()) SWIG_fail
;
2181 Py_INCREF(Py_None
); resultobj
= Py_None
;
2188 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
*resultobj
;
2190 int *arg1
= (int *) 0 ;
2191 int *arg2
= (int *) 0 ;
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2204 result
= (int)wxGetOsVersion(arg1
,arg2
);
2206 wxPyEndAllowThreads(__tstate
);
2207 if (PyErr_Occurred()) SWIG_fail
;
2209 resultobj
= SWIG_FromInt((int)result
);
2211 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2212 resultobj
= t_output_helper(resultobj
,o
);
2215 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2216 resultobj
= t_output_helper(resultobj
,o
);
2224 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2225 PyObject
*resultobj
;
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2234 result
= wxGetOsDescription();
2236 wxPyEndAllowThreads(__tstate
);
2237 if (PyErr_Occurred()) SWIG_fail
;
2241 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2243 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2252 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2253 PyObject
*resultobj
;
2259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2262 result
= (long)wxGetFreeMemory();
2264 wxPyEndAllowThreads(__tstate
);
2265 if (PyErr_Occurred()) SWIG_fail
;
2267 resultobj
= SWIG_FromLong((long)result
);
2274 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2275 PyObject
*resultobj
;
2278 PyObject
* obj0
= 0 ;
2280 (char *) "wFlags", NULL
2283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2284 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2285 if (PyErr_Occurred()) SWIG_fail
;
2287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2288 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2290 wxPyEndAllowThreads(__tstate
);
2291 if (PyErr_Occurred()) SWIG_fail
;
2293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2300 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2301 PyObject
*resultobj
;
2303 PyObject
* obj0
= 0 ;
2305 (char *) "secs", NULL
2308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2309 arg1
= (int) SWIG_AsInt(obj0
);
2310 if (PyErr_Occurred()) SWIG_fail
;
2312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2315 wxPyEndAllowThreads(__tstate
);
2316 if (PyErr_Occurred()) SWIG_fail
;
2318 Py_INCREF(Py_None
); resultobj
= Py_None
;
2325 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2326 PyObject
*resultobj
;
2327 unsigned long arg1
;
2328 PyObject
* obj0
= 0 ;
2330 (char *) "milliseconds", NULL
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2334 arg1
= (unsigned long) SWIG_AsUnsignedLong(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_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2351 PyObject
*resultobj
;
2353 PyObject
* obj0
= 0 ;
2355 (char *) "enable", NULL
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2359 arg1
= (bool) SWIG_AsBool(obj0
);
2360 if (PyErr_Occurred()) SWIG_fail
;
2362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2363 wxEnableTopLevelWindows(arg1
);
2365 wxPyEndAllowThreads(__tstate
);
2366 if (PyErr_Occurred()) SWIG_fail
;
2368 Py_INCREF(Py_None
); resultobj
= Py_None
;
2375 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2376 PyObject
*resultobj
;
2377 wxString
*arg1
= 0 ;
2379 bool temp1
= False
;
2380 PyObject
* obj0
= 0 ;
2385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2387 arg1
= wxString_in_helper(obj0
);
2388 if (arg1
== NULL
) SWIG_fail
;
2392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2393 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2395 wxPyEndAllowThreads(__tstate
);
2396 if (PyErr_Occurred()) SWIG_fail
;
2400 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2402 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2419 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2420 PyObject
*resultobj
;
2426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2429 result
= wxGetEmailAddress();
2431 wxPyEndAllowThreads(__tstate
);
2432 if (PyErr_Occurred()) SWIG_fail
;
2436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2447 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2448 PyObject
*resultobj
;
2454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2457 result
= wxGetHostName();
2459 wxPyEndAllowThreads(__tstate
);
2460 if (PyErr_Occurred()) SWIG_fail
;
2464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2475 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2476 PyObject
*resultobj
;
2482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2485 result
= wxGetFullHostName();
2487 wxPyEndAllowThreads(__tstate
);
2488 if (PyErr_Occurred()) SWIG_fail
;
2492 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2494 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2503 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2504 PyObject
*resultobj
;
2510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2513 result
= wxGetUserId();
2515 wxPyEndAllowThreads(__tstate
);
2516 if (PyErr_Occurred()) SWIG_fail
;
2520 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2522 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2531 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2532 PyObject
*resultobj
;
2538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2541 result
= wxGetUserName();
2543 wxPyEndAllowThreads(__tstate
);
2544 if (PyErr_Occurred()) SWIG_fail
;
2548 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2550 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2559 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2560 PyObject
*resultobj
;
2566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2569 result
= wxGetHomeDir();
2571 wxPyEndAllowThreads(__tstate
);
2572 if (PyErr_Occurred()) SWIG_fail
;
2576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2587 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2588 PyObject
*resultobj
;
2589 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2590 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2592 bool temp1
= False
;
2593 PyObject
* obj0
= 0 ;
2595 (char *) "user", NULL
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2601 arg1
= wxString_in_helper(obj0
);
2602 if (arg1
== NULL
) SWIG_fail
;
2607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2608 result
= wxGetUserHome((wxString
const &)*arg1
);
2610 wxPyEndAllowThreads(__tstate
);
2611 if (PyErr_Occurred()) SWIG_fail
;
2615 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2617 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2634 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2635 PyObject
*resultobj
;
2636 unsigned long result
;
2641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2644 result
= (unsigned long)wxGetProcessId();
2646 wxPyEndAllowThreads(__tstate
);
2647 if (PyErr_Occurred()) SWIG_fail
;
2649 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2656 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2657 PyObject
*resultobj
;
2662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2667 wxPyEndAllowThreads(__tstate
);
2668 if (PyErr_Occurred()) SWIG_fail
;
2670 Py_INCREF(Py_None
); resultobj
= Py_None
;
2677 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2678 PyObject
*resultobj
;
2679 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2680 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2681 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2682 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2683 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2684 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2685 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2686 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2687 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2688 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2689 int arg6
= (int) 0 ;
2690 wxWindow
*arg7
= (wxWindow
*) NULL
;
2691 int arg8
= (int) -1 ;
2692 int arg9
= (int) -1 ;
2694 bool temp1
= False
;
2695 bool temp2
= False
;
2696 bool temp3
= False
;
2697 bool temp4
= False
;
2698 bool temp5
= False
;
2699 PyObject
* obj0
= 0 ;
2700 PyObject
* obj1
= 0 ;
2701 PyObject
* obj2
= 0 ;
2702 PyObject
* obj3
= 0 ;
2703 PyObject
* obj4
= 0 ;
2704 PyObject
* obj5
= 0 ;
2705 PyObject
* obj6
= 0 ;
2706 PyObject
* obj7
= 0 ;
2707 PyObject
* obj8
= 0 ;
2709 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2715 arg1
= wxString_in_helper(obj0
);
2716 if (arg1
== NULL
) SWIG_fail
;
2722 arg2
= wxString_in_helper(obj1
);
2723 if (arg2
== NULL
) SWIG_fail
;
2729 arg3
= wxString_in_helper(obj2
);
2730 if (arg3
== NULL
) SWIG_fail
;
2736 arg4
= wxString_in_helper(obj3
);
2737 if (arg4
== NULL
) SWIG_fail
;
2743 arg5
= wxString_in_helper(obj4
);
2744 if (arg5
== NULL
) SWIG_fail
;
2749 arg6
= (int) SWIG_AsInt(obj5
);
2750 if (PyErr_Occurred()) SWIG_fail
;
2753 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2757 arg8
= (int) SWIG_AsInt(obj7
);
2758 if (PyErr_Occurred()) SWIG_fail
;
2761 arg9
= (int) SWIG_AsInt(obj8
);
2762 if (PyErr_Occurred()) SWIG_fail
;
2765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2766 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2768 wxPyEndAllowThreads(__tstate
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2773 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2775 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2824 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
*resultobj
;
2826 wxString
*arg1
= 0 ;
2827 wxString
*arg2
= 0 ;
2828 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2829 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2830 wxWindow
*arg4
= (wxWindow
*) NULL
;
2832 bool temp1
= False
;
2833 bool temp2
= False
;
2834 bool temp3
= False
;
2835 PyObject
* obj0
= 0 ;
2836 PyObject
* obj1
= 0 ;
2837 PyObject
* obj2
= 0 ;
2838 PyObject
* obj3
= 0 ;
2840 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2845 arg1
= wxString_in_helper(obj0
);
2846 if (arg1
== NULL
) SWIG_fail
;
2850 arg2
= wxString_in_helper(obj1
);
2851 if (arg2
== NULL
) SWIG_fail
;
2856 arg3
= wxString_in_helper(obj2
);
2857 if (arg3
== NULL
) SWIG_fail
;
2862 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2867 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2869 wxPyEndAllowThreads(__tstate
);
2870 if (PyErr_Occurred()) SWIG_fail
;
2874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2909 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
*resultobj
;
2911 wxString
*arg1
= 0 ;
2912 wxString
*arg2
= 0 ;
2913 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2914 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2915 wxWindow
*arg4
= (wxWindow
*) NULL
;
2917 bool temp1
= False
;
2918 bool temp2
= False
;
2919 bool temp3
= False
;
2920 PyObject
* obj0
= 0 ;
2921 PyObject
* obj1
= 0 ;
2922 PyObject
* obj2
= 0 ;
2923 PyObject
* obj3
= 0 ;
2925 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2930 arg1
= wxString_in_helper(obj0
);
2931 if (arg1
== NULL
) SWIG_fail
;
2935 arg2
= wxString_in_helper(obj1
);
2936 if (arg2
== NULL
) SWIG_fail
;
2941 arg3
= wxString_in_helper(obj2
);
2942 if (arg3
== NULL
) SWIG_fail
;
2947 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2952 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2954 wxPyEndAllowThreads(__tstate
);
2955 if (PyErr_Occurred()) SWIG_fail
;
2959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2994 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2995 PyObject
*resultobj
;
2996 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
2997 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2998 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2999 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3000 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3001 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3002 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3003 wxWindow
*arg5
= (wxWindow
*) NULL
;
3005 bool temp1
= False
;
3006 bool temp2
= False
;
3008 PyObject
* obj0
= 0 ;
3009 PyObject
* obj1
= 0 ;
3010 PyObject
* obj2
= 0 ;
3011 PyObject
* obj3
= 0 ;
3012 PyObject
* obj4
= 0 ;
3014 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3020 arg1
= wxString_in_helper(obj0
);
3021 if (arg1
== NULL
) SWIG_fail
;
3027 arg2
= wxString_in_helper(obj1
);
3028 if (arg2
== NULL
) SWIG_fail
;
3033 arg3
= (long) SWIG_AsLong(obj2
);
3034 if (PyErr_Occurred()) SWIG_fail
;
3039 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3043 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3048 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3050 wxPyEndAllowThreads(__tstate
);
3051 if (PyErr_Occurred()) SWIG_fail
;
3055 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3057 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3082 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3083 PyObject
*resultobj
;
3084 wxString
*arg1
= 0 ;
3085 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3086 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3087 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3088 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3089 wxWindow
*arg4
= (wxWindow
*) NULL
;
3090 int arg5
= (int) -1 ;
3091 int arg6
= (int) -1 ;
3092 bool arg7
= (bool) True
;
3094 bool temp1
= False
;
3095 bool temp2
= False
;
3096 bool temp3
= False
;
3097 PyObject
* obj0
= 0 ;
3098 PyObject
* obj1
= 0 ;
3099 PyObject
* obj2
= 0 ;
3100 PyObject
* obj3
= 0 ;
3101 PyObject
* obj4
= 0 ;
3102 PyObject
* obj5
= 0 ;
3103 PyObject
* obj6
= 0 ;
3105 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3110 arg1
= wxString_in_helper(obj0
);
3111 if (arg1
== NULL
) SWIG_fail
;
3116 arg2
= wxString_in_helper(obj1
);
3117 if (arg2
== NULL
) SWIG_fail
;
3123 arg3
= wxString_in_helper(obj2
);
3124 if (arg3
== NULL
) SWIG_fail
;
3129 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3133 arg5
= (int) SWIG_AsInt(obj4
);
3134 if (PyErr_Occurred()) SWIG_fail
;
3137 arg6
= (int) SWIG_AsInt(obj5
);
3138 if (PyErr_Occurred()) SWIG_fail
;
3141 arg7
= (bool) SWIG_AsBool(obj6
);
3142 if (PyErr_Occurred()) SWIG_fail
;
3145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3146 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3148 wxPyEndAllowThreads(__tstate
);
3149 if (PyErr_Occurred()) SWIG_fail
;
3153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3188 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3189 PyObject
*resultobj
;
3190 wxString
*arg1
= 0 ;
3191 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3192 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3193 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3194 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3195 wxWindow
*arg4
= (wxWindow
*) NULL
;
3197 bool temp1
= False
;
3198 bool temp2
= False
;
3199 bool temp3
= False
;
3200 PyObject
* obj0
= 0 ;
3201 PyObject
* obj1
= 0 ;
3202 PyObject
* obj2
= 0 ;
3203 PyObject
* obj3
= 0 ;
3205 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3210 arg1
= wxString_in_helper(obj0
);
3211 if (arg1
== NULL
) SWIG_fail
;
3216 arg2
= wxString_in_helper(obj1
);
3217 if (arg2
== NULL
) SWIG_fail
;
3223 arg3
= wxString_in_helper(obj2
);
3224 if (arg3
== NULL
) SWIG_fail
;
3229 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3234 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3236 wxPyEndAllowThreads(__tstate
);
3237 if (PyErr_Occurred()) SWIG_fail
;
3241 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3243 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3276 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3277 PyObject
*resultobj
;
3278 wxString
*arg1
= 0 ;
3279 wxString
*arg2
= 0 ;
3281 wxString
*arg4
= (wxString
*) 0 ;
3282 wxWindow
*arg5
= (wxWindow
*) NULL
;
3283 int arg6
= (int) -1 ;
3284 int arg7
= (int) -1 ;
3285 bool arg8
= (bool) True
;
3286 int arg9
= (int) 150 ;
3287 int arg10
= (int) 200 ;
3289 bool temp1
= False
;
3290 bool temp2
= False
;
3291 PyObject
* obj0
= 0 ;
3292 PyObject
* obj1
= 0 ;
3293 PyObject
* obj2
= 0 ;
3294 PyObject
* obj3
= 0 ;
3295 PyObject
* obj4
= 0 ;
3296 PyObject
* obj5
= 0 ;
3297 PyObject
* obj6
= 0 ;
3298 PyObject
* obj7
= 0 ;
3299 PyObject
* obj8
= 0 ;
3301 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3306 arg1
= wxString_in_helper(obj0
);
3307 if (arg1
== NULL
) SWIG_fail
;
3311 arg2
= wxString_in_helper(obj1
);
3312 if (arg2
== NULL
) SWIG_fail
;
3316 arg3
= PyList_Size(obj2
);
3317 arg4
= wxString_LIST_helper(obj2
);
3318 if (arg4
== NULL
) SWIG_fail
;
3321 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3325 arg6
= (int) SWIG_AsInt(obj4
);
3326 if (PyErr_Occurred()) SWIG_fail
;
3329 arg7
= (int) SWIG_AsInt(obj5
);
3330 if (PyErr_Occurred()) SWIG_fail
;
3333 arg8
= (bool) SWIG_AsBool(obj6
);
3334 if (PyErr_Occurred()) SWIG_fail
;
3337 arg9
= (int) SWIG_AsInt(obj7
);
3338 if (PyErr_Occurred()) SWIG_fail
;
3341 arg10
= (int) SWIG_AsInt(obj8
);
3342 if (PyErr_Occurred()) SWIG_fail
;
3345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3346 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3348 wxPyEndAllowThreads(__tstate
);
3349 if (PyErr_Occurred()) SWIG_fail
;
3353 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3355 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3367 if (arg4
) delete [] arg4
;
3380 if (arg4
) delete [] arg4
;
3386 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3387 PyObject
*resultobj
;
3388 wxString
*arg1
= 0 ;
3389 wxString
*arg2
= 0 ;
3391 wxString
*arg4
= (wxString
*) 0 ;
3392 wxWindow
*arg5
= (wxWindow
*) NULL
;
3393 int arg6
= (int) -1 ;
3394 int arg7
= (int) -1 ;
3395 bool arg8
= (bool) True
;
3396 int arg9
= (int) 150 ;
3397 int arg10
= (int) 200 ;
3399 bool temp1
= False
;
3400 bool temp2
= False
;
3401 PyObject
* obj0
= 0 ;
3402 PyObject
* obj1
= 0 ;
3403 PyObject
* obj2
= 0 ;
3404 PyObject
* obj3
= 0 ;
3405 PyObject
* obj4
= 0 ;
3406 PyObject
* obj5
= 0 ;
3407 PyObject
* obj6
= 0 ;
3408 PyObject
* obj7
= 0 ;
3409 PyObject
* obj8
= 0 ;
3411 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3416 arg1
= wxString_in_helper(obj0
);
3417 if (arg1
== NULL
) SWIG_fail
;
3421 arg2
= wxString_in_helper(obj1
);
3422 if (arg2
== NULL
) SWIG_fail
;
3426 arg3
= PyList_Size(obj2
);
3427 arg4
= wxString_LIST_helper(obj2
);
3428 if (arg4
== NULL
) SWIG_fail
;
3431 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3435 arg6
= (int) SWIG_AsInt(obj4
);
3436 if (PyErr_Occurred()) SWIG_fail
;
3439 arg7
= (int) SWIG_AsInt(obj5
);
3440 if (PyErr_Occurred()) SWIG_fail
;
3443 arg8
= (bool) SWIG_AsBool(obj6
);
3444 if (PyErr_Occurred()) SWIG_fail
;
3447 arg9
= (int) SWIG_AsInt(obj7
);
3448 if (PyErr_Occurred()) SWIG_fail
;
3451 arg10
= (int) SWIG_AsInt(obj8
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3456 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3458 wxPyEndAllowThreads(__tstate
);
3459 if (PyErr_Occurred()) SWIG_fail
;
3461 resultobj
= SWIG_FromInt((int)result
);
3471 if (arg4
) delete [] arg4
;
3484 if (arg4
) delete [] arg4
;
3490 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
*resultobj
;
3492 wxString
*arg1
= 0 ;
3493 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3494 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3495 int arg3
= (int) wxOK
|wxCENTRE
;
3496 wxWindow
*arg4
= (wxWindow
*) NULL
;
3497 int arg5
= (int) -1 ;
3498 int arg6
= (int) -1 ;
3500 bool temp1
= False
;
3501 bool temp2
= False
;
3502 PyObject
* obj0
= 0 ;
3503 PyObject
* obj1
= 0 ;
3504 PyObject
* obj2
= 0 ;
3505 PyObject
* obj3
= 0 ;
3506 PyObject
* obj4
= 0 ;
3507 PyObject
* obj5
= 0 ;
3509 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3514 arg1
= wxString_in_helper(obj0
);
3515 if (arg1
== NULL
) SWIG_fail
;
3520 arg2
= wxString_in_helper(obj1
);
3521 if (arg2
== NULL
) SWIG_fail
;
3526 arg3
= (int) SWIG_AsInt(obj2
);
3527 if (PyErr_Occurred()) SWIG_fail
;
3530 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3534 arg5
= (int) SWIG_AsInt(obj4
);
3535 if (PyErr_Occurred()) SWIG_fail
;
3538 arg6
= (int) SWIG_AsInt(obj5
);
3539 if (PyErr_Occurred()) SWIG_fail
;
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3543 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3548 resultobj
= SWIG_FromInt((int)result
);
3571 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3572 PyObject
*resultobj
;
3573 wxString
*arg1
= 0 ;
3574 wxString
*arg2
= 0 ;
3575 wxString
*arg3
= 0 ;
3577 long arg5
= (long) 0 ;
3578 long arg6
= (long) 100 ;
3579 wxWindow
*arg7
= (wxWindow
*) NULL
;
3580 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3581 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3583 bool temp1
= False
;
3584 bool temp2
= False
;
3585 bool temp3
= False
;
3587 PyObject
* obj0
= 0 ;
3588 PyObject
* obj1
= 0 ;
3589 PyObject
* obj2
= 0 ;
3590 PyObject
* obj3
= 0 ;
3591 PyObject
* obj4
= 0 ;
3592 PyObject
* obj5
= 0 ;
3593 PyObject
* obj6
= 0 ;
3594 PyObject
* obj7
= 0 ;
3596 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3601 arg1
= wxString_in_helper(obj0
);
3602 if (arg1
== NULL
) SWIG_fail
;
3606 arg2
= wxString_in_helper(obj1
);
3607 if (arg2
== NULL
) SWIG_fail
;
3611 arg3
= wxString_in_helper(obj2
);
3612 if (arg3
== NULL
) SWIG_fail
;
3615 arg4
= (long) SWIG_AsLong(obj3
);
3616 if (PyErr_Occurred()) SWIG_fail
;
3618 arg5
= (long) SWIG_AsLong(obj4
);
3619 if (PyErr_Occurred()) SWIG_fail
;
3622 arg6
= (long) SWIG_AsLong(obj5
);
3623 if (PyErr_Occurred()) SWIG_fail
;
3626 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3632 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3637 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3639 wxPyEndAllowThreads(__tstate
);
3640 if (PyErr_Occurred()) SWIG_fail
;
3642 resultobj
= SWIG_FromLong((long)result
);
3673 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3674 PyObject
*resultobj
;
3680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3683 result
= (bool)wxColourDisplay();
3685 wxPyEndAllowThreads(__tstate
);
3686 if (PyErr_Occurred()) SWIG_fail
;
3688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3695 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3696 PyObject
*resultobj
;
3702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3705 result
= (int)wxDisplayDepth();
3707 wxPyEndAllowThreads(__tstate
);
3708 if (PyErr_Occurred()) SWIG_fail
;
3710 resultobj
= SWIG_FromInt((int)result
);
3717 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
*resultobj
;
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3727 result
= (int)wxGetDisplayDepth();
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) SWIG_fail
;
3732 resultobj
= SWIG_FromInt((int)result
);
3739 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3740 PyObject
*resultobj
;
3741 int *arg1
= (int *) 0 ;
3742 int *arg2
= (int *) 0 ;
3751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3754 wxDisplaySize(arg1
,arg2
);
3756 wxPyEndAllowThreads(__tstate
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3759 Py_INCREF(Py_None
); resultobj
= Py_None
;
3761 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3762 resultobj
= t_output_helper(resultobj
,o
);
3765 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3766 resultobj
= t_output_helper(resultobj
,o
);
3774 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
*resultobj
;
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3784 result
= wxGetDisplaySize();
3786 wxPyEndAllowThreads(__tstate
);
3787 if (PyErr_Occurred()) SWIG_fail
;
3791 resultptr
= new wxSize((wxSize
&) result
);
3792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3800 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
*resultobj
;
3802 int *arg1
= (int *) 0 ;
3803 int *arg2
= (int *) 0 ;
3812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3815 wxDisplaySizeMM(arg1
,arg2
);
3817 wxPyEndAllowThreads(__tstate
);
3818 if (PyErr_Occurred()) SWIG_fail
;
3820 Py_INCREF(Py_None
); resultobj
= Py_None
;
3822 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3823 resultobj
= t_output_helper(resultobj
,o
);
3826 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3827 resultobj
= t_output_helper(resultobj
,o
);
3835 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3836 PyObject
*resultobj
;
3842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3845 result
= wxGetDisplaySizeMM();
3847 wxPyEndAllowThreads(__tstate
);
3848 if (PyErr_Occurred()) SWIG_fail
;
3852 resultptr
= new wxSize((wxSize
&) result
);
3853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3861 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
*resultobj
;
3863 int *arg1
= (int *) 0 ;
3864 int *arg2
= (int *) 0 ;
3865 int *arg3
= (int *) 0 ;
3866 int *arg4
= (int *) 0 ;
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3882 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3884 wxPyEndAllowThreads(__tstate
);
3885 if (PyErr_Occurred()) SWIG_fail
;
3887 Py_INCREF(Py_None
); resultobj
= Py_None
;
3889 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3890 resultobj
= t_output_helper(resultobj
,o
);
3893 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3894 resultobj
= t_output_helper(resultobj
,o
);
3897 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3898 resultobj
= t_output_helper(resultobj
,o
);
3901 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3902 resultobj
= t_output_helper(resultobj
,o
);
3910 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3911 PyObject
*resultobj
;
3917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3920 result
= wxGetClientDisplayRect();
3922 wxPyEndAllowThreads(__tstate
);
3923 if (PyErr_Occurred()) SWIG_fail
;
3927 resultptr
= new wxRect((wxRect
&) result
);
3928 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3936 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3937 PyObject
*resultobj
;
3938 wxCursor
*arg1
= 0 ;
3939 PyObject
* obj0
= 0 ;
3941 (char *) "cursor", NULL
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
3946 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3949 PyErr_SetString(PyExc_TypeError
,"null reference");
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 Py_INCREF(Py_None
); resultobj
= Py_None
;
3966 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
;
3968 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3969 PyObject
* obj0
= 0 ;
3971 (char *) "cursor", NULL
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
3976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
3977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3981 wxBeginBusyCursor(arg1
);
3983 wxPyEndAllowThreads(__tstate
);
3984 if (PyErr_Occurred()) SWIG_fail
;
3986 Py_INCREF(Py_None
); resultobj
= Py_None
;
3993 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
*resultobj
;
4000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4003 result
= (wxWindow
*)wxGetActiveWindow();
4005 wxPyEndAllowThreads(__tstate
);
4006 if (PyErr_Occurred()) SWIG_fail
;
4009 resultobj
= wxPyMake_wxObject(result
);
4017 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
*resultobj
;
4022 PyObject
* obj0
= 0 ;
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4030 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4034 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4040 resultobj
= wxPyMake_wxObject(result
);
4048 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
*resultobj
;
4053 PyObject
* obj0
= 0 ;
4058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4061 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) SWIG_fail
;
4071 resultobj
= wxPyMake_wxObject(result
);
4079 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
*resultobj
;
4081 wxWindow
*arg1
= (wxWindow
*) 0 ;
4083 PyObject
* obj0
= 0 ;
4085 (char *) "win", NULL
4088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4099 resultobj
= wxPyMake_wxObject(result
);
4107 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
*resultobj
;
4111 PyObject
* obj0
= 0 ;
4113 (char *) "key", NULL
4116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4117 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4133 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
;
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 wxWakeUpMainThread();
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4147 Py_INCREF(Py_None
); resultobj
= Py_None
;
4154 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
*resultobj
;
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4165 wxPyEndAllowThreads(__tstate
);
4166 if (PyErr_Occurred()) SWIG_fail
;
4168 Py_INCREF(Py_None
); resultobj
= Py_None
;
4175 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4176 PyObject
*resultobj
;
4181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 wxPyEndAllowThreads(__tstate
);
4187 if (PyErr_Occurred()) SWIG_fail
;
4189 Py_INCREF(Py_None
); resultobj
= Py_None
;
4196 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
*resultobj
;
4198 wxMutexGuiLocker
*result
;
4203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4218 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
*resultobj
;
4220 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4221 PyObject
* obj0
= 0 ;
4223 (char *) "self", NULL
4226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4233 wxPyEndAllowThreads(__tstate
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4236 Py_INCREF(Py_None
); resultobj
= Py_None
;
4243 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4246 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4248 return Py_BuildValue((char *)"");
4250 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4251 PyObject
*resultobj
;
4257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 result
= (bool)wxThread_IsMain();
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4272 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4273 PyObject
*resultobj
;
4274 wxString
*arg1
= 0 ;
4276 bool temp1
= False
;
4277 PyObject
* obj0
= 0 ;
4279 (char *) "tip", NULL
4282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4284 arg1
= wxString_in_helper(obj0
);
4285 if (arg1
== NULL
) SWIG_fail
;
4289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4290 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4292 wxPyEndAllowThreads(__tstate
);
4293 if (PyErr_Occurred()) SWIG_fail
;
4296 resultobj
= wxPyMake_wxObject(result
);
4312 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
*resultobj
;
4314 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4315 wxString
*arg2
= 0 ;
4316 bool temp2
= False
;
4317 PyObject
* obj0
= 0 ;
4318 PyObject
* obj1
= 0 ;
4320 (char *) "self",(char *) "tip", NULL
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4327 arg2
= wxString_in_helper(obj1
);
4328 if (arg2
== NULL
) SWIG_fail
;
4332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4333 (arg1
)->SetTip((wxString
const &)*arg2
);
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 Py_INCREF(Py_None
); resultobj
= Py_None
;
4353 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
*resultobj
;
4355 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4357 PyObject
* obj0
= 0 ;
4359 (char *) "self", NULL
4362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4367 result
= (arg1
)->GetTip();
4369 wxPyEndAllowThreads(__tstate
);
4370 if (PyErr_Occurred()) SWIG_fail
;
4374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4385 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
*resultobj
;
4387 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4389 PyObject
* obj0
= 0 ;
4391 (char *) "self", NULL
4394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4399 result
= (wxWindow
*)(arg1
)->GetWindow();
4401 wxPyEndAllowThreads(__tstate
);
4402 if (PyErr_Occurred()) SWIG_fail
;
4405 resultobj
= wxPyMake_wxObject(result
);
4413 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4414 PyObject
*resultobj
;
4416 PyObject
* obj0
= 0 ;
4418 (char *) "flag", NULL
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4422 arg1
= (bool) SWIG_AsBool(obj0
);
4423 if (PyErr_Occurred()) SWIG_fail
;
4425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4426 wxToolTip::Enable(arg1
);
4428 wxPyEndAllowThreads(__tstate
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4431 Py_INCREF(Py_None
); resultobj
= Py_None
;
4438 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4439 PyObject
*resultobj
;
4441 PyObject
* obj0
= 0 ;
4443 (char *) "milliseconds", NULL
4446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4447 arg1
= (long) SWIG_AsLong(obj0
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4451 wxToolTip::SetDelay(arg1
);
4453 wxPyEndAllowThreads(__tstate
);
4454 if (PyErr_Occurred()) SWIG_fail
;
4456 Py_INCREF(Py_None
); resultobj
= Py_None
;
4463 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4466 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4468 return Py_BuildValue((char *)"");
4470 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4471 PyObject
*resultobj
;
4472 wxWindow
*arg1
= (wxWindow
*) 0 ;
4476 PyObject
* obj0
= 0 ;
4477 PyObject
* obj1
= 0 ;
4479 (char *) "window",(char *) "size", NULL
4482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4487 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4491 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4493 wxPyEndAllowThreads(__tstate
);
4494 if (PyErr_Occurred()) SWIG_fail
;
4496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4503 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
*resultobj
;
4505 wxCaret
*arg1
= (wxCaret
*) 0 ;
4506 PyObject
* obj0
= 0 ;
4508 (char *) "self", NULL
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4518 wxPyEndAllowThreads(__tstate
);
4519 if (PyErr_Occurred()) SWIG_fail
;
4521 Py_INCREF(Py_None
); resultobj
= Py_None
;
4528 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4529 PyObject
*resultobj
;
4530 wxCaret
*arg1
= (wxCaret
*) 0 ;
4532 PyObject
* obj0
= 0 ;
4534 (char *) "self", NULL
4537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4542 result
= (bool)(arg1
)->IsOk();
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4554 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
*resultobj
;
4556 wxCaret
*arg1
= (wxCaret
*) 0 ;
4558 PyObject
* obj0
= 0 ;
4560 (char *) "self", NULL
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 result
= (bool)(arg1
)->IsVisible();
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) SWIG_fail
;
4573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4580 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
*resultobj
;
4582 wxCaret
*arg1
= (wxCaret
*) 0 ;
4584 PyObject
* obj0
= 0 ;
4586 (char *) "self", NULL
4589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4594 result
= (arg1
)->GetPosition();
4596 wxPyEndAllowThreads(__tstate
);
4597 if (PyErr_Occurred()) SWIG_fail
;
4600 wxPoint
* resultptr
;
4601 resultptr
= new wxPoint((wxPoint
&) result
);
4602 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4610 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4611 PyObject
*resultobj
;
4612 wxCaret
*arg1
= (wxCaret
*) 0 ;
4613 int *arg2
= (int *) 0 ;
4614 int *arg3
= (int *) 0 ;
4617 PyObject
* obj0
= 0 ;
4619 (char *) "self", NULL
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",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 (arg1
)->GetPosition(arg2
,arg3
);
4631 wxPyEndAllowThreads(__tstate
);
4632 if (PyErr_Occurred()) SWIG_fail
;
4634 Py_INCREF(Py_None
); resultobj
= Py_None
;
4636 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4637 resultobj
= t_output_helper(resultobj
,o
);
4640 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4641 resultobj
= t_output_helper(resultobj
,o
);
4649 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
*resultobj
;
4651 wxCaret
*arg1
= (wxCaret
*) 0 ;
4653 PyObject
* obj0
= 0 ;
4655 (char *) "self", NULL
4658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4663 result
= (arg1
)->GetSize();
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4670 resultptr
= new wxSize((wxSize
&) result
);
4671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4679 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4680 PyObject
*resultobj
;
4681 wxCaret
*arg1
= (wxCaret
*) 0 ;
4682 int *arg2
= (int *) 0 ;
4683 int *arg3
= (int *) 0 ;
4686 PyObject
* obj0
= 0 ;
4688 (char *) "self", NULL
4693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",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 (arg1
)->GetSize(arg2
,arg3
);
4700 wxPyEndAllowThreads(__tstate
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4703 Py_INCREF(Py_None
); resultobj
= Py_None
;
4705 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4706 resultobj
= t_output_helper(resultobj
,o
);
4709 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4710 resultobj
= t_output_helper(resultobj
,o
);
4718 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
*resultobj
;
4720 wxCaret
*arg1
= (wxCaret
*) 0 ;
4722 PyObject
* obj0
= 0 ;
4724 (char *) "self", NULL
4727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4732 result
= (wxWindow
*)(arg1
)->GetWindow();
4734 wxPyEndAllowThreads(__tstate
);
4735 if (PyErr_Occurred()) SWIG_fail
;
4738 resultobj
= wxPyMake_wxObject(result
);
4746 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4747 PyObject
*resultobj
;
4748 wxCaret
*arg1
= (wxCaret
*) 0 ;
4751 PyObject
* obj0
= 0 ;
4752 PyObject
* obj1
= 0 ;
4753 PyObject
* obj2
= 0 ;
4755 (char *) "self",(char *) "x",(char *) "y", NULL
4758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4761 arg2
= (int) SWIG_AsInt(obj1
);
4762 if (PyErr_Occurred()) SWIG_fail
;
4763 arg3
= (int) SWIG_AsInt(obj2
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4767 (arg1
)->Move(arg2
,arg3
);
4769 wxPyEndAllowThreads(__tstate
);
4770 if (PyErr_Occurred()) SWIG_fail
;
4772 Py_INCREF(Py_None
); resultobj
= Py_None
;
4779 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4780 PyObject
*resultobj
;
4781 wxCaret
*arg1
= (wxCaret
*) 0 ;
4784 PyObject
* obj0
= 0 ;
4785 PyObject
* obj1
= 0 ;
4787 (char *) "self",(char *) "pt", NULL
4790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4795 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 (arg1
)->Move((wxPoint
const &)*arg2
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4804 Py_INCREF(Py_None
); resultobj
= Py_None
;
4811 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
*resultobj
;
4813 wxCaret
*arg1
= (wxCaret
*) 0 ;
4816 PyObject
* obj0
= 0 ;
4817 PyObject
* obj1
= 0 ;
4818 PyObject
* obj2
= 0 ;
4820 (char *) "self",(char *) "width",(char *) "height", NULL
4823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4826 arg2
= (int) SWIG_AsInt(obj1
);
4827 if (PyErr_Occurred()) SWIG_fail
;
4828 arg3
= (int) SWIG_AsInt(obj2
);
4829 if (PyErr_Occurred()) SWIG_fail
;
4831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4832 (arg1
)->SetSize(arg2
,arg3
);
4834 wxPyEndAllowThreads(__tstate
);
4835 if (PyErr_Occurred()) SWIG_fail
;
4837 Py_INCREF(Py_None
); resultobj
= Py_None
;
4844 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4845 PyObject
*resultobj
;
4846 wxCaret
*arg1
= (wxCaret
*) 0 ;
4849 PyObject
* obj0
= 0 ;
4850 PyObject
* obj1
= 0 ;
4852 (char *) "self",(char *) "size", NULL
4855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4860 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4864 (arg1
)->SetSize((wxSize
const &)*arg2
);
4866 wxPyEndAllowThreads(__tstate
);
4867 if (PyErr_Occurred()) SWIG_fail
;
4869 Py_INCREF(Py_None
); resultobj
= Py_None
;
4876 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4877 PyObject
*resultobj
;
4878 wxCaret
*arg1
= (wxCaret
*) 0 ;
4879 int arg2
= (int) True
;
4880 PyObject
* obj0
= 0 ;
4881 PyObject
* obj1
= 0 ;
4883 (char *) "self",(char *) "show", NULL
4886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4890 arg2
= (int) SWIG_AsInt(obj1
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4897 wxPyEndAllowThreads(__tstate
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4900 Py_INCREF(Py_None
); resultobj
= Py_None
;
4907 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4908 PyObject
*resultobj
;
4909 wxCaret
*arg1
= (wxCaret
*) 0 ;
4910 PyObject
* obj0
= 0 ;
4912 (char *) "self", NULL
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4922 wxPyEndAllowThreads(__tstate
);
4923 if (PyErr_Occurred()) SWIG_fail
;
4925 Py_INCREF(Py_None
); resultobj
= Py_None
;
4932 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
4934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4935 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4937 return Py_BuildValue((char *)"");
4939 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
*resultobj
;
4946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 result
= (int)wxCaret_GetBlinkTime();
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4954 resultobj
= SWIG_FromInt((int)result
);
4961 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4962 PyObject
*resultobj
;
4964 PyObject
* obj0
= 0 ;
4966 (char *) "milliseconds", NULL
4969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
4970 arg1
= (int) SWIG_AsInt(obj0
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4974 wxCaret_SetBlinkTime(arg1
);
4976 wxPyEndAllowThreads(__tstate
);
4977 if (PyErr_Occurred()) SWIG_fail
;
4979 Py_INCREF(Py_None
); resultobj
= Py_None
;
4986 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4987 PyObject
*resultobj
;
4988 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4989 wxBusyCursor
*result
;
4990 PyObject
* obj0
= 0 ;
4992 (char *) "cursor", NULL
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
4997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5002 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5004 wxPyEndAllowThreads(__tstate
);
5005 if (PyErr_Occurred()) SWIG_fail
;
5007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5014 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5015 PyObject
*resultobj
;
5016 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5017 PyObject
* obj0
= 0 ;
5019 (char *) "self", NULL
5022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5032 Py_INCREF(Py_None
); resultobj
= Py_None
;
5039 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5041 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5042 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5044 return Py_BuildValue((char *)"");
5046 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
*resultobj
;
5048 wxWindow
*arg1
= (wxWindow
*) NULL
;
5049 wxWindowDisabler
*result
;
5050 PyObject
* obj0
= 0 ;
5052 (char *) "winToSkip", NULL
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5064 wxPyEndAllowThreads(__tstate
);
5065 if (PyErr_Occurred()) SWIG_fail
;
5067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5074 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5075 PyObject
*resultobj
;
5076 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5077 PyObject
* obj0
= 0 ;
5079 (char *) "self", NULL
5082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 wxPyEndAllowThreads(__tstate
);
5090 if (PyErr_Occurred()) SWIG_fail
;
5092 Py_INCREF(Py_None
); resultobj
= Py_None
;
5099 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5102 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5104 return Py_BuildValue((char *)"");
5106 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
*resultobj
;
5108 wxString
*arg1
= 0 ;
5110 bool temp1
= False
;
5111 PyObject
* obj0
= 0 ;
5113 (char *) "message", NULL
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5118 arg1
= wxString_in_helper(obj0
);
5119 if (arg1
== NULL
) SWIG_fail
;
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5124 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) SWIG_fail
;
5129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5144 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
*resultobj
;
5146 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5147 PyObject
* obj0
= 0 ;
5149 (char *) "self", NULL
5152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5162 Py_INCREF(Py_None
); resultobj
= Py_None
;
5169 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5172 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5174 return Py_BuildValue((char *)"");
5176 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5177 PyObject
*resultobj
;
5178 wxStopWatch
*result
;
5183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5186 result
= (wxStopWatch
*)new wxStopWatch();
5188 wxPyEndAllowThreads(__tstate
);
5189 if (PyErr_Occurred()) SWIG_fail
;
5191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5198 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5199 PyObject
*resultobj
;
5200 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5201 long arg2
= (long) 0 ;
5202 PyObject
* obj0
= 0 ;
5203 PyObject
* obj1
= 0 ;
5205 (char *) "self",(char *) "t0", NULL
5208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5212 arg2
= (long) SWIG_AsLong(obj1
);
5213 if (PyErr_Occurred()) SWIG_fail
;
5216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5217 (arg1
)->Start(arg2
);
5219 wxPyEndAllowThreads(__tstate
);
5220 if (PyErr_Occurred()) SWIG_fail
;
5222 Py_INCREF(Py_None
); resultobj
= Py_None
;
5229 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5230 PyObject
*resultobj
;
5231 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5232 PyObject
* obj0
= 0 ;
5234 (char *) "self", NULL
5237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5244 wxPyEndAllowThreads(__tstate
);
5245 if (PyErr_Occurred()) SWIG_fail
;
5247 Py_INCREF(Py_None
); resultobj
= Py_None
;
5254 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
*resultobj
;
5256 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5257 PyObject
* obj0
= 0 ;
5259 (char *) "self", NULL
5262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5269 wxPyEndAllowThreads(__tstate
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5272 Py_INCREF(Py_None
); resultobj
= Py_None
;
5279 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5280 PyObject
*resultobj
;
5281 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5283 PyObject
* obj0
= 0 ;
5285 (char *) "self", NULL
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5298 resultobj
= SWIG_FromLong((long)result
);
5305 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5307 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5308 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5310 return Py_BuildValue((char *)"");
5312 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5313 PyObject
*resultobj
;
5314 int arg1
= (int) 9 ;
5315 wxFileHistory
*result
;
5316 PyObject
* obj0
= 0 ;
5318 (char *) "maxFiles", NULL
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5323 arg1
= (int) SWIG_AsInt(obj0
);
5324 if (PyErr_Occurred()) SWIG_fail
;
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5340 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
*resultobj
;
5342 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5343 PyObject
* obj0
= 0 ;
5345 (char *) "self", NULL
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5355 wxPyEndAllowThreads(__tstate
);
5356 if (PyErr_Occurred()) SWIG_fail
;
5358 Py_INCREF(Py_None
); resultobj
= Py_None
;
5365 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
*resultobj
;
5367 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5368 wxString
*arg2
= 0 ;
5369 bool temp2
= False
;
5370 PyObject
* obj0
= 0 ;
5371 PyObject
* obj1
= 0 ;
5373 (char *) "self",(char *) "file", NULL
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5380 arg2
= wxString_in_helper(obj1
);
5381 if (arg2
== NULL
) SWIG_fail
;
5385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5386 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5391 Py_INCREF(Py_None
); resultobj
= Py_None
;
5406 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5407 PyObject
*resultobj
;
5408 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5410 PyObject
* obj0
= 0 ;
5411 PyObject
* obj1
= 0 ;
5413 (char *) "self",(char *) "i", NULL
5416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5419 arg2
= (int) SWIG_AsInt(obj1
);
5420 if (PyErr_Occurred()) SWIG_fail
;
5422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5423 (arg1
)->RemoveFileFromHistory(arg2
);
5425 wxPyEndAllowThreads(__tstate
);
5426 if (PyErr_Occurred()) SWIG_fail
;
5428 Py_INCREF(Py_None
); resultobj
= Py_None
;
5435 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
;
5437 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5439 PyObject
* obj0
= 0 ;
5441 (char *) "self", NULL
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5449 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5451 wxPyEndAllowThreads(__tstate
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5454 resultobj
= SWIG_FromInt((int)result
);
5461 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
*resultobj
;
5463 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5464 wxMenu
*arg2
= (wxMenu
*) 0 ;
5465 PyObject
* obj0
= 0 ;
5466 PyObject
* obj1
= 0 ;
5468 (char *) "self",(char *) "menu", NULL
5471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5478 (arg1
)->UseMenu(arg2
);
5480 wxPyEndAllowThreads(__tstate
);
5481 if (PyErr_Occurred()) SWIG_fail
;
5483 Py_INCREF(Py_None
); resultobj
= Py_None
;
5490 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
*resultobj
;
5492 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5493 wxMenu
*arg2
= (wxMenu
*) 0 ;
5494 PyObject
* obj0
= 0 ;
5495 PyObject
* obj1
= 0 ;
5497 (char *) "self",(char *) "menu", NULL
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 (arg1
)->RemoveMenu(arg2
);
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5512 Py_INCREF(Py_None
); resultobj
= Py_None
;
5519 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
*resultobj
;
5521 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5522 wxConfigBase
*arg2
= 0 ;
5523 PyObject
* obj0
= 0 ;
5524 PyObject
* obj1
= 0 ;
5526 (char *) "self",(char *) "config", NULL
5529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5532 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5533 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5536 PyErr_SetString(PyExc_TypeError
,"null reference");
5540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5541 (arg1
)->Load(*arg2
);
5543 wxPyEndAllowThreads(__tstate
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5546 Py_INCREF(Py_None
); resultobj
= Py_None
;
5553 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
*resultobj
;
5555 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5556 wxConfigBase
*arg2
= 0 ;
5557 PyObject
* obj0
= 0 ;
5558 PyObject
* obj1
= 0 ;
5560 (char *) "self",(char *) "config", NULL
5563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5567 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5570 PyErr_SetString(PyExc_TypeError
,"null reference");
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 (arg1
)->Save(*arg2
);
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5580 Py_INCREF(Py_None
); resultobj
= Py_None
;
5587 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
*resultobj
;
5589 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5590 PyObject
* obj0
= 0 ;
5592 (char *) "self", NULL
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 (arg1
)->AddFilesToMenu();
5602 wxPyEndAllowThreads(__tstate
);
5603 if (PyErr_Occurred()) SWIG_fail
;
5605 Py_INCREF(Py_None
); resultobj
= Py_None
;
5612 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5613 PyObject
*resultobj
;
5614 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5615 wxMenu
*arg2
= (wxMenu
*) 0 ;
5616 PyObject
* obj0
= 0 ;
5617 PyObject
* obj1
= 0 ;
5619 (char *) "self",(char *) "menu", NULL
5622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 (arg1
)->AddFilesToMenu(arg2
);
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5634 Py_INCREF(Py_None
); resultobj
= Py_None
;
5641 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
*resultobj
;
5643 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5646 PyObject
* obj0
= 0 ;
5647 PyObject
* obj1
= 0 ;
5649 (char *) "self",(char *) "i", NULL
5652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5655 arg2
= (int) SWIG_AsInt(obj1
);
5656 if (PyErr_Occurred()) SWIG_fail
;
5658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5659 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5661 wxPyEndAllowThreads(__tstate
);
5662 if (PyErr_Occurred()) SWIG_fail
;
5666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5677 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5678 PyObject
*resultobj
;
5679 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5681 PyObject
* obj0
= 0 ;
5683 (char *) "self", NULL
5686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5691 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5693 wxPyEndAllowThreads(__tstate
);
5694 if (PyErr_Occurred()) SWIG_fail
;
5696 resultobj
= SWIG_FromInt((int)result
);
5703 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5706 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5708 return Py_BuildValue((char *)"");
5710 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
*resultobj
;
5712 wxString
*arg1
= 0 ;
5713 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5714 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5715 wxSingleInstanceChecker
*result
;
5716 bool temp1
= False
;
5717 bool temp2
= False
;
5718 PyObject
* obj0
= 0 ;
5719 PyObject
* obj1
= 0 ;
5721 (char *) "name",(char *) "path", NULL
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5726 arg1
= wxString_in_helper(obj0
);
5727 if (arg1
== NULL
) SWIG_fail
;
5732 arg2
= wxString_in_helper(obj1
);
5733 if (arg2
== NULL
) SWIG_fail
;
5738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5739 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5741 wxPyEndAllowThreads(__tstate
);
5742 if (PyErr_Occurred()) SWIG_fail
;
5744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5767 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5768 PyObject
*resultobj
;
5769 wxSingleInstanceChecker
*result
;
5774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5777 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5779 wxPyEndAllowThreads(__tstate
);
5780 if (PyErr_Occurred()) SWIG_fail
;
5782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5789 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
*resultobj
;
5791 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5792 PyObject
* obj0
= 0 ;
5794 (char *) "self", NULL
5797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5804 wxPyEndAllowThreads(__tstate
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5807 Py_INCREF(Py_None
); resultobj
= Py_None
;
5814 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5815 PyObject
*resultobj
;
5816 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5817 wxString
*arg2
= 0 ;
5818 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5819 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5821 bool temp2
= False
;
5822 bool temp3
= False
;
5823 PyObject
* obj0
= 0 ;
5824 PyObject
* obj1
= 0 ;
5825 PyObject
* obj2
= 0 ;
5827 (char *) "self",(char *) "name",(char *) "path", NULL
5830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5834 arg2
= wxString_in_helper(obj1
);
5835 if (arg2
== NULL
) SWIG_fail
;
5840 arg3
= wxString_in_helper(obj2
);
5841 if (arg3
== NULL
) SWIG_fail
;
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5875 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
;
5877 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5879 PyObject
* obj0
= 0 ;
5881 (char *) "self", NULL
5884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5889 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) SWIG_fail
;
5894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5901 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5904 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5906 return Py_BuildValue((char *)"");
5908 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
*resultobj
;
5910 wxWindow
*arg1
= (wxWindow
*) 0 ;
5913 PyObject
* obj0
= 0 ;
5914 PyObject
* obj1
= 0 ;
5915 PyObject
* obj2
= 0 ;
5917 (char *) "window",(char *) "dc",(char *) "method", NULL
5920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5924 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5927 PyErr_SetString(PyExc_TypeError
,"null reference");
5930 arg3
= (int) SWIG_AsInt(obj2
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5934 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5936 wxPyEndAllowThreads(__tstate
);
5937 if (PyErr_Occurred()) SWIG_fail
;
5939 Py_INCREF(Py_None
); resultobj
= Py_None
;
5946 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
*resultobj
;
5948 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5949 PyObject
* obj0
= 0 ;
5951 (char *) "self", NULL
5954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
5955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
5956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5961 wxPyEndAllowThreads(__tstate
);
5962 if (PyErr_Occurred()) SWIG_fail
;
5964 Py_INCREF(Py_None
); resultobj
= Py_None
;
5971 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5972 PyObject
*resultobj
;
5973 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5975 PyObject
* obj0
= 0 ;
5977 (char *) "self", NULL
5980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
5981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
5982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 result
= (arg1
)->GetTip();
5987 wxPyEndAllowThreads(__tstate
);
5988 if (PyErr_Occurred()) SWIG_fail
;
5992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6003 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
*resultobj
;
6005 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6007 PyObject
* obj0
= 0 ;
6009 (char *) "self", NULL
6012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6017 result
= (size_t)(arg1
)->GetCurrentTip();
6019 wxPyEndAllowThreads(__tstate
);
6020 if (PyErr_Occurred()) SWIG_fail
;
6022 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6029 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6030 PyObject
*resultobj
;
6031 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6032 wxString
*arg2
= 0 ;
6034 bool temp2
= False
;
6035 PyObject
* obj0
= 0 ;
6036 PyObject
* obj1
= 0 ;
6038 (char *) "self",(char *) "tip", NULL
6041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6045 arg2
= wxString_in_helper(obj1
);
6046 if (arg2
== NULL
) SWIG_fail
;
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6077 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6080 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6082 return Py_BuildValue((char *)"");
6084 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6085 PyObject
*resultobj
;
6087 wxPyTipProvider
*result
;
6088 PyObject
* obj0
= 0 ;
6090 (char *) "currentTip", NULL
6093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6094 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6095 if (PyErr_Occurred()) SWIG_fail
;
6097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6098 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6100 wxPyEndAllowThreads(__tstate
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6110 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6111 PyObject
*resultobj
;
6112 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6113 PyObject
*arg2
= (PyObject
*) 0 ;
6114 PyObject
*arg3
= (PyObject
*) 0 ;
6115 PyObject
* obj0
= 0 ;
6116 PyObject
* obj1
= 0 ;
6117 PyObject
* obj2
= 0 ;
6119 (char *) "self",(char *) "self",(char *) "_class", NULL
6122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6129 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6131 wxPyEndAllowThreads(__tstate
);
6132 if (PyErr_Occurred()) SWIG_fail
;
6134 Py_INCREF(Py_None
); resultobj
= Py_None
;
6141 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6143 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6144 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6146 return Py_BuildValue((char *)"");
6148 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
*resultobj
;
6150 wxWindow
*arg1
= (wxWindow
*) 0 ;
6151 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6152 bool arg3
= (bool) True
;
6154 PyObject
* obj0
= 0 ;
6155 PyObject
* obj1
= 0 ;
6156 PyObject
* obj2
= 0 ;
6158 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6167 arg3
= (bool) SWIG_AsBool(obj2
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6184 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
*resultobj
;
6186 wxString
*arg1
= 0 ;
6188 wxTipProvider
*result
;
6189 bool temp1
= False
;
6190 PyObject
* obj0
= 0 ;
6191 PyObject
* obj1
= 0 ;
6193 (char *) "filename",(char *) "currentTip", NULL
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6198 arg1
= wxString_in_helper(obj0
);
6199 if (arg1
== NULL
) SWIG_fail
;
6202 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6203 if (PyErr_Occurred()) SWIG_fail
;
6205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6206 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6208 wxPyEndAllowThreads(__tstate
);
6209 if (PyErr_Occurred()) SWIG_fail
;
6211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6226 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
*resultobj
;
6228 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6229 int arg2
= (int) -1 ;
6231 PyObject
* obj0
= 0 ;
6232 PyObject
* obj1
= 0 ;
6234 (char *) "owner",(char *) "id", NULL
6237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6243 arg2
= (int) SWIG_AsInt(obj1
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6248 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6250 wxPyEndAllowThreads(__tstate
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6260 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
;
6262 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6263 PyObject
* obj0
= 0 ;
6265 (char *) "self", NULL
6268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6275 wxPyEndAllowThreads(__tstate
);
6276 if (PyErr_Occurred()) SWIG_fail
;
6278 Py_INCREF(Py_None
); resultobj
= Py_None
;
6285 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6286 PyObject
*resultobj
;
6287 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6288 PyObject
*arg2
= (PyObject
*) 0 ;
6289 PyObject
*arg3
= (PyObject
*) 0 ;
6290 int arg4
= (int) 1 ;
6291 PyObject
* obj0
= 0 ;
6292 PyObject
* obj1
= 0 ;
6293 PyObject
* obj2
= 0 ;
6294 PyObject
* obj3
= 0 ;
6296 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6305 arg4
= (int) SWIG_AsInt(obj3
);
6306 if (PyErr_Occurred()) SWIG_fail
;
6309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6310 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6312 wxPyEndAllowThreads(__tstate
);
6313 if (PyErr_Occurred()) SWIG_fail
;
6315 Py_INCREF(Py_None
); resultobj
= Py_None
;
6322 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
*resultobj
;
6324 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6325 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6326 int arg3
= (int) -1 ;
6327 PyObject
* obj0
= 0 ;
6328 PyObject
* obj1
= 0 ;
6329 PyObject
* obj2
= 0 ;
6331 (char *) "self",(char *) "owner",(char *) "id", NULL
6334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6340 arg3
= (int) SWIG_AsInt(obj2
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6345 (arg1
)->SetOwner(arg2
,arg3
);
6347 wxPyEndAllowThreads(__tstate
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6350 Py_INCREF(Py_None
); resultobj
= Py_None
;
6357 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6358 PyObject
*resultobj
;
6359 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6360 int arg2
= (int) -1 ;
6361 bool arg3
= (bool) False
;
6363 PyObject
* obj0
= 0 ;
6364 PyObject
* obj1
= 0 ;
6365 PyObject
* obj2
= 0 ;
6367 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6374 arg2
= (int) SWIG_AsInt(obj1
);
6375 if (PyErr_Occurred()) SWIG_fail
;
6378 arg3
= (bool) SWIG_AsBool(obj2
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6383 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6385 wxPyEndAllowThreads(__tstate
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6395 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
*resultobj
;
6397 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6398 PyObject
* obj0
= 0 ;
6400 (char *) "self", NULL
6403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6410 wxPyEndAllowThreads(__tstate
);
6411 if (PyErr_Occurred()) SWIG_fail
;
6413 Py_INCREF(Py_None
); resultobj
= Py_None
;
6420 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6421 PyObject
*resultobj
;
6422 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6424 PyObject
* obj0
= 0 ;
6426 (char *) "self", NULL
6429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6434 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6436 wxPyEndAllowThreads(__tstate
);
6437 if (PyErr_Occurred()) SWIG_fail
;
6439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6446 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6447 PyObject
*resultobj
;
6448 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6450 PyObject
* obj0
= 0 ;
6452 (char *) "self", NULL
6455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6460 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6462 wxPyEndAllowThreads(__tstate
);
6463 if (PyErr_Occurred()) SWIG_fail
;
6465 resultobj
= SWIG_FromInt((int)result
);
6472 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
*resultobj
;
6474 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6476 PyObject
* obj0
= 0 ;
6478 (char *) "self", NULL
6481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6486 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6498 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6499 PyObject
*resultobj
;
6500 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6502 PyObject
* obj0
= 0 ;
6504 (char *) "self", NULL
6507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6512 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6514 wxPyEndAllowThreads(__tstate
);
6515 if (PyErr_Occurred()) SWIG_fail
;
6517 resultobj
= SWIG_FromInt((int)result
);
6524 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6527 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6529 return Py_BuildValue((char *)"");
6531 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6532 PyObject
*resultobj
;
6533 int arg1
= (int) 0 ;
6534 int arg2
= (int) 0 ;
6535 wxTimerEvent
*result
;
6536 PyObject
* obj0
= 0 ;
6537 PyObject
* obj1
= 0 ;
6539 (char *) "timerid",(char *) "interval", NULL
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6544 arg1
= (int) SWIG_AsInt(obj0
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6548 arg2
= (int) SWIG_AsInt(obj1
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6565 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6566 PyObject
*resultobj
;
6567 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6569 PyObject
* obj0
= 0 ;
6571 (char *) "self", NULL
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6584 resultobj
= SWIG_FromInt((int)result
);
6591 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6594 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6596 return Py_BuildValue((char *)"");
6598 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6599 PyObject
*resultobj
;
6601 wxTimerRunner
*result
;
6602 PyObject
* obj0
= 0 ;
6604 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6609 PyErr_SetString(PyExc_TypeError
,"null reference");
6613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6614 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6616 wxPyEndAllowThreads(__tstate
);
6617 if (PyErr_Occurred()) SWIG_fail
;
6619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6626 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6627 PyObject
*resultobj
;
6630 bool arg3
= (bool) False
;
6631 wxTimerRunner
*result
;
6632 PyObject
* obj0
= 0 ;
6633 PyObject
* obj1
= 0 ;
6634 PyObject
* obj2
= 0 ;
6636 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6638 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6641 PyErr_SetString(PyExc_TypeError
,"null reference");
6644 arg2
= (int) SWIG_AsInt(obj1
);
6645 if (PyErr_Occurred()) SWIG_fail
;
6647 arg3
= (bool) SWIG_AsBool(obj2
);
6648 if (PyErr_Occurred()) SWIG_fail
;
6651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6654 wxPyEndAllowThreads(__tstate
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6664 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6669 argc
= PyObject_Length(args
);
6670 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6671 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6677 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6685 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6688 if ((argc
>= 2) && (argc
<= 3)) {
6692 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6700 _v
= SWIG_CheckInt(argv
[1]);
6703 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6705 _v
= SWIG_CheckBool(argv
[2]);
6707 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6713 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6718 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6719 PyObject
*resultobj
;
6720 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6721 PyObject
* obj0
= 0 ;
6723 (char *) "self", NULL
6726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6733 wxPyEndAllowThreads(__tstate
);
6734 if (PyErr_Occurred()) SWIG_fail
;
6736 Py_INCREF(Py_None
); resultobj
= Py_None
;
6743 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
*resultobj
;
6745 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6747 bool arg3
= (bool) False
;
6748 PyObject
* obj0
= 0 ;
6749 PyObject
* obj1
= 0 ;
6750 PyObject
* obj2
= 0 ;
6752 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6758 arg2
= (int) SWIG_AsInt(obj1
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6761 arg3
= (bool) SWIG_AsBool(obj2
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6766 (arg1
)->Start(arg2
,arg3
);
6768 wxPyEndAllowThreads(__tstate
);
6769 if (PyErr_Occurred()) SWIG_fail
;
6771 Py_INCREF(Py_None
); resultobj
= Py_None
;
6778 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6781 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6783 return Py_BuildValue((char *)"");
6785 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
;
6792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6795 result
= (wxLog
*)new wxLog();
6797 wxPyEndAllowThreads(__tstate
);
6798 if (PyErr_Occurred()) SWIG_fail
;
6800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
6807 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6808 PyObject
*resultobj
;
6814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6817 result
= (bool)wxLog::IsEnabled();
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) SWIG_fail
;
6822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6829 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6830 PyObject
*resultobj
;
6831 bool arg1
= (bool) True
;
6833 PyObject
* obj0
= 0 ;
6835 (char *) "doIt", NULL
6838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6840 arg1
= (bool) SWIG_AsBool(obj0
);
6841 if (PyErr_Occurred()) SWIG_fail
;
6844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6845 result
= (bool)wxLog::EnableLogging(arg1
);
6847 wxPyEndAllowThreads(__tstate
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6857 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6858 PyObject
*resultobj
;
6860 wxChar
*arg2
= (wxChar
*) 0 ;
6862 PyObject
* obj0
= 0 ;
6863 PyObject
* obj1
= 0 ;
6864 PyObject
* obj2
= 0 ;
6866 (char *) "level",(char *) "szString",(char *) "t", NULL
6869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6870 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
6873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6874 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6878 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6880 wxPyEndAllowThreads(__tstate
);
6881 if (PyErr_Occurred()) SWIG_fail
;
6883 Py_INCREF(Py_None
); resultobj
= Py_None
;
6890 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
*resultobj
;
6892 wxLog
*arg1
= (wxLog
*) 0 ;
6893 PyObject
* obj0
= 0 ;
6895 (char *) "self", NULL
6898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
6900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6908 Py_INCREF(Py_None
); resultobj
= Py_None
;
6915 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6916 PyObject
*resultobj
;
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6924 wxLog::FlushActive();
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6929 Py_INCREF(Py_None
); resultobj
= Py_None
;
6936 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6937 PyObject
*resultobj
;
6943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
6945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6946 result
= (wxLog
*)wxLog::GetActiveTarget();
6948 wxPyEndAllowThreads(__tstate
);
6949 if (PyErr_Occurred()) SWIG_fail
;
6951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
6958 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6959 PyObject
*resultobj
;
6960 wxLog
*arg1
= (wxLog
*) 0 ;
6962 PyObject
* obj0
= 0 ;
6964 (char *) "pLogger", NULL
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
6968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
6969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6972 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
6974 wxPyEndAllowThreads(__tstate
);
6975 if (PyErr_Occurred()) SWIG_fail
;
6977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
6984 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6985 PyObject
*resultobj
;
6990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
6992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6995 wxPyEndAllowThreads(__tstate
);
6996 if (PyErr_Occurred()) SWIG_fail
;
6998 Py_INCREF(Py_None
); resultobj
= Py_None
;
7005 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7006 PyObject
*resultobj
;
7011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7016 wxPyEndAllowThreads(__tstate
);
7017 if (PyErr_Occurred()) SWIG_fail
;
7019 Py_INCREF(Py_None
); resultobj
= Py_None
;
7026 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
*resultobj
;
7028 bool arg1
= (bool) True
;
7029 PyObject
* obj0
= 0 ;
7031 (char *) "bVerbose", NULL
7034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7036 arg1
= (bool) SWIG_AsBool(obj0
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7041 wxLog::SetVerbose(arg1
);
7043 wxPyEndAllowThreads(__tstate
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7046 Py_INCREF(Py_None
); resultobj
= Py_None
;
7053 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7054 PyObject
*resultobj
;
7056 PyObject
* obj0
= 0 ;
7058 (char *) "logLevel", NULL
7061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7062 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7066 wxLog::SetLogLevel(arg1
);
7068 wxPyEndAllowThreads(__tstate
);
7069 if (PyErr_Occurred()) SWIG_fail
;
7071 Py_INCREF(Py_None
); resultobj
= Py_None
;
7078 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
*resultobj
;
7084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 wxLog::DontCreateOnDemand();
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7092 Py_INCREF(Py_None
); resultobj
= Py_None
;
7099 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7100 PyObject
*resultobj
;
7102 PyObject
* obj0
= 0 ;
7104 (char *) "ulMask", NULL
7107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7108 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7109 if (PyErr_Occurred()) SWIG_fail
;
7111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 wxLog::SetTraceMask(arg1
);
7114 wxPyEndAllowThreads(__tstate
);
7115 if (PyErr_Occurred()) SWIG_fail
;
7117 Py_INCREF(Py_None
); resultobj
= Py_None
;
7124 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
*resultobj
;
7126 wxString
*arg1
= 0 ;
7127 bool temp1
= False
;
7128 PyObject
* obj0
= 0 ;
7130 (char *) "str", NULL
7133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7135 arg1
= wxString_in_helper(obj0
);
7136 if (arg1
== NULL
) SWIG_fail
;
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 wxLog::AddTraceMask((wxString
const &)*arg1
);
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7146 Py_INCREF(Py_None
); resultobj
= Py_None
;
7161 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7162 PyObject
*resultobj
;
7163 wxString
*arg1
= 0 ;
7164 bool temp1
= False
;
7165 PyObject
* obj0
= 0 ;
7167 (char *) "str", NULL
7170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7172 arg1
= wxString_in_helper(obj0
);
7173 if (arg1
== NULL
) SWIG_fail
;
7177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7178 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7183 Py_INCREF(Py_None
); resultobj
= Py_None
;
7198 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
*resultobj
;
7204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7207 wxLog::ClearTraceMasks();
7209 wxPyEndAllowThreads(__tstate
);
7210 if (PyErr_Occurred()) SWIG_fail
;
7212 Py_INCREF(Py_None
); resultobj
= Py_None
;
7219 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7220 PyObject
*resultobj
;
7221 wxArrayString
*result
;
7226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7231 result
= (wxArrayString
*) &_result_ref
;
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7238 resultobj
= wxArrayString2PyList_helper(*result
);
7246 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
*resultobj
;
7248 wxChar
*arg1
= (wxChar
*) 0 ;
7249 PyObject
* obj0
= 0 ;
7254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 wxLog::SetTimestamp((wxChar
const *)arg1
);
7261 wxPyEndAllowThreads(__tstate
);
7262 if (PyErr_Occurred()) SWIG_fail
;
7264 Py_INCREF(Py_None
); resultobj
= Py_None
;
7271 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
*resultobj
;
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 result
= (bool)wxLog::GetVerbose();
7283 wxPyEndAllowThreads(__tstate
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7293 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
;
7300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7303 result
= (wxTraceMask
)wxLog::GetTraceMask();
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7308 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7315 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
*resultobj
;
7317 wxChar
*arg1
= (wxChar
*) 0 ;
7319 PyObject
* obj0
= 0 ;
7321 (char *) "mask", NULL
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7329 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7331 wxPyEndAllowThreads(__tstate
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7341 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7342 PyObject
*resultobj
;
7348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7351 result
= (wxLogLevel
)wxLog::GetLogLevel();
7353 wxPyEndAllowThreads(__tstate
);
7354 if (PyErr_Occurred()) SWIG_fail
;
7356 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7363 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
*resultobj
;
7370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7373 result
= (wxChar
*)wxLog::GetTimestamp();
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7385 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
*resultobj
;
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7395 result
= Log_TimeStamp();
7397 wxPyEndAllowThreads(__tstate
);
7398 if (PyErr_Occurred()) SWIG_fail
;
7402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7413 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7414 PyObject
*resultobj
;
7415 wxLog
*arg1
= (wxLog
*) 0 ;
7416 PyObject
* obj0
= 0 ;
7418 (char *) "self", NULL
7421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7426 wxLog_Destroy(arg1
);
7428 wxPyEndAllowThreads(__tstate
);
7429 if (PyErr_Occurred()) SWIG_fail
;
7431 Py_INCREF(Py_None
); resultobj
= Py_None
;
7438 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7441 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7443 return Py_BuildValue((char *)"");
7445 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7446 PyObject
*resultobj
;
7447 wxLogStderr
*result
;
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7455 result
= (wxLogStderr
*)new wxLogStderr();
7457 wxPyEndAllowThreads(__tstate
);
7458 if (PyErr_Occurred()) SWIG_fail
;
7460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7467 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7470 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7472 return Py_BuildValue((char *)"");
7474 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
*resultobj
;
7476 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7477 wxLogTextCtrl
*result
;
7478 PyObject
* obj0
= 0 ;
7480 (char *) "pTextCtrl", NULL
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7488 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7490 wxPyEndAllowThreads(__tstate
);
7491 if (PyErr_Occurred()) SWIG_fail
;
7493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7500 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7503 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7505 return Py_BuildValue((char *)"");
7507 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7508 PyObject
*resultobj
;
7514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7517 result
= (wxLogGui
*)new wxLogGui();
7519 wxPyEndAllowThreads(__tstate
);
7520 if (PyErr_Occurred()) SWIG_fail
;
7522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7529 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7532 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7534 return Py_BuildValue((char *)"");
7536 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7537 PyObject
*resultobj
;
7538 wxFrame
*arg1
= (wxFrame
*) 0 ;
7539 wxString
*arg2
= 0 ;
7540 bool arg3
= (bool) True
;
7541 bool arg4
= (bool) True
;
7542 wxLogWindow
*result
;
7543 bool temp2
= False
;
7544 PyObject
* obj0
= 0 ;
7545 PyObject
* obj1
= 0 ;
7546 PyObject
* obj2
= 0 ;
7547 PyObject
* obj3
= 0 ;
7549 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7556 arg2
= wxString_in_helper(obj1
);
7557 if (arg2
== NULL
) SWIG_fail
;
7561 arg3
= (bool) SWIG_AsBool(obj2
);
7562 if (PyErr_Occurred()) SWIG_fail
;
7565 arg4
= (bool) SWIG_AsBool(obj3
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7570 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7572 wxPyEndAllowThreads(__tstate
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7590 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
*resultobj
;
7592 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7593 bool arg2
= (bool) True
;
7594 PyObject
* obj0
= 0 ;
7595 PyObject
* obj1
= 0 ;
7597 (char *) "self",(char *) "bShow", NULL
7600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7604 arg2
= (bool) SWIG_AsBool(obj1
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7611 wxPyEndAllowThreads(__tstate
);
7612 if (PyErr_Occurred()) SWIG_fail
;
7614 Py_INCREF(Py_None
); resultobj
= Py_None
;
7621 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
*resultobj
;
7623 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7625 PyObject
* obj0
= 0 ;
7627 (char *) "self", NULL
7630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7635 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7641 resultobj
= wxPyMake_wxObject(result
);
7649 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7650 PyObject
*resultobj
;
7651 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7653 PyObject
* obj0
= 0 ;
7655 (char *) "self", NULL
7658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7675 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7676 PyObject
*resultobj
;
7677 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7679 PyObject
* obj0
= 0 ;
7681 (char *) "self", NULL
7684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7689 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7691 wxPyEndAllowThreads(__tstate
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7701 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7702 PyObject
*resultobj
;
7703 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7705 PyObject
* obj0
= 0 ;
7706 PyObject
* obj1
= 0 ;
7708 (char *) "self",(char *) "bDoPass", NULL
7711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7714 arg2
= (bool) SWIG_AsBool(obj1
);
7715 if (PyErr_Occurred()) SWIG_fail
;
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 (arg1
)->PassMessages(arg2
);
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7723 Py_INCREF(Py_None
); resultobj
= Py_None
;
7730 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7733 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7735 return Py_BuildValue((char *)"");
7737 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
*resultobj
;
7739 wxLog
*arg1
= (wxLog
*) 0 ;
7741 PyObject
* obj0
= 0 ;
7743 (char *) "logger", NULL
7746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7751 result
= (wxLogChain
*)new wxLogChain(arg1
);
7753 wxPyEndAllowThreads(__tstate
);
7754 if (PyErr_Occurred()) SWIG_fail
;
7756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
7763 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7764 PyObject
*resultobj
;
7765 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7766 wxLog
*arg2
= (wxLog
*) 0 ;
7767 PyObject
* obj0
= 0 ;
7768 PyObject
* obj1
= 0 ;
7770 (char *) "self",(char *) "logger", NULL
7773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
7777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7780 (arg1
)->SetLog(arg2
);
7782 wxPyEndAllowThreads(__tstate
);
7783 if (PyErr_Occurred()) SWIG_fail
;
7785 Py_INCREF(Py_None
); resultobj
= Py_None
;
7792 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7793 PyObject
*resultobj
;
7794 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7796 PyObject
* obj0
= 0 ;
7797 PyObject
* obj1
= 0 ;
7799 (char *) "self",(char *) "bDoPass", NULL
7802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7805 arg2
= (bool) SWIG_AsBool(obj1
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7809 (arg1
)->PassMessages(arg2
);
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) SWIG_fail
;
7814 Py_INCREF(Py_None
); resultobj
= Py_None
;
7821 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7822 PyObject
*resultobj
;
7823 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7825 PyObject
* obj0
= 0 ;
7827 (char *) "self", NULL
7830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7835 result
= (bool)(arg1
)->IsPassingMessages();
7837 wxPyEndAllowThreads(__tstate
);
7838 if (PyErr_Occurred()) SWIG_fail
;
7840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7847 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7848 PyObject
*resultobj
;
7849 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7851 PyObject
* obj0
= 0 ;
7853 (char *) "self", NULL
7856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7861 result
= (wxLog
*)(arg1
)->GetOldLog();
7863 wxPyEndAllowThreads(__tstate
);
7864 if (PyErr_Occurred()) SWIG_fail
;
7866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7873 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
7875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7876 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7878 return Py_BuildValue((char *)"");
7880 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7881 PyObject
*resultobj
;
7882 unsigned long result
;
7887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7890 result
= (unsigned long)wxSysErrorCode();
7892 wxPyEndAllowThreads(__tstate
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7895 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7902 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
*resultobj
;
7904 unsigned long arg1
= (unsigned long) 0 ;
7906 PyObject
* obj0
= 0 ;
7908 (char *) "nErrCode", NULL
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7913 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
7914 if (PyErr_Occurred()) SWIG_fail
;
7917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7918 result
= wxSysErrorMsg(arg1
);
7920 wxPyEndAllowThreads(__tstate
);
7921 if (PyErr_Occurred()) SWIG_fail
;
7925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7936 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
;
7938 wxString
*arg1
= 0 ;
7939 bool temp1
= False
;
7940 PyObject
* obj0
= 0 ;
7942 (char *) "msg", NULL
7945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
7947 arg1
= wxString_in_helper(obj0
);
7948 if (arg1
== NULL
) SWIG_fail
;
7952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7953 wxLogFatalError((wxString
const &)*arg1
);
7955 wxPyEndAllowThreads(__tstate
);
7956 if (PyErr_Occurred()) SWIG_fail
;
7958 Py_INCREF(Py_None
); resultobj
= Py_None
;
7973 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7974 PyObject
*resultobj
;
7975 wxString
*arg1
= 0 ;
7976 bool temp1
= False
;
7977 PyObject
* obj0
= 0 ;
7979 (char *) "msg", NULL
7982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
7984 arg1
= wxString_in_helper(obj0
);
7985 if (arg1
== NULL
) SWIG_fail
;
7989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7990 wxLogError((wxString
const &)*arg1
);
7992 wxPyEndAllowThreads(__tstate
);
7993 if (PyErr_Occurred()) SWIG_fail
;
7995 Py_INCREF(Py_None
); resultobj
= Py_None
;
8010 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
;
8012 wxString
*arg1
= 0 ;
8013 bool temp1
= False
;
8014 PyObject
* obj0
= 0 ;
8016 (char *) "msg", NULL
8019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8021 arg1
= wxString_in_helper(obj0
);
8022 if (arg1
== NULL
) SWIG_fail
;
8026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8027 wxLogWarning((wxString
const &)*arg1
);
8029 wxPyEndAllowThreads(__tstate
);
8030 if (PyErr_Occurred()) SWIG_fail
;
8032 Py_INCREF(Py_None
); resultobj
= Py_None
;
8047 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8048 PyObject
*resultobj
;
8049 wxString
*arg1
= 0 ;
8050 bool temp1
= False
;
8051 PyObject
* obj0
= 0 ;
8053 (char *) "msg", NULL
8056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8058 arg1
= wxString_in_helper(obj0
);
8059 if (arg1
== NULL
) SWIG_fail
;
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 wxLogMessage((wxString
const &)*arg1
);
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8069 Py_INCREF(Py_None
); resultobj
= Py_None
;
8084 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8085 PyObject
*resultobj
;
8086 wxString
*arg1
= 0 ;
8087 bool temp1
= False
;
8088 PyObject
* obj0
= 0 ;
8090 (char *) "msg", NULL
8093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8095 arg1
= wxString_in_helper(obj0
);
8096 if (arg1
== NULL
) SWIG_fail
;
8100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8101 wxLogInfo((wxString
const &)*arg1
);
8103 wxPyEndAllowThreads(__tstate
);
8104 if (PyErr_Occurred()) SWIG_fail
;
8106 Py_INCREF(Py_None
); resultobj
= Py_None
;
8121 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
*resultobj
;
8123 wxString
*arg1
= 0 ;
8124 bool temp1
= False
;
8125 PyObject
* obj0
= 0 ;
8127 (char *) "msg", NULL
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8132 arg1
= wxString_in_helper(obj0
);
8133 if (arg1
== NULL
) SWIG_fail
;
8137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8138 wxLogDebug((wxString
const &)*arg1
);
8140 wxPyEndAllowThreads(__tstate
);
8141 if (PyErr_Occurred()) SWIG_fail
;
8143 Py_INCREF(Py_None
); resultobj
= Py_None
;
8158 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8159 PyObject
*resultobj
;
8160 wxString
*arg1
= 0 ;
8161 bool temp1
= False
;
8162 PyObject
* obj0
= 0 ;
8164 (char *) "msg", NULL
8167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8169 arg1
= wxString_in_helper(obj0
);
8170 if (arg1
== NULL
) SWIG_fail
;
8174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8175 wxLogVerbose((wxString
const &)*arg1
);
8177 wxPyEndAllowThreads(__tstate
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8180 Py_INCREF(Py_None
); resultobj
= Py_None
;
8195 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8196 PyObject
*resultobj
;
8197 wxString
*arg1
= 0 ;
8198 bool temp1
= False
;
8199 PyObject
* obj0
= 0 ;
8201 (char *) "msg", NULL
8204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8206 arg1
= wxString_in_helper(obj0
);
8207 if (arg1
== NULL
) SWIG_fail
;
8211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8212 wxLogStatus((wxString
const &)*arg1
);
8214 wxPyEndAllowThreads(__tstate
);
8215 if (PyErr_Occurred()) SWIG_fail
;
8217 Py_INCREF(Py_None
); resultobj
= Py_None
;
8232 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8233 PyObject
*resultobj
;
8234 wxFrame
*arg1
= (wxFrame
*) 0 ;
8235 wxString
*arg2
= 0 ;
8236 bool temp2
= False
;
8237 PyObject
* obj0
= 0 ;
8238 PyObject
* obj1
= 0 ;
8240 (char *) "pFrame",(char *) "msg", NULL
8243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8247 arg2
= wxString_in_helper(obj1
);
8248 if (arg2
== NULL
) SWIG_fail
;
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8253 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8258 Py_INCREF(Py_None
); resultobj
= Py_None
;
8273 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
*resultobj
;
8275 wxString
*arg1
= 0 ;
8276 bool temp1
= False
;
8277 PyObject
* obj0
= 0 ;
8279 (char *) "msg", NULL
8282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8284 arg1
= wxString_in_helper(obj0
);
8285 if (arg1
== NULL
) SWIG_fail
;
8289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8290 wxLogSysError((wxString
const &)*arg1
);
8292 wxPyEndAllowThreads(__tstate
);
8293 if (PyErr_Occurred()) SWIG_fail
;
8295 Py_INCREF(Py_None
); resultobj
= Py_None
;
8310 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8311 PyObject
*resultobj
;
8312 unsigned long arg1
;
8313 wxString
*arg2
= 0 ;
8314 bool temp2
= False
;
8315 PyObject
* obj0
= 0 ;
8316 PyObject
* obj1
= 0 ;
8318 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8319 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8320 if (PyErr_Occurred()) SWIG_fail
;
8322 arg2
= wxString_in_helper(obj1
);
8323 if (arg2
== NULL
) SWIG_fail
;
8327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8328 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8330 wxPyEndAllowThreads(__tstate
);
8331 if (PyErr_Occurred()) SWIG_fail
;
8333 Py_INCREF(Py_None
); resultobj
= Py_None
;
8348 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8349 PyObject
*resultobj
;
8350 wxString
*arg1
= 0 ;
8351 wxString
*arg2
= 0 ;
8352 bool temp1
= False
;
8353 bool temp2
= False
;
8354 PyObject
* obj0
= 0 ;
8355 PyObject
* obj1
= 0 ;
8357 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8359 arg1
= wxString_in_helper(obj0
);
8360 if (arg1
== NULL
) SWIG_fail
;
8364 arg2
= wxString_in_helper(obj1
);
8365 if (arg2
== NULL
) SWIG_fail
;
8369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8370 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8372 wxPyEndAllowThreads(__tstate
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8375 Py_INCREF(Py_None
); resultobj
= Py_None
;
8398 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8403 argc
= PyObject_Length(args
);
8404 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8405 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8410 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8414 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8417 return _wrap_LogTrace__SWIG_1(self
,args
);
8423 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8426 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8429 return _wrap_LogTrace__SWIG_0(self
,args
);
8434 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8439 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8440 PyObject
*resultobj
;
8441 unsigned long arg1
;
8442 wxString
*arg2
= 0 ;
8443 bool temp2
= False
;
8444 PyObject
* obj0
= 0 ;
8445 PyObject
* obj1
= 0 ;
8447 (char *) "level",(char *) "msg", NULL
8450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8451 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8454 arg2
= wxString_in_helper(obj1
);
8455 if (arg2
== NULL
) SWIG_fail
;
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8462 wxPyEndAllowThreads(__tstate
);
8463 if (PyErr_Occurred()) SWIG_fail
;
8465 Py_INCREF(Py_None
); resultobj
= Py_None
;
8480 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8481 PyObject
*resultobj
;
8482 wxString
*arg1
= 0 ;
8483 wxString
*arg2
= 0 ;
8484 bool temp1
= False
;
8485 bool temp2
= False
;
8486 PyObject
* obj0
= 0 ;
8487 PyObject
* obj1
= 0 ;
8489 (char *) "title",(char *) "text", NULL
8492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8494 arg1
= wxString_in_helper(obj0
);
8495 if (arg1
== NULL
) SWIG_fail
;
8499 arg2
= wxString_in_helper(obj1
);
8500 if (arg2
== NULL
) SWIG_fail
;
8504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8505 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8507 wxPyEndAllowThreads(__tstate
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8510 Py_INCREF(Py_None
); resultobj
= Py_None
;
8533 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
*resultobj
;
8540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8543 result
= (wxLogNull
*)new wxLogNull();
8545 wxPyEndAllowThreads(__tstate
);
8546 if (PyErr_Occurred()) SWIG_fail
;
8548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8555 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8556 PyObject
*resultobj
;
8557 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8558 PyObject
* obj0
= 0 ;
8560 (char *) "self", NULL
8563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8570 wxPyEndAllowThreads(__tstate
);
8571 if (PyErr_Occurred()) SWIG_fail
;
8573 Py_INCREF(Py_None
); resultobj
= Py_None
;
8580 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8583 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8585 return Py_BuildValue((char *)"");
8587 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8588 PyObject
*resultobj
;
8594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 result
= (wxPyLog
*)new wxPyLog();
8599 wxPyEndAllowThreads(__tstate
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8609 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8610 PyObject
*resultobj
;
8611 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8612 PyObject
*arg2
= (PyObject
*) 0 ;
8613 PyObject
*arg3
= (PyObject
*) 0 ;
8614 PyObject
* obj0
= 0 ;
8615 PyObject
* obj1
= 0 ;
8616 PyObject
* obj2
= 0 ;
8618 (char *) "self",(char *) "self",(char *) "_class", NULL
8621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8630 wxPyEndAllowThreads(__tstate
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8633 Py_INCREF(Py_None
); resultobj
= Py_None
;
8640 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8643 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8645 return Py_BuildValue((char *)"");
8647 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8648 PyObject
*resultobj
;
8650 int arg2
= (int) wxSIGTERM
;
8652 PyObject
* obj0
= 0 ;
8653 PyObject
* obj1
= 0 ;
8655 (char *) "pid",(char *) "sig", NULL
8658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8659 arg1
= (int) SWIG_AsInt(obj0
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8662 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8663 if (PyErr_Occurred()) SWIG_fail
;
8666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8667 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8669 wxPyEndAllowThreads(__tstate
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8672 resultobj
= SWIG_FromInt((int)result
);
8679 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8680 PyObject
*resultobj
;
8683 PyObject
* obj0
= 0 ;
8685 (char *) "pid", NULL
8688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8689 arg1
= (int) SWIG_AsInt(obj0
);
8690 if (PyErr_Occurred()) SWIG_fail
;
8692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8693 result
= (bool)wxPyProcess::Exists(arg1
);
8695 wxPyEndAllowThreads(__tstate
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8705 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8706 PyObject
*resultobj
;
8707 wxString
*arg1
= 0 ;
8708 int arg2
= (int) wxEXEC_ASYNC
;
8709 wxPyProcess
*result
;
8710 bool temp1
= False
;
8711 PyObject
* obj0
= 0 ;
8712 PyObject
* obj1
= 0 ;
8714 (char *) "cmd",(char *) "flags", NULL
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8719 arg1
= wxString_in_helper(obj0
);
8720 if (arg1
== NULL
) SWIG_fail
;
8724 arg2
= (int) SWIG_AsInt(obj1
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8729 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8731 wxPyEndAllowThreads(__tstate
);
8732 if (PyErr_Occurred()) SWIG_fail
;
8734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
8749 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8750 PyObject
*resultobj
;
8751 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8752 int arg2
= (int) -1 ;
8753 wxPyProcess
*result
;
8754 PyObject
* obj0
= 0 ;
8755 PyObject
* obj1
= 0 ;
8757 (char *) "parent",(char *) "id", NULL
8760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
8763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8766 arg2
= (int) SWIG_AsInt(obj1
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8771 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8773 wxPyEndAllowThreads(__tstate
);
8774 if (PyErr_Occurred()) SWIG_fail
;
8776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
8783 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8784 PyObject
*resultobj
;
8785 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8786 PyObject
*arg2
= (PyObject
*) 0 ;
8787 PyObject
*arg3
= (PyObject
*) 0 ;
8788 PyObject
* obj0
= 0 ;
8789 PyObject
* obj1
= 0 ;
8790 PyObject
* obj2
= 0 ;
8792 (char *) "self",(char *) "self",(char *) "_class", NULL
8795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8802 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8804 wxPyEndAllowThreads(__tstate
);
8805 if (PyErr_Occurred()) SWIG_fail
;
8807 Py_INCREF(Py_None
); resultobj
= Py_None
;
8814 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
*resultobj
;
8816 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8819 PyObject
* obj0
= 0 ;
8820 PyObject
* obj1
= 0 ;
8821 PyObject
* obj2
= 0 ;
8823 (char *) "self",(char *) "pid",(char *) "status", NULL
8826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8829 arg2
= (int) SWIG_AsInt(obj1
);
8830 if (PyErr_Occurred()) SWIG_fail
;
8831 arg3
= (int) SWIG_AsInt(obj2
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8835 (arg1
)->base_OnTerminate(arg2
,arg3
);
8837 wxPyEndAllowThreads(__tstate
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8840 Py_INCREF(Py_None
); resultobj
= Py_None
;
8847 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8848 PyObject
*resultobj
;
8849 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8850 PyObject
* obj0
= 0 ;
8852 (char *) "self", NULL
8855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 wxPyEndAllowThreads(__tstate
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8865 Py_INCREF(Py_None
); resultobj
= Py_None
;
8872 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8873 PyObject
*resultobj
;
8874 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8876 PyObject
* obj0
= 0 ;
8878 (char *) "self", NULL
8881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 result
= (bool)(arg1
)->IsRedirected();
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8898 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8899 PyObject
*resultobj
;
8900 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8901 PyObject
* obj0
= 0 ;
8903 (char *) "self", NULL
8906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
8907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 Py_INCREF(Py_None
); resultobj
= Py_None
;
8923 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
;
8925 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8926 wxInputStream
*result
;
8927 PyObject
* obj0
= 0 ;
8929 (char *) "self", NULL
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
8933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8937 result
= (wxInputStream
*)(arg1
)->GetInputStream();
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8943 wxPyInputStream
* _ptr
= NULL
;
8946 _ptr
= new wxPyInputStream(result
);
8948 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8956 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8957 PyObject
*resultobj
;
8958 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8959 wxInputStream
*result
;
8960 PyObject
* obj0
= 0 ;
8962 (char *) "self", NULL
8965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
8966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8976 wxPyInputStream
* _ptr
= NULL
;
8979 _ptr
= new wxPyInputStream(result
);
8981 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8989 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8990 PyObject
*resultobj
;
8991 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8992 wxOutputStream
*result
;
8993 PyObject
* obj0
= 0 ;
8995 (char *) "self", NULL
8998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
8999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9005 wxPyEndAllowThreads(__tstate
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9015 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9016 PyObject
*resultobj
;
9017 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9018 PyObject
* obj0
= 0 ;
9020 (char *) "self", NULL
9023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 (arg1
)->CloseOutput();
9030 wxPyEndAllowThreads(__tstate
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9033 Py_INCREF(Py_None
); resultobj
= Py_None
;
9040 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9041 PyObject
*resultobj
;
9042 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9044 PyObject
* obj0
= 0 ;
9046 (char *) "self", NULL
9049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9066 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
;
9068 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9070 PyObject
* obj0
= 0 ;
9072 (char *) "self", NULL
9075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9080 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9082 wxPyEndAllowThreads(__tstate
);
9083 if (PyErr_Occurred()) SWIG_fail
;
9085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9092 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9093 PyObject
*resultobj
;
9094 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9096 PyObject
* obj0
= 0 ;
9098 (char *) "self", NULL
9101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9106 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9108 wxPyEndAllowThreads(__tstate
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9118 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9121 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9123 return Py_BuildValue((char *)"");
9125 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
;
9127 int arg1
= (int) 0 ;
9128 int arg2
= (int) 0 ;
9129 int arg3
= (int) 0 ;
9130 wxProcessEvent
*result
;
9131 PyObject
* obj0
= 0 ;
9132 PyObject
* obj1
= 0 ;
9133 PyObject
* obj2
= 0 ;
9135 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9140 arg1
= (int) SWIG_AsInt(obj0
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9144 arg2
= (int) SWIG_AsInt(obj1
);
9145 if (PyErr_Occurred()) SWIG_fail
;
9148 arg3
= (int) SWIG_AsInt(obj2
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9165 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
;
9167 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9169 PyObject
* obj0
= 0 ;
9171 (char *) "self", NULL
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9179 result
= (int)(arg1
)->GetPid();
9181 wxPyEndAllowThreads(__tstate
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9184 resultobj
= SWIG_FromInt((int)result
);
9191 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9192 PyObject
*resultobj
;
9193 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9195 PyObject
* obj0
= 0 ;
9197 (char *) "self", NULL
9200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9205 result
= (int)(arg1
)->GetExitCode();
9207 wxPyEndAllowThreads(__tstate
);
9208 if (PyErr_Occurred()) SWIG_fail
;
9210 resultobj
= SWIG_FromInt((int)result
);
9217 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9218 PyObject
*resultobj
;
9219 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9221 PyObject
* obj0
= 0 ;
9222 PyObject
* obj1
= 0 ;
9224 (char *) "self",(char *) "m_pid", NULL
9227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9230 arg2
= (int) SWIG_AsInt(obj1
);
9231 if (PyErr_Occurred()) SWIG_fail
;
9232 if (arg1
) (arg1
)->m_pid
= arg2
;
9234 Py_INCREF(Py_None
); resultobj
= Py_None
;
9241 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9242 PyObject
*resultobj
;
9243 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9245 PyObject
* obj0
= 0 ;
9247 (char *) "self", NULL
9250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9253 result
= (int) ((arg1
)->m_pid
);
9255 resultobj
= SWIG_FromInt((int)result
);
9262 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
*resultobj
;
9264 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9266 PyObject
* obj0
= 0 ;
9267 PyObject
* obj1
= 0 ;
9269 (char *) "self",(char *) "m_exitcode", NULL
9272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9275 arg2
= (int) SWIG_AsInt(obj1
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9277 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9279 Py_INCREF(Py_None
); resultobj
= Py_None
;
9286 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
*resultobj
;
9288 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9290 PyObject
* obj0
= 0 ;
9292 (char *) "self", NULL
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9298 result
= (int) ((arg1
)->m_exitcode
);
9300 resultobj
= SWIG_FromInt((int)result
);
9307 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9310 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9312 return Py_BuildValue((char *)"");
9314 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
*resultobj
;
9316 wxString
*arg1
= 0 ;
9317 int arg2
= (int) wxEXEC_ASYNC
;
9318 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9320 bool temp1
= False
;
9321 PyObject
* obj0
= 0 ;
9322 PyObject
* obj1
= 0 ;
9323 PyObject
* obj2
= 0 ;
9325 (char *) "command",(char *) "flags",(char *) "process", NULL
9328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9330 arg1
= wxString_in_helper(obj0
);
9331 if (arg1
== NULL
) SWIG_fail
;
9335 arg2
= (int) SWIG_AsInt(obj1
);
9336 if (PyErr_Occurred()) SWIG_fail
;
9339 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9346 wxPyEndAllowThreads(__tstate
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9349 resultobj
= SWIG_FromLong((long)result
);
9364 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
*resultobj
;
9366 int arg1
= (int) wxJOYSTICK1
;
9368 PyObject
* obj0
= 0 ;
9370 (char *) "joystick", NULL
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9375 arg1
= (int) SWIG_AsInt(obj0
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9380 result
= (wxJoystick
*)new wxJoystick(arg1
);
9382 wxPyEndAllowThreads(__tstate
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9392 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9393 PyObject
*resultobj
;
9394 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9395 PyObject
* obj0
= 0 ;
9397 (char *) "self", NULL
9400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9407 wxPyEndAllowThreads(__tstate
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9410 Py_INCREF(Py_None
); resultobj
= Py_None
;
9417 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
*resultobj
;
9419 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9421 PyObject
* obj0
= 0 ;
9423 (char *) "self", NULL
9426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 result
= (arg1
)->GetPosition();
9433 wxPyEndAllowThreads(__tstate
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9437 wxPoint
* resultptr
;
9438 resultptr
= new wxPoint((wxPoint
&) result
);
9439 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9447 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9448 PyObject
*resultobj
;
9449 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9451 PyObject
* obj0
= 0 ;
9453 (char *) "self", NULL
9456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 result
= (int)(arg1
)->GetZPosition();
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9466 resultobj
= SWIG_FromInt((int)result
);
9473 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
*resultobj
;
9475 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9477 PyObject
* obj0
= 0 ;
9479 (char *) "self", NULL
9482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9487 result
= (int)(arg1
)->GetButtonState();
9489 wxPyEndAllowThreads(__tstate
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9492 resultobj
= SWIG_FromInt((int)result
);
9499 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
*resultobj
;
9501 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9503 PyObject
* obj0
= 0 ;
9505 (char *) "self", NULL
9508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9513 result
= (int)(arg1
)->GetPOVPosition();
9515 wxPyEndAllowThreads(__tstate
);
9516 if (PyErr_Occurred()) SWIG_fail
;
9518 resultobj
= SWIG_FromInt((int)result
);
9525 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9526 PyObject
*resultobj
;
9527 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9529 PyObject
* obj0
= 0 ;
9531 (char *) "self", NULL
9534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9539 result
= (int)(arg1
)->GetPOVCTSPosition();
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9544 resultobj
= SWIG_FromInt((int)result
);
9551 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9552 PyObject
*resultobj
;
9553 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9555 PyObject
* obj0
= 0 ;
9557 (char *) "self", NULL
9560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 result
= (int)(arg1
)->GetRudderPosition();
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9570 resultobj
= SWIG_FromInt((int)result
);
9577 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9578 PyObject
*resultobj
;
9579 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9581 PyObject
* obj0
= 0 ;
9583 (char *) "self", NULL
9586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 result
= (int)(arg1
)->GetUPosition();
9593 wxPyEndAllowThreads(__tstate
);
9594 if (PyErr_Occurred()) SWIG_fail
;
9596 resultobj
= SWIG_FromInt((int)result
);
9603 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9604 PyObject
*resultobj
;
9605 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9607 PyObject
* obj0
= 0 ;
9609 (char *) "self", NULL
9612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 result
= (int)(arg1
)->GetVPosition();
9619 wxPyEndAllowThreads(__tstate
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9622 resultobj
= SWIG_FromInt((int)result
);
9629 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9630 PyObject
*resultobj
;
9631 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9633 PyObject
* obj0
= 0 ;
9635 (char *) "self", NULL
9638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 result
= (int)(arg1
)->GetMovementThreshold();
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9648 resultobj
= SWIG_FromInt((int)result
);
9655 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9656 PyObject
*resultobj
;
9657 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9659 PyObject
* obj0
= 0 ;
9660 PyObject
* obj1
= 0 ;
9662 (char *) "self",(char *) "threshold", NULL
9665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9668 arg2
= (int) SWIG_AsInt(obj1
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9672 (arg1
)->SetMovementThreshold(arg2
);
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9677 Py_INCREF(Py_None
); resultobj
= Py_None
;
9684 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
*resultobj
;
9686 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9688 PyObject
* obj0
= 0 ;
9690 (char *) "self", NULL
9693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9698 result
= (bool)(arg1
)->IsOk();
9700 wxPyEndAllowThreads(__tstate
);
9701 if (PyErr_Occurred()) SWIG_fail
;
9703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9710 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9711 PyObject
*resultobj
;
9712 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9714 PyObject
* obj0
= 0 ;
9716 (char *) "self", NULL
9719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 result
= (int)(arg1
)->GetNumberJoysticks();
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9729 resultobj
= SWIG_FromInt((int)result
);
9736 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9737 PyObject
*resultobj
;
9738 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9740 PyObject
* obj0
= 0 ;
9742 (char *) "self", NULL
9745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 result
= (int)(arg1
)->GetManufacturerId();
9752 wxPyEndAllowThreads(__tstate
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9755 resultobj
= SWIG_FromInt((int)result
);
9762 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9763 PyObject
*resultobj
;
9764 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9766 PyObject
* obj0
= 0 ;
9768 (char *) "self", NULL
9771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9776 result
= (int)(arg1
)->GetProductId();
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9781 resultobj
= SWIG_FromInt((int)result
);
9788 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
*resultobj
;
9790 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9792 PyObject
* obj0
= 0 ;
9794 (char *) "self", NULL
9797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 result
= (arg1
)->GetProductName();
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) SWIG_fail
;
9809 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9811 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9820 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9821 PyObject
*resultobj
;
9822 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9824 PyObject
* obj0
= 0 ;
9826 (char *) "self", NULL
9829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 result
= (int)(arg1
)->GetXMin();
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9839 resultobj
= SWIG_FromInt((int)result
);
9846 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9847 PyObject
*resultobj
;
9848 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9850 PyObject
* obj0
= 0 ;
9852 (char *) "self", NULL
9855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9860 result
= (int)(arg1
)->GetYMin();
9862 wxPyEndAllowThreads(__tstate
);
9863 if (PyErr_Occurred()) SWIG_fail
;
9865 resultobj
= SWIG_FromInt((int)result
);
9872 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9873 PyObject
*resultobj
;
9874 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9876 PyObject
* obj0
= 0 ;
9878 (char *) "self", NULL
9881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
9882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9886 result
= (int)(arg1
)->GetZMin();
9888 wxPyEndAllowThreads(__tstate
);
9889 if (PyErr_Occurred()) SWIG_fail
;
9891 resultobj
= SWIG_FromInt((int)result
);
9898 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9899 PyObject
*resultobj
;
9900 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9902 PyObject
* obj0
= 0 ;
9904 (char *) "self", NULL
9907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
9908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9912 result
= (int)(arg1
)->GetXMax();
9914 wxPyEndAllowThreads(__tstate
);
9915 if (PyErr_Occurred()) SWIG_fail
;
9917 resultobj
= SWIG_FromInt((int)result
);
9924 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9925 PyObject
*resultobj
;
9926 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9928 PyObject
* obj0
= 0 ;
9930 (char *) "self", NULL
9933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
9934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9938 result
= (int)(arg1
)->GetYMax();
9940 wxPyEndAllowThreads(__tstate
);
9941 if (PyErr_Occurred()) SWIG_fail
;
9943 resultobj
= SWIG_FromInt((int)result
);
9950 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9951 PyObject
*resultobj
;
9952 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9954 PyObject
* obj0
= 0 ;
9956 (char *) "self", NULL
9959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
9960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9964 result
= (int)(arg1
)->GetZMax();
9966 wxPyEndAllowThreads(__tstate
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9969 resultobj
= SWIG_FromInt((int)result
);
9976 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
*resultobj
;
9978 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9980 PyObject
* obj0
= 0 ;
9982 (char *) "self", NULL
9985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
9986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 result
= (int)(arg1
)->GetNumberButtons();
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9995 resultobj
= SWIG_FromInt((int)result
);
10002 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10003 PyObject
*resultobj
;
10004 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10006 PyObject
* obj0
= 0 ;
10007 char *kwnames
[] = {
10008 (char *) "self", NULL
10011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 result
= (int)(arg1
)->GetNumberAxes();
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10021 resultobj
= SWIG_FromInt((int)result
);
10028 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
*resultobj
;
10030 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10032 PyObject
* obj0
= 0 ;
10033 char *kwnames
[] = {
10034 (char *) "self", NULL
10037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10042 result
= (int)(arg1
)->GetMaxButtons();
10044 wxPyEndAllowThreads(__tstate
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10047 resultobj
= SWIG_FromInt((int)result
);
10054 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10055 PyObject
*resultobj
;
10056 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10058 PyObject
* obj0
= 0 ;
10059 char *kwnames
[] = {
10060 (char *) "self", NULL
10063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10068 result
= (int)(arg1
)->GetMaxAxes();
10070 wxPyEndAllowThreads(__tstate
);
10071 if (PyErr_Occurred()) SWIG_fail
;
10073 resultobj
= SWIG_FromInt((int)result
);
10080 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10081 PyObject
*resultobj
;
10082 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10084 PyObject
* obj0
= 0 ;
10085 char *kwnames
[] = {
10086 (char *) "self", NULL
10089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10094 result
= (int)(arg1
)->GetPollingMin();
10096 wxPyEndAllowThreads(__tstate
);
10097 if (PyErr_Occurred()) SWIG_fail
;
10099 resultobj
= SWIG_FromInt((int)result
);
10106 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10107 PyObject
*resultobj
;
10108 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10110 PyObject
* obj0
= 0 ;
10111 char *kwnames
[] = {
10112 (char *) "self", NULL
10115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10120 result
= (int)(arg1
)->GetPollingMax();
10122 wxPyEndAllowThreads(__tstate
);
10123 if (PyErr_Occurred()) SWIG_fail
;
10125 resultobj
= SWIG_FromInt((int)result
);
10132 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
*resultobj
;
10134 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10136 PyObject
* obj0
= 0 ;
10137 char *kwnames
[] = {
10138 (char *) "self", NULL
10141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10146 result
= (int)(arg1
)->GetRudderMin();
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10151 resultobj
= SWIG_FromInt((int)result
);
10158 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10159 PyObject
*resultobj
;
10160 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10162 PyObject
* obj0
= 0 ;
10163 char *kwnames
[] = {
10164 (char *) "self", NULL
10167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 result
= (int)(arg1
)->GetRudderMax();
10174 wxPyEndAllowThreads(__tstate
);
10175 if (PyErr_Occurred()) SWIG_fail
;
10177 resultobj
= SWIG_FromInt((int)result
);
10184 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10185 PyObject
*resultobj
;
10186 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10188 PyObject
* obj0
= 0 ;
10189 char *kwnames
[] = {
10190 (char *) "self", NULL
10193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10198 result
= (int)(arg1
)->GetUMin();
10200 wxPyEndAllowThreads(__tstate
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= SWIG_FromInt((int)result
);
10210 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10211 PyObject
*resultobj
;
10212 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10214 PyObject
* obj0
= 0 ;
10215 char *kwnames
[] = {
10216 (char *) "self", NULL
10219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10224 result
= (int)(arg1
)->GetUMax();
10226 wxPyEndAllowThreads(__tstate
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10229 resultobj
= SWIG_FromInt((int)result
);
10236 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10237 PyObject
*resultobj
;
10238 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10240 PyObject
* obj0
= 0 ;
10241 char *kwnames
[] = {
10242 (char *) "self", NULL
10245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10250 result
= (int)(arg1
)->GetVMin();
10252 wxPyEndAllowThreads(__tstate
);
10253 if (PyErr_Occurred()) SWIG_fail
;
10255 resultobj
= SWIG_FromInt((int)result
);
10262 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10263 PyObject
*resultobj
;
10264 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10266 PyObject
* obj0
= 0 ;
10267 char *kwnames
[] = {
10268 (char *) "self", NULL
10271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10276 result
= (int)(arg1
)->GetVMax();
10278 wxPyEndAllowThreads(__tstate
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10281 resultobj
= SWIG_FromInt((int)result
);
10288 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10289 PyObject
*resultobj
;
10290 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10292 PyObject
* obj0
= 0 ;
10293 char *kwnames
[] = {
10294 (char *) "self", NULL
10297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10302 result
= (bool)(arg1
)->HasRudder();
10304 wxPyEndAllowThreads(__tstate
);
10305 if (PyErr_Occurred()) SWIG_fail
;
10307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10314 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10315 PyObject
*resultobj
;
10316 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10318 PyObject
* obj0
= 0 ;
10319 char *kwnames
[] = {
10320 (char *) "self", NULL
10323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10328 result
= (bool)(arg1
)->HasZ();
10330 wxPyEndAllowThreads(__tstate
);
10331 if (PyErr_Occurred()) SWIG_fail
;
10333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10340 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
*resultobj
;
10342 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10344 PyObject
* obj0
= 0 ;
10345 char *kwnames
[] = {
10346 (char *) "self", NULL
10349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 result
= (bool)(arg1
)->HasU();
10356 wxPyEndAllowThreads(__tstate
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10366 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10367 PyObject
*resultobj
;
10368 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10370 PyObject
* obj0
= 0 ;
10371 char *kwnames
[] = {
10372 (char *) "self", NULL
10375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10380 result
= (bool)(arg1
)->HasV();
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10392 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
*resultobj
;
10394 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10396 PyObject
* obj0
= 0 ;
10397 char *kwnames
[] = {
10398 (char *) "self", NULL
10401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10406 result
= (bool)(arg1
)->HasPOV();
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10418 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
;
10420 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10422 PyObject
* obj0
= 0 ;
10423 char *kwnames
[] = {
10424 (char *) "self", NULL
10427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10432 result
= (bool)(arg1
)->HasPOV4Dir();
10434 wxPyEndAllowThreads(__tstate
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10444 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10445 PyObject
*resultobj
;
10446 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10448 PyObject
* obj0
= 0 ;
10449 char *kwnames
[] = {
10450 (char *) "self", NULL
10453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10458 result
= (bool)(arg1
)->HasPOVCTS();
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10470 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10471 PyObject
*resultobj
;
10472 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10473 wxWindow
*arg2
= (wxWindow
*) 0 ;
10474 int arg3
= (int) 0 ;
10476 PyObject
* obj0
= 0 ;
10477 PyObject
* obj1
= 0 ;
10478 PyObject
* obj2
= 0 ;
10479 char *kwnames
[] = {
10480 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10486 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10489 arg3
= (int) SWIG_AsInt(obj2
);
10490 if (PyErr_Occurred()) SWIG_fail
;
10493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10496 wxPyEndAllowThreads(__tstate
);
10497 if (PyErr_Occurred()) SWIG_fail
;
10499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10506 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10507 PyObject
*resultobj
;
10508 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10510 PyObject
* obj0
= 0 ;
10511 char *kwnames
[] = {
10512 (char *) "self", NULL
10515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10520 result
= (bool)(arg1
)->ReleaseCapture();
10522 wxPyEndAllowThreads(__tstate
);
10523 if (PyErr_Occurred()) SWIG_fail
;
10525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10532 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10535 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10537 return Py_BuildValue((char *)"");
10539 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10540 PyObject
*resultobj
;
10541 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10542 wxPoint
*arg2
= (wxPoint
*) 0 ;
10543 PyObject
* obj0
= 0 ;
10544 PyObject
* obj1
= 0 ;
10545 char *kwnames
[] = {
10546 (char *) "self",(char *) "m_pos", NULL
10549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10554 if (arg1
) (arg1
)->m_pos
= *arg2
;
10556 Py_INCREF(Py_None
); resultobj
= Py_None
;
10563 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10564 PyObject
*resultobj
;
10565 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10567 PyObject
* obj0
= 0 ;
10568 char *kwnames
[] = {
10569 (char *) "self", NULL
10572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10575 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10584 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10585 PyObject
*resultobj
;
10586 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10588 PyObject
* obj0
= 0 ;
10589 PyObject
* obj1
= 0 ;
10590 char *kwnames
[] = {
10591 (char *) "self",(char *) "m_zPosition", NULL
10594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10597 arg2
= (int) SWIG_AsInt(obj1
);
10598 if (PyErr_Occurred()) SWIG_fail
;
10599 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10601 Py_INCREF(Py_None
); resultobj
= Py_None
;
10608 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10609 PyObject
*resultobj
;
10610 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10612 PyObject
* obj0
= 0 ;
10613 char *kwnames
[] = {
10614 (char *) "self", NULL
10617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10620 result
= (int) ((arg1
)->m_zPosition
);
10622 resultobj
= SWIG_FromInt((int)result
);
10629 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10630 PyObject
*resultobj
;
10631 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10633 PyObject
* obj0
= 0 ;
10634 PyObject
* obj1
= 0 ;
10635 char *kwnames
[] = {
10636 (char *) "self",(char *) "m_buttonChange", NULL
10639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10642 arg2
= (int) SWIG_AsInt(obj1
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10644 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10646 Py_INCREF(Py_None
); resultobj
= Py_None
;
10653 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
;
10655 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10657 PyObject
* obj0
= 0 ;
10658 char *kwnames
[] = {
10659 (char *) "self", NULL
10662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10665 result
= (int) ((arg1
)->m_buttonChange
);
10667 resultobj
= SWIG_FromInt((int)result
);
10674 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10675 PyObject
*resultobj
;
10676 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10678 PyObject
* obj0
= 0 ;
10679 PyObject
* obj1
= 0 ;
10680 char *kwnames
[] = {
10681 (char *) "self",(char *) "m_buttonState", NULL
10684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10687 arg2
= (int) SWIG_AsInt(obj1
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10689 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10691 Py_INCREF(Py_None
); resultobj
= Py_None
;
10698 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10699 PyObject
*resultobj
;
10700 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10702 PyObject
* obj0
= 0 ;
10703 char *kwnames
[] = {
10704 (char *) "self", NULL
10707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10710 result
= (int) ((arg1
)->m_buttonState
);
10712 resultobj
= SWIG_FromInt((int)result
);
10719 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
*resultobj
;
10721 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10723 PyObject
* obj0
= 0 ;
10724 PyObject
* obj1
= 0 ;
10725 char *kwnames
[] = {
10726 (char *) "self",(char *) "m_joyStick", NULL
10729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10732 arg2
= (int) SWIG_AsInt(obj1
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10734 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10736 Py_INCREF(Py_None
); resultobj
= Py_None
;
10743 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10744 PyObject
*resultobj
;
10745 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10747 PyObject
* obj0
= 0 ;
10748 char *kwnames
[] = {
10749 (char *) "self", NULL
10752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10755 result
= (int) ((arg1
)->m_joyStick
);
10757 resultobj
= SWIG_FromInt((int)result
);
10764 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10765 PyObject
*resultobj
;
10766 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10767 int arg2
= (int) 0 ;
10768 int arg3
= (int) wxJOYSTICK1
;
10769 int arg4
= (int) 0 ;
10770 wxJoystickEvent
*result
;
10771 PyObject
* obj0
= 0 ;
10772 PyObject
* obj1
= 0 ;
10773 PyObject
* obj2
= 0 ;
10774 PyObject
* obj3
= 0 ;
10775 char *kwnames
[] = {
10776 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10781 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10785 arg2
= (int) SWIG_AsInt(obj1
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10789 arg3
= (int) SWIG_AsInt(obj2
);
10790 if (PyErr_Occurred()) SWIG_fail
;
10793 arg4
= (int) SWIG_AsInt(obj3
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10798 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10800 wxPyEndAllowThreads(__tstate
);
10801 if (PyErr_Occurred()) SWIG_fail
;
10803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
10810 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10811 PyObject
*resultobj
;
10812 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10814 PyObject
* obj0
= 0 ;
10815 char *kwnames
[] = {
10816 (char *) "self", NULL
10819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10824 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10826 wxPyEndAllowThreads(__tstate
);
10827 if (PyErr_Occurred()) SWIG_fail
;
10830 wxPoint
* resultptr
;
10831 resultptr
= new wxPoint((wxPoint
&) result
);
10832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10840 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10841 PyObject
*resultobj
;
10842 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10844 PyObject
* obj0
= 0 ;
10845 char *kwnames
[] = {
10846 (char *) "self", NULL
10849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
10850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10854 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
10856 wxPyEndAllowThreads(__tstate
);
10857 if (PyErr_Occurred()) SWIG_fail
;
10859 resultobj
= SWIG_FromInt((int)result
);
10866 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10867 PyObject
*resultobj
;
10868 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10870 PyObject
* obj0
= 0 ;
10871 char *kwnames
[] = {
10872 (char *) "self", NULL
10875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
10876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10880 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
10882 wxPyEndAllowThreads(__tstate
);
10883 if (PyErr_Occurred()) SWIG_fail
;
10885 resultobj
= SWIG_FromInt((int)result
);
10892 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10893 PyObject
*resultobj
;
10894 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10896 PyObject
* obj0
= 0 ;
10897 char *kwnames
[] = {
10898 (char *) "self", NULL
10901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
10902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10906 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
10908 wxPyEndAllowThreads(__tstate
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10911 resultobj
= SWIG_FromInt((int)result
);
10918 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10919 PyObject
*resultobj
;
10920 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10922 PyObject
* obj0
= 0 ;
10923 char *kwnames
[] = {
10924 (char *) "self", NULL
10927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
10928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10932 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
10934 wxPyEndAllowThreads(__tstate
);
10935 if (PyErr_Occurred()) SWIG_fail
;
10937 resultobj
= SWIG_FromInt((int)result
);
10944 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10945 PyObject
*resultobj
;
10946 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10948 PyObject
* obj0
= 0 ;
10949 PyObject
* obj1
= 0 ;
10950 char *kwnames
[] = {
10951 (char *) "self",(char *) "stick", NULL
10954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
10955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10957 arg2
= (int) SWIG_AsInt(obj1
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 (arg1
)->SetJoystick(arg2
);
10963 wxPyEndAllowThreads(__tstate
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10966 Py_INCREF(Py_None
); resultobj
= Py_None
;
10973 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10974 PyObject
*resultobj
;
10975 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10977 PyObject
* obj0
= 0 ;
10978 PyObject
* obj1
= 0 ;
10979 char *kwnames
[] = {
10980 (char *) "self",(char *) "state", NULL
10983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
10984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10986 arg2
= (int) SWIG_AsInt(obj1
);
10987 if (PyErr_Occurred()) SWIG_fail
;
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 (arg1
)->SetButtonState(arg2
);
10992 wxPyEndAllowThreads(__tstate
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10995 Py_INCREF(Py_None
); resultobj
= Py_None
;
11002 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11003 PyObject
*resultobj
;
11004 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11006 PyObject
* obj0
= 0 ;
11007 PyObject
* obj1
= 0 ;
11008 char *kwnames
[] = {
11009 (char *) "self",(char *) "change", NULL
11012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11015 arg2
= (int) SWIG_AsInt(obj1
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11019 (arg1
)->SetButtonChange(arg2
);
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11024 Py_INCREF(Py_None
); resultobj
= Py_None
;
11031 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11032 PyObject
*resultobj
;
11033 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11034 wxPoint
*arg2
= 0 ;
11036 PyObject
* obj0
= 0 ;
11037 PyObject
* obj1
= 0 ;
11038 char *kwnames
[] = {
11039 (char *) "self",(char *) "pos", NULL
11042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11047 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11051 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11056 Py_INCREF(Py_None
); resultobj
= Py_None
;
11063 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11064 PyObject
*resultobj
;
11065 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11067 PyObject
* obj0
= 0 ;
11068 PyObject
* obj1
= 0 ;
11069 char *kwnames
[] = {
11070 (char *) "self",(char *) "zPos", NULL
11073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11076 arg2
= (int) SWIG_AsInt(obj1
);
11077 if (PyErr_Occurred()) SWIG_fail
;
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 (arg1
)->SetZPosition(arg2
);
11082 wxPyEndAllowThreads(__tstate
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11085 Py_INCREF(Py_None
); resultobj
= Py_None
;
11092 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11093 PyObject
*resultobj
;
11094 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11096 PyObject
* obj0
= 0 ;
11097 char *kwnames
[] = {
11098 (char *) "self", NULL
11101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11106 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11108 wxPyEndAllowThreads(__tstate
);
11109 if (PyErr_Occurred()) SWIG_fail
;
11111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11118 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11119 PyObject
*resultobj
;
11120 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11122 PyObject
* obj0
= 0 ;
11123 char *kwnames
[] = {
11124 (char *) "self", NULL
11127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11132 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11134 wxPyEndAllowThreads(__tstate
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11144 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11145 PyObject
*resultobj
;
11146 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11148 PyObject
* obj0
= 0 ;
11149 char *kwnames
[] = {
11150 (char *) "self", NULL
11153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11170 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11171 PyObject
*resultobj
;
11172 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11173 int arg2
= (int) wxJOY_BUTTON_ANY
;
11175 PyObject
* obj0
= 0 ;
11176 PyObject
* obj1
= 0 ;
11177 char *kwnames
[] = {
11178 (char *) "self",(char *) "but", NULL
11181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11185 arg2
= (int) SWIG_AsInt(obj1
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11190 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11192 wxPyEndAllowThreads(__tstate
);
11193 if (PyErr_Occurred()) SWIG_fail
;
11195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11202 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11203 PyObject
*resultobj
;
11204 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11205 int arg2
= (int) wxJOY_BUTTON_ANY
;
11207 PyObject
* obj0
= 0 ;
11208 PyObject
* obj1
= 0 ;
11209 char *kwnames
[] = {
11210 (char *) "self",(char *) "but", NULL
11213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11217 arg2
= (int) SWIG_AsInt(obj1
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11224 wxPyEndAllowThreads(__tstate
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11234 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11235 PyObject
*resultobj
;
11236 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11237 int arg2
= (int) wxJOY_BUTTON_ANY
;
11239 PyObject
* obj0
= 0 ;
11240 PyObject
* obj1
= 0 ;
11241 char *kwnames
[] = {
11242 (char *) "self",(char *) "but", NULL
11245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11249 arg2
= (int) SWIG_AsInt(obj1
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11254 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11256 wxPyEndAllowThreads(__tstate
);
11257 if (PyErr_Occurred()) SWIG_fail
;
11259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11266 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11269 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11271 return Py_BuildValue((char *)"");
11273 static PyObject
*_wrap_new_Sound__SWIG_0(PyObject
*self
, PyObject
*args
) {
11274 PyObject
*resultobj
;
11277 if(!PyArg_ParseTuple(args
,(char *)":new_Sound")) goto fail
;
11279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 result
= (wxSound
*)new wxSound();
11282 wxPyEndAllowThreads(__tstate
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11292 static PyObject
*_wrap_new_Sound__SWIG_1(PyObject
*self
, PyObject
*args
) {
11293 PyObject
*resultobj
;
11294 wxString
*arg1
= 0 ;
11295 bool arg2
= (bool) false ;
11297 bool temp1
= False
;
11298 PyObject
* obj0
= 0 ;
11299 PyObject
* obj1
= 0 ;
11301 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_Sound",&obj0
,&obj1
)) goto fail
;
11303 arg1
= wxString_in_helper(obj0
);
11304 if (arg1
== NULL
) SWIG_fail
;
11308 arg2
= (bool) SWIG_AsBool(obj1
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11313 result
= (wxSound
*)new wxSound((wxString
const &)*arg1
,arg2
);
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11333 static PyObject
*_wrap_new_Sound__SWIG_2(PyObject
*self
, PyObject
*args
) {
11334 PyObject
*resultobj
;
11336 wxByte
*arg2
= (wxByte
*) 0 ;
11338 PyObject
* obj0
= 0 ;
11339 PyObject
* obj1
= 0 ;
11341 if(!PyArg_ParseTuple(args
,(char *)"OO:new_Sound",&obj0
,&obj1
)) goto fail
;
11342 arg1
= (int) SWIG_AsInt(obj0
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxByte
,
11345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 result
= (wxSound
*)new wxSound(arg1
,(wxByte
const *)arg2
);
11350 wxPyEndAllowThreads(__tstate
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11360 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
) {
11365 argc
= PyObject_Length(args
);
11366 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11367 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11370 return _wrap_new_Sound__SWIG_0(self
,args
);
11372 if ((argc
>= 1) && (argc
<= 2)) {
11375 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11379 return _wrap_new_Sound__SWIG_1(self
,args
);
11381 _v
= SWIG_CheckBool(argv
[1]);
11383 return _wrap_new_Sound__SWIG_1(self
,args
);
11389 _v
= SWIG_CheckInt(argv
[0]);
11393 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11401 return _wrap_new_Sound__SWIG_2(self
,args
);
11406 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Sound'");
11411 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11412 PyObject
*resultobj
;
11413 wxSound
*arg1
= (wxSound
*) 0 ;
11414 PyObject
* obj0
= 0 ;
11415 char *kwnames
[] = {
11416 (char *) "self", NULL
11419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11426 wxPyEndAllowThreads(__tstate
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11429 Py_INCREF(Py_None
); resultobj
= Py_None
;
11436 static PyObject
*_wrap_Sound_Create__SWIG_0(PyObject
*self
, PyObject
*args
) {
11437 PyObject
*resultobj
;
11438 wxSound
*arg1
= (wxSound
*) 0 ;
11439 wxString
*arg2
= 0 ;
11440 bool arg3
= (bool) false ;
11442 bool temp2
= False
;
11443 PyObject
* obj0
= 0 ;
11444 PyObject
* obj1
= 0 ;
11445 PyObject
* obj2
= 0 ;
11447 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11451 arg2
= wxString_in_helper(obj1
);
11452 if (arg2
== NULL
) SWIG_fail
;
11456 arg3
= (bool) SWIG_AsBool(obj2
);
11457 if (PyErr_Occurred()) SWIG_fail
;
11460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11461 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,arg3
);
11463 wxPyEndAllowThreads(__tstate
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11481 static PyObject
*_wrap_Sound_Create__SWIG_1(PyObject
*self
, PyObject
*args
) {
11482 PyObject
*resultobj
;
11483 wxSound
*arg1
= (wxSound
*) 0 ;
11485 wxByte
*arg3
= (wxByte
*) 0 ;
11487 PyObject
* obj0
= 0 ;
11488 PyObject
* obj1
= 0 ;
11489 PyObject
* obj2
= 0 ;
11491 if(!PyArg_ParseTuple(args
,(char *)"OOO:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11494 arg2
= (int) SWIG_AsInt(obj1
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11496 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxByte
,
11497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 result
= (bool)(arg1
)->Create(arg2
,(wxByte
const *)arg3
);
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11512 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
) {
11517 argc
= PyObject_Length(args
);
11518 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
11519 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11521 if ((argc
>= 2) && (argc
<= 3)) {
11525 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11534 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11538 return _wrap_Sound_Create__SWIG_0(self
,args
);
11540 _v
= SWIG_CheckBool(argv
[2]);
11542 return _wrap_Sound_Create__SWIG_0(self
,args
);
11551 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11559 _v
= SWIG_CheckInt(argv
[1]);
11563 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11571 return _wrap_Sound_Create__SWIG_1(self
,args
);
11577 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Sound_Create'");
11582 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11583 PyObject
*resultobj
;
11584 wxSound
*arg1
= (wxSound
*) 0 ;
11586 PyObject
* obj0
= 0 ;
11587 char *kwnames
[] = {
11588 (char *) "self", NULL
11591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11596 result
= (bool)(arg1
)->IsOk();
11598 wxPyEndAllowThreads(__tstate
);
11599 if (PyErr_Occurred()) SWIG_fail
;
11601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11608 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
) {
11609 PyObject
*resultobj
;
11610 wxSound
*arg1
= (wxSound
*) 0 ;
11611 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11613 PyObject
* obj0
= 0 ;
11614 PyObject
* obj1
= 0 ;
11616 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_Play",&obj0
,&obj1
)) goto fail
;
11617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11620 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11621 if (PyErr_Occurred()) SWIG_fail
;
11624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11625 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11627 wxPyEndAllowThreads(__tstate
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11637 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
) {
11638 PyObject
*resultobj
;
11639 wxString
*arg1
= 0 ;
11640 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11642 bool temp1
= False
;
11643 PyObject
* obj0
= 0 ;
11644 PyObject
* obj1
= 0 ;
11646 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_PlaySound",&obj0
,&obj1
)) goto fail
;
11648 arg1
= wxString_in_helper(obj0
);
11649 if (arg1
== NULL
) SWIG_fail
;
11653 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11654 if (PyErr_Occurred()) SWIG_fail
;
11657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11658 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11678 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
;
11680 char *kwnames
[] = {
11684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11689 wxPyEndAllowThreads(__tstate
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11692 Py_INCREF(Py_None
); resultobj
= Py_None
;
11699 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11702 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11704 return Py_BuildValue((char *)"");
11706 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11707 PyObject
*resultobj
;
11708 wxString
*arg1
= 0 ;
11709 wxString
*arg2
= 0 ;
11710 wxString
*arg3
= 0 ;
11711 wxString
*arg4
= 0 ;
11712 wxFileTypeInfo
*result
;
11713 bool temp1
= False
;
11714 bool temp2
= False
;
11715 bool temp3
= False
;
11716 bool temp4
= False
;
11717 PyObject
* obj0
= 0 ;
11718 PyObject
* obj1
= 0 ;
11719 PyObject
* obj2
= 0 ;
11720 PyObject
* obj3
= 0 ;
11721 char *kwnames
[] = {
11722 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11727 arg1
= wxString_in_helper(obj0
);
11728 if (arg1
== NULL
) SWIG_fail
;
11732 arg2
= wxString_in_helper(obj1
);
11733 if (arg2
== NULL
) SWIG_fail
;
11737 arg3
= wxString_in_helper(obj2
);
11738 if (arg3
== NULL
) SWIG_fail
;
11742 arg4
= wxString_in_helper(obj3
);
11743 if (arg4
== NULL
) SWIG_fail
;
11747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11748 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11750 wxPyEndAllowThreads(__tstate
);
11751 if (PyErr_Occurred()) SWIG_fail
;
11753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11792 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
;
11794 wxArrayString
*arg1
= 0 ;
11795 wxFileTypeInfo
*result
;
11796 bool temp1
= False
;
11797 PyObject
* obj0
= 0 ;
11798 char *kwnames
[] = {
11799 (char *) "sArray", NULL
11802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11804 if (! PySequence_Check(obj0
)) {
11805 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11808 arg1
= new wxArrayString
;
11810 int i
, len
=PySequence_Length(obj0
);
11811 for (i
=0; i
<len
; i
++) {
11812 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11814 PyObject
* str
= PyObject_Unicode(item
);
11816 PyObject
* str
= PyObject_Str(item
);
11818 arg1
->Add(Py2wxString(str
));
11824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11825 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11827 wxPyEndAllowThreads(__tstate
);
11828 if (PyErr_Occurred()) SWIG_fail
;
11830 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11832 if (temp1
) delete arg1
;
11837 if (temp1
) delete arg1
;
11843 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11844 PyObject
*resultobj
;
11845 wxFileTypeInfo
*result
;
11846 char *kwnames
[] = {
11850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11855 wxPyEndAllowThreads(__tstate
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11865 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11866 PyObject
*resultobj
;
11867 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11869 PyObject
* obj0
= 0 ;
11870 char *kwnames
[] = {
11871 (char *) "self", NULL
11874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
11875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11879 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
11881 wxPyEndAllowThreads(__tstate
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11891 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11892 PyObject
*resultobj
;
11893 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11894 wxString
*arg2
= 0 ;
11895 int arg3
= (int) 0 ;
11896 bool temp2
= False
;
11897 PyObject
* obj0
= 0 ;
11898 PyObject
* obj1
= 0 ;
11899 PyObject
* obj2
= 0 ;
11900 char *kwnames
[] = {
11901 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
11904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11908 arg2
= wxString_in_helper(obj1
);
11909 if (arg2
== NULL
) SWIG_fail
;
11913 arg3
= (int) SWIG_AsInt(obj2
);
11914 if (PyErr_Occurred()) SWIG_fail
;
11917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11918 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
11920 wxPyEndAllowThreads(__tstate
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11923 Py_INCREF(Py_None
); resultobj
= Py_None
;
11938 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11939 PyObject
*resultobj
;
11940 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11941 wxString
*arg2
= 0 ;
11942 bool temp2
= False
;
11943 PyObject
* obj0
= 0 ;
11944 PyObject
* obj1
= 0 ;
11945 char *kwnames
[] = {
11946 (char *) "self",(char *) "shortDesc", NULL
11949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
11950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11953 arg2
= wxString_in_helper(obj1
);
11954 if (arg2
== NULL
) SWIG_fail
;
11958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11959 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
11961 wxPyEndAllowThreads(__tstate
);
11962 if (PyErr_Occurred()) SWIG_fail
;
11964 Py_INCREF(Py_None
); resultobj
= Py_None
;
11979 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11980 PyObject
*resultobj
;
11981 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11983 PyObject
* obj0
= 0 ;
11984 char *kwnames
[] = {
11985 (char *) "self", NULL
11988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
11989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11994 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
11995 result
= (wxString
*) &_result_ref
;
11998 wxPyEndAllowThreads(__tstate
);
11999 if (PyErr_Occurred()) SWIG_fail
;
12003 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12005 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12014 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12015 PyObject
*resultobj
;
12016 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12018 PyObject
* obj0
= 0 ;
12019 char *kwnames
[] = {
12020 (char *) "self", NULL
12023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12029 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12030 result
= (wxString
*) &_result_ref
;
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12038 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12040 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12049 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12050 PyObject
*resultobj
;
12051 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12053 PyObject
* obj0
= 0 ;
12054 char *kwnames
[] = {
12055 (char *) "self", NULL
12058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12065 result
= (wxString
*) &_result_ref
;
12068 wxPyEndAllowThreads(__tstate
);
12069 if (PyErr_Occurred()) SWIG_fail
;
12073 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12075 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12084 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12085 PyObject
*resultobj
;
12086 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12088 PyObject
* obj0
= 0 ;
12089 char *kwnames
[] = {
12090 (char *) "self", NULL
12093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12099 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12100 result
= (wxString
*) &_result_ref
;
12103 wxPyEndAllowThreads(__tstate
);
12104 if (PyErr_Occurred()) SWIG_fail
;
12108 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12110 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12119 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12120 PyObject
*resultobj
;
12121 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12123 PyObject
* obj0
= 0 ;
12124 char *kwnames
[] = {
12125 (char *) "self", NULL
12128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12134 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12135 result
= (wxString
*) &_result_ref
;
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12143 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12145 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12154 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12155 PyObject
*resultobj
;
12156 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12157 wxArrayString
*result
;
12158 PyObject
* obj0
= 0 ;
12159 char *kwnames
[] = {
12160 (char *) "self", NULL
12163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12170 result
= (wxArrayString
*) &_result_ref
;
12173 wxPyEndAllowThreads(__tstate
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12177 resultobj
= wxArrayString2PyList_helper(*result
);
12185 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12186 PyObject
*resultobj
;
12187 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12189 PyObject
* obj0
= 0 ;
12190 char *kwnames
[] = {
12191 (char *) "self", NULL
12194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12199 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12201 wxPyEndAllowThreads(__tstate
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12204 resultobj
= SWIG_FromInt((int)result
);
12211 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12212 PyObject
*resultobj
;
12213 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12215 PyObject
* obj0
= 0 ;
12216 char *kwnames
[] = {
12217 (char *) "self", NULL
12220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12227 result
= (wxString
*) &_result_ref
;
12230 wxPyEndAllowThreads(__tstate
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12235 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12237 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12246 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12247 PyObject
*resultobj
;
12248 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12250 PyObject
* obj0
= 0 ;
12251 char *kwnames
[] = {
12252 (char *) "self", NULL
12255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12265 resultobj
= SWIG_FromInt((int)result
);
12272 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12275 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12277 return Py_BuildValue((char *)"");
12279 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12280 PyObject
*resultobj
;
12281 wxFileTypeInfo
*arg1
= 0 ;
12282 wxFileType
*result
;
12283 PyObject
* obj0
= 0 ;
12284 char *kwnames
[] = {
12285 (char *) "ftInfo", NULL
12288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12290 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12292 if (arg1
== NULL
) {
12293 PyErr_SetString(PyExc_TypeError
,"null reference");
12297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12298 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12300 wxPyEndAllowThreads(__tstate
);
12301 if (PyErr_Occurred()) SWIG_fail
;
12303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12310 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12311 PyObject
*resultobj
;
12312 wxFileType
*arg1
= (wxFileType
*) 0 ;
12313 PyObject
* obj0
= 0 ;
12314 char *kwnames
[] = {
12315 (char *) "self", NULL
12318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12325 wxPyEndAllowThreads(__tstate
);
12326 if (PyErr_Occurred()) SWIG_fail
;
12328 Py_INCREF(Py_None
); resultobj
= Py_None
;
12335 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12336 PyObject
*resultobj
;
12337 wxFileType
*arg1
= (wxFileType
*) 0 ;
12339 PyObject
* obj0
= 0 ;
12340 char *kwnames
[] = {
12341 (char *) "self", NULL
12344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12349 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12351 wxPyEndAllowThreads(__tstate
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12354 resultobj
= result
;
12361 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12362 PyObject
*resultobj
;
12363 wxFileType
*arg1
= (wxFileType
*) 0 ;
12365 PyObject
* obj0
= 0 ;
12366 char *kwnames
[] = {
12367 (char *) "self", NULL
12370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12375 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12377 wxPyEndAllowThreads(__tstate
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12380 resultobj
= result
;
12387 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12388 PyObject
*resultobj
;
12389 wxFileType
*arg1
= (wxFileType
*) 0 ;
12391 PyObject
* obj0
= 0 ;
12392 char *kwnames
[] = {
12393 (char *) "self", NULL
12396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12401 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12403 wxPyEndAllowThreads(__tstate
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12406 resultobj
= result
;
12413 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12414 PyObject
*resultobj
;
12415 wxFileType
*arg1
= (wxFileType
*) 0 ;
12417 PyObject
* obj0
= 0 ;
12418 char *kwnames
[] = {
12419 (char *) "self", NULL
12422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12439 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12440 PyObject
*resultobj
;
12441 wxFileType
*arg1
= (wxFileType
*) 0 ;
12443 PyObject
* obj0
= 0 ;
12444 char *kwnames
[] = {
12445 (char *) "self", NULL
12448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12453 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12455 wxPyEndAllowThreads(__tstate
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12458 resultobj
= result
;
12465 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12466 PyObject
*resultobj
;
12467 wxFileType
*arg1
= (wxFileType
*) 0 ;
12469 PyObject
* obj0
= 0 ;
12470 char *kwnames
[] = {
12471 (char *) "self", NULL
12474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12479 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12481 wxPyEndAllowThreads(__tstate
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12484 resultobj
= result
;
12491 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12492 PyObject
*resultobj
;
12493 wxFileType
*arg1
= (wxFileType
*) 0 ;
12494 wxString
*arg2
= 0 ;
12495 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12496 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12498 bool temp2
= False
;
12499 bool temp3
= False
;
12500 PyObject
* obj0
= 0 ;
12501 PyObject
* obj1
= 0 ;
12502 PyObject
* obj2
= 0 ;
12503 char *kwnames
[] = {
12504 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12511 arg2
= wxString_in_helper(obj1
);
12512 if (arg2
== NULL
) SWIG_fail
;
12517 arg3
= wxString_in_helper(obj2
);
12518 if (arg3
== NULL
) SWIG_fail
;
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12529 resultobj
= result
;
12552 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12553 PyObject
*resultobj
;
12554 wxFileType
*arg1
= (wxFileType
*) 0 ;
12555 wxString
*arg2
= 0 ;
12556 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12557 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12559 bool temp2
= False
;
12560 bool temp3
= False
;
12561 PyObject
* obj0
= 0 ;
12562 PyObject
* obj1
= 0 ;
12563 PyObject
* obj2
= 0 ;
12564 char *kwnames
[] = {
12565 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12572 arg2
= wxString_in_helper(obj1
);
12573 if (arg2
== NULL
) SWIG_fail
;
12578 arg3
= wxString_in_helper(obj2
);
12579 if (arg3
== NULL
) SWIG_fail
;
12584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12585 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12587 wxPyEndAllowThreads(__tstate
);
12588 if (PyErr_Occurred()) SWIG_fail
;
12590 resultobj
= result
;
12613 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12614 PyObject
*resultobj
;
12615 wxFileType
*arg1
= (wxFileType
*) 0 ;
12616 wxString
*arg2
= 0 ;
12617 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12618 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12620 bool temp2
= False
;
12621 bool temp3
= False
;
12622 PyObject
* obj0
= 0 ;
12623 PyObject
* obj1
= 0 ;
12624 PyObject
* obj2
= 0 ;
12625 char *kwnames
[] = {
12626 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12633 arg2
= wxString_in_helper(obj1
);
12634 if (arg2
== NULL
) SWIG_fail
;
12639 arg3
= wxString_in_helper(obj2
);
12640 if (arg3
== NULL
) SWIG_fail
;
12645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12646 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12648 wxPyEndAllowThreads(__tstate
);
12649 if (PyErr_Occurred()) SWIG_fail
;
12651 resultobj
= result
;
12674 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12675 PyObject
*resultobj
;
12676 wxFileType
*arg1
= (wxFileType
*) 0 ;
12677 wxString
*arg2
= 0 ;
12678 wxString
*arg3
= 0 ;
12679 bool arg4
= (bool) True
;
12681 bool temp2
= False
;
12682 bool temp3
= False
;
12683 PyObject
* obj0
= 0 ;
12684 PyObject
* obj1
= 0 ;
12685 PyObject
* obj2
= 0 ;
12686 PyObject
* obj3
= 0 ;
12687 char *kwnames
[] = {
12688 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12695 arg2
= wxString_in_helper(obj1
);
12696 if (arg2
== NULL
) SWIG_fail
;
12700 arg3
= wxString_in_helper(obj2
);
12701 if (arg3
== NULL
) SWIG_fail
;
12705 arg4
= (bool) SWIG_AsBool(obj3
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12710 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12712 wxPyEndAllowThreads(__tstate
);
12713 if (PyErr_Occurred()) SWIG_fail
;
12715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12738 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
;
12740 wxFileType
*arg1
= (wxFileType
*) 0 ;
12741 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12742 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12743 int arg3
= (int) 0 ;
12745 bool temp2
= False
;
12746 PyObject
* obj0
= 0 ;
12747 PyObject
* obj1
= 0 ;
12748 PyObject
* obj2
= 0 ;
12749 char *kwnames
[] = {
12750 (char *) "self",(char *) "cmd",(char *) "index", NULL
12753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12758 arg2
= wxString_in_helper(obj1
);
12759 if (arg2
== NULL
) SWIG_fail
;
12764 arg3
= (int) SWIG_AsInt(obj2
);
12765 if (PyErr_Occurred()) SWIG_fail
;
12768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12769 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12789 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12790 PyObject
*resultobj
;
12791 wxFileType
*arg1
= (wxFileType
*) 0 ;
12793 PyObject
* obj0
= 0 ;
12794 char *kwnames
[] = {
12795 (char *) "self", NULL
12798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12803 result
= (bool)(arg1
)->Unassociate();
12805 wxPyEndAllowThreads(__tstate
);
12806 if (PyErr_Occurred()) SWIG_fail
;
12808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12815 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12816 PyObject
*resultobj
;
12817 wxString
*arg1
= 0 ;
12818 wxString
*arg2
= 0 ;
12819 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12820 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12822 bool temp1
= False
;
12823 bool temp2
= False
;
12824 bool temp3
= False
;
12825 PyObject
* obj0
= 0 ;
12826 PyObject
* obj1
= 0 ;
12827 PyObject
* obj2
= 0 ;
12828 char *kwnames
[] = {
12829 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12834 arg1
= wxString_in_helper(obj0
);
12835 if (arg1
== NULL
) SWIG_fail
;
12839 arg2
= wxString_in_helper(obj1
);
12840 if (arg2
== NULL
) SWIG_fail
;
12845 arg3
= wxString_in_helper(obj2
);
12846 if (arg3
== NULL
) SWIG_fail
;
12851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12852 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12854 wxPyEndAllowThreads(__tstate
);
12855 if (PyErr_Occurred()) SWIG_fail
;
12859 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12861 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12894 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
12896 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12897 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
12899 return Py_BuildValue((char *)"");
12901 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
12902 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
12907 static PyObject
*_wrap_TheMimeTypesManager_get() {
12910 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
12915 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12916 PyObject
*resultobj
;
12917 wxString
*arg1
= 0 ;
12918 wxString
*arg2
= 0 ;
12920 bool temp1
= False
;
12921 bool temp2
= False
;
12922 PyObject
* obj0
= 0 ;
12923 PyObject
* obj1
= 0 ;
12924 char *kwnames
[] = {
12925 (char *) "mimeType",(char *) "wildcard", NULL
12928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
12930 arg1
= wxString_in_helper(obj0
);
12931 if (arg1
== NULL
) SWIG_fail
;
12935 arg2
= wxString_in_helper(obj1
);
12936 if (arg2
== NULL
) SWIG_fail
;
12940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12943 wxPyEndAllowThreads(__tstate
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12969 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
;
12971 wxMimeTypesManager
*result
;
12972 char *kwnames
[] = {
12976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
12978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12979 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
12981 wxPyEndAllowThreads(__tstate
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
12991 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12992 PyObject
*resultobj
;
12993 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12994 int arg2
= (int) wxMAILCAP_ALL
;
12995 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12996 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12997 bool temp3
= False
;
12998 PyObject
* obj0
= 0 ;
12999 PyObject
* obj1
= 0 ;
13000 PyObject
* obj2
= 0 ;
13001 char *kwnames
[] = {
13002 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13009 arg2
= (int) SWIG_AsInt(obj1
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13014 arg3
= wxString_in_helper(obj2
);
13015 if (arg3
== NULL
) SWIG_fail
;
13020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13021 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13023 wxPyEndAllowThreads(__tstate
);
13024 if (PyErr_Occurred()) SWIG_fail
;
13026 Py_INCREF(Py_None
); resultobj
= Py_None
;
13041 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13042 PyObject
*resultobj
;
13043 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13044 PyObject
* obj0
= 0 ;
13045 char *kwnames
[] = {
13046 (char *) "self", NULL
13049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13054 (arg1
)->ClearData();
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13059 Py_INCREF(Py_None
); resultobj
= Py_None
;
13066 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13067 PyObject
*resultobj
;
13068 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13069 wxString
*arg2
= 0 ;
13070 wxFileType
*result
;
13071 bool temp2
= False
;
13072 PyObject
* obj0
= 0 ;
13073 PyObject
* obj1
= 0 ;
13074 char *kwnames
[] = {
13075 (char *) "self",(char *) "ext", NULL
13078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13082 arg2
= wxString_in_helper(obj1
);
13083 if (arg2
== NULL
) SWIG_fail
;
13087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13088 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13090 wxPyEndAllowThreads(__tstate
);
13091 if (PyErr_Occurred()) SWIG_fail
;
13093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13108 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13109 PyObject
*resultobj
;
13110 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13111 wxString
*arg2
= 0 ;
13112 wxFileType
*result
;
13113 bool temp2
= False
;
13114 PyObject
* obj0
= 0 ;
13115 PyObject
* obj1
= 0 ;
13116 char *kwnames
[] = {
13117 (char *) "self",(char *) "mimeType", NULL
13120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13124 arg2
= wxString_in_helper(obj1
);
13125 if (arg2
== NULL
) SWIG_fail
;
13129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13130 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13132 wxPyEndAllowThreads(__tstate
);
13133 if (PyErr_Occurred()) SWIG_fail
;
13135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13150 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13151 PyObject
*resultobj
;
13152 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13153 wxString
*arg2
= 0 ;
13154 bool arg3
= (bool) False
;
13156 bool temp2
= False
;
13157 PyObject
* obj0
= 0 ;
13158 PyObject
* obj1
= 0 ;
13159 PyObject
* obj2
= 0 ;
13160 char *kwnames
[] = {
13161 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13168 arg2
= wxString_in_helper(obj1
);
13169 if (arg2
== NULL
) SWIG_fail
;
13173 arg3
= (bool) SWIG_AsBool(obj2
);
13174 if (PyErr_Occurred()) SWIG_fail
;
13177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13178 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13180 wxPyEndAllowThreads(__tstate
);
13181 if (PyErr_Occurred()) SWIG_fail
;
13183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13198 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13199 PyObject
*resultobj
;
13200 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13201 wxString
*arg2
= 0 ;
13203 bool temp2
= False
;
13204 PyObject
* obj0
= 0 ;
13205 PyObject
* obj1
= 0 ;
13206 char *kwnames
[] = {
13207 (char *) "self",(char *) "filename", NULL
13210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13214 arg2
= wxString_in_helper(obj1
);
13215 if (arg2
== NULL
) SWIG_fail
;
13219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13220 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13222 wxPyEndAllowThreads(__tstate
);
13223 if (PyErr_Occurred()) SWIG_fail
;
13225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13240 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13241 PyObject
*resultobj
;
13242 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13244 PyObject
* obj0
= 0 ;
13245 char *kwnames
[] = {
13246 (char *) "self", NULL
13249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13254 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13256 wxPyEndAllowThreads(__tstate
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13259 resultobj
= result
;
13266 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13267 PyObject
*resultobj
;
13268 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13269 wxFileTypeInfo
*arg2
= 0 ;
13270 PyObject
* obj0
= 0 ;
13271 PyObject
* obj1
= 0 ;
13272 char *kwnames
[] = {
13273 (char *) "self",(char *) "ft", NULL
13276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13280 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13282 if (arg2
== NULL
) {
13283 PyErr_SetString(PyExc_TypeError
,"null reference");
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13288 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13293 Py_INCREF(Py_None
); resultobj
= Py_None
;
13300 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13301 PyObject
*resultobj
;
13302 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13303 wxFileTypeInfo
*arg2
= 0 ;
13304 wxFileType
*result
;
13305 PyObject
* obj0
= 0 ;
13306 PyObject
* obj1
= 0 ;
13307 char *kwnames
[] = {
13308 (char *) "self",(char *) "ftInfo", NULL
13311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13314 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13315 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13317 if (arg2
== NULL
) {
13318 PyErr_SetString(PyExc_TypeError
,"null reference");
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13335 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13336 PyObject
*resultobj
;
13337 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13338 wxFileType
*arg2
= (wxFileType
*) 0 ;
13340 PyObject
* obj0
= 0 ;
13341 PyObject
* obj1
= 0 ;
13342 char *kwnames
[] = {
13343 (char *) "self",(char *) "ft", NULL
13346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13353 result
= (bool)(arg1
)->Unassociate(arg2
);
13355 wxPyEndAllowThreads(__tstate
);
13356 if (PyErr_Occurred()) SWIG_fail
;
13358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13365 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13366 PyObject
*resultobj
;
13367 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13368 PyObject
* obj0
= 0 ;
13369 char *kwnames
[] = {
13370 (char *) "self", NULL
13373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13383 Py_INCREF(Py_None
); resultobj
= Py_None
;
13390 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13393 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13395 return Py_BuildValue((char *)"");
13397 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13398 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13403 static PyObject
*_wrap_ART_TOOLBAR_get() {
13408 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13410 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13417 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13418 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13423 static PyObject
*_wrap_ART_MENU_get() {
13428 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13430 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13437 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13438 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13443 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13448 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13450 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13457 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13458 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13463 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13468 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13470 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13477 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13478 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13483 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13488 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13490 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13497 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13498 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13503 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13508 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13510 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13517 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13518 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13523 static PyObject
*_wrap_ART_OTHER_get() {
13528 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13530 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13537 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13538 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13543 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13548 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13550 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13557 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13558 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13563 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13568 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13570 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13577 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13578 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13583 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13588 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13590 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13597 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13598 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13603 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13608 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13610 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13617 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13618 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13623 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13628 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13630 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13637 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13638 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13643 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13648 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13650 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13657 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13658 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13663 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13668 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13670 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13677 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13678 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13683 static PyObject
*_wrap_ART_GO_BACK_get() {
13688 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13690 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13697 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13698 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13703 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13708 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13710 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13717 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13718 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13723 static PyObject
*_wrap_ART_GO_UP_get() {
13728 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13730 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13737 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13738 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13743 static PyObject
*_wrap_ART_GO_DOWN_get() {
13748 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13750 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13757 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
13758 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13763 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13768 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13770 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13777 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
13778 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13783 static PyObject
*_wrap_ART_GO_HOME_get() {
13788 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13790 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13797 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
13798 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13803 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13808 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13810 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13817 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
13818 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13823 static PyObject
*_wrap_ART_PRINT_get() {
13828 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13830 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13837 static int _wrap_ART_HELP_set(PyObject
*_val
) {
13838 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13843 static PyObject
*_wrap_ART_HELP_get() {
13848 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13850 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13857 static int _wrap_ART_TIP_set(PyObject
*_val
) {
13858 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
13863 static PyObject
*_wrap_ART_TIP_get() {
13868 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13870 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13877 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
13878 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
13883 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
13888 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13890 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13897 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
13898 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
13903 static PyObject
*_wrap_ART_LIST_VIEW_get() {
13908 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13910 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13917 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
13918 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
13923 static PyObject
*_wrap_ART_NEW_DIR_get() {
13928 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13930 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13937 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
13938 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
13943 static PyObject
*_wrap_ART_FOLDER_get() {
13948 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
13950 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
13957 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
13958 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
13963 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
13968 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
13970 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
13977 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
13978 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
13983 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
13988 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
13990 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
13997 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
13998 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14003 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14008 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14010 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14017 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14018 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14023 static PyObject
*_wrap_ART_TICK_MARK_get() {
14028 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14030 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14037 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14038 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14043 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14048 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14050 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14057 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14058 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14063 static PyObject
*_wrap_ART_ERROR_get() {
14068 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14070 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14077 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14078 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14083 static PyObject
*_wrap_ART_QUESTION_get() {
14088 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14090 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14097 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14098 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14103 static PyObject
*_wrap_ART_WARNING_get() {
14108 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14110 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14117 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14118 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14123 static PyObject
*_wrap_ART_INFORMATION_get() {
14128 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14130 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14137 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14138 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14143 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14148 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14150 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14157 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14158 PyObject
*resultobj
;
14159 wxPyArtProvider
*result
;
14160 char *kwnames
[] = {
14164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14167 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14179 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14180 PyObject
*resultobj
;
14181 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14182 PyObject
*arg2
= (PyObject
*) 0 ;
14183 PyObject
*arg3
= (PyObject
*) 0 ;
14184 PyObject
* obj0
= 0 ;
14185 PyObject
* obj1
= 0 ;
14186 PyObject
* obj2
= 0 ;
14187 char *kwnames
[] = {
14188 (char *) "self",(char *) "self",(char *) "_class", NULL
14191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14198 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14200 wxPyEndAllowThreads(__tstate
);
14201 if (PyErr_Occurred()) SWIG_fail
;
14203 Py_INCREF(Py_None
); resultobj
= Py_None
;
14210 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14211 PyObject
*resultobj
;
14212 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14213 PyObject
* obj0
= 0 ;
14214 char *kwnames
[] = {
14215 (char *) "provider", NULL
14218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14223 wxPyArtProvider::PushProvider(arg1
);
14225 wxPyEndAllowThreads(__tstate
);
14226 if (PyErr_Occurred()) SWIG_fail
;
14228 Py_INCREF(Py_None
); resultobj
= Py_None
;
14235 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14236 PyObject
*resultobj
;
14238 char *kwnames
[] = {
14242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14245 result
= (bool)wxPyArtProvider::PopProvider();
14247 wxPyEndAllowThreads(__tstate
);
14248 if (PyErr_Occurred()) SWIG_fail
;
14250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14257 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14258 PyObject
*resultobj
;
14259 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14261 PyObject
* obj0
= 0 ;
14262 char *kwnames
[] = {
14263 (char *) "provider", NULL
14266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14271 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14273 wxPyEndAllowThreads(__tstate
);
14274 if (PyErr_Occurred()) SWIG_fail
;
14276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14283 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14284 PyObject
*resultobj
;
14285 wxString
*arg1
= 0 ;
14286 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14287 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14288 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14289 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14291 bool temp1
= False
;
14292 bool temp2
= False
;
14294 PyObject
* obj0
= 0 ;
14295 PyObject
* obj1
= 0 ;
14296 PyObject
* obj2
= 0 ;
14297 char *kwnames
[] = {
14298 (char *) "id",(char *) "client",(char *) "size", NULL
14301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14303 arg1
= wxString_in_helper(obj0
);
14304 if (arg1
== NULL
) SWIG_fail
;
14309 arg2
= wxString_in_helper(obj1
);
14310 if (arg2
== NULL
) SWIG_fail
;
14317 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14322 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14324 wxPyEndAllowThreads(__tstate
);
14325 if (PyErr_Occurred()) SWIG_fail
;
14328 wxBitmap
* resultptr
;
14329 resultptr
= new wxBitmap((wxBitmap
&) result
);
14330 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14354 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14355 PyObject
*resultobj
;
14356 wxString
*arg1
= 0 ;
14357 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14358 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14359 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14360 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14362 bool temp1
= False
;
14363 bool temp2
= False
;
14365 PyObject
* obj0
= 0 ;
14366 PyObject
* obj1
= 0 ;
14367 PyObject
* obj2
= 0 ;
14368 char *kwnames
[] = {
14369 (char *) "id",(char *) "client",(char *) "size", NULL
14372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14374 arg1
= wxString_in_helper(obj0
);
14375 if (arg1
== NULL
) SWIG_fail
;
14380 arg2
= wxString_in_helper(obj1
);
14381 if (arg2
== NULL
) SWIG_fail
;
14388 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14399 wxIcon
* resultptr
;
14400 resultptr
= new wxIcon((wxIcon
&) result
);
14401 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14425 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14426 PyObject
*resultobj
;
14427 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14428 PyObject
* obj0
= 0 ;
14429 char *kwnames
[] = {
14430 (char *) "self", NULL
14433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14438 wxPyArtProvider_Destroy(arg1
);
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14443 Py_INCREF(Py_None
); resultobj
= Py_None
;
14450 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14453 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14455 return Py_BuildValue((char *)"");
14457 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14458 PyObject
*resultobj
;
14459 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14460 PyObject
* obj0
= 0 ;
14461 char *kwnames
[] = {
14462 (char *) "self", NULL
14465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14472 wxPyEndAllowThreads(__tstate
);
14473 if (PyErr_Occurred()) SWIG_fail
;
14475 Py_INCREF(Py_None
); resultobj
= Py_None
;
14482 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14483 PyObject
*resultobj
;
14484 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14485 wxConfigBase
*result
;
14486 PyObject
* obj0
= 0 ;
14487 char *kwnames
[] = {
14488 (char *) "config", NULL
14491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14496 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14498 wxPyEndAllowThreads(__tstate
);
14499 if (PyErr_Occurred()) SWIG_fail
;
14501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14508 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14509 PyObject
*resultobj
;
14510 bool arg1
= (bool) True
;
14511 wxConfigBase
*result
;
14512 PyObject
* obj0
= 0 ;
14513 char *kwnames
[] = {
14514 (char *) "createOnDemand", NULL
14517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14519 arg1
= (bool) SWIG_AsBool(obj0
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14524 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14526 wxPyEndAllowThreads(__tstate
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14536 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14537 PyObject
*resultobj
;
14538 wxConfigBase
*result
;
14539 char *kwnames
[] = {
14543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14546 result
= (wxConfigBase
*)wxConfigBase::Create();
14548 wxPyEndAllowThreads(__tstate
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14558 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14559 PyObject
*resultobj
;
14560 char *kwnames
[] = {
14564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14567 wxConfigBase::DontCreateOnDemand();
14569 wxPyEndAllowThreads(__tstate
);
14570 if (PyErr_Occurred()) SWIG_fail
;
14572 Py_INCREF(Py_None
); resultobj
= Py_None
;
14579 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14580 PyObject
*resultobj
;
14581 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14582 wxString
*arg2
= 0 ;
14583 bool temp2
= False
;
14584 PyObject
* obj0
= 0 ;
14585 PyObject
* obj1
= 0 ;
14586 char *kwnames
[] = {
14587 (char *) "self",(char *) "path", NULL
14590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14594 arg2
= wxString_in_helper(obj1
);
14595 if (arg2
== NULL
) SWIG_fail
;
14599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14600 (arg1
)->SetPath((wxString
const &)*arg2
);
14602 wxPyEndAllowThreads(__tstate
);
14603 if (PyErr_Occurred()) SWIG_fail
;
14605 Py_INCREF(Py_None
); resultobj
= Py_None
;
14620 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14621 PyObject
*resultobj
;
14622 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14624 PyObject
* obj0
= 0 ;
14625 char *kwnames
[] = {
14626 (char *) "self", NULL
14629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14635 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14636 result
= (wxString
*) &_result_ref
;
14639 wxPyEndAllowThreads(__tstate
);
14640 if (PyErr_Occurred()) SWIG_fail
;
14644 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14646 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14655 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14656 PyObject
*resultobj
;
14657 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14659 PyObject
* obj0
= 0 ;
14660 char *kwnames
[] = {
14661 (char *) "self", NULL
14664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14669 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14671 wxPyEndAllowThreads(__tstate
);
14672 if (PyErr_Occurred()) SWIG_fail
;
14674 resultobj
= result
;
14681 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14682 PyObject
*resultobj
;
14683 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14686 PyObject
* obj0
= 0 ;
14687 PyObject
* obj1
= 0 ;
14688 char *kwnames
[] = {
14689 (char *) "self",(char *) "index", NULL
14692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14695 arg2
= (long) SWIG_AsLong(obj1
);
14696 if (PyErr_Occurred()) SWIG_fail
;
14698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14699 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14701 wxPyEndAllowThreads(__tstate
);
14702 if (PyErr_Occurred()) SWIG_fail
;
14704 resultobj
= result
;
14711 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14712 PyObject
*resultobj
;
14713 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14715 PyObject
* obj0
= 0 ;
14716 char *kwnames
[] = {
14717 (char *) "self", NULL
14720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14725 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14730 resultobj
= result
;
14737 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14738 PyObject
*resultobj
;
14739 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14742 PyObject
* obj0
= 0 ;
14743 PyObject
* obj1
= 0 ;
14744 char *kwnames
[] = {
14745 (char *) "self",(char *) "index", NULL
14748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14751 arg2
= (long) SWIG_AsLong(obj1
);
14752 if (PyErr_Occurred()) SWIG_fail
;
14754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14755 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14757 wxPyEndAllowThreads(__tstate
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14760 resultobj
= result
;
14767 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14768 PyObject
*resultobj
;
14769 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14770 bool arg2
= (bool) False
;
14772 PyObject
* obj0
= 0 ;
14773 PyObject
* obj1
= 0 ;
14774 char *kwnames
[] = {
14775 (char *) "self",(char *) "recursive", NULL
14778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14782 arg2
= (bool) SWIG_AsBool(obj1
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14787 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14789 wxPyEndAllowThreads(__tstate
);
14790 if (PyErr_Occurred()) SWIG_fail
;
14792 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14799 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14800 PyObject
*resultobj
;
14801 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14802 bool arg2
= (bool) False
;
14804 PyObject
* obj0
= 0 ;
14805 PyObject
* obj1
= 0 ;
14806 char *kwnames
[] = {
14807 (char *) "self",(char *) "recursive", NULL
14810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14814 arg2
= (bool) SWIG_AsBool(obj1
);
14815 if (PyErr_Occurred()) SWIG_fail
;
14818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14819 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14821 wxPyEndAllowThreads(__tstate
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14824 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14831 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14832 PyObject
*resultobj
;
14833 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14834 wxString
*arg2
= 0 ;
14836 bool temp2
= False
;
14837 PyObject
* obj0
= 0 ;
14838 PyObject
* obj1
= 0 ;
14839 char *kwnames
[] = {
14840 (char *) "self",(char *) "name", NULL
14843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14847 arg2
= wxString_in_helper(obj1
);
14848 if (arg2
== NULL
) SWIG_fail
;
14852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14853 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
14855 wxPyEndAllowThreads(__tstate
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14873 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14874 PyObject
*resultobj
;
14875 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14876 wxString
*arg2
= 0 ;
14878 bool temp2
= False
;
14879 PyObject
* obj0
= 0 ;
14880 PyObject
* obj1
= 0 ;
14881 char *kwnames
[] = {
14882 (char *) "self",(char *) "name", NULL
14885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14889 arg2
= wxString_in_helper(obj1
);
14890 if (arg2
== NULL
) SWIG_fail
;
14894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14895 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
14897 wxPyEndAllowThreads(__tstate
);
14898 if (PyErr_Occurred()) SWIG_fail
;
14900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14915 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14916 PyObject
*resultobj
;
14917 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14918 wxString
*arg2
= 0 ;
14920 bool temp2
= False
;
14921 PyObject
* obj0
= 0 ;
14922 PyObject
* obj1
= 0 ;
14923 char *kwnames
[] = {
14924 (char *) "self",(char *) "name", NULL
14927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
14928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14931 arg2
= wxString_in_helper(obj1
);
14932 if (arg2
== NULL
) SWIG_fail
;
14936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14937 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14957 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14958 PyObject
*resultobj
;
14959 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14960 wxString
*arg2
= 0 ;
14962 bool temp2
= False
;
14963 PyObject
* obj0
= 0 ;
14964 PyObject
* obj1
= 0 ;
14965 char *kwnames
[] = {
14966 (char *) "self",(char *) "name", NULL
14969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
14970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14973 arg2
= wxString_in_helper(obj1
);
14974 if (arg2
== NULL
) SWIG_fail
;
14978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14979 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
14981 wxPyEndAllowThreads(__tstate
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14984 resultobj
= SWIG_FromInt((int)result
);
14999 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15000 PyObject
*resultobj
;
15001 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15002 wxString
*arg2
= 0 ;
15003 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15004 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15006 bool temp2
= False
;
15007 bool temp3
= False
;
15008 PyObject
* obj0
= 0 ;
15009 PyObject
* obj1
= 0 ;
15010 PyObject
* obj2
= 0 ;
15011 char *kwnames
[] = {
15012 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15019 arg2
= wxString_in_helper(obj1
);
15020 if (arg2
== NULL
) SWIG_fail
;
15025 arg3
= wxString_in_helper(obj2
);
15026 if (arg3
== NULL
) SWIG_fail
;
15031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15032 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15034 wxPyEndAllowThreads(__tstate
);
15035 if (PyErr_Occurred()) SWIG_fail
;
15039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15066 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15067 PyObject
*resultobj
;
15068 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15069 wxString
*arg2
= 0 ;
15070 long arg3
= (long) 0 ;
15072 bool temp2
= False
;
15073 PyObject
* obj0
= 0 ;
15074 PyObject
* obj1
= 0 ;
15075 PyObject
* obj2
= 0 ;
15076 char *kwnames
[] = {
15077 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15084 arg2
= wxString_in_helper(obj1
);
15085 if (arg2
== NULL
) SWIG_fail
;
15089 arg3
= (long) SWIG_AsLong(obj2
);
15090 if (PyErr_Occurred()) SWIG_fail
;
15093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15094 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15096 wxPyEndAllowThreads(__tstate
);
15097 if (PyErr_Occurred()) SWIG_fail
;
15099 resultobj
= SWIG_FromLong((long)result
);
15114 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15115 PyObject
*resultobj
;
15116 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15117 wxString
*arg2
= 0 ;
15118 double arg3
= (double) 0.0 ;
15120 bool temp2
= False
;
15121 PyObject
* obj0
= 0 ;
15122 PyObject
* obj1
= 0 ;
15123 PyObject
* obj2
= 0 ;
15124 char *kwnames
[] = {
15125 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15132 arg2
= wxString_in_helper(obj1
);
15133 if (arg2
== NULL
) SWIG_fail
;
15137 arg3
= (double) SWIG_AsDouble(obj2
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15142 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15144 wxPyEndAllowThreads(__tstate
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15147 resultobj
= SWIG_FromDouble((double)result
);
15162 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15163 PyObject
*resultobj
;
15164 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15165 wxString
*arg2
= 0 ;
15166 bool arg3
= (bool) False
;
15168 bool temp2
= False
;
15169 PyObject
* obj0
= 0 ;
15170 PyObject
* obj1
= 0 ;
15171 PyObject
* obj2
= 0 ;
15172 char *kwnames
[] = {
15173 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15180 arg2
= wxString_in_helper(obj1
);
15181 if (arg2
== NULL
) SWIG_fail
;
15185 arg3
= (bool) SWIG_AsBool(obj2
);
15186 if (PyErr_Occurred()) SWIG_fail
;
15189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15190 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15192 wxPyEndAllowThreads(__tstate
);
15193 if (PyErr_Occurred()) SWIG_fail
;
15195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15210 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15211 PyObject
*resultobj
;
15212 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15213 wxString
*arg2
= 0 ;
15214 wxString
*arg3
= 0 ;
15216 bool temp2
= False
;
15217 bool temp3
= False
;
15218 PyObject
* obj0
= 0 ;
15219 PyObject
* obj1
= 0 ;
15220 PyObject
* obj2
= 0 ;
15221 char *kwnames
[] = {
15222 (char *) "self",(char *) "key",(char *) "value", NULL
15225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15229 arg2
= wxString_in_helper(obj1
);
15230 if (arg2
== NULL
) SWIG_fail
;
15234 arg3
= wxString_in_helper(obj2
);
15235 if (arg3
== NULL
) SWIG_fail
;
15239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15242 wxPyEndAllowThreads(__tstate
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15268 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15269 PyObject
*resultobj
;
15270 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15271 wxString
*arg2
= 0 ;
15274 bool temp2
= False
;
15275 PyObject
* obj0
= 0 ;
15276 PyObject
* obj1
= 0 ;
15277 PyObject
* obj2
= 0 ;
15278 char *kwnames
[] = {
15279 (char *) "self",(char *) "key",(char *) "value", NULL
15282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15286 arg2
= wxString_in_helper(obj1
);
15287 if (arg2
== NULL
) SWIG_fail
;
15290 arg3
= (long) SWIG_AsLong(obj2
);
15291 if (PyErr_Occurred()) SWIG_fail
;
15293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15294 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15296 wxPyEndAllowThreads(__tstate
);
15297 if (PyErr_Occurred()) SWIG_fail
;
15299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15314 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15315 PyObject
*resultobj
;
15316 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15317 wxString
*arg2
= 0 ;
15320 bool temp2
= False
;
15321 PyObject
* obj0
= 0 ;
15322 PyObject
* obj1
= 0 ;
15323 PyObject
* obj2
= 0 ;
15324 char *kwnames
[] = {
15325 (char *) "self",(char *) "key",(char *) "value", NULL
15328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15332 arg2
= wxString_in_helper(obj1
);
15333 if (arg2
== NULL
) SWIG_fail
;
15336 arg3
= (double) SWIG_AsDouble(obj2
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15340 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15342 wxPyEndAllowThreads(__tstate
);
15343 if (PyErr_Occurred()) SWIG_fail
;
15345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15360 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15361 PyObject
*resultobj
;
15362 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15363 wxString
*arg2
= 0 ;
15366 bool temp2
= False
;
15367 PyObject
* obj0
= 0 ;
15368 PyObject
* obj1
= 0 ;
15369 PyObject
* obj2
= 0 ;
15370 char *kwnames
[] = {
15371 (char *) "self",(char *) "key",(char *) "value", NULL
15374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15378 arg2
= wxString_in_helper(obj1
);
15379 if (arg2
== NULL
) SWIG_fail
;
15382 arg3
= (bool) SWIG_AsBool(obj2
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15386 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15388 wxPyEndAllowThreads(__tstate
);
15389 if (PyErr_Occurred()) SWIG_fail
;
15391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15406 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15407 PyObject
*resultobj
;
15408 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15409 bool arg2
= (bool) False
;
15411 PyObject
* obj0
= 0 ;
15412 PyObject
* obj1
= 0 ;
15413 char *kwnames
[] = {
15414 (char *) "self",(char *) "currentOnly", NULL
15417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15421 arg2
= (bool) SWIG_AsBool(obj1
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15426 result
= (bool)(arg1
)->Flush(arg2
);
15428 wxPyEndAllowThreads(__tstate
);
15429 if (PyErr_Occurred()) SWIG_fail
;
15431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15438 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15439 PyObject
*resultobj
;
15440 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15441 wxString
*arg2
= 0 ;
15442 wxString
*arg3
= 0 ;
15444 bool temp2
= False
;
15445 bool temp3
= False
;
15446 PyObject
* obj0
= 0 ;
15447 PyObject
* obj1
= 0 ;
15448 PyObject
* obj2
= 0 ;
15449 char *kwnames
[] = {
15450 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15457 arg2
= wxString_in_helper(obj1
);
15458 if (arg2
== NULL
) SWIG_fail
;
15462 arg3
= wxString_in_helper(obj2
);
15463 if (arg3
== NULL
) SWIG_fail
;
15467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15468 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15470 wxPyEndAllowThreads(__tstate
);
15471 if (PyErr_Occurred()) SWIG_fail
;
15473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15496 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15497 PyObject
*resultobj
;
15498 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15499 wxString
*arg2
= 0 ;
15500 wxString
*arg3
= 0 ;
15502 bool temp2
= False
;
15503 bool temp3
= False
;
15504 PyObject
* obj0
= 0 ;
15505 PyObject
* obj1
= 0 ;
15506 PyObject
* obj2
= 0 ;
15507 char *kwnames
[] = {
15508 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15515 arg2
= wxString_in_helper(obj1
);
15516 if (arg2
== NULL
) SWIG_fail
;
15520 arg3
= wxString_in_helper(obj2
);
15521 if (arg3
== NULL
) SWIG_fail
;
15525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15526 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15528 wxPyEndAllowThreads(__tstate
);
15529 if (PyErr_Occurred()) SWIG_fail
;
15531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15554 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15555 PyObject
*resultobj
;
15556 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15557 wxString
*arg2
= 0 ;
15558 bool arg3
= (bool) True
;
15560 bool temp2
= False
;
15561 PyObject
* obj0
= 0 ;
15562 PyObject
* obj1
= 0 ;
15563 PyObject
* obj2
= 0 ;
15564 char *kwnames
[] = {
15565 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15572 arg2
= wxString_in_helper(obj1
);
15573 if (arg2
== NULL
) SWIG_fail
;
15577 arg3
= (bool) SWIG_AsBool(obj2
);
15578 if (PyErr_Occurred()) SWIG_fail
;
15581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15582 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15584 wxPyEndAllowThreads(__tstate
);
15585 if (PyErr_Occurred()) SWIG_fail
;
15587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15602 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15603 PyObject
*resultobj
;
15604 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15605 wxString
*arg2
= 0 ;
15607 bool temp2
= False
;
15608 PyObject
* obj0
= 0 ;
15609 PyObject
* obj1
= 0 ;
15610 char *kwnames
[] = {
15611 (char *) "self",(char *) "key", NULL
15614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15618 arg2
= wxString_in_helper(obj1
);
15619 if (arg2
== NULL
) SWIG_fail
;
15623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15624 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15626 wxPyEndAllowThreads(__tstate
);
15627 if (PyErr_Occurred()) SWIG_fail
;
15629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15644 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15645 PyObject
*resultobj
;
15646 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15648 PyObject
* obj0
= 0 ;
15649 char *kwnames
[] = {
15650 (char *) "self", NULL
15653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15658 result
= (bool)(arg1
)->DeleteAll();
15660 wxPyEndAllowThreads(__tstate
);
15661 if (PyErr_Occurred()) SWIG_fail
;
15663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15670 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15671 PyObject
*resultobj
;
15672 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15673 bool arg2
= (bool) True
;
15674 PyObject
* obj0
= 0 ;
15675 PyObject
* obj1
= 0 ;
15676 char *kwnames
[] = {
15677 (char *) "self",(char *) "doIt", NULL
15680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15684 arg2
= (bool) SWIG_AsBool(obj1
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15689 (arg1
)->SetExpandEnvVars(arg2
);
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15694 Py_INCREF(Py_None
); resultobj
= Py_None
;
15701 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15702 PyObject
*resultobj
;
15703 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15705 PyObject
* obj0
= 0 ;
15706 char *kwnames
[] = {
15707 (char *) "self", NULL
15710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15715 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15717 wxPyEndAllowThreads(__tstate
);
15718 if (PyErr_Occurred()) SWIG_fail
;
15720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15727 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15728 PyObject
*resultobj
;
15729 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15730 bool arg2
= (bool) True
;
15731 PyObject
* obj0
= 0 ;
15732 PyObject
* obj1
= 0 ;
15733 char *kwnames
[] = {
15734 (char *) "self",(char *) "doIt", NULL
15737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15741 arg2
= (bool) SWIG_AsBool(obj1
);
15742 if (PyErr_Occurred()) SWIG_fail
;
15745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15746 (arg1
)->SetRecordDefaults(arg2
);
15748 wxPyEndAllowThreads(__tstate
);
15749 if (PyErr_Occurred()) SWIG_fail
;
15751 Py_INCREF(Py_None
); resultobj
= Py_None
;
15758 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15759 PyObject
*resultobj
;
15760 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15762 PyObject
* obj0
= 0 ;
15763 char *kwnames
[] = {
15764 (char *) "self", NULL
15767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15772 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15774 wxPyEndAllowThreads(__tstate
);
15775 if (PyErr_Occurred()) SWIG_fail
;
15777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15784 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15785 PyObject
*resultobj
;
15786 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15787 wxString
*arg2
= 0 ;
15789 bool temp2
= False
;
15790 PyObject
* obj0
= 0 ;
15791 PyObject
* obj1
= 0 ;
15792 char *kwnames
[] = {
15793 (char *) "self",(char *) "str", NULL
15796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15800 arg2
= wxString_in_helper(obj1
);
15801 if (arg2
== NULL
) SWIG_fail
;
15805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15806 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15808 wxPyEndAllowThreads(__tstate
);
15809 if (PyErr_Occurred()) SWIG_fail
;
15813 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15815 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15832 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15833 PyObject
*resultobj
;
15834 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15836 PyObject
* obj0
= 0 ;
15837 char *kwnames
[] = {
15838 (char *) "self", NULL
15841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
15842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15846 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
15848 wxPyEndAllowThreads(__tstate
);
15849 if (PyErr_Occurred()) SWIG_fail
;
15853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15864 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15865 PyObject
*resultobj
;
15866 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15868 PyObject
* obj0
= 0 ;
15869 char *kwnames
[] = {
15870 (char *) "self", NULL
15873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
15874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15878 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
15880 wxPyEndAllowThreads(__tstate
);
15881 if (PyErr_Occurred()) SWIG_fail
;
15885 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15887 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15896 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15897 PyObject
*resultobj
;
15898 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15899 wxString
*arg2
= 0 ;
15900 bool temp2
= False
;
15901 PyObject
* obj0
= 0 ;
15902 PyObject
* obj1
= 0 ;
15903 char *kwnames
[] = {
15904 (char *) "self",(char *) "appName", NULL
15907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
15908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15911 arg2
= wxString_in_helper(obj1
);
15912 if (arg2
== NULL
) SWIG_fail
;
15916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15917 (arg1
)->SetAppName((wxString
const &)*arg2
);
15919 wxPyEndAllowThreads(__tstate
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15922 Py_INCREF(Py_None
); resultobj
= Py_None
;
15937 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15938 PyObject
*resultobj
;
15939 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15940 wxString
*arg2
= 0 ;
15941 bool temp2
= False
;
15942 PyObject
* obj0
= 0 ;
15943 PyObject
* obj1
= 0 ;
15944 char *kwnames
[] = {
15945 (char *) "self",(char *) "vendorName", NULL
15948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
15949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15952 arg2
= wxString_in_helper(obj1
);
15953 if (arg2
== NULL
) SWIG_fail
;
15957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15958 (arg1
)->SetVendorName((wxString
const &)*arg2
);
15960 wxPyEndAllowThreads(__tstate
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15963 Py_INCREF(Py_None
); resultobj
= Py_None
;
15978 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15979 PyObject
*resultobj
;
15980 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15982 PyObject
* obj0
= 0 ;
15983 PyObject
* obj1
= 0 ;
15984 char *kwnames
[] = {
15985 (char *) "self",(char *) "style", NULL
15988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
15989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15991 arg2
= (long) SWIG_AsLong(obj1
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15995 (arg1
)->SetStyle(arg2
);
15997 wxPyEndAllowThreads(__tstate
);
15998 if (PyErr_Occurred()) SWIG_fail
;
16000 Py_INCREF(Py_None
); resultobj
= Py_None
;
16007 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16008 PyObject
*resultobj
;
16009 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16011 PyObject
* obj0
= 0 ;
16012 char *kwnames
[] = {
16013 (char *) "self", NULL
16016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16021 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16023 wxPyEndAllowThreads(__tstate
);
16024 if (PyErr_Occurred()) SWIG_fail
;
16026 resultobj
= SWIG_FromLong((long)result
);
16033 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16036 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16038 return Py_BuildValue((char *)"");
16040 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16041 PyObject
*resultobj
;
16042 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16043 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16044 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16045 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16046 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16047 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16048 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16049 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16050 long arg5
= (long) 0 ;
16052 bool temp1
= False
;
16053 bool temp2
= False
;
16054 bool temp3
= False
;
16055 bool temp4
= False
;
16056 PyObject
* obj0
= 0 ;
16057 PyObject
* obj1
= 0 ;
16058 PyObject
* obj2
= 0 ;
16059 PyObject
* obj3
= 0 ;
16060 PyObject
* obj4
= 0 ;
16061 char *kwnames
[] = {
16062 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16068 arg1
= wxString_in_helper(obj0
);
16069 if (arg1
== NULL
) SWIG_fail
;
16075 arg2
= wxString_in_helper(obj1
);
16076 if (arg2
== NULL
) SWIG_fail
;
16082 arg3
= wxString_in_helper(obj2
);
16083 if (arg3
== NULL
) SWIG_fail
;
16089 arg4
= wxString_in_helper(obj3
);
16090 if (arg4
== NULL
) SWIG_fail
;
16095 arg5
= (long) SWIG_AsLong(obj4
);
16096 if (PyErr_Occurred()) SWIG_fail
;
16099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16100 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16102 wxPyEndAllowThreads(__tstate
);
16103 if (PyErr_Occurred()) SWIG_fail
;
16105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16144 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16145 PyObject
*resultobj
;
16146 wxConfig
*arg1
= (wxConfig
*) 0 ;
16147 PyObject
* obj0
= 0 ;
16148 char *kwnames
[] = {
16149 (char *) "self", NULL
16152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16159 wxPyEndAllowThreads(__tstate
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16162 Py_INCREF(Py_None
); resultobj
= Py_None
;
16169 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16172 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16174 return Py_BuildValue((char *)"");
16176 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16177 PyObject
*resultobj
;
16178 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16179 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16180 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16181 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16182 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16183 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16184 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16185 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16186 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16187 wxFileConfig
*result
;
16188 bool temp1
= False
;
16189 bool temp2
= False
;
16190 bool temp3
= False
;
16191 bool temp4
= False
;
16192 PyObject
* obj0
= 0 ;
16193 PyObject
* obj1
= 0 ;
16194 PyObject
* obj2
= 0 ;
16195 PyObject
* obj3
= 0 ;
16196 PyObject
* obj4
= 0 ;
16197 char *kwnames
[] = {
16198 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16204 arg1
= wxString_in_helper(obj0
);
16205 if (arg1
== NULL
) SWIG_fail
;
16211 arg2
= wxString_in_helper(obj1
);
16212 if (arg2
== NULL
) SWIG_fail
;
16218 arg3
= wxString_in_helper(obj2
);
16219 if (arg3
== NULL
) SWIG_fail
;
16225 arg4
= wxString_in_helper(obj3
);
16226 if (arg4
== NULL
) SWIG_fail
;
16231 arg5
= (long) SWIG_AsLong(obj4
);
16232 if (PyErr_Occurred()) SWIG_fail
;
16235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16236 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16238 wxPyEndAllowThreads(__tstate
);
16239 if (PyErr_Occurred()) SWIG_fail
;
16241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16280 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16281 PyObject
*resultobj
;
16282 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16283 PyObject
* obj0
= 0 ;
16284 char *kwnames
[] = {
16285 (char *) "self", NULL
16288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16295 wxPyEndAllowThreads(__tstate
);
16296 if (PyErr_Occurred()) SWIG_fail
;
16298 Py_INCREF(Py_None
); resultobj
= Py_None
;
16305 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16307 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16308 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16310 return Py_BuildValue((char *)"");
16312 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16313 PyObject
*resultobj
;
16314 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16315 wxString
*arg2
= 0 ;
16316 wxConfigPathChanger
*result
;
16317 bool temp2
= False
;
16318 PyObject
* obj0
= 0 ;
16319 PyObject
* obj1
= 0 ;
16320 char *kwnames
[] = {
16321 (char *) "config",(char *) "entry", NULL
16324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16328 arg2
= wxString_in_helper(obj1
);
16329 if (arg2
== NULL
) SWIG_fail
;
16333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16334 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16336 wxPyEndAllowThreads(__tstate
);
16337 if (PyErr_Occurred()) SWIG_fail
;
16339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16354 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16355 PyObject
*resultobj
;
16356 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16357 PyObject
* obj0
= 0 ;
16358 char *kwnames
[] = {
16359 (char *) "self", NULL
16362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16369 wxPyEndAllowThreads(__tstate
);
16370 if (PyErr_Occurred()) SWIG_fail
;
16372 Py_INCREF(Py_None
); resultobj
= Py_None
;
16379 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16380 PyObject
*resultobj
;
16381 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16383 PyObject
* obj0
= 0 ;
16384 char *kwnames
[] = {
16385 (char *) "self", NULL
16388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16394 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16395 result
= (wxString
*) &_result_ref
;
16398 wxPyEndAllowThreads(__tstate
);
16399 if (PyErr_Occurred()) SWIG_fail
;
16403 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16405 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16414 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16417 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16419 return Py_BuildValue((char *)"");
16421 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16422 PyObject
*resultobj
;
16423 wxString
*arg1
= 0 ;
16425 bool temp1
= False
;
16426 PyObject
* obj0
= 0 ;
16427 char *kwnames
[] = {
16428 (char *) "sz", NULL
16431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16433 arg1
= wxString_in_helper(obj0
);
16434 if (arg1
== NULL
) SWIG_fail
;
16438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16439 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16441 wxPyEndAllowThreads(__tstate
);
16442 if (PyErr_Occurred()) SWIG_fail
;
16446 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16448 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16465 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16466 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16471 static PyObject
*_wrap_DateFormatStr_get() {
16476 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16478 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16485 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16486 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16491 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16496 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16498 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16505 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16506 PyObject
*resultobj
;
16508 PyObject
* obj0
= 0 ;
16509 char *kwnames
[] = {
16510 (char *) "country", NULL
16513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16514 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16515 if (PyErr_Occurred()) SWIG_fail
;
16517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16518 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16520 wxPyEndAllowThreads(__tstate
);
16521 if (PyErr_Occurred()) SWIG_fail
;
16523 Py_INCREF(Py_None
); resultobj
= Py_None
;
16530 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16531 PyObject
*resultobj
;
16533 char *kwnames
[] = {
16537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16540 result
= (int)wxDateTime::GetCountry();
16542 wxPyEndAllowThreads(__tstate
);
16543 if (PyErr_Occurred()) SWIG_fail
;
16545 resultobj
= SWIG_FromInt((int)result
);
16552 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16553 PyObject
*resultobj
;
16554 int arg1
= (int) wxDateTime::Country_Default
;
16556 PyObject
* obj0
= 0 ;
16557 char *kwnames
[] = {
16558 (char *) "country", NULL
16561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16563 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16564 if (PyErr_Occurred()) SWIG_fail
;
16567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16568 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16570 wxPyEndAllowThreads(__tstate
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16580 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16581 PyObject
*resultobj
;
16582 int arg1
= (int) wxDateTime::Gregorian
;
16584 PyObject
* obj0
= 0 ;
16585 char *kwnames
[] = {
16586 (char *) "cal", NULL
16589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16591 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16596 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16598 wxPyEndAllowThreads(__tstate
);
16599 if (PyErr_Occurred()) SWIG_fail
;
16601 resultobj
= SWIG_FromInt((int)result
);
16608 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16609 PyObject
*resultobj
;
16612 PyObject
* obj0
= 0 ;
16613 char *kwnames
[] = {
16614 (char *) "year", NULL
16617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16618 arg1
= (int) SWIG_AsInt(obj0
);
16619 if (PyErr_Occurred()) SWIG_fail
;
16621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16622 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16624 wxPyEndAllowThreads(__tstate
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16627 resultobj
= SWIG_FromInt((int)result
);
16634 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16635 PyObject
*resultobj
;
16636 int arg1
= (int) wxDateTime::Gregorian
;
16638 PyObject
* obj0
= 0 ;
16639 char *kwnames
[] = {
16640 (char *) "cal", NULL
16643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16645 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16646 if (PyErr_Occurred()) SWIG_fail
;
16649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16650 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16652 wxPyEndAllowThreads(__tstate
);
16653 if (PyErr_Occurred()) SWIG_fail
;
16655 resultobj
= SWIG_FromInt((int)result
);
16662 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16663 PyObject
*resultobj
;
16664 int arg1
= (int) wxDateTime::Inv_Year
;
16665 int arg2
= (int) wxDateTime::Gregorian
;
16667 PyObject
* obj0
= 0 ;
16668 PyObject
* obj1
= 0 ;
16669 char *kwnames
[] = {
16670 (char *) "year",(char *) "cal", NULL
16673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16675 arg1
= (int) SWIG_AsInt(obj0
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16679 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16680 if (PyErr_Occurred()) SWIG_fail
;
16683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16684 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16686 wxPyEndAllowThreads(__tstate
);
16687 if (PyErr_Occurred()) SWIG_fail
;
16689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16696 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16697 PyObject
*resultobj
;
16698 int arg1
= (int) wxDateTime::Inv_Year
;
16700 PyObject
* obj0
= 0 ;
16701 char *kwnames
[] = {
16702 (char *) "year", NULL
16705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16707 arg1
= (int) SWIG_AsInt(obj0
);
16708 if (PyErr_Occurred()) SWIG_fail
;
16711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16712 result
= (int)wxDateTime::GetCentury(arg1
);
16714 wxPyEndAllowThreads(__tstate
);
16715 if (PyErr_Occurred()) SWIG_fail
;
16717 resultobj
= SWIG_FromInt((int)result
);
16724 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16725 PyObject
*resultobj
;
16727 int arg2
= (int) wxDateTime::Gregorian
;
16729 PyObject
* obj0
= 0 ;
16730 PyObject
* obj1
= 0 ;
16731 char *kwnames
[] = {
16732 (char *) "year",(char *) "cal", NULL
16735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16736 arg1
= (int) SWIG_AsInt(obj0
);
16737 if (PyErr_Occurred()) SWIG_fail
;
16739 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16744 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16746 wxPyEndAllowThreads(__tstate
);
16747 if (PyErr_Occurred()) SWIG_fail
;
16749 resultobj
= SWIG_FromInt((int)result
);
16756 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16757 PyObject
*resultobj
;
16759 int arg2
= (int) wxDateTime::Inv_Year
;
16760 int arg3
= (int) wxDateTime::Gregorian
;
16762 PyObject
* obj0
= 0 ;
16763 PyObject
* obj1
= 0 ;
16764 PyObject
* obj2
= 0 ;
16765 char *kwnames
[] = {
16766 (char *) "month",(char *) "year",(char *) "cal", NULL
16769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16770 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16771 if (PyErr_Occurred()) SWIG_fail
;
16773 arg2
= (int) SWIG_AsInt(obj1
);
16774 if (PyErr_Occurred()) SWIG_fail
;
16777 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16782 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16784 wxPyEndAllowThreads(__tstate
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16787 resultobj
= SWIG_FromInt((int)result
);
16794 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16795 PyObject
*resultobj
;
16797 int arg2
= (int) wxDateTime::Name_Full
;
16799 PyObject
* obj0
= 0 ;
16800 PyObject
* obj1
= 0 ;
16801 char *kwnames
[] = {
16802 (char *) "month",(char *) "flags", NULL
16805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16806 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16807 if (PyErr_Occurred()) SWIG_fail
;
16809 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16814 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16816 wxPyEndAllowThreads(__tstate
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16821 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16823 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16832 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16833 PyObject
*resultobj
;
16835 int arg2
= (int) wxDateTime::Name_Full
;
16837 PyObject
* obj0
= 0 ;
16838 PyObject
* obj1
= 0 ;
16839 char *kwnames
[] = {
16840 (char *) "weekday",(char *) "flags", NULL
16843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
16844 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
16845 if (PyErr_Occurred()) SWIG_fail
;
16847 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16848 if (PyErr_Occurred()) SWIG_fail
;
16851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16852 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
16854 wxPyEndAllowThreads(__tstate
);
16855 if (PyErr_Occurred()) SWIG_fail
;
16859 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16861 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16870 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16871 PyObject
*resultobj
;
16872 wxString
*arg1
= (wxString
*) 0 ;
16873 wxString
*arg2
= (wxString
*) 0 ;
16874 bool temp1
= False
;
16875 bool temp2
= False
;
16876 PyObject
* obj0
= 0 ;
16877 PyObject
* obj1
= 0 ;
16878 char *kwnames
[] = {
16879 (char *) "OUTPUT",(char *) "OUTPUT", NULL
16882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
16884 arg1
= wxString_in_helper(obj0
);
16885 if (arg1
== NULL
) SWIG_fail
;
16889 arg2
= wxString_in_helper(obj1
);
16890 if (arg2
== NULL
) SWIG_fail
;
16894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16895 wxDateTime::GetAmPmStrings(arg1
,arg2
);
16897 wxPyEndAllowThreads(__tstate
);
16898 if (PyErr_Occurred()) SWIG_fail
;
16900 Py_INCREF(Py_None
); resultobj
= Py_None
;
16923 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16924 PyObject
*resultobj
;
16925 int arg1
= (int) wxDateTime::Inv_Year
;
16926 int arg2
= (int) wxDateTime::Country_Default
;
16928 PyObject
* obj0
= 0 ;
16929 PyObject
* obj1
= 0 ;
16930 char *kwnames
[] = {
16931 (char *) "year",(char *) "country", NULL
16934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
16936 arg1
= (int) SWIG_AsInt(obj0
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16940 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
16941 if (PyErr_Occurred()) SWIG_fail
;
16944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16945 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
16947 wxPyEndAllowThreads(__tstate
);
16948 if (PyErr_Occurred()) SWIG_fail
;
16950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16957 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16958 PyObject
*resultobj
;
16959 int arg1
= (int) wxDateTime::Inv_Year
;
16960 int arg2
= (int) wxDateTime::Country_Default
;
16962 PyObject
* obj0
= 0 ;
16963 PyObject
* obj1
= 0 ;
16964 char *kwnames
[] = {
16965 (char *) "year",(char *) "country", NULL
16968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
16970 arg1
= (int) SWIG_AsInt(obj0
);
16971 if (PyErr_Occurred()) SWIG_fail
;
16974 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16979 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
16981 wxPyEndAllowThreads(__tstate
);
16982 if (PyErr_Occurred()) SWIG_fail
;
16985 wxDateTime
* resultptr
;
16986 resultptr
= new wxDateTime((wxDateTime
&) result
);
16987 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
16995 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16996 PyObject
*resultobj
;
16997 int arg1
= (int) wxDateTime::Inv_Year
;
16998 int arg2
= (int) wxDateTime::Country_Default
;
17000 PyObject
* obj0
= 0 ;
17001 PyObject
* obj1
= 0 ;
17002 char *kwnames
[] = {
17003 (char *) "year",(char *) "country", NULL
17006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17008 arg1
= (int) SWIG_AsInt(obj0
);
17009 if (PyErr_Occurred()) SWIG_fail
;
17012 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17017 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17019 wxPyEndAllowThreads(__tstate
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17023 wxDateTime
* resultptr
;
17024 resultptr
= new wxDateTime((wxDateTime
&) result
);
17025 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17033 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17034 PyObject
*resultobj
;
17036 char *kwnames
[] = {
17040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17043 result
= wxDateTime::Now();
17045 wxPyEndAllowThreads(__tstate
);
17046 if (PyErr_Occurred()) SWIG_fail
;
17049 wxDateTime
* resultptr
;
17050 resultptr
= new wxDateTime((wxDateTime
&) result
);
17051 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17059 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17060 PyObject
*resultobj
;
17062 char *kwnames
[] = {
17066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17069 result
= wxDateTime::UNow();
17071 wxPyEndAllowThreads(__tstate
);
17072 if (PyErr_Occurred()) SWIG_fail
;
17075 wxDateTime
* resultptr
;
17076 resultptr
= new wxDateTime((wxDateTime
&) result
);
17077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17085 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17086 PyObject
*resultobj
;
17088 char *kwnames
[] = {
17092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 result
= wxDateTime::Today();
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17101 wxDateTime
* resultptr
;
17102 resultptr
= new wxDateTime((wxDateTime
&) result
);
17103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17111 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17112 PyObject
*resultobj
;
17113 wxDateTime
*result
;
17114 char *kwnames
[] = {
17118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17121 result
= (wxDateTime
*)new wxDateTime();
17123 wxPyEndAllowThreads(__tstate
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17133 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17134 PyObject
*resultobj
;
17136 wxDateTime
*result
;
17137 PyObject
* obj0
= 0 ;
17138 char *kwnames
[] = {
17139 (char *) "timet", NULL
17142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17143 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17144 if (PyErr_Occurred()) SWIG_fail
;
17146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17147 result
= (wxDateTime
*)new wxDateTime(arg1
);
17149 wxPyEndAllowThreads(__tstate
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17159 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17160 PyObject
*resultobj
;
17162 wxDateTime
*result
;
17163 PyObject
* obj0
= 0 ;
17164 char *kwnames
[] = {
17165 (char *) "jdn", NULL
17168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17169 arg1
= (double) SWIG_AsDouble(obj0
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17173 result
= (wxDateTime
*)new wxDateTime(arg1
);
17175 wxPyEndAllowThreads(__tstate
);
17176 if (PyErr_Occurred()) SWIG_fail
;
17178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17185 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17186 PyObject
*resultobj
;
17188 int arg2
= (int) 0 ;
17189 int arg3
= (int) 0 ;
17190 int arg4
= (int) 0 ;
17191 wxDateTime
*result
;
17192 PyObject
* obj0
= 0 ;
17193 PyObject
* obj1
= 0 ;
17194 PyObject
* obj2
= 0 ;
17195 PyObject
* obj3
= 0 ;
17196 char *kwnames
[] = {
17197 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17201 arg1
= (int) SWIG_AsInt(obj0
);
17202 if (PyErr_Occurred()) SWIG_fail
;
17204 arg2
= (int) SWIG_AsInt(obj1
);
17205 if (PyErr_Occurred()) SWIG_fail
;
17208 arg3
= (int) SWIG_AsInt(obj2
);
17209 if (PyErr_Occurred()) SWIG_fail
;
17212 arg4
= (int) SWIG_AsInt(obj3
);
17213 if (PyErr_Occurred()) SWIG_fail
;
17216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17217 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17219 wxPyEndAllowThreads(__tstate
);
17220 if (PyErr_Occurred()) SWIG_fail
;
17222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17229 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17230 PyObject
*resultobj
;
17232 int arg2
= (int) wxDateTime::Inv_Month
;
17233 int arg3
= (int) wxDateTime::Inv_Year
;
17234 int arg4
= (int) 0 ;
17235 int arg5
= (int) 0 ;
17236 int arg6
= (int) 0 ;
17237 int arg7
= (int) 0 ;
17238 wxDateTime
*result
;
17239 PyObject
* obj0
= 0 ;
17240 PyObject
* obj1
= 0 ;
17241 PyObject
* obj2
= 0 ;
17242 PyObject
* obj3
= 0 ;
17243 PyObject
* obj4
= 0 ;
17244 PyObject
* obj5
= 0 ;
17245 PyObject
* obj6
= 0 ;
17246 char *kwnames
[] = {
17247 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17251 arg1
= (int) SWIG_AsInt(obj0
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17254 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17255 if (PyErr_Occurred()) SWIG_fail
;
17258 arg3
= (int) SWIG_AsInt(obj2
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17262 arg4
= (int) SWIG_AsInt(obj3
);
17263 if (PyErr_Occurred()) SWIG_fail
;
17266 arg5
= (int) SWIG_AsInt(obj4
);
17267 if (PyErr_Occurred()) SWIG_fail
;
17270 arg6
= (int) SWIG_AsInt(obj5
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17274 arg7
= (int) SWIG_AsInt(obj6
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17279 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17281 wxPyEndAllowThreads(__tstate
);
17282 if (PyErr_Occurred()) SWIG_fail
;
17284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17291 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17292 PyObject
*resultobj
;
17293 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17294 PyObject
* obj0
= 0 ;
17295 char *kwnames
[] = {
17296 (char *) "self", NULL
17299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17306 wxPyEndAllowThreads(__tstate
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17309 Py_INCREF(Py_None
); resultobj
= Py_None
;
17316 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17317 PyObject
*resultobj
;
17318 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17319 wxDateTime
*result
;
17320 PyObject
* obj0
= 0 ;
17321 char *kwnames
[] = {
17322 (char *) "self", NULL
17325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17331 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17332 result
= (wxDateTime
*) &_result_ref
;
17335 wxPyEndAllowThreads(__tstate
);
17336 if (PyErr_Occurred()) SWIG_fail
;
17338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17345 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
;
17347 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17349 wxDateTime
*result
;
17350 PyObject
* obj0
= 0 ;
17351 PyObject
* obj1
= 0 ;
17352 char *kwnames
[] = {
17353 (char *) "self",(char *) "timet", NULL
17356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17359 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17360 if (PyErr_Occurred()) SWIG_fail
;
17362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17364 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17365 result
= (wxDateTime
*) &_result_ref
;
17368 wxPyEndAllowThreads(__tstate
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17378 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17379 PyObject
*resultobj
;
17380 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17382 wxDateTime
*result
;
17383 PyObject
* obj0
= 0 ;
17384 PyObject
* obj1
= 0 ;
17385 char *kwnames
[] = {
17386 (char *) "self",(char *) "jdn", NULL
17389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17392 arg2
= (double) SWIG_AsDouble(obj1
);
17393 if (PyErr_Occurred()) SWIG_fail
;
17395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17397 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17398 result
= (wxDateTime
*) &_result_ref
;
17401 wxPyEndAllowThreads(__tstate
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17411 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17412 PyObject
*resultobj
;
17413 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17415 int arg3
= (int) 0 ;
17416 int arg4
= (int) 0 ;
17417 int arg5
= (int) 0 ;
17418 wxDateTime
*result
;
17419 PyObject
* obj0
= 0 ;
17420 PyObject
* obj1
= 0 ;
17421 PyObject
* obj2
= 0 ;
17422 PyObject
* obj3
= 0 ;
17423 PyObject
* obj4
= 0 ;
17424 char *kwnames
[] = {
17425 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17431 arg2
= (int) SWIG_AsInt(obj1
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17434 arg3
= (int) SWIG_AsInt(obj2
);
17435 if (PyErr_Occurred()) SWIG_fail
;
17438 arg4
= (int) SWIG_AsInt(obj3
);
17439 if (PyErr_Occurred()) SWIG_fail
;
17442 arg5
= (int) SWIG_AsInt(obj4
);
17443 if (PyErr_Occurred()) SWIG_fail
;
17446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17448 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17449 result
= (wxDateTime
*) &_result_ref
;
17452 wxPyEndAllowThreads(__tstate
);
17453 if (PyErr_Occurred()) SWIG_fail
;
17455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17462 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17463 PyObject
*resultobj
;
17464 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17466 int arg3
= (int) wxDateTime::Inv_Month
;
17467 int arg4
= (int) wxDateTime::Inv_Year
;
17468 int arg5
= (int) 0 ;
17469 int arg6
= (int) 0 ;
17470 int arg7
= (int) 0 ;
17471 int arg8
= (int) 0 ;
17472 wxDateTime
*result
;
17473 PyObject
* obj0
= 0 ;
17474 PyObject
* obj1
= 0 ;
17475 PyObject
* obj2
= 0 ;
17476 PyObject
* obj3
= 0 ;
17477 PyObject
* obj4
= 0 ;
17478 PyObject
* obj5
= 0 ;
17479 PyObject
* obj6
= 0 ;
17480 PyObject
* obj7
= 0 ;
17481 char *kwnames
[] = {
17482 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17488 arg2
= (int) SWIG_AsInt(obj1
);
17489 if (PyErr_Occurred()) SWIG_fail
;
17491 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17492 if (PyErr_Occurred()) SWIG_fail
;
17495 arg4
= (int) SWIG_AsInt(obj3
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17499 arg5
= (int) SWIG_AsInt(obj4
);
17500 if (PyErr_Occurred()) SWIG_fail
;
17503 arg6
= (int) SWIG_AsInt(obj5
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17507 arg7
= (int) SWIG_AsInt(obj6
);
17508 if (PyErr_Occurred()) SWIG_fail
;
17511 arg8
= (int) SWIG_AsInt(obj7
);
17512 if (PyErr_Occurred()) SWIG_fail
;
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17517 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17518 result
= (wxDateTime
*) &_result_ref
;
17521 wxPyEndAllowThreads(__tstate
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17531 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17532 PyObject
*resultobj
;
17533 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17534 wxDateTime
*result
;
17535 PyObject
* obj0
= 0 ;
17536 char *kwnames
[] = {
17537 (char *) "self", NULL
17540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17546 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17547 result
= (wxDateTime
*) &_result_ref
;
17550 wxPyEndAllowThreads(__tstate
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17560 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17561 PyObject
*resultobj
;
17562 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17564 wxDateTime
*result
;
17565 PyObject
* obj0
= 0 ;
17566 PyObject
* obj1
= 0 ;
17567 char *kwnames
[] = {
17568 (char *) "self",(char *) "year", NULL
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17574 arg2
= (int) SWIG_AsInt(obj1
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17579 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17580 result
= (wxDateTime
*) &_result_ref
;
17583 wxPyEndAllowThreads(__tstate
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17593 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17594 PyObject
*resultobj
;
17595 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17597 wxDateTime
*result
;
17598 PyObject
* obj0
= 0 ;
17599 PyObject
* obj1
= 0 ;
17600 char *kwnames
[] = {
17601 (char *) "self",(char *) "month", NULL
17604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17607 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17612 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17613 result
= (wxDateTime
*) &_result_ref
;
17616 wxPyEndAllowThreads(__tstate
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17626 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17627 PyObject
*resultobj
;
17628 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17630 wxDateTime
*result
;
17631 PyObject
* obj0
= 0 ;
17632 PyObject
* obj1
= 0 ;
17633 char *kwnames
[] = {
17634 (char *) "self",(char *) "day", NULL
17637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17640 arg2
= (int) SWIG_AsInt(obj1
);
17641 if (PyErr_Occurred()) SWIG_fail
;
17643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17645 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17646 result
= (wxDateTime
*) &_result_ref
;
17649 wxPyEndAllowThreads(__tstate
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17659 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17660 PyObject
*resultobj
;
17661 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17663 wxDateTime
*result
;
17664 PyObject
* obj0
= 0 ;
17665 PyObject
* obj1
= 0 ;
17666 char *kwnames
[] = {
17667 (char *) "self",(char *) "hour", NULL
17670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17673 arg2
= (int) SWIG_AsInt(obj1
);
17674 if (PyErr_Occurred()) SWIG_fail
;
17676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17678 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17679 result
= (wxDateTime
*) &_result_ref
;
17682 wxPyEndAllowThreads(__tstate
);
17683 if (PyErr_Occurred()) SWIG_fail
;
17685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17692 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17693 PyObject
*resultobj
;
17694 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17696 wxDateTime
*result
;
17697 PyObject
* obj0
= 0 ;
17698 PyObject
* obj1
= 0 ;
17699 char *kwnames
[] = {
17700 (char *) "self",(char *) "minute", NULL
17703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17706 arg2
= (int) SWIG_AsInt(obj1
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17711 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17712 result
= (wxDateTime
*) &_result_ref
;
17715 wxPyEndAllowThreads(__tstate
);
17716 if (PyErr_Occurred()) SWIG_fail
;
17718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17725 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17726 PyObject
*resultobj
;
17727 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17729 wxDateTime
*result
;
17730 PyObject
* obj0
= 0 ;
17731 PyObject
* obj1
= 0 ;
17732 char *kwnames
[] = {
17733 (char *) "self",(char *) "second", NULL
17736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17739 arg2
= (int) SWIG_AsInt(obj1
);
17740 if (PyErr_Occurred()) SWIG_fail
;
17742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17744 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17745 result
= (wxDateTime
*) &_result_ref
;
17748 wxPyEndAllowThreads(__tstate
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17758 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17759 PyObject
*resultobj
;
17760 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17762 wxDateTime
*result
;
17763 PyObject
* obj0
= 0 ;
17764 PyObject
* obj1
= 0 ;
17765 char *kwnames
[] = {
17766 (char *) "self",(char *) "millisecond", NULL
17769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17772 arg2
= (int) SWIG_AsInt(obj1
);
17773 if (PyErr_Occurred()) SWIG_fail
;
17775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17777 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17778 result
= (wxDateTime
*) &_result_ref
;
17781 wxPyEndAllowThreads(__tstate
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17791 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17792 PyObject
*resultobj
;
17793 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17795 int arg3
= (int) wxDateTime::Monday_First
;
17796 wxDateTime
*result
;
17797 PyObject
* obj0
= 0 ;
17798 PyObject
* obj1
= 0 ;
17799 PyObject
* obj2
= 0 ;
17800 char *kwnames
[] = {
17801 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17807 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17808 if (PyErr_Occurred()) SWIG_fail
;
17810 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17816 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17817 result
= (wxDateTime
*) &_result_ref
;
17820 wxPyEndAllowThreads(__tstate
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17830 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17831 PyObject
*resultobj
;
17832 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17834 int arg3
= (int) wxDateTime::Monday_First
;
17836 PyObject
* obj0
= 0 ;
17837 PyObject
* obj1
= 0 ;
17838 PyObject
* obj2
= 0 ;
17839 char *kwnames
[] = {
17840 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17846 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17847 if (PyErr_Occurred()) SWIG_fail
;
17849 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17850 if (PyErr_Occurred()) SWIG_fail
;
17853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17854 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17856 wxPyEndAllowThreads(__tstate
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17860 wxDateTime
* resultptr
;
17861 resultptr
= new wxDateTime((wxDateTime
&) result
);
17862 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17870 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17871 PyObject
*resultobj
;
17872 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17874 wxDateTime
*result
;
17875 PyObject
* obj0
= 0 ;
17876 PyObject
* obj1
= 0 ;
17877 char *kwnames
[] = {
17878 (char *) "self",(char *) "weekday", NULL
17881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17884 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17885 if (PyErr_Occurred()) SWIG_fail
;
17887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17889 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
17890 result
= (wxDateTime
*) &_result_ref
;
17893 wxPyEndAllowThreads(__tstate
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17903 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17904 PyObject
*resultobj
;
17905 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17908 PyObject
* obj0
= 0 ;
17909 PyObject
* obj1
= 0 ;
17910 char *kwnames
[] = {
17911 (char *) "self",(char *) "weekday", NULL
17914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17917 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17921 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
17923 wxPyEndAllowThreads(__tstate
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17927 wxDateTime
* resultptr
;
17928 resultptr
= new wxDateTime((wxDateTime
&) result
);
17929 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17937 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
;
17939 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17941 wxDateTime
*result
;
17942 PyObject
* obj0
= 0 ;
17943 PyObject
* obj1
= 0 ;
17944 char *kwnames
[] = {
17945 (char *) "self",(char *) "weekday", NULL
17948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17951 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17956 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
17957 result
= (wxDateTime
*) &_result_ref
;
17960 wxPyEndAllowThreads(__tstate
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17970 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17971 PyObject
*resultobj
;
17972 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17975 PyObject
* obj0
= 0 ;
17976 PyObject
* obj1
= 0 ;
17977 char *kwnames
[] = {
17978 (char *) "self",(char *) "weekday", NULL
17981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17984 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17985 if (PyErr_Occurred()) SWIG_fail
;
17987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17988 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
17990 wxPyEndAllowThreads(__tstate
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17994 wxDateTime
* resultptr
;
17995 resultptr
= new wxDateTime((wxDateTime
&) result
);
17996 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18004 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18005 PyObject
*resultobj
;
18006 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18008 int arg3
= (int) 1 ;
18009 int arg4
= (int) wxDateTime::Inv_Month
;
18010 int arg5
= (int) wxDateTime::Inv_Year
;
18012 PyObject
* obj0
= 0 ;
18013 PyObject
* obj1
= 0 ;
18014 PyObject
* obj2
= 0 ;
18015 PyObject
* obj3
= 0 ;
18016 PyObject
* obj4
= 0 ;
18017 char *kwnames
[] = {
18018 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18024 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18025 if (PyErr_Occurred()) SWIG_fail
;
18027 arg3
= (int) SWIG_AsInt(obj2
);
18028 if (PyErr_Occurred()) SWIG_fail
;
18031 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18032 if (PyErr_Occurred()) SWIG_fail
;
18035 arg5
= (int) SWIG_AsInt(obj4
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18040 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18042 wxPyEndAllowThreads(__tstate
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18052 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18053 PyObject
*resultobj
;
18054 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18056 int arg3
= (int) wxDateTime::Inv_Month
;
18057 int arg4
= (int) wxDateTime::Inv_Year
;
18059 PyObject
* obj0
= 0 ;
18060 PyObject
* obj1
= 0 ;
18061 PyObject
* obj2
= 0 ;
18062 PyObject
* obj3
= 0 ;
18063 char *kwnames
[] = {
18064 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18070 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18073 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18077 arg4
= (int) SWIG_AsInt(obj3
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18082 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18084 wxPyEndAllowThreads(__tstate
);
18085 if (PyErr_Occurred()) SWIG_fail
;
18087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18094 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18095 PyObject
*resultobj
;
18096 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18098 int arg3
= (int) wxDateTime::Inv_Month
;
18099 int arg4
= (int) wxDateTime::Inv_Year
;
18101 PyObject
* obj0
= 0 ;
18102 PyObject
* obj1
= 0 ;
18103 PyObject
* obj2
= 0 ;
18104 PyObject
* obj3
= 0 ;
18105 char *kwnames
[] = {
18106 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18112 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18113 if (PyErr_Occurred()) SWIG_fail
;
18115 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18116 if (PyErr_Occurred()) SWIG_fail
;
18119 arg4
= (int) SWIG_AsInt(obj3
);
18120 if (PyErr_Occurred()) SWIG_fail
;
18123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18124 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18126 wxPyEndAllowThreads(__tstate
);
18127 if (PyErr_Occurred()) SWIG_fail
;
18130 wxDateTime
* resultptr
;
18131 resultptr
= new wxDateTime((wxDateTime
&) result
);
18132 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18140 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18141 PyObject
*resultobj
;
18142 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18144 int arg3
= (int) wxDateTime::Mon
;
18145 int arg4
= (int) wxDateTime::Monday_First
;
18147 PyObject
* obj0
= 0 ;
18148 PyObject
* obj1
= 0 ;
18149 PyObject
* obj2
= 0 ;
18150 PyObject
* obj3
= 0 ;
18151 char *kwnames
[] = {
18152 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18158 arg2
= (int) SWIG_AsInt(obj1
);
18159 if (PyErr_Occurred()) SWIG_fail
;
18161 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18165 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18166 if (PyErr_Occurred()) SWIG_fail
;
18169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18170 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18172 wxPyEndAllowThreads(__tstate
);
18173 if (PyErr_Occurred()) SWIG_fail
;
18175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18182 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
;
18184 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18186 int arg3
= (int) wxDateTime::Mon
;
18187 int arg4
= (int) wxDateTime::Monday_First
;
18189 PyObject
* obj0
= 0 ;
18190 PyObject
* obj1
= 0 ;
18191 PyObject
* obj2
= 0 ;
18192 PyObject
* obj3
= 0 ;
18193 char *kwnames
[] = {
18194 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18200 arg2
= (int) SWIG_AsInt(obj1
);
18201 if (PyErr_Occurred()) SWIG_fail
;
18203 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18207 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18212 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18214 wxPyEndAllowThreads(__tstate
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18218 wxDateTime
* resultptr
;
18219 resultptr
= new wxDateTime((wxDateTime
&) result
);
18220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18228 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18229 PyObject
*resultobj
;
18230 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18231 int arg2
= (int) wxDateTime::Inv_Month
;
18232 int arg3
= (int) wxDateTime::Inv_Year
;
18233 wxDateTime
*result
;
18234 PyObject
* obj0
= 0 ;
18235 PyObject
* obj1
= 0 ;
18236 PyObject
* obj2
= 0 ;
18237 char *kwnames
[] = {
18238 (char *) "self",(char *) "month",(char *) "year", NULL
18241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18245 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18249 arg3
= (int) SWIG_AsInt(obj2
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18255 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18256 result
= (wxDateTime
*) &_result_ref
;
18259 wxPyEndAllowThreads(__tstate
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18269 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18270 PyObject
*resultobj
;
18271 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18272 int arg2
= (int) wxDateTime::Inv_Month
;
18273 int arg3
= (int) wxDateTime::Inv_Year
;
18275 PyObject
* obj0
= 0 ;
18276 PyObject
* obj1
= 0 ;
18277 PyObject
* obj2
= 0 ;
18278 char *kwnames
[] = {
18279 (char *) "self",(char *) "month",(char *) "year", NULL
18282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18286 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18290 arg3
= (int) SWIG_AsInt(obj2
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18295 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18297 wxPyEndAllowThreads(__tstate
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18301 wxDateTime
* resultptr
;
18302 resultptr
= new wxDateTime((wxDateTime
&) result
);
18303 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18311 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18312 PyObject
*resultobj
;
18313 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18315 wxDateTime
*result
;
18316 PyObject
* obj0
= 0 ;
18317 PyObject
* obj1
= 0 ;
18318 char *kwnames
[] = {
18319 (char *) "self",(char *) "yday", NULL
18322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18325 arg2
= (int) SWIG_AsInt(obj1
);
18326 if (PyErr_Occurred()) SWIG_fail
;
18328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18330 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18331 result
= (wxDateTime
*) &_result_ref
;
18334 wxPyEndAllowThreads(__tstate
);
18335 if (PyErr_Occurred()) SWIG_fail
;
18337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18344 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18345 PyObject
*resultobj
;
18346 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18349 PyObject
* obj0
= 0 ;
18350 PyObject
* obj1
= 0 ;
18351 char *kwnames
[] = {
18352 (char *) "self",(char *) "yday", NULL
18355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18358 arg2
= (int) SWIG_AsInt(obj1
);
18359 if (PyErr_Occurred()) SWIG_fail
;
18361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18362 result
= (arg1
)->GetYearDay(arg2
);
18364 wxPyEndAllowThreads(__tstate
);
18365 if (PyErr_Occurred()) SWIG_fail
;
18368 wxDateTime
* resultptr
;
18369 resultptr
= new wxDateTime((wxDateTime
&) result
);
18370 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18378 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18379 PyObject
*resultobj
;
18380 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18382 PyObject
* obj0
= 0 ;
18383 char *kwnames
[] = {
18384 (char *) "self", NULL
18387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18392 result
= (double)(arg1
)->GetJulianDayNumber();
18394 wxPyEndAllowThreads(__tstate
);
18395 if (PyErr_Occurred()) SWIG_fail
;
18397 resultobj
= SWIG_FromDouble((double)result
);
18404 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18405 PyObject
*resultobj
;
18406 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18408 PyObject
* obj0
= 0 ;
18409 char *kwnames
[] = {
18410 (char *) "self", NULL
18413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18418 result
= (double)(arg1
)->GetJDN();
18420 wxPyEndAllowThreads(__tstate
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18423 resultobj
= SWIG_FromDouble((double)result
);
18430 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18431 PyObject
*resultobj
;
18432 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18434 PyObject
* obj0
= 0 ;
18435 char *kwnames
[] = {
18436 (char *) "self", NULL
18439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18444 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18446 wxPyEndAllowThreads(__tstate
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18449 resultobj
= SWIG_FromDouble((double)result
);
18456 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18457 PyObject
*resultobj
;
18458 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18460 PyObject
* obj0
= 0 ;
18461 char *kwnames
[] = {
18462 (char *) "self", NULL
18465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18470 result
= (double)(arg1
)->GetMJD();
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18475 resultobj
= SWIG_FromDouble((double)result
);
18482 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18486 PyObject
* obj0
= 0 ;
18487 char *kwnames
[] = {
18488 (char *) "self", NULL
18491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 result
= (double)(arg1
)->GetRataDie();
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18501 resultobj
= SWIG_FromDouble((double)result
);
18508 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18509 PyObject
*resultobj
;
18510 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18511 wxDateTime::TimeZone
*arg2
= 0 ;
18512 bool arg3
= (bool) False
;
18514 bool temp2
= False
;
18515 PyObject
* obj0
= 0 ;
18516 PyObject
* obj1
= 0 ;
18517 PyObject
* obj2
= 0 ;
18518 char *kwnames
[] = {
18519 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18526 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18530 arg3
= (bool) SWIG_AsBool(obj2
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18535 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18537 wxPyEndAllowThreads(__tstate
);
18538 if (PyErr_Occurred()) SWIG_fail
;
18541 wxDateTime
* resultptr
;
18542 resultptr
= new wxDateTime((wxDateTime
&) result
);
18543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18546 if (temp2
) delete arg2
;
18551 if (temp2
) delete arg2
;
18557 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18558 PyObject
*resultobj
;
18559 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18560 wxDateTime::TimeZone
*arg2
= 0 ;
18561 bool arg3
= (bool) False
;
18562 wxDateTime
*result
;
18563 bool temp2
= False
;
18564 PyObject
* obj0
= 0 ;
18565 PyObject
* obj1
= 0 ;
18566 PyObject
* obj2
= 0 ;
18567 char *kwnames
[] = {
18568 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18575 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18579 arg3
= (bool) SWIG_AsBool(obj2
);
18580 if (PyErr_Occurred()) SWIG_fail
;
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18585 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18586 result
= (wxDateTime
*) &_result_ref
;
18589 wxPyEndAllowThreads(__tstate
);
18590 if (PyErr_Occurred()) SWIG_fail
;
18592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18594 if (temp2
) delete arg2
;
18599 if (temp2
) delete arg2
;
18605 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18606 PyObject
*resultobj
;
18607 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18608 bool arg2
= (bool) False
;
18610 PyObject
* obj0
= 0 ;
18611 PyObject
* obj1
= 0 ;
18612 char *kwnames
[] = {
18613 (char *) "self",(char *) "noDST", NULL
18616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18620 arg2
= (bool) SWIG_AsBool(obj1
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18625 result
= (arg1
)->ToGMT(arg2
);
18627 wxPyEndAllowThreads(__tstate
);
18628 if (PyErr_Occurred()) SWIG_fail
;
18631 wxDateTime
* resultptr
;
18632 resultptr
= new wxDateTime((wxDateTime
&) result
);
18633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18641 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18642 PyObject
*resultobj
;
18643 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18644 bool arg2
= (bool) False
;
18645 wxDateTime
*result
;
18646 PyObject
* obj0
= 0 ;
18647 PyObject
* obj1
= 0 ;
18648 char *kwnames
[] = {
18649 (char *) "self",(char *) "noDST", NULL
18652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18656 arg2
= (bool) SWIG_AsBool(obj1
);
18657 if (PyErr_Occurred()) SWIG_fail
;
18660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18662 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18663 result
= (wxDateTime
*) &_result_ref
;
18666 wxPyEndAllowThreads(__tstate
);
18667 if (PyErr_Occurred()) SWIG_fail
;
18669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18676 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18677 PyObject
*resultobj
;
18678 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18679 int arg2
= (int) wxDateTime::Country_Default
;
18681 PyObject
* obj0
= 0 ;
18682 PyObject
* obj1
= 0 ;
18683 char *kwnames
[] = {
18684 (char *) "self",(char *) "country", NULL
18687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18691 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18692 if (PyErr_Occurred()) SWIG_fail
;
18695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18696 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18698 wxPyEndAllowThreads(__tstate
);
18699 if (PyErr_Occurred()) SWIG_fail
;
18701 resultobj
= SWIG_FromInt((int)result
);
18708 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18709 PyObject
*resultobj
;
18710 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18712 PyObject
* obj0
= 0 ;
18713 char *kwnames
[] = {
18714 (char *) "self", NULL
18717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18722 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18724 wxPyEndAllowThreads(__tstate
);
18725 if (PyErr_Occurred()) SWIG_fail
;
18727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18734 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18735 PyObject
*resultobj
;
18736 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18738 PyObject
* obj0
= 0 ;
18739 char *kwnames
[] = {
18740 (char *) "self", NULL
18743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18748 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18750 wxPyEndAllowThreads(__tstate
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18753 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
18760 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18761 PyObject
*resultobj
;
18762 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18763 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18764 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18766 bool temp2
= False
;
18767 PyObject
* obj0
= 0 ;
18768 PyObject
* obj1
= 0 ;
18769 char *kwnames
[] = {
18770 (char *) "self",(char *) "tz", NULL
18773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18778 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18784 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18786 wxPyEndAllowThreads(__tstate
);
18787 if (PyErr_Occurred()) SWIG_fail
;
18789 resultobj
= SWIG_FromInt((int)result
);
18791 if (temp2
) delete arg2
;
18796 if (temp2
) delete arg2
;
18802 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18803 PyObject
*resultobj
;
18804 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18805 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18806 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18808 bool temp2
= False
;
18809 PyObject
* obj0
= 0 ;
18810 PyObject
* obj1
= 0 ;
18811 char *kwnames
[] = {
18812 (char *) "self",(char *) "tz", NULL
18815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18820 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18826 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
18828 wxPyEndAllowThreads(__tstate
);
18829 if (PyErr_Occurred()) SWIG_fail
;
18831 resultobj
= SWIG_FromInt((int)result
);
18833 if (temp2
) delete arg2
;
18838 if (temp2
) delete arg2
;
18844 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18845 PyObject
*resultobj
;
18846 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18847 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18848 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18850 bool temp2
= False
;
18851 PyObject
* obj0
= 0 ;
18852 PyObject
* obj1
= 0 ;
18853 char *kwnames
[] = {
18854 (char *) "self",(char *) "tz", NULL
18857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18862 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18868 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
18870 wxPyEndAllowThreads(__tstate
);
18871 if (PyErr_Occurred()) SWIG_fail
;
18873 resultobj
= SWIG_FromInt((int)result
);
18875 if (temp2
) delete arg2
;
18880 if (temp2
) delete arg2
;
18886 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18887 PyObject
*resultobj
;
18888 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18889 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18890 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18892 bool temp2
= False
;
18893 PyObject
* obj0
= 0 ;
18894 PyObject
* obj1
= 0 ;
18895 char *kwnames
[] = {
18896 (char *) "self",(char *) "tz", NULL
18899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18904 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18910 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
18912 wxPyEndAllowThreads(__tstate
);
18913 if (PyErr_Occurred()) SWIG_fail
;
18915 resultobj
= SWIG_FromInt((int)result
);
18917 if (temp2
) delete arg2
;
18922 if (temp2
) delete arg2
;
18928 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18929 PyObject
*resultobj
;
18930 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18931 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18932 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18934 bool temp2
= False
;
18935 PyObject
* obj0
= 0 ;
18936 PyObject
* obj1
= 0 ;
18937 char *kwnames
[] = {
18938 (char *) "self",(char *) "tz", NULL
18941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18946 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18952 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
18954 wxPyEndAllowThreads(__tstate
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18957 resultobj
= SWIG_FromInt((int)result
);
18959 if (temp2
) delete arg2
;
18964 if (temp2
) delete arg2
;
18970 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18971 PyObject
*resultobj
;
18972 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18973 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18974 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18976 bool temp2
= False
;
18977 PyObject
* obj0
= 0 ;
18978 PyObject
* obj1
= 0 ;
18979 char *kwnames
[] = {
18980 (char *) "self",(char *) "tz", NULL
18983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18988 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18994 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
18996 wxPyEndAllowThreads(__tstate
);
18997 if (PyErr_Occurred()) SWIG_fail
;
18999 resultobj
= SWIG_FromInt((int)result
);
19001 if (temp2
) delete arg2
;
19006 if (temp2
) delete arg2
;
19012 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19013 PyObject
*resultobj
;
19014 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19015 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19016 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19018 bool temp2
= False
;
19019 PyObject
* obj0
= 0 ;
19020 PyObject
* obj1
= 0 ;
19021 char *kwnames
[] = {
19022 (char *) "self",(char *) "tz", NULL
19025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19030 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19036 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19038 wxPyEndAllowThreads(__tstate
);
19039 if (PyErr_Occurred()) SWIG_fail
;
19041 resultobj
= SWIG_FromInt((int)result
);
19043 if (temp2
) delete arg2
;
19048 if (temp2
) delete arg2
;
19054 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19055 PyObject
*resultobj
;
19056 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19057 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19058 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19060 bool temp2
= False
;
19061 PyObject
* obj0
= 0 ;
19062 PyObject
* obj1
= 0 ;
19063 char *kwnames
[] = {
19064 (char *) "self",(char *) "tz", NULL
19067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19072 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19078 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19080 wxPyEndAllowThreads(__tstate
);
19081 if (PyErr_Occurred()) SWIG_fail
;
19083 resultobj
= SWIG_FromInt((int)result
);
19085 if (temp2
) delete arg2
;
19090 if (temp2
) delete arg2
;
19096 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19097 PyObject
*resultobj
;
19098 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19099 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19100 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19102 bool temp2
= False
;
19103 PyObject
* obj0
= 0 ;
19104 PyObject
* obj1
= 0 ;
19105 char *kwnames
[] = {
19106 (char *) "self",(char *) "tz", NULL
19109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19114 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19120 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19122 wxPyEndAllowThreads(__tstate
);
19123 if (PyErr_Occurred()) SWIG_fail
;
19125 resultobj
= SWIG_FromInt((int)result
);
19127 if (temp2
) delete arg2
;
19132 if (temp2
) delete arg2
;
19138 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19139 PyObject
*resultobj
;
19140 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19141 int arg2
= (int) wxDateTime::Monday_First
;
19142 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19143 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19145 bool temp3
= False
;
19146 PyObject
* obj0
= 0 ;
19147 PyObject
* obj1
= 0 ;
19148 PyObject
* obj2
= 0 ;
19149 char *kwnames
[] = {
19150 (char *) "self",(char *) "flags",(char *) "tz", NULL
19153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19157 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19158 if (PyErr_Occurred()) SWIG_fail
;
19162 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19168 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19170 wxPyEndAllowThreads(__tstate
);
19171 if (PyErr_Occurred()) SWIG_fail
;
19173 resultobj
= SWIG_FromInt((int)result
);
19175 if (temp3
) delete arg3
;
19180 if (temp3
) delete arg3
;
19186 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19187 PyObject
*resultobj
;
19188 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19189 int arg2
= (int) wxDateTime::Monday_First
;
19190 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19191 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19193 bool temp3
= False
;
19194 PyObject
* obj0
= 0 ;
19195 PyObject
* obj1
= 0 ;
19196 PyObject
* obj2
= 0 ;
19197 char *kwnames
[] = {
19198 (char *) "self",(char *) "flags",(char *) "tz", NULL
19201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19205 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19206 if (PyErr_Occurred()) SWIG_fail
;
19210 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19216 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19218 wxPyEndAllowThreads(__tstate
);
19219 if (PyErr_Occurred()) SWIG_fail
;
19221 resultobj
= SWIG_FromInt((int)result
);
19223 if (temp3
) delete arg3
;
19228 if (temp3
) delete arg3
;
19234 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19235 PyObject
*resultobj
;
19236 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19237 int arg2
= (int) wxDateTime::Country_Default
;
19239 PyObject
* obj0
= 0 ;
19240 PyObject
* obj1
= 0 ;
19241 char *kwnames
[] = {
19242 (char *) "self",(char *) "country", NULL
19245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19249 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19254 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19256 wxPyEndAllowThreads(__tstate
);
19257 if (PyErr_Occurred()) SWIG_fail
;
19259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19266 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19267 PyObject
*resultobj
;
19268 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19269 wxDateTime
*arg2
= 0 ;
19271 PyObject
* obj0
= 0 ;
19272 PyObject
* obj1
= 0 ;
19273 char *kwnames
[] = {
19274 (char *) "self",(char *) "datetime", NULL
19277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19280 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19281 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19283 if (arg2
== NULL
) {
19284 PyErr_SetString(PyExc_TypeError
,"null reference");
19288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19289 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19291 wxPyEndAllowThreads(__tstate
);
19292 if (PyErr_Occurred()) SWIG_fail
;
19294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19301 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19302 PyObject
*resultobj
;
19303 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19304 wxDateTime
*arg2
= 0 ;
19306 PyObject
* obj0
= 0 ;
19307 PyObject
* obj1
= 0 ;
19308 char *kwnames
[] = {
19309 (char *) "self",(char *) "datetime", NULL
19312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19316 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19318 if (arg2
== NULL
) {
19319 PyErr_SetString(PyExc_TypeError
,"null reference");
19323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19324 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19326 wxPyEndAllowThreads(__tstate
);
19327 if (PyErr_Occurred()) SWIG_fail
;
19329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19336 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19337 PyObject
*resultobj
;
19338 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19339 wxDateTime
*arg2
= 0 ;
19341 PyObject
* obj0
= 0 ;
19342 PyObject
* obj1
= 0 ;
19343 char *kwnames
[] = {
19344 (char *) "self",(char *) "datetime", NULL
19347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19350 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19351 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19353 if (arg2
== NULL
) {
19354 PyErr_SetString(PyExc_TypeError
,"null reference");
19358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19359 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19361 wxPyEndAllowThreads(__tstate
);
19362 if (PyErr_Occurred()) SWIG_fail
;
19364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19371 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19372 PyObject
*resultobj
;
19373 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19374 wxDateTime
*arg2
= 0 ;
19375 wxDateTime
*arg3
= 0 ;
19377 PyObject
* obj0
= 0 ;
19378 PyObject
* obj1
= 0 ;
19379 PyObject
* obj2
= 0 ;
19380 char *kwnames
[] = {
19381 (char *) "self",(char *) "t1",(char *) "t2", NULL
19384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19387 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19388 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19390 if (arg2
== NULL
) {
19391 PyErr_SetString(PyExc_TypeError
,"null reference");
19394 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19395 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19397 if (arg3
== NULL
) {
19398 PyErr_SetString(PyExc_TypeError
,"null reference");
19402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19403 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19405 wxPyEndAllowThreads(__tstate
);
19406 if (PyErr_Occurred()) SWIG_fail
;
19408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19415 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19416 PyObject
*resultobj
;
19417 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19418 wxDateTime
*arg2
= 0 ;
19419 wxDateTime
*arg3
= 0 ;
19421 PyObject
* obj0
= 0 ;
19422 PyObject
* obj1
= 0 ;
19423 PyObject
* obj2
= 0 ;
19424 char *kwnames
[] = {
19425 (char *) "self",(char *) "t1",(char *) "t2", NULL
19428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19431 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19432 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19434 if (arg2
== NULL
) {
19435 PyErr_SetString(PyExc_TypeError
,"null reference");
19438 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19439 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19441 if (arg3
== NULL
) {
19442 PyErr_SetString(PyExc_TypeError
,"null reference");
19446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19447 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19449 wxPyEndAllowThreads(__tstate
);
19450 if (PyErr_Occurred()) SWIG_fail
;
19452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19459 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19460 PyObject
*resultobj
;
19461 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19462 wxDateTime
*arg2
= 0 ;
19464 PyObject
* obj0
= 0 ;
19465 PyObject
* obj1
= 0 ;
19466 char *kwnames
[] = {
19467 (char *) "self",(char *) "dt", NULL
19470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19473 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19474 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19476 if (arg2
== NULL
) {
19477 PyErr_SetString(PyExc_TypeError
,"null reference");
19481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19482 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19484 wxPyEndAllowThreads(__tstate
);
19485 if (PyErr_Occurred()) SWIG_fail
;
19487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19494 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19495 PyObject
*resultobj
;
19496 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19497 wxDateTime
*arg2
= 0 ;
19499 PyObject
* obj0
= 0 ;
19500 PyObject
* obj1
= 0 ;
19501 char *kwnames
[] = {
19502 (char *) "self",(char *) "dt", NULL
19505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19508 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19509 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19511 if (arg2
== NULL
) {
19512 PyErr_SetString(PyExc_TypeError
,"null reference");
19516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19517 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19519 wxPyEndAllowThreads(__tstate
);
19520 if (PyErr_Occurred()) SWIG_fail
;
19522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19529 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19530 PyObject
*resultobj
;
19531 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19532 wxDateTime
*arg2
= 0 ;
19533 wxTimeSpan
*arg3
= 0 ;
19535 PyObject
* obj0
= 0 ;
19536 PyObject
* obj1
= 0 ;
19537 PyObject
* obj2
= 0 ;
19538 char *kwnames
[] = {
19539 (char *) "self",(char *) "dt",(char *) "ts", NULL
19542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19545 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19546 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19548 if (arg2
== NULL
) {
19549 PyErr_SetString(PyExc_TypeError
,"null reference");
19552 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19553 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19555 if (arg3
== NULL
) {
19556 PyErr_SetString(PyExc_TypeError
,"null reference");
19560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19561 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19563 wxPyEndAllowThreads(__tstate
);
19564 if (PyErr_Occurred()) SWIG_fail
;
19566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19573 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19574 PyObject
*resultobj
;
19575 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19576 wxTimeSpan
*arg2
= 0 ;
19577 wxDateTime
*result
;
19578 PyObject
* obj0
= 0 ;
19579 PyObject
* obj1
= 0 ;
19580 char *kwnames
[] = {
19581 (char *) "self",(char *) "diff", NULL
19584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19588 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19590 if (arg2
== NULL
) {
19591 PyErr_SetString(PyExc_TypeError
,"null reference");
19595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19597 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19598 result
= (wxDateTime
*) &_result_ref
;
19601 wxPyEndAllowThreads(__tstate
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19611 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19612 PyObject
*resultobj
;
19613 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19614 wxDateSpan
*arg2
= 0 ;
19615 wxDateTime
*result
;
19616 PyObject
* obj0
= 0 ;
19617 PyObject
* obj1
= 0 ;
19618 char *kwnames
[] = {
19619 (char *) "self",(char *) "diff", NULL
19622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19626 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19628 if (arg2
== NULL
) {
19629 PyErr_SetString(PyExc_TypeError
,"null reference");
19633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19635 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19636 result
= (wxDateTime
*) &_result_ref
;
19639 wxPyEndAllowThreads(__tstate
);
19640 if (PyErr_Occurred()) SWIG_fail
;
19642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19649 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19650 PyObject
*resultobj
;
19651 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19652 wxTimeSpan
*arg2
= 0 ;
19653 wxDateTime
*result
;
19654 PyObject
* obj0
= 0 ;
19655 PyObject
* obj1
= 0 ;
19656 char *kwnames
[] = {
19657 (char *) "self",(char *) "diff", NULL
19660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",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_wxTimeSpan
,
19664 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19666 if (arg2
== NULL
) {
19667 PyErr_SetString(PyExc_TypeError
,"null reference");
19671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19673 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19674 result
= (wxDateTime
*) &_result_ref
;
19677 wxPyEndAllowThreads(__tstate
);
19678 if (PyErr_Occurred()) SWIG_fail
;
19680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19687 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19688 PyObject
*resultobj
;
19689 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19690 wxDateSpan
*arg2
= 0 ;
19691 wxDateTime
*result
;
19692 PyObject
* obj0
= 0 ;
19693 PyObject
* obj1
= 0 ;
19694 char *kwnames
[] = {
19695 (char *) "self",(char *) "diff", NULL
19698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19701 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19702 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19704 if (arg2
== NULL
) {
19705 PyErr_SetString(PyExc_TypeError
,"null reference");
19709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19711 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19712 result
= (wxDateTime
*) &_result_ref
;
19715 wxPyEndAllowThreads(__tstate
);
19716 if (PyErr_Occurred()) SWIG_fail
;
19718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19725 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19726 PyObject
*resultobj
;
19727 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19728 wxDateTime
*arg2
= 0 ;
19730 PyObject
* obj0
= 0 ;
19731 PyObject
* obj1
= 0 ;
19732 char *kwnames
[] = {
19733 (char *) "self",(char *) "dt", NULL
19736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) 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");
19747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19748 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19750 wxPyEndAllowThreads(__tstate
);
19751 if (PyErr_Occurred()) SWIG_fail
;
19754 wxTimeSpan
* resultptr
;
19755 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19756 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
19764 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
19765 PyObject
*resultobj
;
19766 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19767 wxTimeSpan
*arg2
= 0 ;
19768 wxDateTime
*result
;
19769 PyObject
* obj0
= 0 ;
19770 PyObject
* obj1
= 0 ;
19772 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19775 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19776 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19778 if (arg2
== NULL
) {
19779 PyErr_SetString(PyExc_TypeError
,"null reference");
19783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19785 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19786 result
= (wxDateTime
*) &_result_ref
;
19789 wxPyEndAllowThreads(__tstate
);
19790 if (PyErr_Occurred()) SWIG_fail
;
19792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19799 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
19800 PyObject
*resultobj
;
19801 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19802 wxDateSpan
*arg2
= 0 ;
19803 wxDateTime
*result
;
19804 PyObject
* obj0
= 0 ;
19805 PyObject
* obj1
= 0 ;
19807 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19811 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19813 if (arg2
== NULL
) {
19814 PyErr_SetString(PyExc_TypeError
,"null reference");
19818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19820 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
19821 result
= (wxDateTime
*) &_result_ref
;
19824 wxPyEndAllowThreads(__tstate
);
19825 if (PyErr_Occurred()) SWIG_fail
;
19827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19834 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
19839 argc
= PyObject_Length(args
);
19840 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19841 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19847 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19857 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
19865 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
19873 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19883 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
19891 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
19896 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
19901 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
19902 PyObject
*resultobj
;
19903 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19904 wxTimeSpan
*arg2
= 0 ;
19905 wxDateTime
*result
;
19906 PyObject
* obj0
= 0 ;
19907 PyObject
* obj1
= 0 ;
19909 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
19910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19912 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19913 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19915 if (arg2
== NULL
) {
19916 PyErr_SetString(PyExc_TypeError
,"null reference");
19920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19922 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
19923 result
= (wxDateTime
*) &_result_ref
;
19926 wxPyEndAllowThreads(__tstate
);
19927 if (PyErr_Occurred()) SWIG_fail
;
19929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19936 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
19937 PyObject
*resultobj
;
19938 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19939 wxDateSpan
*arg2
= 0 ;
19940 wxDateTime
*result
;
19941 PyObject
* obj0
= 0 ;
19942 PyObject
* obj1
= 0 ;
19944 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
19945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19947 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19948 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19950 if (arg2
== NULL
) {
19951 PyErr_SetString(PyExc_TypeError
,"null reference");
19955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19957 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
19958 result
= (wxDateTime
*) &_result_ref
;
19961 wxPyEndAllowThreads(__tstate
);
19962 if (PyErr_Occurred()) SWIG_fail
;
19964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19971 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
19976 argc
= PyObject_Length(args
);
19977 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19978 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19984 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19994 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20002 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20010 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20020 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20028 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20033 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20038 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20039 PyObject
*resultobj
;
20040 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20041 wxTimeSpan
*arg2
= 0 ;
20043 PyObject
* obj0
= 0 ;
20044 PyObject
* obj1
= 0 ;
20046 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20050 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20052 if (arg2
== NULL
) {
20053 PyErr_SetString(PyExc_TypeError
,"null reference");
20057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20058 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20060 wxPyEndAllowThreads(__tstate
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20064 wxDateTime
* resultptr
;
20065 resultptr
= new wxDateTime((wxDateTime
&) result
);
20066 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20074 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20075 PyObject
*resultobj
;
20076 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20077 wxDateSpan
*arg2
= 0 ;
20079 PyObject
* obj0
= 0 ;
20080 PyObject
* obj1
= 0 ;
20082 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20085 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20086 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20088 if (arg2
== NULL
) {
20089 PyErr_SetString(PyExc_TypeError
,"null reference");
20093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20094 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20096 wxPyEndAllowThreads(__tstate
);
20097 if (PyErr_Occurred()) SWIG_fail
;
20100 wxDateTime
* resultptr
;
20101 resultptr
= new wxDateTime((wxDateTime
&) result
);
20102 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20110 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20115 argc
= PyObject_Length(args
);
20116 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20117 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20123 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20133 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20141 return _wrap_DateTime___add____SWIG_0(self
,args
);
20149 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20159 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20167 return _wrap_DateTime___add____SWIG_1(self
,args
);
20172 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20177 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20178 PyObject
*resultobj
;
20179 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20180 wxDateTime
*arg2
= 0 ;
20182 PyObject
* obj0
= 0 ;
20183 PyObject
* obj1
= 0 ;
20185 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20188 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20189 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20191 if (arg2
== NULL
) {
20192 PyErr_SetString(PyExc_TypeError
,"null reference");
20196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20197 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20199 wxPyEndAllowThreads(__tstate
);
20200 if (PyErr_Occurred()) SWIG_fail
;
20203 wxTimeSpan
* resultptr
;
20204 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20213 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20214 PyObject
*resultobj
;
20215 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20216 wxTimeSpan
*arg2
= 0 ;
20218 PyObject
* obj0
= 0 ;
20219 PyObject
* obj1
= 0 ;
20221 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20225 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20227 if (arg2
== NULL
) {
20228 PyErr_SetString(PyExc_TypeError
,"null reference");
20232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20233 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20235 wxPyEndAllowThreads(__tstate
);
20236 if (PyErr_Occurred()) SWIG_fail
;
20239 wxDateTime
* resultptr
;
20240 resultptr
= new wxDateTime((wxDateTime
&) result
);
20241 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20249 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20250 PyObject
*resultobj
;
20251 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20252 wxDateSpan
*arg2
= 0 ;
20254 PyObject
* obj0
= 0 ;
20255 PyObject
* obj1
= 0 ;
20257 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20260 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20261 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20263 if (arg2
== NULL
) {
20264 PyErr_SetString(PyExc_TypeError
,"null reference");
20268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20269 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20271 wxPyEndAllowThreads(__tstate
);
20272 if (PyErr_Occurred()) SWIG_fail
;
20275 wxDateTime
* resultptr
;
20276 resultptr
= new wxDateTime((wxDateTime
&) result
);
20277 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20285 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20290 argc
= PyObject_Length(args
);
20291 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20292 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20298 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20308 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20316 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20324 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20334 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20342 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20350 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20360 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20368 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20373 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20378 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20379 PyObject
*resultobj
;
20380 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20381 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20383 PyObject
* obj0
= 0 ;
20384 PyObject
* obj1
= 0 ;
20386 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20393 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20395 wxPyEndAllowThreads(__tstate
);
20396 if (PyErr_Occurred()) SWIG_fail
;
20398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20405 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20406 PyObject
*resultobj
;
20407 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20408 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20410 PyObject
* obj0
= 0 ;
20411 PyObject
* obj1
= 0 ;
20413 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20420 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20432 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20433 PyObject
*resultobj
;
20434 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20435 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20437 PyObject
* obj0
= 0 ;
20438 PyObject
* obj1
= 0 ;
20440 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20443 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20447 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20449 wxPyEndAllowThreads(__tstate
);
20450 if (PyErr_Occurred()) SWIG_fail
;
20452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20459 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20460 PyObject
*resultobj
;
20461 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20462 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20464 PyObject
* obj0
= 0 ;
20465 PyObject
* obj1
= 0 ;
20467 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20474 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20476 wxPyEndAllowThreads(__tstate
);
20477 if (PyErr_Occurred()) SWIG_fail
;
20479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20486 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20487 PyObject
*resultobj
;
20488 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20489 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20491 PyObject
* obj0
= 0 ;
20492 PyObject
* obj1
= 0 ;
20494 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20501 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20503 wxPyEndAllowThreads(__tstate
);
20504 if (PyErr_Occurred()) SWIG_fail
;
20506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20513 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20514 PyObject
*resultobj
;
20515 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20516 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20518 PyObject
* obj0
= 0 ;
20519 PyObject
* obj1
= 0 ;
20521 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20524 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20528 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20530 wxPyEndAllowThreads(__tstate
);
20531 if (PyErr_Occurred()) SWIG_fail
;
20533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20540 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20541 PyObject
*resultobj
;
20542 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20543 wxString
*arg2
= 0 ;
20545 bool temp2
= False
;
20546 PyObject
* obj0
= 0 ;
20547 PyObject
* obj1
= 0 ;
20548 char *kwnames
[] = {
20549 (char *) "self",(char *) "date", NULL
20552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20556 arg2
= wxString_in_helper(obj1
);
20557 if (arg2
== NULL
) SWIG_fail
;
20561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20562 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20564 wxPyEndAllowThreads(__tstate
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20567 resultobj
= SWIG_FromInt((int)result
);
20582 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20583 PyObject
*resultobj
;
20584 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20585 wxString
*arg2
= 0 ;
20586 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20587 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20588 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20589 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20591 bool temp2
= False
;
20592 bool temp3
= False
;
20593 PyObject
* obj0
= 0 ;
20594 PyObject
* obj1
= 0 ;
20595 PyObject
* obj2
= 0 ;
20596 PyObject
* obj3
= 0 ;
20597 char *kwnames
[] = {
20598 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20605 arg2
= wxString_in_helper(obj1
);
20606 if (arg2
== NULL
) SWIG_fail
;
20611 arg3
= wxString_in_helper(obj2
);
20612 if (arg3
== NULL
) SWIG_fail
;
20617 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20618 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20620 if (arg4
== NULL
) {
20621 PyErr_SetString(PyExc_TypeError
,"null reference");
20626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20627 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20629 wxPyEndAllowThreads(__tstate
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20632 resultobj
= SWIG_FromInt((int)result
);
20655 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20656 PyObject
*resultobj
;
20657 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20658 wxString
*arg2
= 0 ;
20660 bool temp2
= False
;
20661 PyObject
* obj0
= 0 ;
20662 PyObject
* obj1
= 0 ;
20663 char *kwnames
[] = {
20664 (char *) "self",(char *) "datetime", NULL
20667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20671 arg2
= wxString_in_helper(obj1
);
20672 if (arg2
== NULL
) SWIG_fail
;
20676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20677 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20679 wxPyEndAllowThreads(__tstate
);
20680 if (PyErr_Occurred()) SWIG_fail
;
20682 resultobj
= SWIG_FromInt((int)result
);
20697 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20698 PyObject
*resultobj
;
20699 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20700 wxString
*arg2
= 0 ;
20702 bool temp2
= False
;
20703 PyObject
* obj0
= 0 ;
20704 PyObject
* obj1
= 0 ;
20705 char *kwnames
[] = {
20706 (char *) "self",(char *) "date", NULL
20709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20713 arg2
= wxString_in_helper(obj1
);
20714 if (arg2
== NULL
) SWIG_fail
;
20718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20719 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20721 wxPyEndAllowThreads(__tstate
);
20722 if (PyErr_Occurred()) SWIG_fail
;
20724 resultobj
= SWIG_FromInt((int)result
);
20739 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20740 PyObject
*resultobj
;
20741 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20742 wxString
*arg2
= 0 ;
20744 bool temp2
= False
;
20745 PyObject
* obj0
= 0 ;
20746 PyObject
* obj1
= 0 ;
20747 char *kwnames
[] = {
20748 (char *) "self",(char *) "time", NULL
20751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20755 arg2
= wxString_in_helper(obj1
);
20756 if (arg2
== NULL
) SWIG_fail
;
20760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20761 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20763 wxPyEndAllowThreads(__tstate
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20766 resultobj
= SWIG_FromInt((int)result
);
20781 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20782 PyObject
*resultobj
;
20783 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20784 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
20785 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20786 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20787 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20789 bool temp2
= False
;
20790 bool temp3
= False
;
20791 PyObject
* obj0
= 0 ;
20792 PyObject
* obj1
= 0 ;
20793 PyObject
* obj2
= 0 ;
20794 char *kwnames
[] = {
20795 (char *) "self",(char *) "format",(char *) "tz", NULL
20798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20803 arg2
= wxString_in_helper(obj1
);
20804 if (arg2
== NULL
) SWIG_fail
;
20810 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20816 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20818 wxPyEndAllowThreads(__tstate
);
20819 if (PyErr_Occurred()) SWIG_fail
;
20823 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20825 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20833 if (temp3
) delete arg3
;
20842 if (temp3
) delete arg3
;
20848 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20849 PyObject
*resultobj
;
20850 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20852 PyObject
* obj0
= 0 ;
20853 char *kwnames
[] = {
20854 (char *) "self", NULL
20857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
20858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20862 result
= ((wxDateTime
const *)arg1
)->FormatDate();
20864 wxPyEndAllowThreads(__tstate
);
20865 if (PyErr_Occurred()) SWIG_fail
;
20869 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20871 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20880 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20881 PyObject
*resultobj
;
20882 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20884 PyObject
* obj0
= 0 ;
20885 char *kwnames
[] = {
20886 (char *) "self", NULL
20889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
20890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20894 result
= ((wxDateTime
const *)arg1
)->FormatTime();
20896 wxPyEndAllowThreads(__tstate
);
20897 if (PyErr_Occurred()) SWIG_fail
;
20901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20912 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20913 PyObject
*resultobj
;
20914 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20916 PyObject
* obj0
= 0 ;
20917 char *kwnames
[] = {
20918 (char *) "self", NULL
20921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
20922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20926 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
20928 wxPyEndAllowThreads(__tstate
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20933 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20935 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20944 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20945 PyObject
*resultobj
;
20946 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20948 PyObject
* obj0
= 0 ;
20949 char *kwnames
[] = {
20950 (char *) "self", NULL
20953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
20954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20958 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20976 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
20978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20979 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
20981 return Py_BuildValue((char *)"");
20983 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20984 PyObject
*resultobj
;
20987 PyObject
* obj0
= 0 ;
20988 char *kwnames
[] = {
20989 (char *) "sec", NULL
20992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
20993 arg1
= (long) SWIG_AsLong(obj0
);
20994 if (PyErr_Occurred()) SWIG_fail
;
20996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20997 result
= wxTimeSpan::Seconds(arg1
);
20999 wxPyEndAllowThreads(__tstate
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21003 wxTimeSpan
* resultptr
;
21004 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21005 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21013 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21014 PyObject
*resultobj
;
21016 char *kwnames
[] = {
21020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21023 result
= wxTimeSpan::Second();
21025 wxPyEndAllowThreads(__tstate
);
21026 if (PyErr_Occurred()) SWIG_fail
;
21029 wxTimeSpan
* resultptr
;
21030 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21039 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21040 PyObject
*resultobj
;
21043 PyObject
* obj0
= 0 ;
21044 char *kwnames
[] = {
21045 (char *) "min", NULL
21048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21049 arg1
= (long) SWIG_AsLong(obj0
);
21050 if (PyErr_Occurred()) SWIG_fail
;
21052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21053 result
= wxTimeSpan::Minutes(arg1
);
21055 wxPyEndAllowThreads(__tstate
);
21056 if (PyErr_Occurred()) SWIG_fail
;
21059 wxTimeSpan
* resultptr
;
21060 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21061 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21069 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21070 PyObject
*resultobj
;
21072 char *kwnames
[] = {
21076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21079 result
= wxTimeSpan::Minute();
21081 wxPyEndAllowThreads(__tstate
);
21082 if (PyErr_Occurred()) SWIG_fail
;
21085 wxTimeSpan
* resultptr
;
21086 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21087 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21095 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21096 PyObject
*resultobj
;
21099 PyObject
* obj0
= 0 ;
21100 char *kwnames
[] = {
21101 (char *) "hours", NULL
21104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21105 arg1
= (long) SWIG_AsLong(obj0
);
21106 if (PyErr_Occurred()) SWIG_fail
;
21108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21109 result
= wxTimeSpan::Hours(arg1
);
21111 wxPyEndAllowThreads(__tstate
);
21112 if (PyErr_Occurred()) SWIG_fail
;
21115 wxTimeSpan
* resultptr
;
21116 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21117 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21125 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21126 PyObject
*resultobj
;
21128 char *kwnames
[] = {
21132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21135 result
= wxTimeSpan::Hour();
21137 wxPyEndAllowThreads(__tstate
);
21138 if (PyErr_Occurred()) SWIG_fail
;
21141 wxTimeSpan
* resultptr
;
21142 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21143 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21151 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21152 PyObject
*resultobj
;
21155 PyObject
* obj0
= 0 ;
21156 char *kwnames
[] = {
21157 (char *) "days", NULL
21160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21161 arg1
= (long) SWIG_AsLong(obj0
);
21162 if (PyErr_Occurred()) SWIG_fail
;
21164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21165 result
= wxTimeSpan::Days(arg1
);
21167 wxPyEndAllowThreads(__tstate
);
21168 if (PyErr_Occurred()) SWIG_fail
;
21171 wxTimeSpan
* resultptr
;
21172 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21173 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21181 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21182 PyObject
*resultobj
;
21184 char *kwnames
[] = {
21188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21191 result
= wxTimeSpan::Day();
21193 wxPyEndAllowThreads(__tstate
);
21194 if (PyErr_Occurred()) SWIG_fail
;
21197 wxTimeSpan
* resultptr
;
21198 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21199 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21207 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21208 PyObject
*resultobj
;
21211 PyObject
* obj0
= 0 ;
21212 char *kwnames
[] = {
21213 (char *) "days", NULL
21216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21217 arg1
= (long) SWIG_AsLong(obj0
);
21218 if (PyErr_Occurred()) SWIG_fail
;
21220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21221 result
= wxTimeSpan::Weeks(arg1
);
21223 wxPyEndAllowThreads(__tstate
);
21224 if (PyErr_Occurred()) SWIG_fail
;
21227 wxTimeSpan
* resultptr
;
21228 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21237 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21238 PyObject
*resultobj
;
21240 char *kwnames
[] = {
21244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21247 result
= wxTimeSpan::Week();
21249 wxPyEndAllowThreads(__tstate
);
21250 if (PyErr_Occurred()) SWIG_fail
;
21253 wxTimeSpan
* resultptr
;
21254 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21255 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21263 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21264 PyObject
*resultobj
;
21265 long arg1
= (long) 0 ;
21266 long arg2
= (long) 0 ;
21267 long arg3
= (long) 0 ;
21268 long arg4
= (long) 0 ;
21269 wxTimeSpan
*result
;
21270 PyObject
* obj0
= 0 ;
21271 PyObject
* obj1
= 0 ;
21272 PyObject
* obj2
= 0 ;
21273 PyObject
* obj3
= 0 ;
21274 char *kwnames
[] = {
21275 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21280 arg1
= (long) SWIG_AsLong(obj0
);
21281 if (PyErr_Occurred()) SWIG_fail
;
21284 arg2
= (long) SWIG_AsLong(obj1
);
21285 if (PyErr_Occurred()) SWIG_fail
;
21288 arg3
= (long) SWIG_AsLong(obj2
);
21289 if (PyErr_Occurred()) SWIG_fail
;
21292 arg4
= (long) SWIG_AsLong(obj3
);
21293 if (PyErr_Occurred()) SWIG_fail
;
21296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21297 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21299 wxPyEndAllowThreads(__tstate
);
21300 if (PyErr_Occurred()) SWIG_fail
;
21302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21309 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21310 PyObject
*resultobj
;
21311 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21312 PyObject
* obj0
= 0 ;
21313 char *kwnames
[] = {
21314 (char *) "self", NULL
21317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21324 wxPyEndAllowThreads(__tstate
);
21325 if (PyErr_Occurred()) SWIG_fail
;
21327 Py_INCREF(Py_None
); resultobj
= Py_None
;
21334 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21335 PyObject
*resultobj
;
21336 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21337 wxTimeSpan
*arg2
= 0 ;
21338 wxTimeSpan
*result
;
21339 PyObject
* obj0
= 0 ;
21340 PyObject
* obj1
= 0 ;
21341 char *kwnames
[] = {
21342 (char *) "self",(char *) "diff", NULL
21345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21349 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21351 if (arg2
== NULL
) {
21352 PyErr_SetString(PyExc_TypeError
,"null reference");
21356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21358 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21359 result
= (wxTimeSpan
*) &_result_ref
;
21362 wxPyEndAllowThreads(__tstate
);
21363 if (PyErr_Occurred()) SWIG_fail
;
21365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21372 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21373 PyObject
*resultobj
;
21374 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21375 wxTimeSpan
*arg2
= 0 ;
21376 wxTimeSpan
*result
;
21377 PyObject
* obj0
= 0 ;
21378 PyObject
* obj1
= 0 ;
21379 char *kwnames
[] = {
21380 (char *) "self",(char *) "diff", NULL
21383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21386 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21387 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21389 if (arg2
== NULL
) {
21390 PyErr_SetString(PyExc_TypeError
,"null reference");
21394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21396 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21397 result
= (wxTimeSpan
*) &_result_ref
;
21400 wxPyEndAllowThreads(__tstate
);
21401 if (PyErr_Occurred()) SWIG_fail
;
21403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21410 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21411 PyObject
*resultobj
;
21412 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21414 wxTimeSpan
*result
;
21415 PyObject
* obj0
= 0 ;
21416 PyObject
* obj1
= 0 ;
21417 char *kwnames
[] = {
21418 (char *) "self",(char *) "n", NULL
21421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21424 arg2
= (int) SWIG_AsInt(obj1
);
21425 if (PyErr_Occurred()) SWIG_fail
;
21427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21429 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21430 result
= (wxTimeSpan
*) &_result_ref
;
21433 wxPyEndAllowThreads(__tstate
);
21434 if (PyErr_Occurred()) SWIG_fail
;
21436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21443 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21444 PyObject
*resultobj
;
21445 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21446 wxTimeSpan
*result
;
21447 PyObject
* obj0
= 0 ;
21448 char *kwnames
[] = {
21449 (char *) "self", NULL
21452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21458 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21459 result
= (wxTimeSpan
*) &_result_ref
;
21462 wxPyEndAllowThreads(__tstate
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21472 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21473 PyObject
*resultobj
;
21474 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21476 PyObject
* obj0
= 0 ;
21477 char *kwnames
[] = {
21478 (char *) "self", NULL
21481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21486 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21488 wxPyEndAllowThreads(__tstate
);
21489 if (PyErr_Occurred()) SWIG_fail
;
21492 wxTimeSpan
* resultptr
;
21493 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21502 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21503 PyObject
*resultobj
;
21504 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21505 wxTimeSpan
*arg2
= 0 ;
21506 wxTimeSpan
*result
;
21507 PyObject
* obj0
= 0 ;
21508 PyObject
* obj1
= 0 ;
21509 char *kwnames
[] = {
21510 (char *) "self",(char *) "diff", NULL
21513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21517 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21519 if (arg2
== NULL
) {
21520 PyErr_SetString(PyExc_TypeError
,"null reference");
21524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21526 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21527 result
= (wxTimeSpan
*) &_result_ref
;
21530 wxPyEndAllowThreads(__tstate
);
21531 if (PyErr_Occurred()) SWIG_fail
;
21533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21540 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21541 PyObject
*resultobj
;
21542 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21543 wxTimeSpan
*arg2
= 0 ;
21544 wxTimeSpan
*result
;
21545 PyObject
* obj0
= 0 ;
21546 PyObject
* obj1
= 0 ;
21547 char *kwnames
[] = {
21548 (char *) "self",(char *) "diff", NULL
21551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21557 if (arg2
== NULL
) {
21558 PyErr_SetString(PyExc_TypeError
,"null reference");
21562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21564 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21565 result
= (wxTimeSpan
*) &_result_ref
;
21568 wxPyEndAllowThreads(__tstate
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21578 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21579 PyObject
*resultobj
;
21580 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21582 wxTimeSpan
*result
;
21583 PyObject
* obj0
= 0 ;
21584 PyObject
* obj1
= 0 ;
21585 char *kwnames
[] = {
21586 (char *) "self",(char *) "n", NULL
21589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21592 arg2
= (int) SWIG_AsInt(obj1
);
21593 if (PyErr_Occurred()) SWIG_fail
;
21595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21597 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21598 result
= (wxTimeSpan
*) &_result_ref
;
21601 wxPyEndAllowThreads(__tstate
);
21602 if (PyErr_Occurred()) SWIG_fail
;
21604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21611 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21612 PyObject
*resultobj
;
21613 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21614 wxTimeSpan
*result
;
21615 PyObject
* obj0
= 0 ;
21616 char *kwnames
[] = {
21617 (char *) "self", NULL
21620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21626 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21627 result
= (wxTimeSpan
*) &_result_ref
;
21630 wxPyEndAllowThreads(__tstate
);
21631 if (PyErr_Occurred()) SWIG_fail
;
21633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21640 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21641 PyObject
*resultobj
;
21642 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21643 wxTimeSpan
*arg2
= 0 ;
21645 PyObject
* obj0
= 0 ;
21646 PyObject
* obj1
= 0 ;
21647 char *kwnames
[] = {
21648 (char *) "self",(char *) "other", NULL
21651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21655 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21657 if (arg2
== NULL
) {
21658 PyErr_SetString(PyExc_TypeError
,"null reference");
21662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21663 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21665 wxPyEndAllowThreads(__tstate
);
21666 if (PyErr_Occurred()) SWIG_fail
;
21669 wxTimeSpan
* resultptr
;
21670 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21679 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21680 PyObject
*resultobj
;
21681 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21682 wxTimeSpan
*arg2
= 0 ;
21684 PyObject
* obj0
= 0 ;
21685 PyObject
* obj1
= 0 ;
21686 char *kwnames
[] = {
21687 (char *) "self",(char *) "other", NULL
21690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21694 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21696 if (arg2
== NULL
) {
21697 PyErr_SetString(PyExc_TypeError
,"null reference");
21701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21702 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21704 wxPyEndAllowThreads(__tstate
);
21705 if (PyErr_Occurred()) SWIG_fail
;
21708 wxTimeSpan
* resultptr
;
21709 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21710 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21718 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21719 PyObject
*resultobj
;
21720 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21723 PyObject
* obj0
= 0 ;
21724 PyObject
* obj1
= 0 ;
21725 char *kwnames
[] = {
21726 (char *) "self",(char *) "n", NULL
21729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21732 arg2
= (int) SWIG_AsInt(obj1
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21736 result
= wxTimeSpan___mul__(arg1
,arg2
);
21738 wxPyEndAllowThreads(__tstate
);
21739 if (PyErr_Occurred()) SWIG_fail
;
21742 wxTimeSpan
* resultptr
;
21743 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21744 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21752 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21753 PyObject
*resultobj
;
21754 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21757 PyObject
* obj0
= 0 ;
21758 PyObject
* obj1
= 0 ;
21759 char *kwnames
[] = {
21760 (char *) "self",(char *) "n", NULL
21763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21766 arg2
= (int) SWIG_AsInt(obj1
);
21767 if (PyErr_Occurred()) SWIG_fail
;
21769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21770 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21772 wxPyEndAllowThreads(__tstate
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21776 wxTimeSpan
* resultptr
;
21777 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21778 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21786 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21787 PyObject
*resultobj
;
21788 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21789 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21791 PyObject
* obj0
= 0 ;
21792 PyObject
* obj1
= 0 ;
21793 char *kwnames
[] = {
21794 (char *) "self",(char *) "other", NULL
21797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21804 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
21806 wxPyEndAllowThreads(__tstate
);
21807 if (PyErr_Occurred()) SWIG_fail
;
21809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21816 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21817 PyObject
*resultobj
;
21818 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21819 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21821 PyObject
* obj0
= 0 ;
21822 PyObject
* obj1
= 0 ;
21823 char *kwnames
[] = {
21824 (char *) "self",(char *) "other", NULL
21827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
21828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
21836 wxPyEndAllowThreads(__tstate
);
21837 if (PyErr_Occurred()) SWIG_fail
;
21839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21846 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21847 PyObject
*resultobj
;
21848 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21849 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21851 PyObject
* obj0
= 0 ;
21852 PyObject
* obj1
= 0 ;
21853 char *kwnames
[] = {
21854 (char *) "self",(char *) "other", NULL
21857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21860 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21864 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
21866 wxPyEndAllowThreads(__tstate
);
21867 if (PyErr_Occurred()) SWIG_fail
;
21869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21876 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21877 PyObject
*resultobj
;
21878 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21879 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21881 PyObject
* obj0
= 0 ;
21882 PyObject
* obj1
= 0 ;
21883 char *kwnames
[] = {
21884 (char *) "self",(char *) "other", NULL
21887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
21888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21894 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
21896 wxPyEndAllowThreads(__tstate
);
21897 if (PyErr_Occurred()) SWIG_fail
;
21899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21906 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21907 PyObject
*resultobj
;
21908 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21909 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21911 PyObject
* obj0
= 0 ;
21912 PyObject
* obj1
= 0 ;
21913 char *kwnames
[] = {
21914 (char *) "self",(char *) "other", NULL
21917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
21918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21920 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21924 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
21926 wxPyEndAllowThreads(__tstate
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21936 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21937 PyObject
*resultobj
;
21938 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21939 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21941 PyObject
* obj0
= 0 ;
21942 PyObject
* obj1
= 0 ;
21943 char *kwnames
[] = {
21944 (char *) "self",(char *) "other", NULL
21947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
21948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21954 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
21956 wxPyEndAllowThreads(__tstate
);
21957 if (PyErr_Occurred()) SWIG_fail
;
21959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21966 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21967 PyObject
*resultobj
;
21968 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21970 PyObject
* obj0
= 0 ;
21971 char *kwnames
[] = {
21972 (char *) "self", NULL
21975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
21976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21980 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
21982 wxPyEndAllowThreads(__tstate
);
21983 if (PyErr_Occurred()) SWIG_fail
;
21985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21992 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21993 PyObject
*resultobj
;
21994 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21996 PyObject
* obj0
= 0 ;
21997 char *kwnames
[] = {
21998 (char *) "self", NULL
22001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22006 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22008 wxPyEndAllowThreads(__tstate
);
22009 if (PyErr_Occurred()) SWIG_fail
;
22011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22018 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22019 PyObject
*resultobj
;
22020 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22022 PyObject
* obj0
= 0 ;
22023 char *kwnames
[] = {
22024 (char *) "self", NULL
22027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22032 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22034 wxPyEndAllowThreads(__tstate
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22044 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22045 PyObject
*resultobj
;
22046 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22047 wxTimeSpan
*arg2
= 0 ;
22049 PyObject
* obj0
= 0 ;
22050 PyObject
* obj1
= 0 ;
22051 char *kwnames
[] = {
22052 (char *) "self",(char *) "ts", NULL
22055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22061 if (arg2
== NULL
) {
22062 PyErr_SetString(PyExc_TypeError
,"null reference");
22066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22067 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22069 wxPyEndAllowThreads(__tstate
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22079 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22080 PyObject
*resultobj
;
22081 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22082 wxTimeSpan
*arg2
= 0 ;
22084 PyObject
* obj0
= 0 ;
22085 PyObject
* obj1
= 0 ;
22086 char *kwnames
[] = {
22087 (char *) "self",(char *) "ts", NULL
22090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22094 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22096 if (arg2
== NULL
) {
22097 PyErr_SetString(PyExc_TypeError
,"null reference");
22101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22102 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22104 wxPyEndAllowThreads(__tstate
);
22105 if (PyErr_Occurred()) SWIG_fail
;
22107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22114 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22115 PyObject
*resultobj
;
22116 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22117 wxTimeSpan
*arg2
= 0 ;
22119 PyObject
* obj0
= 0 ;
22120 PyObject
* obj1
= 0 ;
22121 char *kwnames
[] = {
22122 (char *) "self",(char *) "t", NULL
22125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22128 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22129 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22131 if (arg2
== NULL
) {
22132 PyErr_SetString(PyExc_TypeError
,"null reference");
22136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22137 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22139 wxPyEndAllowThreads(__tstate
);
22140 if (PyErr_Occurred()) SWIG_fail
;
22142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22149 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22150 PyObject
*resultobj
;
22151 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22153 PyObject
* obj0
= 0 ;
22154 char *kwnames
[] = {
22155 (char *) "self", NULL
22158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22163 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22165 wxPyEndAllowThreads(__tstate
);
22166 if (PyErr_Occurred()) SWIG_fail
;
22168 resultobj
= SWIG_FromInt((int)result
);
22175 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22176 PyObject
*resultobj
;
22177 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22179 PyObject
* obj0
= 0 ;
22180 char *kwnames
[] = {
22181 (char *) "self", NULL
22184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22189 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22191 wxPyEndAllowThreads(__tstate
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22194 resultobj
= SWIG_FromInt((int)result
);
22201 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22202 PyObject
*resultobj
;
22203 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22205 PyObject
* obj0
= 0 ;
22206 char *kwnames
[] = {
22207 (char *) "self", NULL
22210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22220 resultobj
= SWIG_FromInt((int)result
);
22227 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22228 PyObject
*resultobj
;
22229 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22231 PyObject
* obj0
= 0 ;
22232 char *kwnames
[] = {
22233 (char *) "self", NULL
22236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22241 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22243 wxPyEndAllowThreads(__tstate
);
22244 if (PyErr_Occurred()) SWIG_fail
;
22246 resultobj
= SWIG_FromInt((int)result
);
22253 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22254 PyObject
*resultobj
;
22255 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22257 PyObject
* obj0
= 0 ;
22258 char *kwnames
[] = {
22259 (char *) "self", NULL
22262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22267 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22269 wxPyEndAllowThreads(__tstate
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22273 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22274 hi
= PyLong_FromLong( (&result
)->GetHi() );
22275 lo
= PyLong_FromLong( (&result
)->GetLo() );
22276 shifter
= PyLong_FromLong(32);
22277 shifted
= PyNumber_Lshift(hi
, shifter
);
22278 resultobj
= PyNumber_Or(shifted
, lo
);
22281 Py_DECREF(shifter
);
22282 Py_DECREF(shifted
);
22290 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22291 PyObject
*resultobj
;
22292 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22294 PyObject
* obj0
= 0 ;
22295 char *kwnames
[] = {
22296 (char *) "self", NULL
22299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22304 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22306 wxPyEndAllowThreads(__tstate
);
22307 if (PyErr_Occurred()) SWIG_fail
;
22310 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22311 hi
= PyLong_FromLong( (&result
)->GetHi() );
22312 lo
= PyLong_FromLong( (&result
)->GetLo() );
22313 shifter
= PyLong_FromLong(32);
22314 shifted
= PyNumber_Lshift(hi
, shifter
);
22315 resultobj
= PyNumber_Or(shifted
, lo
);
22318 Py_DECREF(shifter
);
22319 Py_DECREF(shifted
);
22327 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22328 PyObject
*resultobj
;
22329 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22330 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22331 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22333 bool temp2
= False
;
22334 PyObject
* obj0
= 0 ;
22335 PyObject
* obj1
= 0 ;
22336 char *kwnames
[] = {
22337 (char *) "self",(char *) "format", NULL
22340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22345 arg2
= wxString_in_helper(obj1
);
22346 if (arg2
== NULL
) SWIG_fail
;
22351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22352 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22354 wxPyEndAllowThreads(__tstate
);
22355 if (PyErr_Occurred()) SWIG_fail
;
22359 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22361 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22378 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22381 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22383 return Py_BuildValue((char *)"");
22385 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22386 PyObject
*resultobj
;
22387 int arg1
= (int) 0 ;
22388 int arg2
= (int) 0 ;
22389 int arg3
= (int) 0 ;
22390 int arg4
= (int) 0 ;
22391 wxDateSpan
*result
;
22392 PyObject
* obj0
= 0 ;
22393 PyObject
* obj1
= 0 ;
22394 PyObject
* obj2
= 0 ;
22395 PyObject
* obj3
= 0 ;
22396 char *kwnames
[] = {
22397 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22402 arg1
= (int) SWIG_AsInt(obj0
);
22403 if (PyErr_Occurred()) SWIG_fail
;
22406 arg2
= (int) SWIG_AsInt(obj1
);
22407 if (PyErr_Occurred()) SWIG_fail
;
22410 arg3
= (int) SWIG_AsInt(obj2
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22414 arg4
= (int) SWIG_AsInt(obj3
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22419 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22421 wxPyEndAllowThreads(__tstate
);
22422 if (PyErr_Occurred()) SWIG_fail
;
22424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22431 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22432 PyObject
*resultobj
;
22433 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22434 PyObject
* obj0
= 0 ;
22435 char *kwnames
[] = {
22436 (char *) "self", NULL
22439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22446 wxPyEndAllowThreads(__tstate
);
22447 if (PyErr_Occurred()) SWIG_fail
;
22449 Py_INCREF(Py_None
); resultobj
= Py_None
;
22456 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22457 PyObject
*resultobj
;
22460 PyObject
* obj0
= 0 ;
22461 char *kwnames
[] = {
22462 (char *) "days", NULL
22465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22466 arg1
= (int) SWIG_AsInt(obj0
);
22467 if (PyErr_Occurred()) SWIG_fail
;
22469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22470 result
= wxDateSpan::Days(arg1
);
22472 wxPyEndAllowThreads(__tstate
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22476 wxDateSpan
* resultptr
;
22477 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22478 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22486 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22487 PyObject
*resultobj
;
22489 char *kwnames
[] = {
22493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22496 result
= wxDateSpan::Day();
22498 wxPyEndAllowThreads(__tstate
);
22499 if (PyErr_Occurred()) SWIG_fail
;
22502 wxDateSpan
* resultptr
;
22503 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22504 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22512 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22513 PyObject
*resultobj
;
22516 PyObject
* obj0
= 0 ;
22517 char *kwnames
[] = {
22518 (char *) "weeks", NULL
22521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22522 arg1
= (int) SWIG_AsInt(obj0
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 result
= wxDateSpan::Weeks(arg1
);
22528 wxPyEndAllowThreads(__tstate
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22532 wxDateSpan
* resultptr
;
22533 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22534 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22542 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22543 PyObject
*resultobj
;
22545 char *kwnames
[] = {
22549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22552 result
= wxDateSpan::Week();
22554 wxPyEndAllowThreads(__tstate
);
22555 if (PyErr_Occurred()) SWIG_fail
;
22558 wxDateSpan
* resultptr
;
22559 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22560 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22568 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22569 PyObject
*resultobj
;
22572 PyObject
* obj0
= 0 ;
22573 char *kwnames
[] = {
22574 (char *) "mon", NULL
22577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22578 arg1
= (int) SWIG_AsInt(obj0
);
22579 if (PyErr_Occurred()) SWIG_fail
;
22581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22582 result
= wxDateSpan::Months(arg1
);
22584 wxPyEndAllowThreads(__tstate
);
22585 if (PyErr_Occurred()) SWIG_fail
;
22588 wxDateSpan
* resultptr
;
22589 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22590 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22598 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22599 PyObject
*resultobj
;
22601 char *kwnames
[] = {
22605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22608 result
= wxDateSpan::Month();
22610 wxPyEndAllowThreads(__tstate
);
22611 if (PyErr_Occurred()) SWIG_fail
;
22614 wxDateSpan
* resultptr
;
22615 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22624 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22625 PyObject
*resultobj
;
22628 PyObject
* obj0
= 0 ;
22629 char *kwnames
[] = {
22630 (char *) "years", NULL
22633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22634 arg1
= (int) SWIG_AsInt(obj0
);
22635 if (PyErr_Occurred()) SWIG_fail
;
22637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22638 result
= wxDateSpan::Years(arg1
);
22640 wxPyEndAllowThreads(__tstate
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22644 wxDateSpan
* resultptr
;
22645 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22654 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22655 PyObject
*resultobj
;
22657 char *kwnames
[] = {
22661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22664 result
= wxDateSpan::Year();
22666 wxPyEndAllowThreads(__tstate
);
22667 if (PyErr_Occurred()) SWIG_fail
;
22670 wxDateSpan
* resultptr
;
22671 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22680 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22681 PyObject
*resultobj
;
22682 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22684 wxDateSpan
*result
;
22685 PyObject
* obj0
= 0 ;
22686 PyObject
* obj1
= 0 ;
22687 char *kwnames
[] = {
22688 (char *) "self",(char *) "n", NULL
22691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22694 arg2
= (int) SWIG_AsInt(obj1
);
22695 if (PyErr_Occurred()) SWIG_fail
;
22697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22699 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22700 result
= (wxDateSpan
*) &_result_ref
;
22703 wxPyEndAllowThreads(__tstate
);
22704 if (PyErr_Occurred()) SWIG_fail
;
22706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22713 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22714 PyObject
*resultobj
;
22715 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22717 wxDateSpan
*result
;
22718 PyObject
* obj0
= 0 ;
22719 PyObject
* obj1
= 0 ;
22720 char *kwnames
[] = {
22721 (char *) "self",(char *) "n", NULL
22724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22727 arg2
= (int) SWIG_AsInt(obj1
);
22728 if (PyErr_Occurred()) SWIG_fail
;
22730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22732 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22733 result
= (wxDateSpan
*) &_result_ref
;
22736 wxPyEndAllowThreads(__tstate
);
22737 if (PyErr_Occurred()) SWIG_fail
;
22739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22746 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22747 PyObject
*resultobj
;
22748 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22750 wxDateSpan
*result
;
22751 PyObject
* obj0
= 0 ;
22752 PyObject
* obj1
= 0 ;
22753 char *kwnames
[] = {
22754 (char *) "self",(char *) "n", NULL
22757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
22758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22760 arg2
= (int) SWIG_AsInt(obj1
);
22761 if (PyErr_Occurred()) SWIG_fail
;
22763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22765 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
22766 result
= (wxDateSpan
*) &_result_ref
;
22769 wxPyEndAllowThreads(__tstate
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22779 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22780 PyObject
*resultobj
;
22781 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22783 wxDateSpan
*result
;
22784 PyObject
* obj0
= 0 ;
22785 PyObject
* obj1
= 0 ;
22786 char *kwnames
[] = {
22787 (char *) "self",(char *) "n", NULL
22790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
22791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22793 arg2
= (int) SWIG_AsInt(obj1
);
22794 if (PyErr_Occurred()) SWIG_fail
;
22796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22798 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
22799 result
= (wxDateSpan
*) &_result_ref
;
22802 wxPyEndAllowThreads(__tstate
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22812 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22813 PyObject
*resultobj
;
22814 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22816 PyObject
* obj0
= 0 ;
22817 char *kwnames
[] = {
22818 (char *) "self", NULL
22821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
22822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22826 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
22828 wxPyEndAllowThreads(__tstate
);
22829 if (PyErr_Occurred()) SWIG_fail
;
22831 resultobj
= SWIG_FromInt((int)result
);
22838 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22839 PyObject
*resultobj
;
22840 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22842 PyObject
* obj0
= 0 ;
22843 char *kwnames
[] = {
22844 (char *) "self", NULL
22847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
22848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22852 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
22854 wxPyEndAllowThreads(__tstate
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22857 resultobj
= SWIG_FromInt((int)result
);
22864 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22865 PyObject
*resultobj
;
22866 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22868 PyObject
* obj0
= 0 ;
22869 char *kwnames
[] = {
22870 (char *) "self", NULL
22873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22878 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
22880 wxPyEndAllowThreads(__tstate
);
22881 if (PyErr_Occurred()) SWIG_fail
;
22883 resultobj
= SWIG_FromInt((int)result
);
22890 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22891 PyObject
*resultobj
;
22892 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22894 PyObject
* obj0
= 0 ;
22895 char *kwnames
[] = {
22896 (char *) "self", NULL
22899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22904 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
22906 wxPyEndAllowThreads(__tstate
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22909 resultobj
= SWIG_FromInt((int)result
);
22916 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22917 PyObject
*resultobj
;
22918 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22920 PyObject
* obj0
= 0 ;
22921 char *kwnames
[] = {
22922 (char *) "self", NULL
22925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
22926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22930 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
22932 wxPyEndAllowThreads(__tstate
);
22933 if (PyErr_Occurred()) SWIG_fail
;
22935 resultobj
= SWIG_FromInt((int)result
);
22942 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22943 PyObject
*resultobj
;
22944 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22945 wxDateSpan
*arg2
= 0 ;
22946 wxDateSpan
*result
;
22947 PyObject
* obj0
= 0 ;
22948 PyObject
* obj1
= 0 ;
22949 char *kwnames
[] = {
22950 (char *) "self",(char *) "other", NULL
22953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
22954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
22957 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22959 if (arg2
== NULL
) {
22960 PyErr_SetString(PyExc_TypeError
,"null reference");
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22966 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22967 result
= (wxDateSpan
*) &_result_ref
;
22970 wxPyEndAllowThreads(__tstate
);
22971 if (PyErr_Occurred()) SWIG_fail
;
22973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22980 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22981 PyObject
*resultobj
;
22982 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22983 wxDateSpan
*arg2
= 0 ;
22984 wxDateSpan
*result
;
22985 PyObject
* obj0
= 0 ;
22986 PyObject
* obj1
= 0 ;
22987 char *kwnames
[] = {
22988 (char *) "self",(char *) "other", NULL
22991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22994 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
22995 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22997 if (arg2
== NULL
) {
22998 PyErr_SetString(PyExc_TypeError
,"null reference");
23002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23004 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23005 result
= (wxDateSpan
*) &_result_ref
;
23008 wxPyEndAllowThreads(__tstate
);
23009 if (PyErr_Occurred()) SWIG_fail
;
23011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23018 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23019 PyObject
*resultobj
;
23020 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23021 wxDateSpan
*result
;
23022 PyObject
* obj0
= 0 ;
23023 char *kwnames
[] = {
23024 (char *) "self", NULL
23027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23033 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23034 result
= (wxDateSpan
*) &_result_ref
;
23037 wxPyEndAllowThreads(__tstate
);
23038 if (PyErr_Occurred()) SWIG_fail
;
23040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23047 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23048 PyObject
*resultobj
;
23049 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23051 wxDateSpan
*result
;
23052 PyObject
* obj0
= 0 ;
23053 PyObject
* obj1
= 0 ;
23054 char *kwnames
[] = {
23055 (char *) "self",(char *) "factor", NULL
23058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23061 arg2
= (int) SWIG_AsInt(obj1
);
23062 if (PyErr_Occurred()) SWIG_fail
;
23064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23066 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23067 result
= (wxDateSpan
*) &_result_ref
;
23070 wxPyEndAllowThreads(__tstate
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23080 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23081 PyObject
*resultobj
;
23082 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23083 wxDateSpan
*arg2
= 0 ;
23084 wxDateSpan
*result
;
23085 PyObject
* obj0
= 0 ;
23086 PyObject
* obj1
= 0 ;
23087 char *kwnames
[] = {
23088 (char *) "self",(char *) "other", NULL
23091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23095 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23097 if (arg2
== NULL
) {
23098 PyErr_SetString(PyExc_TypeError
,"null reference");
23102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23104 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23105 result
= (wxDateSpan
*) &_result_ref
;
23108 wxPyEndAllowThreads(__tstate
);
23109 if (PyErr_Occurred()) SWIG_fail
;
23111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23118 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23119 PyObject
*resultobj
;
23120 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23121 wxDateSpan
*arg2
= 0 ;
23122 wxDateSpan
*result
;
23123 PyObject
* obj0
= 0 ;
23124 PyObject
* obj1
= 0 ;
23125 char *kwnames
[] = {
23126 (char *) "self",(char *) "other", NULL
23129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23132 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23133 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23135 if (arg2
== NULL
) {
23136 PyErr_SetString(PyExc_TypeError
,"null reference");
23140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23142 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23143 result
= (wxDateSpan
*) &_result_ref
;
23146 wxPyEndAllowThreads(__tstate
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23156 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23157 PyObject
*resultobj
;
23158 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23159 wxDateSpan
*result
;
23160 PyObject
* obj0
= 0 ;
23161 char *kwnames
[] = {
23162 (char *) "self", NULL
23165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23171 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23172 result
= (wxDateSpan
*) &_result_ref
;
23175 wxPyEndAllowThreads(__tstate
);
23176 if (PyErr_Occurred()) SWIG_fail
;
23178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23185 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23186 PyObject
*resultobj
;
23187 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23189 wxDateSpan
*result
;
23190 PyObject
* obj0
= 0 ;
23191 PyObject
* obj1
= 0 ;
23192 char *kwnames
[] = {
23193 (char *) "self",(char *) "factor", NULL
23196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23199 arg2
= (int) SWIG_AsInt(obj1
);
23200 if (PyErr_Occurred()) SWIG_fail
;
23202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23204 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23205 result
= (wxDateSpan
*) &_result_ref
;
23208 wxPyEndAllowThreads(__tstate
);
23209 if (PyErr_Occurred()) SWIG_fail
;
23211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23218 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23219 PyObject
*resultobj
;
23220 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23221 wxDateSpan
*arg2
= 0 ;
23223 PyObject
* obj0
= 0 ;
23224 PyObject
* obj1
= 0 ;
23225 char *kwnames
[] = {
23226 (char *) "self",(char *) "other", NULL
23229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23235 if (arg2
== NULL
) {
23236 PyErr_SetString(PyExc_TypeError
,"null reference");
23240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23241 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23243 wxPyEndAllowThreads(__tstate
);
23244 if (PyErr_Occurred()) SWIG_fail
;
23247 wxDateSpan
* resultptr
;
23248 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23249 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23257 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23258 PyObject
*resultobj
;
23259 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23260 wxDateSpan
*arg2
= 0 ;
23262 PyObject
* obj0
= 0 ;
23263 PyObject
* obj1
= 0 ;
23264 char *kwnames
[] = {
23265 (char *) "self",(char *) "other", NULL
23268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23271 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23272 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23274 if (arg2
== NULL
) {
23275 PyErr_SetString(PyExc_TypeError
,"null reference");
23279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23280 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23282 wxPyEndAllowThreads(__tstate
);
23283 if (PyErr_Occurred()) SWIG_fail
;
23286 wxDateSpan
* resultptr
;
23287 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23296 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23297 PyObject
*resultobj
;
23298 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23301 PyObject
* obj0
= 0 ;
23302 PyObject
* obj1
= 0 ;
23303 char *kwnames
[] = {
23304 (char *) "self",(char *) "n", NULL
23307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23310 arg2
= (int) SWIG_AsInt(obj1
);
23311 if (PyErr_Occurred()) SWIG_fail
;
23313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23314 result
= wxDateSpan___mul__(arg1
,arg2
);
23316 wxPyEndAllowThreads(__tstate
);
23317 if (PyErr_Occurred()) SWIG_fail
;
23320 wxDateSpan
* resultptr
;
23321 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23330 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23331 PyObject
*resultobj
;
23332 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23335 PyObject
* obj0
= 0 ;
23336 PyObject
* obj1
= 0 ;
23337 char *kwnames
[] = {
23338 (char *) "self",(char *) "n", NULL
23341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23344 arg2
= (int) SWIG_AsInt(obj1
);
23345 if (PyErr_Occurred()) SWIG_fail
;
23347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23348 result
= wxDateSpan___rmul__(arg1
,arg2
);
23350 wxPyEndAllowThreads(__tstate
);
23351 if (PyErr_Occurred()) SWIG_fail
;
23354 wxDateSpan
* resultptr
;
23355 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23364 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23365 PyObject
*resultobj
;
23366 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23367 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23369 PyObject
* obj0
= 0 ;
23370 PyObject
* obj1
= 0 ;
23371 char *kwnames
[] = {
23372 (char *) "self",(char *) "other", NULL
23375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23382 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23384 wxPyEndAllowThreads(__tstate
);
23385 if (PyErr_Occurred()) SWIG_fail
;
23387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23394 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23395 PyObject
*resultobj
;
23396 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23397 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23399 PyObject
* obj0
= 0 ;
23400 PyObject
* obj1
= 0 ;
23401 char *kwnames
[] = {
23402 (char *) "self",(char *) "other", NULL
23405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23412 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23414 wxPyEndAllowThreads(__tstate
);
23415 if (PyErr_Occurred()) SWIG_fail
;
23417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23424 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23427 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23429 return Py_BuildValue((char *)"");
23431 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23432 PyObject
*resultobj
;
23434 char *kwnames
[] = {
23438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23441 result
= (long)wxGetLocalTime();
23443 wxPyEndAllowThreads(__tstate
);
23444 if (PyErr_Occurred()) SWIG_fail
;
23446 resultobj
= SWIG_FromLong((long)result
);
23453 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23454 PyObject
*resultobj
;
23456 char *kwnames
[] = {
23460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23463 result
= (long)wxGetUTCTime();
23465 wxPyEndAllowThreads(__tstate
);
23466 if (PyErr_Occurred()) SWIG_fail
;
23468 resultobj
= SWIG_FromLong((long)result
);
23475 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23476 PyObject
*resultobj
;
23478 char *kwnames
[] = {
23482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23485 result
= (long)wxGetCurrentTime();
23487 wxPyEndAllowThreads(__tstate
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23490 resultobj
= SWIG_FromLong((long)result
);
23497 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23498 PyObject
*resultobj
;
23500 char *kwnames
[] = {
23504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23507 result
= wxGetLocalTimeMillis();
23509 wxPyEndAllowThreads(__tstate
);
23510 if (PyErr_Occurred()) SWIG_fail
;
23513 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23514 hi
= PyLong_FromLong( (&result
)->GetHi() );
23515 lo
= PyLong_FromLong( (&result
)->GetLo() );
23516 shifter
= PyLong_FromLong(32);
23517 shifted
= PyNumber_Lshift(hi
, shifter
);
23518 resultobj
= PyNumber_Or(shifted
, lo
);
23521 Py_DECREF(shifter
);
23522 Py_DECREF(shifted
);
23530 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23531 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23536 static PyObject
*_wrap_DefaultDateTime_get() {
23539 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23544 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23545 PyObject
*resultobj
;
23547 wxDataFormat
*result
;
23548 PyObject
* obj0
= 0 ;
23549 char *kwnames
[] = {
23550 (char *) "type", NULL
23553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23554 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23555 if (PyErr_Occurred()) SWIG_fail
;
23557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23558 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23560 wxPyEndAllowThreads(__tstate
);
23561 if (PyErr_Occurred()) SWIG_fail
;
23563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23570 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23571 PyObject
*resultobj
;
23572 wxString
*arg1
= 0 ;
23573 wxDataFormat
*result
;
23574 bool temp1
= False
;
23575 PyObject
* obj0
= 0 ;
23576 char *kwnames
[] = {
23577 (char *) "format", NULL
23580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23582 arg1
= wxString_in_helper(obj0
);
23583 if (arg1
== NULL
) SWIG_fail
;
23587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23588 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23590 wxPyEndAllowThreads(__tstate
);
23591 if (PyErr_Occurred()) SWIG_fail
;
23593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23608 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23609 PyObject
*resultobj
;
23610 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23611 PyObject
* obj0
= 0 ;
23612 char *kwnames
[] = {
23613 (char *) "self", NULL
23616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23623 wxPyEndAllowThreads(__tstate
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23626 Py_INCREF(Py_None
); resultobj
= Py_None
;
23633 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23634 PyObject
*resultobj
;
23635 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23638 PyObject
* obj0
= 0 ;
23639 PyObject
* obj1
= 0 ;
23641 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23644 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23645 if (PyErr_Occurred()) SWIG_fail
;
23647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23648 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23650 wxPyEndAllowThreads(__tstate
);
23651 if (PyErr_Occurred()) SWIG_fail
;
23653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23660 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23661 PyObject
*resultobj
;
23662 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23665 PyObject
* obj0
= 0 ;
23666 PyObject
* obj1
= 0 ;
23668 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23671 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23675 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23677 wxPyEndAllowThreads(__tstate
);
23678 if (PyErr_Occurred()) SWIG_fail
;
23680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23687 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
23688 PyObject
*resultobj
;
23689 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23690 wxDataFormat
*arg2
= 0 ;
23692 PyObject
* obj0
= 0 ;
23693 PyObject
* obj1
= 0 ;
23695 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23699 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23701 if (arg2
== NULL
) {
23702 PyErr_SetString(PyExc_TypeError
,"null reference");
23706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23707 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23709 wxPyEndAllowThreads(__tstate
);
23710 if (PyErr_Occurred()) SWIG_fail
;
23712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23719 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23724 argc
= PyObject_Length(args
);
23725 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23726 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23732 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23742 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23750 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
23758 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23766 _v
= SWIG_CheckInt(argv
[1]);
23768 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
23773 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
23778 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
23779 PyObject
*resultobj
;
23780 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23781 wxDataFormat
*arg2
= 0 ;
23783 PyObject
* obj0
= 0 ;
23784 PyObject
* obj1
= 0 ;
23786 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23789 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23790 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23792 if (arg2
== NULL
) {
23793 PyErr_SetString(PyExc_TypeError
,"null reference");
23797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23798 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
23800 wxPyEndAllowThreads(__tstate
);
23801 if (PyErr_Occurred()) SWIG_fail
;
23803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23810 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
23815 argc
= PyObject_Length(args
);
23816 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23817 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23823 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23833 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23841 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
23849 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23857 _v
= SWIG_CheckInt(argv
[1]);
23859 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
23864 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
23869 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23870 PyObject
*resultobj
;
23871 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23873 PyObject
* obj0
= 0 ;
23874 PyObject
* obj1
= 0 ;
23875 char *kwnames
[] = {
23876 (char *) "self",(char *) "format", NULL
23879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
23880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23882 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23883 if (PyErr_Occurred()) SWIG_fail
;
23885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23886 (arg1
)->SetType((wxDataFormatId
)arg2
);
23888 wxPyEndAllowThreads(__tstate
);
23889 if (PyErr_Occurred()) SWIG_fail
;
23891 Py_INCREF(Py_None
); resultobj
= Py_None
;
23898 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23899 PyObject
*resultobj
;
23900 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23902 PyObject
* obj0
= 0 ;
23903 char *kwnames
[] = {
23904 (char *) "self", NULL
23907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
23908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23912 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
23914 wxPyEndAllowThreads(__tstate
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23917 resultobj
= SWIG_FromInt((int)result
);
23924 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23925 PyObject
*resultobj
;
23926 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23928 PyObject
* obj0
= 0 ;
23929 char *kwnames
[] = {
23930 (char *) "self", NULL
23933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
23934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23938 result
= ((wxDataFormat
const *)arg1
)->GetId();
23940 wxPyEndAllowThreads(__tstate
);
23941 if (PyErr_Occurred()) SWIG_fail
;
23945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23956 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23957 PyObject
*resultobj
;
23958 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23959 wxString
*arg2
= 0 ;
23960 bool temp2
= False
;
23961 PyObject
* obj0
= 0 ;
23962 PyObject
* obj1
= 0 ;
23963 char *kwnames
[] = {
23964 (char *) "self",(char *) "format", NULL
23967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23971 arg2
= wxString_in_helper(obj1
);
23972 if (arg2
== NULL
) SWIG_fail
;
23976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23977 (arg1
)->SetId((wxString
const &)*arg2
);
23979 wxPyEndAllowThreads(__tstate
);
23980 if (PyErr_Occurred()) SWIG_fail
;
23982 Py_INCREF(Py_None
); resultobj
= Py_None
;
23997 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
23999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24000 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24002 return Py_BuildValue((char *)"");
24004 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24005 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24010 static PyObject
*_wrap_FormatInvalid_get() {
24013 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24018 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24019 PyObject
*resultobj
;
24020 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24021 PyObject
* obj0
= 0 ;
24022 char *kwnames
[] = {
24023 (char *) "self", NULL
24026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24033 wxPyEndAllowThreads(__tstate
);
24034 if (PyErr_Occurred()) SWIG_fail
;
24036 Py_INCREF(Py_None
); resultobj
= Py_None
;
24043 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24044 PyObject
*resultobj
;
24045 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24046 int arg2
= (int) wxDataObject::Get
;
24047 SwigValueWrapper
< wxDataFormat
> result
;
24048 PyObject
* obj0
= 0 ;
24049 PyObject
* obj1
= 0 ;
24050 char *kwnames
[] = {
24051 (char *) "self",(char *) "dir", NULL
24054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24058 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24063 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24069 wxDataFormat
* resultptr
;
24070 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24071 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24079 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24080 PyObject
*resultobj
;
24081 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24082 int arg2
= (int) wxDataObject::Get
;
24084 PyObject
* obj0
= 0 ;
24085 PyObject
* obj1
= 0 ;
24086 char *kwnames
[] = {
24087 (char *) "self",(char *) "dir", NULL
24090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24094 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24095 if (PyErr_Occurred()) SWIG_fail
;
24098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24099 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24101 wxPyEndAllowThreads(__tstate
);
24102 if (PyErr_Occurred()) SWIG_fail
;
24104 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24111 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24112 PyObject
*resultobj
;
24113 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24114 wxDataFormat
*arg2
= 0 ;
24115 int arg3
= (int) wxDataObject::Get
;
24117 PyObject
* obj0
= 0 ;
24118 PyObject
* obj1
= 0 ;
24119 PyObject
* obj2
= 0 ;
24120 char *kwnames
[] = {
24121 (char *) "self",(char *) "format",(char *) "dir", NULL
24124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24128 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24130 if (arg2
== NULL
) {
24131 PyErr_SetString(PyExc_TypeError
,"null reference");
24135 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24136 if (PyErr_Occurred()) SWIG_fail
;
24139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24140 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24142 wxPyEndAllowThreads(__tstate
);
24143 if (PyErr_Occurred()) SWIG_fail
;
24145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24152 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24153 PyObject
*resultobj
;
24154 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24155 wxDataFormat
*arg2
= 0 ;
24157 PyObject
* obj0
= 0 ;
24158 PyObject
* obj1
= 0 ;
24159 char *kwnames
[] = {
24160 (char *) "self",(char *) "format", NULL
24163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24166 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24167 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24169 if (arg2
== NULL
) {
24170 PyErr_SetString(PyExc_TypeError
,"null reference");
24174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24175 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24177 wxPyEndAllowThreads(__tstate
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24180 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24187 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24188 PyObject
*resultobj
;
24189 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24190 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
24191 int arg3
= (int) wxDataObject::Get
;
24192 PyObject
* obj0
= 0 ;
24193 PyObject
* obj1
= 0 ;
24194 PyObject
* obj2
= 0 ;
24195 char *kwnames
[] = {
24196 (char *) "self",(char *) "formats",(char *) "dir", NULL
24199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24205 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24206 if (PyErr_Occurred()) SWIG_fail
;
24209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24210 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
24212 wxPyEndAllowThreads(__tstate
);
24213 if (PyErr_Occurred()) SWIG_fail
;
24215 Py_INCREF(Py_None
); resultobj
= Py_None
;
24222 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24223 PyObject
*resultobj
;
24224 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24225 wxDataFormat
*arg2
= 0 ;
24226 void *arg3
= (void *) 0 ;
24228 PyObject
* obj0
= 0 ;
24229 PyObject
* obj1
= 0 ;
24230 PyObject
* obj2
= 0 ;
24231 char *kwnames
[] = {
24232 (char *) "self",(char *) "format",(char *) "buf", NULL
24235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24239 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24241 if (arg2
== NULL
) {
24242 PyErr_SetString(PyExc_TypeError
,"null reference");
24245 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24248 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
24250 wxPyEndAllowThreads(__tstate
);
24251 if (PyErr_Occurred()) SWIG_fail
;
24253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24260 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24261 PyObject
*resultobj
;
24262 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24263 wxDataFormat
*arg2
= 0 ;
24265 void *arg4
= (void *) 0 ;
24267 PyObject
* obj0
= 0 ;
24268 PyObject
* obj1
= 0 ;
24269 PyObject
* obj2
= 0 ;
24270 PyObject
* obj3
= 0 ;
24271 char *kwnames
[] = {
24272 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24279 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24281 if (arg2
== NULL
) {
24282 PyErr_SetString(PyExc_TypeError
,"null reference");
24285 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
24286 if (PyErr_Occurred()) SWIG_fail
;
24287 if ((SWIG_ConvertPtr(obj3
,&arg4
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24290 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
24292 wxPyEndAllowThreads(__tstate
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24302 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24305 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24307 return Py_BuildValue((char *)"");
24309 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24310 PyObject
*resultobj
;
24311 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24312 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24313 wxDataObjectSimple
*result
;
24314 PyObject
* obj0
= 0 ;
24315 char *kwnames
[] = {
24316 (char *) "format", NULL
24319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24322 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24324 if (arg1
== NULL
) {
24325 PyErr_SetString(PyExc_TypeError
,"null reference");
24330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24331 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24333 wxPyEndAllowThreads(__tstate
);
24334 if (PyErr_Occurred()) SWIG_fail
;
24336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24343 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24344 PyObject
*resultobj
;
24345 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24346 wxDataFormat
*result
;
24347 PyObject
* obj0
= 0 ;
24348 char *kwnames
[] = {
24349 (char *) "self", NULL
24352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24358 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24359 result
= (wxDataFormat
*) &_result_ref
;
24362 wxPyEndAllowThreads(__tstate
);
24363 if (PyErr_Occurred()) SWIG_fail
;
24365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24372 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24373 PyObject
*resultobj
;
24374 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24375 wxDataFormat
*arg2
= 0 ;
24376 PyObject
* obj0
= 0 ;
24377 PyObject
* obj1
= 0 ;
24378 char *kwnames
[] = {
24379 (char *) "self",(char *) "format", NULL
24382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24385 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24386 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24388 if (arg2
== NULL
) {
24389 PyErr_SetString(PyExc_TypeError
,"null reference");
24393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24394 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24396 wxPyEndAllowThreads(__tstate
);
24397 if (PyErr_Occurred()) SWIG_fail
;
24399 Py_INCREF(Py_None
); resultobj
= Py_None
;
24406 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24409 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24411 return Py_BuildValue((char *)"");
24413 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24414 PyObject
*resultobj
;
24415 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24416 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24417 wxPyDataObjectSimple
*result
;
24418 PyObject
* obj0
= 0 ;
24419 char *kwnames
[] = {
24420 (char *) "format", NULL
24423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24426 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24428 if (arg1
== NULL
) {
24429 PyErr_SetString(PyExc_TypeError
,"null reference");
24434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24435 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24437 wxPyEndAllowThreads(__tstate
);
24438 if (PyErr_Occurred()) SWIG_fail
;
24440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24447 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24448 PyObject
*resultobj
;
24449 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24450 PyObject
*arg2
= (PyObject
*) 0 ;
24451 PyObject
*arg3
= (PyObject
*) 0 ;
24452 PyObject
* obj0
= 0 ;
24453 PyObject
* obj1
= 0 ;
24454 PyObject
* obj2
= 0 ;
24455 char *kwnames
[] = {
24456 (char *) "self",(char *) "self",(char *) "_class", NULL
24459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24466 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24468 wxPyEndAllowThreads(__tstate
);
24469 if (PyErr_Occurred()) SWIG_fail
;
24471 Py_INCREF(Py_None
); resultobj
= Py_None
;
24478 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24481 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24483 return Py_BuildValue((char *)"");
24485 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24486 PyObject
*resultobj
;
24487 wxDataObjectComposite
*result
;
24488 char *kwnames
[] = {
24492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24495 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24497 wxPyEndAllowThreads(__tstate
);
24498 if (PyErr_Occurred()) SWIG_fail
;
24500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24507 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24508 PyObject
*resultobj
;
24509 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24510 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24511 int arg3
= (int) False
;
24512 PyObject
* obj0
= 0 ;
24513 PyObject
* obj1
= 0 ;
24514 PyObject
* obj2
= 0 ;
24515 char *kwnames
[] = {
24516 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24523 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24525 arg3
= (int) SWIG_AsInt(obj2
);
24526 if (PyErr_Occurred()) SWIG_fail
;
24529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24530 (arg1
)->Add(arg2
,arg3
);
24532 wxPyEndAllowThreads(__tstate
);
24533 if (PyErr_Occurred()) SWIG_fail
;
24535 Py_INCREF(Py_None
); resultobj
= Py_None
;
24542 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24545 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24547 return Py_BuildValue((char *)"");
24549 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24550 PyObject
*resultobj
;
24551 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24552 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24553 wxTextDataObject
*result
;
24554 bool temp1
= False
;
24555 PyObject
* obj0
= 0 ;
24556 char *kwnames
[] = {
24557 (char *) "text", NULL
24560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24563 arg1
= wxString_in_helper(obj0
);
24564 if (arg1
== NULL
) SWIG_fail
;
24569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24570 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24572 wxPyEndAllowThreads(__tstate
);
24573 if (PyErr_Occurred()) SWIG_fail
;
24575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24590 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24591 PyObject
*resultobj
;
24592 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24594 PyObject
* obj0
= 0 ;
24595 char *kwnames
[] = {
24596 (char *) "self", NULL
24599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24604 result
= (size_t)(arg1
)->GetTextLength();
24606 wxPyEndAllowThreads(__tstate
);
24607 if (PyErr_Occurred()) SWIG_fail
;
24609 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24616 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24617 PyObject
*resultobj
;
24618 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24620 PyObject
* obj0
= 0 ;
24621 char *kwnames
[] = {
24622 (char *) "self", NULL
24625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24630 result
= (arg1
)->GetText();
24632 wxPyEndAllowThreads(__tstate
);
24633 if (PyErr_Occurred()) SWIG_fail
;
24637 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24639 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24648 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24649 PyObject
*resultobj
;
24650 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24651 wxString
*arg2
= 0 ;
24652 bool temp2
= False
;
24653 PyObject
* obj0
= 0 ;
24654 PyObject
* obj1
= 0 ;
24655 char *kwnames
[] = {
24656 (char *) "self",(char *) "text", NULL
24659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24663 arg2
= wxString_in_helper(obj1
);
24664 if (arg2
== NULL
) SWIG_fail
;
24668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24669 (arg1
)->SetText((wxString
const &)*arg2
);
24671 wxPyEndAllowThreads(__tstate
);
24672 if (PyErr_Occurred()) SWIG_fail
;
24674 Py_INCREF(Py_None
); resultobj
= Py_None
;
24689 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24692 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
24694 return Py_BuildValue((char *)"");
24696 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24697 PyObject
*resultobj
;
24698 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24699 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24700 wxPyTextDataObject
*result
;
24701 bool temp1
= False
;
24702 PyObject
* obj0
= 0 ;
24703 char *kwnames
[] = {
24704 (char *) "text", NULL
24707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
24710 arg1
= wxString_in_helper(obj0
);
24711 if (arg1
== NULL
) SWIG_fail
;
24716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24717 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
24719 wxPyEndAllowThreads(__tstate
);
24720 if (PyErr_Occurred()) SWIG_fail
;
24722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
24737 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24738 PyObject
*resultobj
;
24739 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
24740 PyObject
*arg2
= (PyObject
*) 0 ;
24741 PyObject
*arg3
= (PyObject
*) 0 ;
24742 PyObject
* obj0
= 0 ;
24743 PyObject
* obj1
= 0 ;
24744 PyObject
* obj2
= 0 ;
24745 char *kwnames
[] = {
24746 (char *) "self",(char *) "self",(char *) "_class", NULL
24749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
24751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24756 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24758 wxPyEndAllowThreads(__tstate
);
24759 if (PyErr_Occurred()) SWIG_fail
;
24761 Py_INCREF(Py_None
); resultobj
= Py_None
;
24768 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24771 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
24773 return Py_BuildValue((char *)"");
24775 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24776 PyObject
*resultobj
;
24777 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24778 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24779 wxBitmapDataObject
*result
;
24780 PyObject
* obj0
= 0 ;
24781 char *kwnames
[] = {
24782 (char *) "bitmap", NULL
24785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
24787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
24788 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24790 if (arg1
== NULL
) {
24791 PyErr_SetString(PyExc_TypeError
,"null reference");
24796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24797 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
24799 wxPyEndAllowThreads(__tstate
);
24800 if (PyErr_Occurred()) SWIG_fail
;
24802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
24809 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24810 PyObject
*resultobj
;
24811 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
24813 PyObject
* obj0
= 0 ;
24814 char *kwnames
[] = {
24815 (char *) "self", NULL
24818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
24819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
24820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24823 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
24825 wxPyEndAllowThreads(__tstate
);
24826 if (PyErr_Occurred()) SWIG_fail
;
24829 wxBitmap
* resultptr
;
24830 resultptr
= new wxBitmap((wxBitmap
&) result
);
24831 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
24839 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24840 PyObject
*resultobj
;
24841 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
24842 wxBitmap
*arg2
= 0 ;
24843 PyObject
* obj0
= 0 ;
24844 PyObject
* obj1
= 0 ;
24845 char *kwnames
[] = {
24846 (char *) "self",(char *) "bitmap", NULL
24849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
24850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
24851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
24853 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24855 if (arg2
== NULL
) {
24856 PyErr_SetString(PyExc_TypeError
,"null reference");
24860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24861 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
24863 wxPyEndAllowThreads(__tstate
);
24864 if (PyErr_Occurred()) SWIG_fail
;
24866 Py_INCREF(Py_None
); resultobj
= Py_None
;
24873 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24876 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
24878 return Py_BuildValue((char *)"");
24880 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24881 PyObject
*resultobj
;
24882 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24883 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24884 wxPyBitmapDataObject
*result
;
24885 PyObject
* obj0
= 0 ;
24886 char *kwnames
[] = {
24887 (char *) "bitmap", NULL
24890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
24892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
24893 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24895 if (arg1
== NULL
) {
24896 PyErr_SetString(PyExc_TypeError
,"null reference");
24901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24902 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
24904 wxPyEndAllowThreads(__tstate
);
24905 if (PyErr_Occurred()) SWIG_fail
;
24907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
24914 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24915 PyObject
*resultobj
;
24916 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
24917 PyObject
*arg2
= (PyObject
*) 0 ;
24918 PyObject
*arg3
= (PyObject
*) 0 ;
24919 PyObject
* obj0
= 0 ;
24920 PyObject
* obj1
= 0 ;
24921 PyObject
* obj2
= 0 ;
24922 char *kwnames
[] = {
24923 (char *) "self",(char *) "self",(char *) "_class", NULL
24926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
24928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24933 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24935 wxPyEndAllowThreads(__tstate
);
24936 if (PyErr_Occurred()) SWIG_fail
;
24938 Py_INCREF(Py_None
); resultobj
= Py_None
;
24945 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24948 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
24950 return Py_BuildValue((char *)"");
24952 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24953 PyObject
*resultobj
;
24954 wxFileDataObject
*result
;
24955 char *kwnames
[] = {
24959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
24961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24962 result
= (wxFileDataObject
*)new wxFileDataObject();
24964 wxPyEndAllowThreads(__tstate
);
24965 if (PyErr_Occurred()) SWIG_fail
;
24967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
24974 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24975 PyObject
*resultobj
;
24976 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
24977 wxArrayString
*result
;
24978 PyObject
* obj0
= 0 ;
24979 char *kwnames
[] = {
24980 (char *) "self", NULL
24983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
24984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
24985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24989 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
24990 result
= (wxArrayString
*) &_result_ref
;
24993 wxPyEndAllowThreads(__tstate
);
24994 if (PyErr_Occurred()) SWIG_fail
;
24997 resultobj
= wxArrayString2PyList_helper(*result
);
25005 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25006 PyObject
*resultobj
;
25007 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25008 wxString
*arg2
= 0 ;
25009 bool temp2
= False
;
25010 PyObject
* obj0
= 0 ;
25011 PyObject
* obj1
= 0 ;
25012 char *kwnames
[] = {
25013 (char *) "self",(char *) "filename", NULL
25016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25020 arg2
= wxString_in_helper(obj1
);
25021 if (arg2
== NULL
) SWIG_fail
;
25025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25026 (arg1
)->AddFile((wxString
const &)*arg2
);
25028 wxPyEndAllowThreads(__tstate
);
25029 if (PyErr_Occurred()) SWIG_fail
;
25031 Py_INCREF(Py_None
); resultobj
= Py_None
;
25046 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25048 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25049 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25051 return Py_BuildValue((char *)"");
25053 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25054 PyObject
*resultobj
;
25055 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25056 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25057 wxCustomDataObject
*result
;
25058 PyObject
* obj0
= 0 ;
25059 char *kwnames
[] = {
25060 (char *) "format", NULL
25063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25066 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25068 if (arg1
== NULL
) {
25069 PyErr_SetString(PyExc_TypeError
,"null reference");
25074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25075 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25077 wxPyEndAllowThreads(__tstate
);
25078 if (PyErr_Occurred()) SWIG_fail
;
25080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25087 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25088 PyObject
*resultobj
;
25089 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25090 PyObject
*arg2
= (PyObject
*) 0 ;
25091 PyObject
* obj0
= 0 ;
25092 PyObject
* obj1
= 0 ;
25093 char *kwnames
[] = {
25094 (char *) "self",(char *) "data", NULL
25097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
25098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25103 wxCustomDataObject_TakeData(arg1
,arg2
);
25105 wxPyEndAllowThreads(__tstate
);
25106 if (PyErr_Occurred()) SWIG_fail
;
25108 Py_INCREF(Py_None
); resultobj
= Py_None
;
25115 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25116 PyObject
*resultobj
;
25117 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25118 PyObject
*arg2
= (PyObject
*) 0 ;
25120 PyObject
* obj0
= 0 ;
25121 PyObject
* obj1
= 0 ;
25122 char *kwnames
[] = {
25123 (char *) "self",(char *) "data", NULL
25126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25132 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25134 wxPyEndAllowThreads(__tstate
);
25135 if (PyErr_Occurred()) SWIG_fail
;
25137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25144 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25145 PyObject
*resultobj
;
25146 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25148 PyObject
* obj0
= 0 ;
25149 char *kwnames
[] = {
25150 (char *) "self", NULL
25153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25158 result
= (size_t)(arg1
)->GetSize();
25160 wxPyEndAllowThreads(__tstate
);
25161 if (PyErr_Occurred()) SWIG_fail
;
25163 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25170 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25171 PyObject
*resultobj
;
25172 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25174 PyObject
* obj0
= 0 ;
25175 char *kwnames
[] = {
25176 (char *) "self", NULL
25179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25184 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25186 wxPyEndAllowThreads(__tstate
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25189 resultobj
= result
;
25196 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25199 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25201 return Py_BuildValue((char *)"");
25203 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25204 PyObject
*resultobj
;
25205 wxURLDataObject
*result
;
25206 char *kwnames
[] = {
25210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25213 result
= (wxURLDataObject
*)new wxURLDataObject();
25215 wxPyEndAllowThreads(__tstate
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25225 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25226 PyObject
*resultobj
;
25227 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25229 PyObject
* obj0
= 0 ;
25230 char *kwnames
[] = {
25231 (char *) "self", NULL
25234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25239 result
= (arg1
)->GetURL();
25241 wxPyEndAllowThreads(__tstate
);
25242 if (PyErr_Occurred()) SWIG_fail
;
25246 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25248 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25257 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25258 PyObject
*resultobj
;
25259 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25260 wxString
*arg2
= 0 ;
25261 bool temp2
= False
;
25262 PyObject
* obj0
= 0 ;
25263 PyObject
* obj1
= 0 ;
25264 char *kwnames
[] = {
25265 (char *) "self",(char *) "url", NULL
25268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25272 arg2
= wxString_in_helper(obj1
);
25273 if (arg2
== NULL
) SWIG_fail
;
25277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25278 (arg1
)->SetURL((wxString
const &)*arg2
);
25280 wxPyEndAllowThreads(__tstate
);
25281 if (PyErr_Occurred()) SWIG_fail
;
25283 Py_INCREF(Py_None
); resultobj
= Py_None
;
25298 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25301 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25303 return Py_BuildValue((char *)"");
25305 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25306 PyObject
*resultobj
;
25307 wxMetafileDataObject
*result
;
25308 char *kwnames
[] = {
25312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25317 wxPyEndAllowThreads(__tstate
);
25318 if (PyErr_Occurred()) SWIG_fail
;
25320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25327 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25328 PyObject
*resultobj
;
25329 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25330 wxMetafile
*arg2
= 0 ;
25331 PyObject
* obj0
= 0 ;
25332 PyObject
* obj1
= 0 ;
25333 char *kwnames
[] = {
25334 (char *) "self",(char *) "metafile", NULL
25337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
25341 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25343 if (arg2
== NULL
) {
25344 PyErr_SetString(PyExc_TypeError
,"null reference");
25348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25349 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25351 wxPyEndAllowThreads(__tstate
);
25352 if (PyErr_Occurred()) SWIG_fail
;
25354 Py_INCREF(Py_None
); resultobj
= Py_None
;
25361 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25362 PyObject
*resultobj
;
25363 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25365 PyObject
* obj0
= 0 ;
25366 char *kwnames
[] = {
25367 (char *) "self", NULL
25370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25375 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25377 wxPyEndAllowThreads(__tstate
);
25378 if (PyErr_Occurred()) SWIG_fail
;
25381 wxMetafile
* resultptr
;
25382 resultptr
= new wxMetafile((wxMetafile
&) result
);
25383 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
25391 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25394 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25396 return Py_BuildValue((char *)"");
25398 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25399 PyObject
*resultobj
;
25402 PyObject
* obj0
= 0 ;
25403 char *kwnames
[] = {
25404 (char *) "res", NULL
25407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25408 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25409 if (PyErr_Occurred()) SWIG_fail
;
25411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25412 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25414 wxPyEndAllowThreads(__tstate
);
25415 if (PyErr_Occurred()) SWIG_fail
;
25417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25424 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25425 PyObject
*resultobj
;
25426 wxWindow
*arg1
= (wxWindow
*) 0 ;
25427 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25428 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25429 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25430 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25431 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25432 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25433 wxPyDropSource
*result
;
25434 PyObject
* obj0
= 0 ;
25435 PyObject
* obj1
= 0 ;
25436 PyObject
* obj2
= 0 ;
25437 PyObject
* obj3
= 0 ;
25438 char *kwnames
[] = {
25439 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25447 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25449 if (arg2
== NULL
) {
25450 PyErr_SetString(PyExc_TypeError
,"null reference");
25455 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25456 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25458 if (arg3
== NULL
) {
25459 PyErr_SetString(PyExc_TypeError
,"null reference");
25464 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
25465 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25467 if (arg4
== NULL
) {
25468 PyErr_SetString(PyExc_TypeError
,"null reference");
25473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25474 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25476 wxPyEndAllowThreads(__tstate
);
25477 if (PyErr_Occurred()) SWIG_fail
;
25479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25486 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25487 PyObject
*resultobj
;
25488 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25489 PyObject
*arg2
= (PyObject
*) 0 ;
25490 PyObject
*arg3
= (PyObject
*) 0 ;
25492 PyObject
* obj0
= 0 ;
25493 PyObject
* obj1
= 0 ;
25494 PyObject
* obj2
= 0 ;
25495 PyObject
* obj3
= 0 ;
25496 char *kwnames
[] = {
25497 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25505 arg4
= (int) SWIG_AsInt(obj3
);
25506 if (PyErr_Occurred()) SWIG_fail
;
25508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25509 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25511 wxPyEndAllowThreads(__tstate
);
25512 if (PyErr_Occurred()) SWIG_fail
;
25514 Py_INCREF(Py_None
); resultobj
= Py_None
;
25521 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25522 PyObject
*resultobj
;
25523 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25524 PyObject
* obj0
= 0 ;
25525 char *kwnames
[] = {
25526 (char *) "self", NULL
25529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25536 wxPyEndAllowThreads(__tstate
);
25537 if (PyErr_Occurred()) SWIG_fail
;
25539 Py_INCREF(Py_None
); resultobj
= Py_None
;
25546 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25547 PyObject
*resultobj
;
25548 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25549 wxDataObject
*arg2
= 0 ;
25550 PyObject
* obj0
= 0 ;
25551 PyObject
* obj1
= 0 ;
25552 char *kwnames
[] = {
25553 (char *) "self",(char *) "data", NULL
25556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25559 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25560 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25562 if (arg2
== NULL
) {
25563 PyErr_SetString(PyExc_TypeError
,"null reference");
25567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25568 (arg1
)->SetData(*arg2
);
25570 wxPyEndAllowThreads(__tstate
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25573 Py_INCREF(Py_None
); resultobj
= Py_None
;
25580 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25581 PyObject
*resultobj
;
25582 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25583 wxDataObject
*result
;
25584 PyObject
* obj0
= 0 ;
25585 char *kwnames
[] = {
25586 (char *) "self", NULL
25589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25594 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25596 wxPyEndAllowThreads(__tstate
);
25597 if (PyErr_Occurred()) SWIG_fail
;
25599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25606 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25607 PyObject
*resultobj
;
25608 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25610 wxCursor
*arg3
= 0 ;
25611 PyObject
* obj0
= 0 ;
25612 PyObject
* obj1
= 0 ;
25613 PyObject
* obj2
= 0 ;
25614 char *kwnames
[] = {
25615 (char *) "self",(char *) "res",(char *) "cursor", NULL
25618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25621 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25622 if (PyErr_Occurred()) SWIG_fail
;
25623 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25624 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25626 if (arg3
== NULL
) {
25627 PyErr_SetString(PyExc_TypeError
,"null reference");
25631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25632 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25634 wxPyEndAllowThreads(__tstate
);
25635 if (PyErr_Occurred()) SWIG_fail
;
25637 Py_INCREF(Py_None
); resultobj
= Py_None
;
25644 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25645 PyObject
*resultobj
;
25646 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25647 int arg2
= (int) wxDrag_CopyOnly
;
25649 PyObject
* obj0
= 0 ;
25650 PyObject
* obj1
= 0 ;
25651 char *kwnames
[] = {
25652 (char *) "self",(char *) "flags", NULL
25655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25659 arg2
= (int) SWIG_AsInt(obj1
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25664 result
= (int)(arg1
)->DoDragDrop(arg2
);
25666 wxPyEndAllowThreads(__tstate
);
25667 if (PyErr_Occurred()) SWIG_fail
;
25669 resultobj
= SWIG_FromInt((int)result
);
25676 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25677 PyObject
*resultobj
;
25678 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25681 PyObject
* obj0
= 0 ;
25682 PyObject
* obj1
= 0 ;
25683 char *kwnames
[] = {
25684 (char *) "self",(char *) "effect", NULL
25687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25690 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25691 if (PyErr_Occurred()) SWIG_fail
;
25693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25694 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25696 wxPyEndAllowThreads(__tstate
);
25697 if (PyErr_Occurred()) SWIG_fail
;
25699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25706 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
25708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25709 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25711 return Py_BuildValue((char *)"");
25713 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25714 PyObject
*resultobj
;
25715 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25716 wxPyDropTarget
*result
;
25717 PyObject
* obj0
= 0 ;
25718 char *kwnames
[] = {
25719 (char *) "dataObject", NULL
25722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
25724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25725 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25729 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25731 wxPyEndAllowThreads(__tstate
);
25732 if (PyErr_Occurred()) SWIG_fail
;
25734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
25741 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25742 PyObject
*resultobj
;
25743 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25744 PyObject
*arg2
= (PyObject
*) 0 ;
25745 PyObject
*arg3
= (PyObject
*) 0 ;
25746 PyObject
* obj0
= 0 ;
25747 PyObject
* obj1
= 0 ;
25748 PyObject
* obj2
= 0 ;
25749 char *kwnames
[] = {
25750 (char *) "self",(char *) "self",(char *) "_class", NULL
25753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25760 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25762 wxPyEndAllowThreads(__tstate
);
25763 if (PyErr_Occurred()) SWIG_fail
;
25765 Py_INCREF(Py_None
); resultobj
= Py_None
;
25772 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25773 PyObject
*resultobj
;
25774 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25775 PyObject
* obj0
= 0 ;
25776 char *kwnames
[] = {
25777 (char *) "self", NULL
25780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
25781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25787 wxPyEndAllowThreads(__tstate
);
25788 if (PyErr_Occurred()) SWIG_fail
;
25790 Py_INCREF(Py_None
); resultobj
= Py_None
;
25797 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25798 PyObject
*resultobj
;
25799 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25800 wxDataObject
*result
;
25801 PyObject
* obj0
= 0 ;
25802 char *kwnames
[] = {
25803 (char *) "self", NULL
25806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
25807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25811 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25813 wxPyEndAllowThreads(__tstate
);
25814 if (PyErr_Occurred()) SWIG_fail
;
25816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25823 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25824 PyObject
*resultobj
;
25825 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25826 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
25827 PyObject
* obj0
= 0 ;
25828 PyObject
* obj1
= 0 ;
25829 char *kwnames
[] = {
25830 (char *) "self",(char *) "dataObject", NULL
25833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
25834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25837 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25840 (arg1
)->SetDataObject(arg2
);
25842 wxPyEndAllowThreads(__tstate
);
25843 if (PyErr_Occurred()) SWIG_fail
;
25845 Py_INCREF(Py_None
); resultobj
= Py_None
;
25852 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25853 PyObject
*resultobj
;
25854 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25859 PyObject
* obj0
= 0 ;
25860 PyObject
* obj1
= 0 ;
25861 PyObject
* obj2
= 0 ;
25862 PyObject
* obj3
= 0 ;
25863 char *kwnames
[] = {
25864 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25870 arg2
= (int) SWIG_AsInt(obj1
);
25871 if (PyErr_Occurred()) SWIG_fail
;
25872 arg3
= (int) SWIG_AsInt(obj2
);
25873 if (PyErr_Occurred()) SWIG_fail
;
25874 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
25875 if (PyErr_Occurred()) SWIG_fail
;
25877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25878 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
25880 wxPyEndAllowThreads(__tstate
);
25881 if (PyErr_Occurred()) SWIG_fail
;
25883 resultobj
= SWIG_FromInt((int)result
);
25890 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25891 PyObject
*resultobj
;
25892 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25897 PyObject
* obj0
= 0 ;
25898 PyObject
* obj1
= 0 ;
25899 PyObject
* obj2
= 0 ;
25900 PyObject
* obj3
= 0 ;
25901 char *kwnames
[] = {
25902 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25908 arg2
= (int) SWIG_AsInt(obj1
);
25909 if (PyErr_Occurred()) SWIG_fail
;
25910 arg3
= (int) SWIG_AsInt(obj2
);
25911 if (PyErr_Occurred()) SWIG_fail
;
25912 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
25913 if (PyErr_Occurred()) SWIG_fail
;
25915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25916 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
25918 wxPyEndAllowThreads(__tstate
);
25919 if (PyErr_Occurred()) SWIG_fail
;
25921 resultobj
= SWIG_FromInt((int)result
);
25928 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25929 PyObject
*resultobj
;
25930 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25931 PyObject
* obj0
= 0 ;
25932 char *kwnames
[] = {
25933 (char *) "self", NULL
25936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
25937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25941 (arg1
)->base_OnLeave();
25943 wxPyEndAllowThreads(__tstate
);
25944 if (PyErr_Occurred()) SWIG_fail
;
25946 Py_INCREF(Py_None
); resultobj
= Py_None
;
25953 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25954 PyObject
*resultobj
;
25955 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25959 PyObject
* obj0
= 0 ;
25960 PyObject
* obj1
= 0 ;
25961 PyObject
* obj2
= 0 ;
25962 char *kwnames
[] = {
25963 (char *) "self",(char *) "x",(char *) "y", NULL
25966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25969 arg2
= (int) SWIG_AsInt(obj1
);
25970 if (PyErr_Occurred()) SWIG_fail
;
25971 arg3
= (int) SWIG_AsInt(obj2
);
25972 if (PyErr_Occurred()) SWIG_fail
;
25974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25975 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
25977 wxPyEndAllowThreads(__tstate
);
25978 if (PyErr_Occurred()) SWIG_fail
;
25980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25987 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25988 PyObject
*resultobj
;
25989 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25991 PyObject
* obj0
= 0 ;
25992 char *kwnames
[] = {
25993 (char *) "self", NULL
25996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
25997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26001 result
= (bool)(arg1
)->GetData();
26003 wxPyEndAllowThreads(__tstate
);
26004 if (PyErr_Occurred()) SWIG_fail
;
26006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26013 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26015 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26016 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26018 return Py_BuildValue((char *)"");
26020 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26021 PyObject
*resultobj
;
26022 wxPyTextDropTarget
*result
;
26023 char *kwnames
[] = {
26027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26030 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26032 wxPyEndAllowThreads(__tstate
);
26033 if (PyErr_Occurred()) SWIG_fail
;
26035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26042 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26043 PyObject
*resultobj
;
26044 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26045 PyObject
*arg2
= (PyObject
*) 0 ;
26046 PyObject
*arg3
= (PyObject
*) 0 ;
26047 PyObject
* obj0
= 0 ;
26048 PyObject
* obj1
= 0 ;
26049 PyObject
* obj2
= 0 ;
26050 char *kwnames
[] = {
26051 (char *) "self",(char *) "self",(char *) "_class", NULL
26054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26061 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26063 wxPyEndAllowThreads(__tstate
);
26064 if (PyErr_Occurred()) SWIG_fail
;
26066 Py_INCREF(Py_None
); resultobj
= Py_None
;
26073 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26074 PyObject
*resultobj
;
26075 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26080 PyObject
* obj0
= 0 ;
26081 PyObject
* obj1
= 0 ;
26082 PyObject
* obj2
= 0 ;
26083 PyObject
* obj3
= 0 ;
26084 char *kwnames
[] = {
26085 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26091 arg2
= (int) SWIG_AsInt(obj1
);
26092 if (PyErr_Occurred()) SWIG_fail
;
26093 arg3
= (int) SWIG_AsInt(obj2
);
26094 if (PyErr_Occurred()) SWIG_fail
;
26095 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26096 if (PyErr_Occurred()) SWIG_fail
;
26098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26099 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26101 wxPyEndAllowThreads(__tstate
);
26102 if (PyErr_Occurred()) SWIG_fail
;
26104 resultobj
= SWIG_FromInt((int)result
);
26111 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26112 PyObject
*resultobj
;
26113 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26118 PyObject
* obj0
= 0 ;
26119 PyObject
* obj1
= 0 ;
26120 PyObject
* obj2
= 0 ;
26121 PyObject
* obj3
= 0 ;
26122 char *kwnames
[] = {
26123 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26129 arg2
= (int) SWIG_AsInt(obj1
);
26130 if (PyErr_Occurred()) SWIG_fail
;
26131 arg3
= (int) SWIG_AsInt(obj2
);
26132 if (PyErr_Occurred()) SWIG_fail
;
26133 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26134 if (PyErr_Occurred()) SWIG_fail
;
26136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26137 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26139 wxPyEndAllowThreads(__tstate
);
26140 if (PyErr_Occurred()) SWIG_fail
;
26142 resultobj
= SWIG_FromInt((int)result
);
26149 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26150 PyObject
*resultobj
;
26151 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26152 PyObject
* obj0
= 0 ;
26153 char *kwnames
[] = {
26154 (char *) "self", NULL
26157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26162 (arg1
)->base_OnLeave();
26164 wxPyEndAllowThreads(__tstate
);
26165 if (PyErr_Occurred()) SWIG_fail
;
26167 Py_INCREF(Py_None
); resultobj
= Py_None
;
26174 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26175 PyObject
*resultobj
;
26176 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26180 PyObject
* obj0
= 0 ;
26181 PyObject
* obj1
= 0 ;
26182 PyObject
* obj2
= 0 ;
26183 char *kwnames
[] = {
26184 (char *) "self",(char *) "x",(char *) "y", NULL
26187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26190 arg2
= (int) SWIG_AsInt(obj1
);
26191 if (PyErr_Occurred()) SWIG_fail
;
26192 arg3
= (int) SWIG_AsInt(obj2
);
26193 if (PyErr_Occurred()) SWIG_fail
;
26195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26196 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26198 wxPyEndAllowThreads(__tstate
);
26199 if (PyErr_Occurred()) SWIG_fail
;
26201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26208 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26209 PyObject
*resultobj
;
26210 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26215 PyObject
* obj0
= 0 ;
26216 PyObject
* obj1
= 0 ;
26217 PyObject
* obj2
= 0 ;
26218 PyObject
* obj3
= 0 ;
26219 char *kwnames
[] = {
26220 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26226 arg2
= (int) SWIG_AsInt(obj1
);
26227 if (PyErr_Occurred()) SWIG_fail
;
26228 arg3
= (int) SWIG_AsInt(obj2
);
26229 if (PyErr_Occurred()) SWIG_fail
;
26230 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26231 if (PyErr_Occurred()) SWIG_fail
;
26233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26234 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26236 wxPyEndAllowThreads(__tstate
);
26237 if (PyErr_Occurred()) SWIG_fail
;
26239 resultobj
= SWIG_FromInt((int)result
);
26246 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26249 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26251 return Py_BuildValue((char *)"");
26253 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26254 PyObject
*resultobj
;
26255 wxPyFileDropTarget
*result
;
26256 char *kwnames
[] = {
26260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26263 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26265 wxPyEndAllowThreads(__tstate
);
26266 if (PyErr_Occurred()) SWIG_fail
;
26268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26275 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26276 PyObject
*resultobj
;
26277 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26278 PyObject
*arg2
= (PyObject
*) 0 ;
26279 PyObject
*arg3
= (PyObject
*) 0 ;
26280 PyObject
* obj0
= 0 ;
26281 PyObject
* obj1
= 0 ;
26282 PyObject
* obj2
= 0 ;
26283 char *kwnames
[] = {
26284 (char *) "self",(char *) "self",(char *) "_class", NULL
26287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26294 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26296 wxPyEndAllowThreads(__tstate
);
26297 if (PyErr_Occurred()) SWIG_fail
;
26299 Py_INCREF(Py_None
); resultobj
= Py_None
;
26306 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26307 PyObject
*resultobj
;
26308 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26313 PyObject
* obj0
= 0 ;
26314 PyObject
* obj1
= 0 ;
26315 PyObject
* obj2
= 0 ;
26316 PyObject
* obj3
= 0 ;
26317 char *kwnames
[] = {
26318 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26324 arg2
= (int) SWIG_AsInt(obj1
);
26325 if (PyErr_Occurred()) SWIG_fail
;
26326 arg3
= (int) SWIG_AsInt(obj2
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26328 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26329 if (PyErr_Occurred()) SWIG_fail
;
26331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26332 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26334 wxPyEndAllowThreads(__tstate
);
26335 if (PyErr_Occurred()) SWIG_fail
;
26337 resultobj
= SWIG_FromInt((int)result
);
26344 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26345 PyObject
*resultobj
;
26346 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26351 PyObject
* obj0
= 0 ;
26352 PyObject
* obj1
= 0 ;
26353 PyObject
* obj2
= 0 ;
26354 PyObject
* obj3
= 0 ;
26355 char *kwnames
[] = {
26356 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26362 arg2
= (int) SWIG_AsInt(obj1
);
26363 if (PyErr_Occurred()) SWIG_fail
;
26364 arg3
= (int) SWIG_AsInt(obj2
);
26365 if (PyErr_Occurred()) SWIG_fail
;
26366 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26367 if (PyErr_Occurred()) SWIG_fail
;
26369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26370 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26372 wxPyEndAllowThreads(__tstate
);
26373 if (PyErr_Occurred()) SWIG_fail
;
26375 resultobj
= SWIG_FromInt((int)result
);
26382 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26383 PyObject
*resultobj
;
26384 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26385 PyObject
* obj0
= 0 ;
26386 char *kwnames
[] = {
26387 (char *) "self", NULL
26390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26395 (arg1
)->base_OnLeave();
26397 wxPyEndAllowThreads(__tstate
);
26398 if (PyErr_Occurred()) SWIG_fail
;
26400 Py_INCREF(Py_None
); resultobj
= Py_None
;
26407 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26408 PyObject
*resultobj
;
26409 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26413 PyObject
* obj0
= 0 ;
26414 PyObject
* obj1
= 0 ;
26415 PyObject
* obj2
= 0 ;
26416 char *kwnames
[] = {
26417 (char *) "self",(char *) "x",(char *) "y", NULL
26420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26423 arg2
= (int) SWIG_AsInt(obj1
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26425 arg3
= (int) SWIG_AsInt(obj2
);
26426 if (PyErr_Occurred()) SWIG_fail
;
26428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26429 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26431 wxPyEndAllowThreads(__tstate
);
26432 if (PyErr_Occurred()) SWIG_fail
;
26434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26441 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26442 PyObject
*resultobj
;
26443 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26448 PyObject
* obj0
= 0 ;
26449 PyObject
* obj1
= 0 ;
26450 PyObject
* obj2
= 0 ;
26451 PyObject
* obj3
= 0 ;
26452 char *kwnames
[] = {
26453 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26459 arg2
= (int) SWIG_AsInt(obj1
);
26460 if (PyErr_Occurred()) SWIG_fail
;
26461 arg3
= (int) SWIG_AsInt(obj2
);
26462 if (PyErr_Occurred()) SWIG_fail
;
26463 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26464 if (PyErr_Occurred()) SWIG_fail
;
26466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26467 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26469 wxPyEndAllowThreads(__tstate
);
26470 if (PyErr_Occurred()) SWIG_fail
;
26472 resultobj
= SWIG_FromInt((int)result
);
26479 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26481 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26482 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26484 return Py_BuildValue((char *)"");
26486 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26487 PyObject
*resultobj
;
26488 wxClipboard
*result
;
26489 char *kwnames
[] = {
26493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26496 result
= (wxClipboard
*)new wxClipboard();
26498 wxPyEndAllowThreads(__tstate
);
26499 if (PyErr_Occurred()) SWIG_fail
;
26501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26508 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26509 PyObject
*resultobj
;
26510 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26511 PyObject
* obj0
= 0 ;
26512 char *kwnames
[] = {
26513 (char *) "self", NULL
26516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26523 wxPyEndAllowThreads(__tstate
);
26524 if (PyErr_Occurred()) SWIG_fail
;
26526 Py_INCREF(Py_None
); resultobj
= Py_None
;
26533 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26534 PyObject
*resultobj
;
26535 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26537 PyObject
* obj0
= 0 ;
26538 char *kwnames
[] = {
26539 (char *) "self", NULL
26542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26547 result
= (bool)(arg1
)->Open();
26549 wxPyEndAllowThreads(__tstate
);
26550 if (PyErr_Occurred()) SWIG_fail
;
26552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26559 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26560 PyObject
*resultobj
;
26561 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26562 PyObject
* obj0
= 0 ;
26563 char *kwnames
[] = {
26564 (char *) "self", NULL
26567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26574 wxPyEndAllowThreads(__tstate
);
26575 if (PyErr_Occurred()) SWIG_fail
;
26577 Py_INCREF(Py_None
); resultobj
= Py_None
;
26584 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26585 PyObject
*resultobj
;
26586 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26588 PyObject
* obj0
= 0 ;
26589 char *kwnames
[] = {
26590 (char *) "self", NULL
26593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26598 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26600 wxPyEndAllowThreads(__tstate
);
26601 if (PyErr_Occurred()) SWIG_fail
;
26603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26610 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26611 PyObject
*resultobj
;
26612 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26613 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26615 PyObject
* obj0
= 0 ;
26616 PyObject
* obj1
= 0 ;
26617 char *kwnames
[] = {
26618 (char *) "self",(char *) "data", NULL
26621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26625 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26628 result
= (bool)(arg1
)->AddData(arg2
);
26630 wxPyEndAllowThreads(__tstate
);
26631 if (PyErr_Occurred()) SWIG_fail
;
26633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26640 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26641 PyObject
*resultobj
;
26642 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26643 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26645 PyObject
* obj0
= 0 ;
26646 PyObject
* obj1
= 0 ;
26647 char *kwnames
[] = {
26648 (char *) "self",(char *) "data", NULL
26651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26655 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26658 result
= (bool)(arg1
)->SetData(arg2
);
26660 wxPyEndAllowThreads(__tstate
);
26661 if (PyErr_Occurred()) SWIG_fail
;
26663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26670 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26671 PyObject
*resultobj
;
26672 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26673 wxDataFormat
*arg2
= 0 ;
26675 PyObject
* obj0
= 0 ;
26676 PyObject
* obj1
= 0 ;
26677 char *kwnames
[] = {
26678 (char *) "self",(char *) "format", NULL
26681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
26685 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26687 if (arg2
== NULL
) {
26688 PyErr_SetString(PyExc_TypeError
,"null reference");
26692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26693 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26695 wxPyEndAllowThreads(__tstate
);
26696 if (PyErr_Occurred()) SWIG_fail
;
26698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26705 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26706 PyObject
*resultobj
;
26707 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26708 wxDataObject
*arg2
= 0 ;
26710 PyObject
* obj0
= 0 ;
26711 PyObject
* obj1
= 0 ;
26712 char *kwnames
[] = {
26713 (char *) "self",(char *) "data", NULL
26716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26720 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26722 if (arg2
== NULL
) {
26723 PyErr_SetString(PyExc_TypeError
,"null reference");
26727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26728 result
= (bool)(arg1
)->GetData(*arg2
);
26730 wxPyEndAllowThreads(__tstate
);
26731 if (PyErr_Occurred()) SWIG_fail
;
26733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26740 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26741 PyObject
*resultobj
;
26742 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26743 PyObject
* obj0
= 0 ;
26744 char *kwnames
[] = {
26745 (char *) "self", NULL
26748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
26749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26755 wxPyEndAllowThreads(__tstate
);
26756 if (PyErr_Occurred()) SWIG_fail
;
26758 Py_INCREF(Py_None
); resultobj
= Py_None
;
26765 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26766 PyObject
*resultobj
;
26767 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26769 PyObject
* obj0
= 0 ;
26770 char *kwnames
[] = {
26771 (char *) "self", NULL
26774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
26775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26779 result
= (bool)(arg1
)->Flush();
26781 wxPyEndAllowThreads(__tstate
);
26782 if (PyErr_Occurred()) SWIG_fail
;
26784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26791 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26792 PyObject
*resultobj
;
26793 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26794 bool arg2
= (bool) True
;
26795 PyObject
* obj0
= 0 ;
26796 PyObject
* obj1
= 0 ;
26797 char *kwnames
[] = {
26798 (char *) "self",(char *) "primary", NULL
26801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26805 arg2
= (bool) SWIG_AsBool(obj1
);
26806 if (PyErr_Occurred()) SWIG_fail
;
26809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26810 (arg1
)->UsePrimarySelection(arg2
);
26812 wxPyEndAllowThreads(__tstate
);
26813 if (PyErr_Occurred()) SWIG_fail
;
26815 Py_INCREF(Py_None
); resultobj
= Py_None
;
26822 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
26824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26825 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
26827 return Py_BuildValue((char *)"");
26829 static int _wrap_TheClipboard_set(PyObject
*_val
) {
26830 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
26835 static PyObject
*_wrap_TheClipboard_get() {
26838 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
26843 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26844 PyObject
*resultobj
;
26845 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
26846 wxClipboardLocker
*result
;
26847 PyObject
* obj0
= 0 ;
26848 char *kwnames
[] = {
26849 (char *) "clipboard", NULL
26852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
26854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26859 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
26861 wxPyEndAllowThreads(__tstate
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
26871 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26872 PyObject
*resultobj
;
26873 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
26874 PyObject
* obj0
= 0 ;
26875 char *kwnames
[] = {
26876 (char *) "self", NULL
26879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
26880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
26881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26886 wxPyEndAllowThreads(__tstate
);
26887 if (PyErr_Occurred()) SWIG_fail
;
26889 Py_INCREF(Py_None
); resultobj
= Py_None
;
26896 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26897 PyObject
*resultobj
;
26898 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
26900 PyObject
* obj0
= 0 ;
26901 char *kwnames
[] = {
26902 (char *) "self", NULL
26905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
26906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
26907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26910 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
26912 wxPyEndAllowThreads(__tstate
);
26913 if (PyErr_Occurred()) SWIG_fail
;
26915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26922 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
26924 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26925 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
26927 return Py_BuildValue((char *)"");
26929 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26930 PyObject
*resultobj
;
26931 int arg1
= (int) 0 ;
26932 int arg2
= (int) 0 ;
26933 int arg3
= (int) 0 ;
26934 int arg4
= (int) 0 ;
26935 wxVideoMode
*result
;
26936 PyObject
* obj0
= 0 ;
26937 PyObject
* obj1
= 0 ;
26938 PyObject
* obj2
= 0 ;
26939 PyObject
* obj3
= 0 ;
26940 char *kwnames
[] = {
26941 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
26944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26946 arg1
= (int) SWIG_AsInt(obj0
);
26947 if (PyErr_Occurred()) SWIG_fail
;
26950 arg2
= (int) SWIG_AsInt(obj1
);
26951 if (PyErr_Occurred()) SWIG_fail
;
26954 arg3
= (int) SWIG_AsInt(obj2
);
26955 if (PyErr_Occurred()) SWIG_fail
;
26958 arg4
= (int) SWIG_AsInt(obj3
);
26959 if (PyErr_Occurred()) SWIG_fail
;
26962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26963 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
26965 wxPyEndAllowThreads(__tstate
);
26966 if (PyErr_Occurred()) SWIG_fail
;
26968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
26975 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26976 PyObject
*resultobj
;
26977 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
26978 PyObject
* obj0
= 0 ;
26979 char *kwnames
[] = {
26980 (char *) "self", NULL
26983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
26984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
26985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26990 wxPyEndAllowThreads(__tstate
);
26991 if (PyErr_Occurred()) SWIG_fail
;
26993 Py_INCREF(Py_None
); resultobj
= Py_None
;
27000 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27001 PyObject
*resultobj
;
27002 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27003 wxVideoMode
*arg2
= 0 ;
27005 PyObject
* obj0
= 0 ;
27006 PyObject
* obj1
= 0 ;
27007 char *kwnames
[] = {
27008 (char *) "self",(char *) "other", NULL
27011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27015 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27017 if (arg2
== NULL
) {
27018 PyErr_SetString(PyExc_TypeError
,"null reference");
27022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27023 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27025 wxPyEndAllowThreads(__tstate
);
27026 if (PyErr_Occurred()) SWIG_fail
;
27028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27035 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27036 PyObject
*resultobj
;
27037 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27039 PyObject
* obj0
= 0 ;
27040 char *kwnames
[] = {
27041 (char *) "self", NULL
27044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27049 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27051 wxPyEndAllowThreads(__tstate
);
27052 if (PyErr_Occurred()) SWIG_fail
;
27054 resultobj
= SWIG_FromInt((int)result
);
27061 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27062 PyObject
*resultobj
;
27063 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27065 PyObject
* obj0
= 0 ;
27066 char *kwnames
[] = {
27067 (char *) "self", NULL
27070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27075 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27077 wxPyEndAllowThreads(__tstate
);
27078 if (PyErr_Occurred()) SWIG_fail
;
27080 resultobj
= SWIG_FromInt((int)result
);
27087 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27088 PyObject
*resultobj
;
27089 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27091 PyObject
* obj0
= 0 ;
27092 char *kwnames
[] = {
27093 (char *) "self", NULL
27096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27101 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27103 wxPyEndAllowThreads(__tstate
);
27104 if (PyErr_Occurred()) SWIG_fail
;
27106 resultobj
= SWIG_FromInt((int)result
);
27113 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27114 PyObject
*resultobj
;
27115 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27117 PyObject
* obj0
= 0 ;
27118 char *kwnames
[] = {
27119 (char *) "self", NULL
27122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27127 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27129 wxPyEndAllowThreads(__tstate
);
27130 if (PyErr_Occurred()) SWIG_fail
;
27132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27139 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27140 PyObject
*resultobj
;
27141 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27142 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27144 PyObject
* obj0
= 0 ;
27145 PyObject
* obj1
= 0 ;
27146 char *kwnames
[] = {
27147 (char *) "self",(char *) "other", NULL
27150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27157 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27159 wxPyEndAllowThreads(__tstate
);
27160 if (PyErr_Occurred()) SWIG_fail
;
27162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27169 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27170 PyObject
*resultobj
;
27171 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27172 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27174 PyObject
* obj0
= 0 ;
27175 PyObject
* obj1
= 0 ;
27176 char *kwnames
[] = {
27177 (char *) "self",(char *) "other", NULL
27180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27183 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27187 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27189 wxPyEndAllowThreads(__tstate
);
27190 if (PyErr_Occurred()) SWIG_fail
;
27192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27199 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27200 PyObject
*resultobj
;
27201 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27203 PyObject
* obj0
= 0 ;
27204 PyObject
* obj1
= 0 ;
27205 char *kwnames
[] = {
27206 (char *) "self",(char *) "w", NULL
27209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27212 arg2
= (int) SWIG_AsInt(obj1
);
27213 if (PyErr_Occurred()) SWIG_fail
;
27214 if (arg1
) (arg1
)->w
= arg2
;
27216 Py_INCREF(Py_None
); resultobj
= Py_None
;
27223 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27224 PyObject
*resultobj
;
27225 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27227 PyObject
* obj0
= 0 ;
27228 char *kwnames
[] = {
27229 (char *) "self", NULL
27232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27235 result
= (int) ((arg1
)->w
);
27237 resultobj
= SWIG_FromInt((int)result
);
27244 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27245 PyObject
*resultobj
;
27246 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27248 PyObject
* obj0
= 0 ;
27249 PyObject
* obj1
= 0 ;
27250 char *kwnames
[] = {
27251 (char *) "self",(char *) "h", NULL
27254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27257 arg2
= (int) SWIG_AsInt(obj1
);
27258 if (PyErr_Occurred()) SWIG_fail
;
27259 if (arg1
) (arg1
)->h
= arg2
;
27261 Py_INCREF(Py_None
); resultobj
= Py_None
;
27268 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27269 PyObject
*resultobj
;
27270 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27272 PyObject
* obj0
= 0 ;
27273 char *kwnames
[] = {
27274 (char *) "self", NULL
27277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27280 result
= (int) ((arg1
)->h
);
27282 resultobj
= SWIG_FromInt((int)result
);
27289 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27290 PyObject
*resultobj
;
27291 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27293 PyObject
* obj0
= 0 ;
27294 PyObject
* obj1
= 0 ;
27295 char *kwnames
[] = {
27296 (char *) "self",(char *) "bpp", NULL
27299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27302 arg2
= (int) SWIG_AsInt(obj1
);
27303 if (PyErr_Occurred()) SWIG_fail
;
27304 if (arg1
) (arg1
)->bpp
= arg2
;
27306 Py_INCREF(Py_None
); resultobj
= Py_None
;
27313 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27314 PyObject
*resultobj
;
27315 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27317 PyObject
* obj0
= 0 ;
27318 char *kwnames
[] = {
27319 (char *) "self", NULL
27322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27325 result
= (int) ((arg1
)->bpp
);
27327 resultobj
= SWIG_FromInt((int)result
);
27334 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27335 PyObject
*resultobj
;
27336 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27338 PyObject
* obj0
= 0 ;
27339 PyObject
* obj1
= 0 ;
27340 char *kwnames
[] = {
27341 (char *) "self",(char *) "refresh", NULL
27344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27347 arg2
= (int) SWIG_AsInt(obj1
);
27348 if (PyErr_Occurred()) SWIG_fail
;
27349 if (arg1
) (arg1
)->refresh
= arg2
;
27351 Py_INCREF(Py_None
); resultobj
= Py_None
;
27358 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27359 PyObject
*resultobj
;
27360 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27362 PyObject
* obj0
= 0 ;
27363 char *kwnames
[] = {
27364 (char *) "self", NULL
27367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27370 result
= (int) ((arg1
)->refresh
);
27372 resultobj
= SWIG_FromInt((int)result
);
27379 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27382 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27384 return Py_BuildValue((char *)"");
27386 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27387 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27392 static PyObject
*_wrap_DefaultVideoMode_get() {
27395 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27400 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27401 PyObject
*resultobj
;
27402 size_t arg1
= (size_t) 0 ;
27404 PyObject
* obj0
= 0 ;
27405 char *kwnames
[] = {
27406 (char *) "index", NULL
27409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27411 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27416 result
= (wxDisplay
*)new wxDisplay(arg1
);
27418 wxPyEndAllowThreads(__tstate
);
27419 if (PyErr_Occurred()) SWIG_fail
;
27421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27428 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27429 PyObject
*resultobj
;
27430 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27431 PyObject
* obj0
= 0 ;
27432 char *kwnames
[] = {
27433 (char *) "self", NULL
27436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27443 wxPyEndAllowThreads(__tstate
);
27444 if (PyErr_Occurred()) SWIG_fail
;
27446 Py_INCREF(Py_None
); resultobj
= Py_None
;
27453 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27454 PyObject
*resultobj
;
27456 char *kwnames
[] = {
27460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27463 result
= (size_t)wxDisplay::GetCount();
27465 wxPyEndAllowThreads(__tstate
);
27466 if (PyErr_Occurred()) SWIG_fail
;
27468 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27475 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27476 PyObject
*resultobj
;
27477 wxPoint
*arg1
= 0 ;
27480 PyObject
* obj0
= 0 ;
27481 char *kwnames
[] = {
27482 (char *) "pt", NULL
27485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27488 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27492 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27494 wxPyEndAllowThreads(__tstate
);
27495 if (PyErr_Occurred()) SWIG_fail
;
27497 resultobj
= SWIG_FromInt((int)result
);
27504 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27505 PyObject
*resultobj
;
27506 wxWindow
*arg1
= (wxWindow
*) 0 ;
27508 PyObject
* obj0
= 0 ;
27509 char *kwnames
[] = {
27510 (char *) "window", NULL
27513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27518 result
= (int)wxDisplay::GetFromWindow(arg1
);
27520 wxPyEndAllowThreads(__tstate
);
27521 if (PyErr_Occurred()) SWIG_fail
;
27523 resultobj
= SWIG_FromInt((int)result
);
27530 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27531 PyObject
*resultobj
;
27532 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27534 PyObject
* obj0
= 0 ;
27535 char *kwnames
[] = {
27536 (char *) "self", NULL
27539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27544 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27546 wxPyEndAllowThreads(__tstate
);
27547 if (PyErr_Occurred()) SWIG_fail
;
27549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27556 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27557 PyObject
*resultobj
;
27558 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27560 PyObject
* obj0
= 0 ;
27561 char *kwnames
[] = {
27562 (char *) "self", NULL
27565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
27566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27570 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
27572 wxPyEndAllowThreads(__tstate
);
27573 if (PyErr_Occurred()) SWIG_fail
;
27576 wxRect
* resultptr
;
27577 resultptr
= new wxRect((wxRect
&) result
);
27578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
27586 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27587 PyObject
*resultobj
;
27588 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27590 PyObject
* obj0
= 0 ;
27591 char *kwnames
[] = {
27592 (char *) "self", NULL
27595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
27596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27600 result
= ((wxDisplay
const *)arg1
)->GetName();
27602 wxPyEndAllowThreads(__tstate
);
27603 if (PyErr_Occurred()) SWIG_fail
;
27607 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27609 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27618 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27619 PyObject
*resultobj
;
27620 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27622 PyObject
* obj0
= 0 ;
27623 char *kwnames
[] = {
27624 (char *) "self", NULL
27627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
27628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27632 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
27634 wxPyEndAllowThreads(__tstate
);
27635 if (PyErr_Occurred()) SWIG_fail
;
27637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27644 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27645 PyObject
*resultobj
;
27646 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27647 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27648 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27650 PyObject
* obj0
= 0 ;
27651 PyObject
* obj1
= 0 ;
27652 char *kwnames
[] = {
27653 (char *) "self",(char *) "mode", NULL
27656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
27657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27661 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27663 if (arg2
== NULL
) {
27664 PyErr_SetString(PyExc_TypeError
,"null reference");
27669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27670 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
27672 wxPyEndAllowThreads(__tstate
);
27673 if (PyErr_Occurred()) SWIG_fail
;
27675 resultobj
= result
;
27682 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27683 PyObject
*resultobj
;
27684 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27685 wxVideoMode result
;
27686 PyObject
* obj0
= 0 ;
27687 char *kwnames
[] = {
27688 (char *) "self", NULL
27691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
27692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27696 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
27698 wxPyEndAllowThreads(__tstate
);
27699 if (PyErr_Occurred()) SWIG_fail
;
27702 wxVideoMode
* resultptr
;
27703 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
27704 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
27712 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27713 PyObject
*resultobj
;
27714 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27715 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27716 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27718 PyObject
* obj0
= 0 ;
27719 PyObject
* obj1
= 0 ;
27720 char *kwnames
[] = {
27721 (char *) "self",(char *) "mode", NULL
27724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
27725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27729 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27731 if (arg2
== NULL
) {
27732 PyErr_SetString(PyExc_TypeError
,"null reference");
27737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27738 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
27740 wxPyEndAllowThreads(__tstate
);
27741 if (PyErr_Occurred()) SWIG_fail
;
27743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27750 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27751 PyObject
*resultobj
;
27752 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27753 PyObject
* obj0
= 0 ;
27754 char *kwnames
[] = {
27755 (char *) "self", NULL
27758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
27759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27763 (arg1
)->ResetMode();
27765 wxPyEndAllowThreads(__tstate
);
27766 if (PyErr_Occurred()) SWIG_fail
;
27768 Py_INCREF(Py_None
); resultobj
= Py_None
;
27775 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
27777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27778 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
27780 return Py_BuildValue((char *)"");
27782 static PyMethodDef SwigMethods
[] = {
27783 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
27784 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
27785 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
27786 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
27787 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
27788 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
27789 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
27790 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
27791 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
27792 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
27793 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
27794 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
27795 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
27796 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
27797 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
27798 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
27799 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
27800 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
27801 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
27802 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
27803 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
27804 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
27805 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
27806 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
27807 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
27808 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
27809 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
27810 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
27811 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
27812 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
27813 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
27814 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
27815 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
27816 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
27817 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
27818 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
27819 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
27820 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
27821 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
27822 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
27823 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
27824 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
27825 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
27826 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
27827 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
27828 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
27829 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
27830 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
27831 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
27832 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
27833 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
27834 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
27835 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
27836 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
27837 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
27838 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
27839 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
27840 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
27841 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
27842 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
27843 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
27844 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
27845 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
27846 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
27847 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
27848 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
27849 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
27850 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
27851 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
27852 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
27853 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
27854 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
27855 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
27856 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
27857 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
27858 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
27859 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
27860 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
27861 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
27862 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
27863 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
27864 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
27865 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
27866 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
27867 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
27868 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
27869 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27870 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
27871 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
27872 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
27873 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
27874 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
27875 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
27876 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
27877 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
27878 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
27879 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
27880 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
27881 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
27882 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
27883 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
27884 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
27885 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
27886 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
27887 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
27888 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
27889 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
27890 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
27891 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
27892 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
27893 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
27894 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
27895 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
27896 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
27897 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
27898 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
27899 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
27900 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
27901 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
27902 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
27903 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
27904 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
27905 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
27906 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
27907 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
27908 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
27909 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
27910 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
27911 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
27912 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
27913 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
27914 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
27915 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
27916 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
27917 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
27918 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
27919 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
27920 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
27921 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
27922 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
27923 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
27924 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
27925 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27926 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
27927 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
27928 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
27929 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
27930 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
27931 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27932 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
27933 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
27934 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
27935 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
27936 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
27937 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
27938 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27939 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
27940 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
27941 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
27942 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
27943 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
27944 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
27945 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
27946 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
27947 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
27948 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
27949 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
27950 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
27951 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
27952 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
27953 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
27954 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
27955 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
27956 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
27957 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
27958 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
27959 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
27960 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
27961 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
27962 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
27963 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
27964 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
27965 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
27966 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
27967 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
27968 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
27969 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
27970 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
27971 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
27972 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27973 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
27974 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
27975 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
27976 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27977 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
27978 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
27979 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
27980 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
27981 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
27982 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
27983 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
27984 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
27985 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
27986 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
27987 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
27988 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
27989 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
27990 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
27991 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
27992 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
27993 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
27994 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
27995 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
27996 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
27997 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
27998 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
27999 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28000 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28001 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28002 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28003 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28004 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28005 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28006 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28007 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28008 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28009 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28010 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28011 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28012 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28013 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28014 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28015 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28016 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28017 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28018 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28019 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28020 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28021 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28022 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28023 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28024 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28025 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28026 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28027 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28028 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28029 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28030 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28031 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28032 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28033 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28034 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28035 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28036 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28037 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28038 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28039 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28040 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28041 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28042 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28043 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28044 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28045 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28046 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28047 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28048 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28049 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28050 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28051 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28052 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28053 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28054 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28055 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28056 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28057 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28058 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28059 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28060 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28061 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28062 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28063 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28064 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28065 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28066 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28067 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28068 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28069 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28070 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28071 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28072 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28073 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28074 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28075 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28076 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28077 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28078 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28079 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28080 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28081 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28082 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28083 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28084 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28085 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28086 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28087 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28088 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28089 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28090 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28091 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28092 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28093 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28094 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28095 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28096 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28097 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28098 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28099 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28100 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28101 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28102 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28103 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28104 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28105 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28106 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28107 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28108 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28109 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28110 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28111 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28112 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28113 { (char *)"new_Sound", _wrap_new_Sound
, METH_VARARGS
},
28114 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28115 { (char *)"Sound_Create", _wrap_Sound_Create
, METH_VARARGS
},
28116 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28117 { (char *)"Sound_Play", _wrap_Sound_Play
, METH_VARARGS
},
28118 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound
, METH_VARARGS
},
28119 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28120 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28121 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28122 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28123 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28124 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28125 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28126 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28127 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28128 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28129 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28130 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28131 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28132 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28133 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28134 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28135 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28136 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28137 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28138 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28139 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28140 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28141 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28142 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28143 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28144 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28145 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28146 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28147 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28148 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28149 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28150 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28151 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28152 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28153 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28154 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28155 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28156 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28157 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28158 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28159 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28160 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28161 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28162 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28163 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28164 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28165 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28166 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28167 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28168 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28169 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28170 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28171 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28172 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28173 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28174 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28175 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28176 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28177 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28178 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28179 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28180 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28181 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28182 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28183 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28184 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28185 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28186 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28187 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28188 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28189 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28190 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28191 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28192 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28193 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28194 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28195 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28196 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28197 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28198 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28199 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28200 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28201 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28202 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28203 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28204 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28205 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28206 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28207 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28208 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28209 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28210 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28211 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28212 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28213 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28214 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28215 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28216 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28217 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28218 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28219 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28220 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28221 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28222 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28223 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28224 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28225 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28226 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28227 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28228 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28229 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28230 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28231 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28232 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28233 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28234 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28235 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28236 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28237 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28238 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28239 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28240 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28241 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28242 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28243 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28244 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28245 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28246 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28247 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28248 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28249 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28250 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28251 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28252 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28253 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28254 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28255 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28256 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28257 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28258 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28259 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28260 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28261 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28262 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28263 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28264 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28265 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28266 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28267 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28268 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28269 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28270 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28271 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28272 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28273 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28274 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28275 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28276 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28277 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28278 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28279 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28280 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28281 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28283 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28284 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28285 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28286 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28287 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28289 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28290 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28291 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28292 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28293 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28294 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28295 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28296 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28297 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28298 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28299 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28300 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28301 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28305 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28309 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28310 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28315 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28317 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28320 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28321 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28322 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28323 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28324 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28325 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28326 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28327 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28328 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28329 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28330 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28332 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28334 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28337 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28339 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28341 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28342 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28344 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28345 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28346 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28347 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28349 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28351 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28352 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28354 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28355 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28356 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28357 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28372 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28375 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28378 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28385 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28386 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28387 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28389 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28397 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28398 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28399 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28400 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28402 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28403 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28405 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28411 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28420 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28422 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28428 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28429 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28434 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28438 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28443 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28447 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28450 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28453 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28454 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28458 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28460 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28461 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28464 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28465 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28468 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28472 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28478 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28482 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28486 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28496 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
28507 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28513 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
28515 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28522 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
28523 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28525 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
28526 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
28529 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28532 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
28536 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
28540 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
28557 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
28558 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
28559 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
28565 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
28576 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28578 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28579 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28581 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28582 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28584 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28585 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28587 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28588 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28590 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28591 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28593 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28594 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28596 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
28597 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
28599 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28600 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28602 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28603 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28605 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28606 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28608 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28609 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28611 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
28612 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
28614 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28615 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28617 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28618 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28620 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28621 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28623 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28624 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28626 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28627 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28629 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28630 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28632 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28633 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28635 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28636 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28638 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28639 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28641 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28642 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28644 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28645 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28647 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28648 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28650 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28651 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28653 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28654 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28656 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28657 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28659 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28660 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28662 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28663 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28665 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28666 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28668 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
28669 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
28671 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28672 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28674 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28675 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28677 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28678 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28680 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28681 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28683 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28684 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28686 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28687 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28689 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28690 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28692 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
28693 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
28695 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
28696 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
28698 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
28699 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28701 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
28702 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28704 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
28705 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
28707 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
28708 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28710 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
28711 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
28713 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
28714 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
28716 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
28717 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28719 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
28720 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
28722 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
28723 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28725 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
28726 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
28728 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
28729 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
28731 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
28732 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
28734 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
28735 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
28737 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
28738 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
28740 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
28741 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28743 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
28744 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
28746 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
28747 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28749 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
28750 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
28752 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
28753 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28755 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
28756 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
28758 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
28759 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
28761 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
28762 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
28764 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28765 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28767 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28768 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28770 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28771 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28773 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28774 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28776 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
28777 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
28779 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28780 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28782 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28783 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28785 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28786 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28788 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28789 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28791 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
28792 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
28794 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
28795 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
28797 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28798 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28800 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28801 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28803 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28804 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28806 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28807 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28809 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28810 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28812 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28813 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28815 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28816 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28818 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28819 return (void *)((wxObject
*) ((wxSizer
*) x
));
28821 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28822 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28824 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
28825 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
28827 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28828 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28830 static void *_p_wxEventTo_p_wxObject(void *x
) {
28831 return (void *)((wxObject
*) ((wxEvent
*) x
));
28833 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28834 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28836 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28837 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28839 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28840 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28842 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28843 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28845 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28846 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28848 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28849 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28851 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28852 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28854 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28855 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28857 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28858 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28860 static void *_p_wxControlTo_p_wxObject(void *x
) {
28861 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28863 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28864 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28866 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
28867 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
28869 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28870 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28872 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
28873 return (void *)((wxObject
*) ((wxClipboard
*) x
));
28875 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28876 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28878 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28879 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28881 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28882 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28884 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28885 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28887 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
28888 return (void *)((wxObject
*) ((wxToolTip
*) x
));
28890 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28891 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28893 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28894 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28896 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28897 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28899 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28900 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28902 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28903 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28905 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28906 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28908 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28909 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28911 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28912 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28914 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28915 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28917 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28918 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28920 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28921 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28923 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28924 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28926 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28927 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28929 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28930 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28932 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28933 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28935 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28936 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28938 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28939 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28941 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28942 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28944 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28945 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28947 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28948 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28950 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28951 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28953 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28954 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28956 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28957 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28959 static void *_p_wxImageTo_p_wxObject(void *x
) {
28960 return (void *)((wxObject
*) ((wxImage
*) x
));
28962 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28963 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28965 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
28966 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
28968 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
28969 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
28971 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28972 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28974 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28975 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28977 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28978 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28980 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28981 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28983 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28984 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28986 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28987 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28989 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
28990 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
28992 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28993 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28995 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28996 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28998 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28999 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29001 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29002 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29004 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29005 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29007 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29008 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29010 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29011 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29013 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29014 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29016 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29017 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29019 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29020 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29022 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29023 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29025 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29026 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29028 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29029 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29031 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29032 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29034 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29035 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29037 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29038 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29040 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29041 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29043 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29044 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29046 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29047 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29049 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29050 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29052 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29053 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29055 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29056 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29058 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29059 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29061 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29062 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29064 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29065 return (void *)((wxWindow
*) ((wxControl
*) x
));
29067 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29068 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29070 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29071 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29073 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29074 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29076 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29077 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29079 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}};
29080 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}};
29081 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}};
29082 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}};
29083 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}};
29084 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}};
29085 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}};
29086 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}};
29087 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}};
29088 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}};
29089 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}};
29090 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}};
29091 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}};
29092 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}};
29093 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}};
29094 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}};
29095 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}};
29096 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}};
29097 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}};
29098 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}};
29099 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}};
29100 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}};
29101 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}};
29102 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}};
29103 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}};
29104 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}};
29105 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}};
29106 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}};
29107 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}};
29108 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}};
29109 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}};
29110 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}};
29111 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}};
29112 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}};
29113 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}};
29114 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}};
29115 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}};
29116 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}};
29117 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}};
29118 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}};
29119 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}};
29120 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}};
29121 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}};
29122 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}};
29123 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}};
29124 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}};
29125 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}};
29126 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}};
29127 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}};
29128 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}};
29129 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}};
29130 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}};
29131 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}};
29132 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}};
29133 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}};
29134 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}};
29135 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}};
29136 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}};
29137 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}};
29138 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}};
29139 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}};
29140 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}};
29141 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}};
29142 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}};
29143 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}};
29144 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}};
29145 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}};
29146 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}};
29147 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}};
29148 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}};
29149 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}};
29150 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}};
29151 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}};
29152 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}};
29153 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}};
29154 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}};
29155 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}};
29156 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}};
29157 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}};
29158 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}};
29159 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}};
29160 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}};
29161 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}};
29162 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}};
29163 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}};
29164 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}};
29165 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}};
29167 static swig_type_info
*swig_types_initial
[] = {
29168 _swigt__p_wxLogChain
,
29169 _swigt__p_wxMutexGuiLocker
,
29170 _swigt__p_wxMetafile
,
29171 _swigt__p_wxFileHistory
,
29173 _swigt__p_wxDateTime__TimeZone
,
29176 _swigt__p_wxConfigBase
,
29177 _swigt__p_wxDisplay
,
29178 _swigt__p_wxFileType
,
29179 _swigt__p_wxLogGui
,
29181 _swigt__p_wxDataFormat
,
29182 _swigt__p_wxTimerEvent
,
29186 _swigt__p_wxClipboard
,
29187 _swigt__p_wxStopWatch
,
29189 _swigt__p_wxClipboardLocker
,
29191 _swigt__p_wxLogStderr
,
29192 _swigt__p_wxLogTextCtrl
,
29193 _swigt__p_wxTextCtrl
,
29194 _swigt__p_wxBusyCursor
,
29195 _swigt__p_wxPyTextDataObject
,
29196 _swigt__p_wxBitmapDataObject
,
29197 _swigt__p_wxTextDataObject
,
29198 _swigt__p_wxDataObject
,
29199 _swigt__p_wxPyBitmapDataObject
,
29200 _swigt__p_wxFileDataObject
,
29201 _swigt__p_wxCustomDataObject
,
29202 _swigt__p_wxURLDataObject
,
29203 _swigt__p_wxMetafileDataObject
,
29205 _swigt__p_wxTimerRunner
,
29206 _swigt__p_wxLogWindow
,
29207 _swigt__p_wxTimeSpan
,
29208 _swigt__p_wxArrayString
,
29209 _swigt__p_wxWindowDisabler
,
29210 _swigt__p_wxToolTip
,
29211 _swigt__p_wxDataObjectComposite
,
29212 _swigt__p_wxFileConfig
,
29213 _swigt__p_wxSystemSettings
,
29214 _swigt__p_wxVideoMode
,
29215 _swigt__p_wxPyDataObjectSimple
,
29216 _swigt__p_wxDataObjectSimple
,
29217 _swigt__p_wxEvtHandler
,
29220 _swigt__p_wxSingleInstanceChecker
,
29221 _swigt__p_wxFileTypeInfo
,
29224 _swigt__p_wxMimeTypesManager
,
29225 _swigt__p_wxPyArtProvider
,
29226 _swigt__p_wxPyTipProvider
,
29227 _swigt__p_wxTipProvider
,
29228 _swigt__p_wxJoystick
,
29229 _swigt__p_wxSystemOptions
,
29231 _swigt__p_wxJoystickEvent
,
29232 _swigt__p_wxCursor
,
29233 _swigt__p_wxObject
,
29234 _swigt__p_wxOutputStream
,
29235 _swigt__p_wxDateTime
,
29236 _swigt__p_wxPyDropSource
,
29237 _swigt__p_wxWindow
,
29238 _swigt__p_wxString
,
29239 _swigt__p_wxPyProcess
,
29240 _swigt__p_wxBitmap
,
29241 _swigt__p_wxConfig
,
29243 _swigt__p_wxBusyInfo
,
29244 _swigt__p_wxPyDropTarget
,
29245 _swigt__p_wxPyTextDropTarget
,
29246 _swigt__p_wxPyFileDropTarget
,
29247 _swigt__p_wxProcessEvent
,
29249 _swigt__p_wxLogNull
,
29250 _swigt__p_wxColour
,
29252 _swigt__p_wxConfigPathChanger
,
29253 _swigt__p_wxPyTimer
,
29254 _swigt__p_wxDateSpan
,
29259 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29261 static swig_const_info swig_const_table
[] = {
29262 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29263 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29264 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29265 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29266 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29276 SWIGEXPORT(void) SWIG_init(void) {
29277 static PyObject
*SWIG_globals
= 0;
29278 static int typeinit
= 0;
29281 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29282 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29283 d
= PyModule_GetDict(m
);
29286 for (i
= 0; swig_types_initial
[i
]; i
++) {
29287 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29291 SWIG_InstallConstants(d
,swig_const_table
);
29293 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29294 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29295 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29296 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29297 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29298 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29299 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29300 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29301 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29302 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29303 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29304 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29305 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29306 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29307 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29308 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29309 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29310 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29311 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29312 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29313 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29314 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29315 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29316 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29317 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29318 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29319 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29320 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29321 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29322 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29323 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29324 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29325 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29326 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29327 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29328 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29329 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29330 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29331 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29332 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29333 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29334 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29335 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29336 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29337 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29338 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29339 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29340 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29341 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29342 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29343 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29344 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29345 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29346 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29347 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29348 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29349 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29350 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29351 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29352 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29353 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29354 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29355 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29356 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29357 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29358 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29359 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29360 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29361 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29362 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29363 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29364 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29365 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29366 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29367 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29368 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29369 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29370 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29371 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29372 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29373 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29374 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29375 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29376 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29377 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29378 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29379 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29380 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29381 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29382 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29383 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29384 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29385 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29386 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29387 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29388 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29389 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29390 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29391 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29392 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29393 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29394 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29395 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29396 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29397 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29398 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29399 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29400 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29401 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29402 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29403 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29404 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29405 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29406 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29407 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29408 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29409 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29410 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29411 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29412 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29413 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29414 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29415 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29416 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29417 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29418 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29419 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29420 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29421 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29422 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29423 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29424 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29425 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29426 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29427 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29428 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29429 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29430 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29431 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29432 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29433 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29434 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29435 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29436 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29437 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29438 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29439 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29440 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29441 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29442 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29444 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29446 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29447 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29448 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29449 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29450 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29451 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29452 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29453 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29454 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29455 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29456 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29457 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29458 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29459 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29460 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29461 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29462 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29463 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29464 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29465 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29466 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29467 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29468 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29469 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29470 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29471 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29472 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29473 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29474 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29475 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29476 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29477 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29478 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29479 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29480 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29481 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29482 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29483 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29484 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29485 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29486 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29487 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29488 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29489 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29490 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29491 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29492 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29493 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29494 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29495 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29496 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29497 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29498 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29499 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29500 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29501 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29502 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29503 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29505 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29507 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29508 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29509 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29510 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29511 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29512 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29513 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29514 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29515 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29516 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29517 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29518 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29519 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29520 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29521 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29522 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29523 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29524 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29525 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29526 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29527 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29528 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29529 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29530 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29531 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29532 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29533 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29534 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29535 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29536 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29537 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29538 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29539 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29540 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
29541 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
29542 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
29543 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
29544 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
29545 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
29546 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
29547 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
29548 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
29549 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
29550 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
29551 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
29552 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
29553 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
29554 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
29555 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
29556 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
29557 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
29558 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
29559 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
29560 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
29561 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
29562 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
29563 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
29564 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
29565 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
29566 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
29567 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
29568 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
29569 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
29570 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
29571 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
29572 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
29573 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
29574 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
29575 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
29576 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
29577 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
29578 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
29579 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
29580 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
29581 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
29582 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
29583 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
29584 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
29585 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
29586 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
29587 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
29588 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
29589 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
29590 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
29591 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
29592 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
29593 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
29594 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
29595 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
29596 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
29597 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
29598 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
29599 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
29600 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
29601 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
29602 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
29603 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
29604 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
29605 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
29606 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
29607 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
29608 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
29609 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
29610 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
29611 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
29612 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
29613 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
29614 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
29615 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
29616 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
29617 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
29618 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
29619 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
29620 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
29621 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
29622 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
29623 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
29624 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
29625 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
29626 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
29627 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
29628 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
29629 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
29630 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
29631 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
29632 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
29633 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
29634 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
29635 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
29636 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
29637 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
29638 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
29639 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
29640 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
29641 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
29642 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
29643 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
29644 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
29645 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
29646 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
29647 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
29648 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
29649 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
29650 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
29651 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
29652 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
29653 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
29654 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
29655 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
29656 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
29657 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
29658 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
29659 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
29660 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
29661 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
29662 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
29663 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
29664 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
29665 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
29666 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
29667 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
29668 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
29669 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
29670 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
29671 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
29672 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
29673 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
29674 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
29675 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
29676 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
29677 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
29678 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
29679 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
29680 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
29681 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
29682 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
29683 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
29684 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
29685 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
29686 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
29687 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
29688 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
29689 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
29690 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
29691 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
29692 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
29693 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
29694 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
29695 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
29696 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
29697 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
29698 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
29699 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
29700 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
29701 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
29702 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
29703 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
29704 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
29705 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
29706 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
29708 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
29709 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
29710 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
29711 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
29713 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);
29714 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);