1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLogChain swig_types[0]
210 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
211 #define SWIGTYPE_p_wxMetafile swig_types[2]
212 #define SWIGTYPE_p_wxFileHistory swig_types[3]
213 #define SWIGTYPE_p_wxLog swig_types[4]
214 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
215 #define SWIGTYPE_p_wxMenu swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxConfigBase swig_types[8]
218 #define SWIGTYPE_p_wxDisplay swig_types[9]
219 #define SWIGTYPE_p_wxFileType swig_types[10]
220 #define SWIGTYPE_p_wxLogGui swig_types[11]
221 #define SWIGTYPE_p_wxFont swig_types[12]
222 #define SWIGTYPE_p_wxDataFormat swig_types[13]
223 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
224 #define SWIGTYPE_p_wxCaret swig_types[15]
225 #define SWIGTYPE_p_int swig_types[16]
226 #define SWIGTYPE_p_wxSize swig_types[17]
227 #define SWIGTYPE_p_wxClipboard swig_types[18]
228 #define SWIGTYPE_p_wxStopWatch swig_types[19]
229 #define SWIGTYPE_p_wxDC swig_types[20]
230 #define SWIGTYPE_p_wxClipboardLocker swig_types[21]
231 #define SWIGTYPE_p_wxIcon swig_types[22]
232 #define SWIGTYPE_p_wxLogStderr swig_types[23]
233 #define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
234 #define SWIGTYPE_p_wxTextCtrl swig_types[25]
235 #define SWIGTYPE_p_wxBusyCursor swig_types[26]
236 #define SWIGTYPE_p_wxPyTextDataObject swig_types[27]
237 #define SWIGTYPE_p_wxBitmapDataObject swig_types[28]
238 #define SWIGTYPE_p_wxTextDataObject swig_types[29]
239 #define SWIGTYPE_p_wxDataObject swig_types[30]
240 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[31]
241 #define SWIGTYPE_p_wxFileDataObject swig_types[32]
242 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
243 #define SWIGTYPE_p_wxURLDataObject swig_types[34]
244 #define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
245 #define SWIGTYPE_p_wxSound swig_types[36]
246 #define SWIGTYPE_p_wxTimerRunner swig_types[37]
247 #define SWIGTYPE_p_wxLogWindow swig_types[38]
248 #define SWIGTYPE_p_wxTimeSpan swig_types[39]
249 #define SWIGTYPE_p_wxArrayString swig_types[40]
250 #define SWIGTYPE_p_wxWindowDisabler swig_types[41]
251 #define SWIGTYPE_p_wxToolTip swig_types[42]
252 #define SWIGTYPE_p_wxDataObjectComposite swig_types[43]
253 #define SWIGTYPE_p_wxFileConfig swig_types[44]
254 #define SWIGTYPE_p_wxSystemSettings swig_types[45]
255 #define SWIGTYPE_p_wxVideoMode swig_types[46]
256 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[47]
257 #define SWIGTYPE_p_wxDataObjectSimple swig_types[48]
258 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
259 #define SWIGTYPE_p_wxRect swig_types[50]
260 #define SWIGTYPE_p_char swig_types[51]
261 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[52]
262 #define SWIGTYPE_p_wxFileTypeInfo swig_types[53]
263 #define SWIGTYPE_p_wxFrame swig_types[54]
264 #define SWIGTYPE_p_wxTimer swig_types[55]
265 #define SWIGTYPE_p_wxMimeTypesManager swig_types[56]
266 #define SWIGTYPE_p_wxPyArtProvider swig_types[57]
267 #define SWIGTYPE_p_wxPyTipProvider swig_types[58]
268 #define SWIGTYPE_p_wxTipProvider swig_types[59]
269 #define SWIGTYPE_p_wxJoystick swig_types[60]
270 #define SWIGTYPE_p_wxSystemOptions swig_types[61]
271 #define SWIGTYPE_p_wxPoint swig_types[62]
272 #define SWIGTYPE_p_wxJoystickEvent swig_types[63]
273 #define SWIGTYPE_p_wxCursor swig_types[64]
274 #define SWIGTYPE_p_wxObject swig_types[65]
275 #define SWIGTYPE_p_wxOutputStream swig_types[66]
276 #define SWIGTYPE_p_wxDateTime swig_types[67]
277 #define SWIGTYPE_p_wxPyDropSource swig_types[68]
278 #define SWIGTYPE_p_wxWindow swig_types[69]
279 #define SWIGTYPE_p_wxString swig_types[70]
280 #define SWIGTYPE_p_wxPyProcess swig_types[71]
281 #define SWIGTYPE_p_wxBitmap swig_types[72]
282 #define SWIGTYPE_p_wxConfig swig_types[73]
283 #define SWIGTYPE_p_wxChar swig_types[74]
284 #define SWIGTYPE_p_wxBusyInfo swig_types[75]
285 #define SWIGTYPE_p_wxPyDropTarget swig_types[76]
286 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[77]
287 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[78]
288 #define SWIGTYPE_p_wxProcessEvent swig_types[79]
289 #define SWIGTYPE_p_wxPyLog swig_types[80]
290 #define SWIGTYPE_p_wxLogNull swig_types[81]
291 #define SWIGTYPE_p_wxColour swig_types[82]
292 #define SWIGTYPE_p_wxByte swig_types[83]
293 #define SWIGTYPE_p_wxConfigPathChanger swig_types[84]
294 #define SWIGTYPE_p_wxPyTimer swig_types[85]
295 #define SWIGTYPE_p_wxDateSpan swig_types[86]
296 static swig_type_info
*swig_types
[88];
298 /* -------- TYPES TABLE (END) -------- */
301 /*-----------------------------------------------
303 ------------------------------------------------*/
304 #define SWIG_init init_misc
306 #define SWIG_name "_misc"
308 /* Auxiliar swig macros */
311 #define SWIGSTATICINLINE(a) static inline a
312 #define SWIGSTATIC(a) static a
313 #define swig_new_array(type, size) (new type[(size)])
314 #define swig_delete_array(cptr) delete[] cptr
315 #define swig_const_cast(type,a) const_cast<type>(a)
316 #define swig_static_cast(type,a) static_cast<type>(a)
317 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
319 #ifdef HAVE_NUMERIC_CAST
320 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
322 #define swig_numeric_cast(type,a) static_cast<type>(a)
327 #define SWIGSTATICINLINE(a) static a
328 #define SWIGSTATIC(a) static a
329 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
330 #define swig_delete_array(cptr) free((char*)cptr)
331 #define swig_const_cast(type,a) (type)(a)
332 #define swig_static_cast(type,a) (type)(a)
333 #define swig_reinterpret_cast(type,a) (type)(a)
334 #define swig_numeric_cast(type,a) (type)(a)
336 #endif /* __cplusplus */
339 #define SWIG_FromSignedChar PyInt_FromLong
340 #define SWIG_FromUnsignedChar PyInt_FromLong
341 #define SWIG_FromShort PyInt_FromLong
342 #define SWIG_FromUnsignedShort PyInt_FromLong
343 #define SWIG_FromInt PyInt_FromLong
344 #define SWIG_FromLong PyInt_FromLong
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347 #define SWIG_FromFloat PyFloat_FromDouble
348 #define SWIG_FromDouble PyFloat_FromDouble
351 #include "wx/wxPython/wxPython.h"
352 #include "wx/wxPython/pyclasses.h"
353 #include "wx/wxPython/pyistream.h"
356 static const wxString
wxPyEmptyString(wxEmptyString
);
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value
, const char* type
,
365 long min_value
, long max_value
)
367 if (!PyErr_Occurred()) {
368 if (value
< min_value
) {
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value
, type
, min_value
);
373 PyErr_SetObject(PyExc_OverflowError
, err
);
375 } else if (value
> max_value
) {
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value
, type
, max_value
);
379 PyErr_SetObject(PyExc_OverflowError
, err
);
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject
* obj
)
390 if (PyNumber_Check(obj
))
391 return PyInt_AsLong(obj
);
393 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
394 obj
->ob_type
->tp_name
);
395 PyErr_SetObject(PyExc_TypeError
, errmsg
);
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject
*obj
)
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
408 "int", INT_MIN
, INT_MAX
));
411 #define SWIG_AsInt SWIG_AsLong
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject
* obj
)
419 if (PyErr_Occurred()) {
427 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
428 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
429 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
431 SWIGSTATICINLINE(int)
432 SWIG_CheckLong(PyObject
* obj
)
435 if (PyErr_Occurred()) {
444 SWIGSTATICINLINE(bool)
445 SWIG_AsBool(PyObject
*obj
)
447 return PyObject_IsTrue(obj
) ? true : false;
451 SWIGSTATICINLINE(int)
452 SWIG_CheckBool(PyObject
* obj
)
455 if (PyErr_Occurred()) {
464 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
470 } else if (target
== Py_None
) {
474 if (!PyTuple_Check(target
)) {
476 target
= PyTuple_New(1);
477 PyTuple_SetItem(target
, 0, o2
);
480 PyTuple_SetItem(o3
, 0, o
);
483 target
= PySequence_Concat(o2
, o3
);
491 SWIGSTATICINLINE(unsigned long)
492 SWIG_AsUnsignedLong(PyObject
* obj
)
494 if (PyLong_Check(obj
)) {
495 return PyLong_AsUnsignedLong(obj
);
497 long i
= SWIG_AsLong(obj
);
498 if ( !PyErr_Occurred() && (i
< 0)) {
499 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
506 SWIGSTATICINLINE(int)
507 SWIG_CheckUnsignedLong(PyObject
* obj
)
509 SWIG_AsUnsignedLong(obj
);
510 if (PyErr_Occurred()) {
519 SWIGSTATICINLINE(PyObject
* )
520 SWIG_FromUnsignedLong(unsigned long value
)
522 return (value
> LONG_MAX
) ?
523 PyLong_FromUnsignedLong(value
)
524 : PyInt_FromLong(swig_numeric_cast(long,value
));
528 bool wxThread_IsMain() {
529 #ifdef WXP_WITH_THREAD
530 return wxThread::IsMain();
537 int wxCaret_GetBlinkTime() {
538 return wxCaret::GetBlinkTime();
541 void wxCaret_SetBlinkTime(int milliseconds
) {
542 wxCaret::SetBlinkTime(milliseconds
);
546 #include <wx/snglinst.h>
550 #include <wx/msw/private.h>
551 #include <wx/dynload.h>
556 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
563 // This one only partially works. Appears to be an undocumented
564 // "standard" convention that not all widgets adhear to. For
565 // example, for some widgets backgrounds or non-client areas may
567 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
571 // This one works much better, except for on XP. On Win2k nearly
572 // all widgets and their children are captured correctly[**]. On
573 // XP with Themes activated most native widgets draw only
574 // partially, if at all. Without themes it works just like on
577 // ** For example the radio buttons in a wxRadioBox are not its
578 // children by default, but you can capture it via the panel
579 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
580 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
581 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
582 PRF_ERASEBKGND
| PRF_OWNED
);
586 // This one is only defined in the latest SDK and is only
587 // available on XP. MSDN says it is similar to sending WM_PRINT
588 // so I expect that it will work similar to the above. Since it
589 // is avaialble only on XP, it can't be compiled like this and
590 // will have to be loaded dynamically.
591 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
596 // Use PrintWindow if available, or fallback to WM_PRINT
597 // otherwise. Unfortunately using PrintWindow is even worse than
598 // WM_PRINT. For most native widgets nothing is drawn to the dc
599 // at all, with or without Themes.
600 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
601 static bool s_triedToLoad
= False
;
602 static PrintWindow_t pfnPrintWindow
= NULL
;
603 if ( !s_triedToLoad
)
606 s_triedToLoad
= True
;
607 wxDynamicLibrary
dllUser32(_T("user32.dll"));
608 if ( dllUser32
.IsLoaded() )
610 wxLogNull nolog
; // Don't report errors here
611 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
616 printf("Using PrintWindow\n");
617 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
621 printf("Using WM_PRINT\n");
622 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
623 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
631 #include <wx/tipdlg.h>
634 class wxPyTipProvider
: public wxTipProvider
{
636 wxPyTipProvider(size_t currentTip
)
637 : wxTipProvider(currentTip
) {}
639 DEC_PYCALLBACK_STRING__pure(GetTip
);
640 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
644 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
645 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
648 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
650 void wxPyTimer::Notify() {
652 bool blocked
= wxPyBeginBlockThreads();
653 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
654 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
655 wxPyEndBlockThreads(blocked
);
659 void wxPyTimer::base_Notify() {
665 SWIGSTATICINLINE(PyObject
*)
666 SWIG_FromCharPtr(const char* cptr
)
668 size_t size
= cptr
? strlen(cptr
) : 0;
670 if (size
> INT_MAX
) {
671 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
672 SWIG_TypeQuery("char *"), 0);
674 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
683 SWIGSTATICINLINE(unsigned long)
684 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
685 unsigned long max_value
)
687 if (!PyErr_Occurred()) {
688 if (value
> max_value
) {
690 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
691 value
, type
, max_value
);
692 PyErr_SetObject(PyExc_OverflowError
, err
);
700 #if UINT_MAX != ULONG_MAX
701 SWIGSTATICINLINE(unsigned int)
702 SWIG_AsUnsignedInt(PyObject
*obj
)
704 return swig_numeric_cast(unsigned int,
705 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
706 "unsigned int", UINT_MAX
));
709 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
713 SWIGSTATICINLINE(int)
714 SWIG_CheckUnsignedInt(PyObject
* obj
)
716 SWIG_AsUnsignedInt(obj
);
717 if (PyErr_Occurred()) {
725 wxString
Log_TimeStamp(){
727 wxLog::TimeStamp(&msg
);
730 void wxLog_Destroy(wxLog
*self
){ delete self
; }
732 // A wxLog class that can be derived from in wxPython
733 class wxPyLog
: public wxLog
{
735 wxPyLog() : wxLog() {}
737 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
739 bool blocked
= wxPyBeginBlockThreads();
740 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
741 PyObject
* s
= wx2PyString(szString
);
742 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
745 wxPyEndBlockThreads(blocked
);
747 wxLog::DoLog(level
, szString
, t
);
750 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
752 bool blocked
= wxPyBeginBlockThreads();
753 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
754 PyObject
* s
= wx2PyString(szString
);
755 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
758 wxPyEndBlockThreads(blocked
);
760 wxLog::DoLogString(szString
, t
);
769 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
772 #include <wx/joystick.h>
775 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
776 // A C++ stub class for wxJoystick for platforms that don't have it.
777 class wxJoystick
: public wxObject
{
779 wxJoystick(int joystick
= wxJOYSTICK1
) {
780 bool blocked
= wxPyBeginBlockThreads();
781 PyErr_SetString(PyExc_NotImplementedError
,
782 "wxJoystick is not available on this platform.");
783 wxPyEndBlockThreads(blocked
);
785 wxPoint
GetPosition() { return wxPoint(-1,-1); }
786 int GetZPosition() { return -1; }
787 int GetButtonState() { return -1; }
788 int GetPOVPosition() { return -1; }
789 int GetPOVCTSPosition() { return -1; }
790 int GetRudderPosition() { return -1; }
791 int GetUPosition() { return -1; }
792 int GetVPosition() { return -1; }
793 int GetMovementThreshold() { return -1; }
794 void SetMovementThreshold(int threshold
) {}
796 bool IsOk(void) { return False
; }
797 int GetNumberJoysticks() { return -1; }
798 int GetManufacturerId() { return -1; }
799 int GetProductId() { return -1; }
800 wxString
GetProductName() { return ""; }
801 int GetXMin() { return -1; }
802 int GetYMin() { return -1; }
803 int GetZMin() { return -1; }
804 int GetXMax() { return -1; }
805 int GetYMax() { return -1; }
806 int GetZMax() { return -1; }
807 int GetNumberButtons() { return -1; }
808 int GetNumberAxes() { return -1; }
809 int GetMaxButtons() { return -1; }
810 int GetMaxAxes() { return -1; }
811 int GetPollingMin() { return -1; }
812 int GetPollingMax() { return -1; }
813 int GetRudderMin() { return -1; }
814 int GetRudderMax() { return -1; }
815 int GetUMin() { return -1; }
816 int GetUMax() { return -1; }
817 int GetVMin() { return -1; }
818 int GetVMax() { return -1; }
820 bool HasRudder() { return False
; }
821 bool HasZ() { return False
; }
822 bool HasU() { return False
; }
823 bool HasV() { return False
; }
824 bool HasPOV() { return False
; }
825 bool HasPOV4Dir() { return False
; }
826 bool HasPOVCTS() { return False
; }
828 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
829 bool ReleaseCapture() { return False
; }
834 #include <wx/sound.h>
838 // A C++ stub class for wxWave for platforms that don't have it.
839 class wxSound
: public wxObject
843 bool blocked
= wxPyBeginBlockThreads();
844 PyErr_SetString(PyExc_NotImplementedError
,
845 "wxSound is not available on this platform.");
846 wxPyEndBlockThreads(blocked
);
848 wxSound(const wxString
&, bool) {
849 bool blocked
= wxPyBeginBlockThreads();
850 PyErr_SetString(PyExc_NotImplementedError
,
851 "wxSound is not available on this platform.");
852 wxPyEndBlockThreads(blocked
);
854 wxSound(int, const wxByte
*) {
855 bool blocked
= wxPyBeginBlockThreads();
856 PyErr_SetString(PyExc_NotImplementedError
,
857 "wxSound is not available on this platform.");
858 wxPyEndBlockThreads(blocked
);
863 bool Create(const wxString
&, bool) { return false; }
864 bool Create(int, const wxByte
*) { return false; };
865 bool IsOk() { return false; };
866 bool Play(unsigned) const { return false; }
867 static bool Play(const wxString
&, unsigned) { return false; }
868 static void Stop() {}
874 #include <wx/mimetype.h>
876 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
878 if (self
->GetMimeType(&str
))
879 return wx2PyString(str
);
883 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
885 if (self
->GetMimeTypes(arr
))
886 return wxArrayString2PyList_helper(arr
);
890 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
892 if (self
->GetExtensions(arr
))
893 return wxArrayString2PyList_helper(arr
);
897 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
899 if (self
->GetIcon(&loc
))
900 return new wxIcon(loc
);
904 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
906 if (self
->GetIcon(&loc
)) {
907 wxString iconFile
= loc
.GetFileName();
910 iconIndex
= loc
.GetIndex();
912 // Make a tuple and put the values in it
913 bool blocked
= wxPyBeginBlockThreads();
914 PyObject
* tuple
= PyTuple_New(3);
915 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
916 wxT("wxIcon"), True
));
917 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
918 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
919 wxPyEndBlockThreads(blocked
);
925 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
927 if (self
->GetDescription(&str
))
928 return wx2PyString(str
);
932 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
934 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
935 return wx2PyString(str
);
939 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
941 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
942 return wx2PyString(str
);
946 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
948 wxArrayString commands
;
949 if (self
->GetAllCommands(&verbs
, &commands
,
950 wxFileType::MessageParameters(filename
, mimetype
))) {
951 bool blocked
= wxPyBeginBlockThreads();
952 PyObject
* tuple
= PyTuple_New(2);
953 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
954 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
955 wxPyEndBlockThreads(blocked
);
961 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
962 return wxFileType::ExpandCommand(command
,
963 wxFileType::MessageParameters(filename
, mimetype
));
965 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
967 self
->EnumAllFileTypes(arr
);
968 return wxArrayString2PyList_helper(arr
);
971 #include <wx/artprov.h>
973 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
974 static const wxString
wxPyART_MENU(wxART_MENU
);
975 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
976 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
977 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
978 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
979 static const wxString
wxPyART_OTHER(wxART_OTHER
);
980 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
981 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
982 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
983 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
984 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
985 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
986 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
987 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
988 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
989 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
990 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
991 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
992 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
993 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
994 static const wxString
wxPyART_PRINT(wxART_PRINT
);
995 static const wxString
wxPyART_HELP(wxART_HELP
);
996 static const wxString
wxPyART_TIP(wxART_TIP
);
997 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
998 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
999 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1000 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1001 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1002 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1003 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1004 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1005 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1006 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1007 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1008 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1009 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1010 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1011 // Python aware wxArtProvider
1012 class wxPyArtProvider
: public wxArtProvider
{
1015 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1016 const wxArtClient
& client
,
1017 const wxSize
& size
) {
1018 wxBitmap rval
= wxNullBitmap
;
1019 bool blocked
= wxPyBeginBlockThreads();
1020 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1021 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1025 s1
= wx2PyString(id
);
1026 s2
= wx2PyString(client
);
1027 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1032 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1037 wxPyEndBlockThreads(blocked
);
1044 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1048 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1049 PyObject
* ret
= PyTuple_New(3);
1051 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1052 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1053 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1058 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1063 cont
= self
->GetFirstGroup(value
, index
);
1064 return __EnumerationHelper(cont
, value
, index
);
1066 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1070 cont
= self
->GetNextGroup(value
, index
);
1071 return __EnumerationHelper(cont
, value
, index
);
1073 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1078 cont
= self
->GetFirstEntry(value
, index
);
1079 return __EnumerationHelper(cont
, value
, index
);
1081 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1085 cont
= self
->GetNextEntry(value
, index
);
1086 return __EnumerationHelper(cont
, value
, index
);
1088 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1090 self
->Read(key
, &rv
, defaultVal
);
1094 SWIGSTATICINLINE(double)
1095 SWIG_AsDouble(PyObject
*obj
)
1097 if (PyNumber_Check(obj
))
1098 return PyFloat_AsDouble(obj
);
1100 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1101 obj
->ob_type
->tp_name
);
1102 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1109 SWIGSTATICINLINE(int)
1110 SWIG_CheckDouble(PyObject
* obj
)
1113 if (PyErr_Occurred()) {
1121 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1123 self
->Read(key
, &rv
, defaultVal
);
1126 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1128 self
->Read(key
, &rv
, defaultVal
);
1132 #include <wx/datetime.h>
1135 static const wxString
wxPyDateFormatStr(wxT("%c"));
1136 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1138 #define LOCAL_TZ wxDateTime::Local
1141 #if UINT_MAX < LONG_MAX
1142 #define SWIG_FromUnsignedInt SWIG_FromLong
1144 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1147 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1148 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1149 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1150 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1151 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1152 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
< *other
) : False
; }
1153 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
<= *other
) : False
; }
1154 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
> *other
) : True
; }
1155 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
>= *other
) : True
; }
1156 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
== *other
) : False
; }
1157 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
!= *other
) : True
; }
1158 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1160 const wxChar
* _date
= date
;
1161 rv
= self
->ParseRfc822Date(_date
);
1162 if (rv
== NULL
) return -1;
1165 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1167 const wxChar
* _date
= date
;
1168 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1169 if (rv
== NULL
) return -1;
1172 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1174 const wxChar
* _datetime
= datetime
;
1175 rv
= self
->ParseDateTime(_datetime
);
1176 if (rv
== NULL
) return -1;
1177 return rv
- _datetime
;
1179 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1181 const wxChar
* _date
= date
;
1182 rv
= self
->ParseDate(_date
);
1183 if (rv
== NULL
) return -1;
1186 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1188 const wxChar
* _time
= time
;
1189 rv
= self
->ParseTime(_time
);
1190 if (rv
== NULL
) return -1;
1193 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1194 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1195 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1196 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1197 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1198 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1199 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1200 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1201 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1202 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1203 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1204 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1205 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1206 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1207 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1208 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1210 #include <wx/dataobj.h>
1212 // Create a new class for wxPython to use
1213 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1215 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1216 : wxDataObjectSimple(format
) {}
1218 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1219 bool GetDataHere(void *buf
) const;
1220 bool SetData(size_t len
, const void *buf
) const;
1224 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1226 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1227 // We need to get the data for this object and write it to buf. I think
1228 // the best way to do this for wxPython is to have the Python method
1229 // return either a string or None and then act appropriately with the
1233 bool blocked
= wxPyBeginBlockThreads();
1234 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1236 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1238 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1240 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1244 wxPyEndBlockThreads(blocked
);
1248 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1249 // For this one we simply need to make a string from buf and len
1250 // and send it to the Python method.
1252 bool blocked
= wxPyBeginBlockThreads();
1253 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1254 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1255 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1258 wxPyEndBlockThreads(blocked
);
1262 // Create a new class for wxPython to use
1263 class wxPyTextDataObject
: public wxTextDataObject
{
1265 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1266 : wxTextDataObject(text
) {}
1268 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1269 DEC_PYCALLBACK_STRING__const(GetText
);
1270 DEC_PYCALLBACK__STRING(SetText
);
1274 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1275 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1276 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1279 // Create a new class for wxPython to use
1280 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1282 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1283 : wxBitmapDataObject(bitmap
) {}
1285 wxBitmap
GetBitmap() const;
1286 void SetBitmap(const wxBitmap
& bitmap
);
1290 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1291 wxBitmap
* rval
= &wxNullBitmap
;
1292 bool blocked
= wxPyBeginBlockThreads();
1293 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1296 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1298 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1303 wxPyEndBlockThreads(blocked
);
1307 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1308 bool blocked
= wxPyBeginBlockThreads();
1309 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1310 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1311 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1314 wxPyEndBlockThreads(blocked
);
1317 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1318 if (PyString_Check(data
)) {
1319 // for Python we just call SetData here since we always need it to make a copy.
1320 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1323 // raise a TypeError if not a string
1324 PyErr_SetString(PyExc_TypeError
, "String expected.");
1327 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1328 if (PyString_Check(data
)) {
1329 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1332 // raise a TypeError if not a string
1333 PyErr_SetString(PyExc_TypeError
, "String expected.");
1337 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1338 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1341 #include <wx/metafile.h>
1344 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1347 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1348 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1349 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1350 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1351 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1354 class wxPyTextDropTarget
: public wxTextDropTarget
{
1356 wxPyTextDropTarget() {}
1358 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1360 DEC_PYCALLBACK__(OnLeave
);
1361 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1362 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1363 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1364 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1369 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1370 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1371 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1372 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1373 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1374 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1378 class wxPyFileDropTarget
: public wxFileDropTarget
{
1380 wxPyFileDropTarget() {}
1382 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1384 DEC_PYCALLBACK__(OnLeave
);
1385 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1386 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1387 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1388 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1393 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1394 const wxArrayString
& filenames
) {
1396 bool blocked
= wxPyBeginBlockThreads();
1397 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1398 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1399 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1402 wxPyEndBlockThreads(blocked
);
1408 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1409 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1410 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1411 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1412 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1417 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1419 #include "wx/display.h"
1421 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1422 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1423 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1424 PyObject
* pyList
= NULL
;
1425 wxArrayVideoModes arr
= self
->GetModes(mode
);
1426 bool blocked
= wxPyBeginBlockThreads();
1427 pyList
= PyList_New(0);
1428 for (int i
=0; i
< arr
.GetCount(); i
++) {
1429 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1430 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1431 PyList_Append(pyList
, pyObj
);
1433 wxPyEndBlockThreads(blocked
);
1439 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
*resultobj
;
1443 PyObject
* obj0
= 0 ;
1445 (char *) "index", NULL
1448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1449 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1450 if (PyErr_Occurred()) SWIG_fail
;
1452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1453 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1455 wxPyEndAllowThreads(__tstate
);
1456 if (PyErr_Occurred()) SWIG_fail
;
1459 wxColour
* resultptr
;
1460 resultptr
= new wxColour((wxColour
&) result
);
1461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1469 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1470 PyObject
*resultobj
;
1473 PyObject
* obj0
= 0 ;
1475 (char *) "index", NULL
1478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1479 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1480 if (PyErr_Occurred()) SWIG_fail
;
1482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1483 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1485 wxPyEndAllowThreads(__tstate
);
1486 if (PyErr_Occurred()) SWIG_fail
;
1490 resultptr
= new wxFont((wxFont
&) result
);
1491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1499 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1500 PyObject
*resultobj
;
1503 PyObject
* obj0
= 0 ;
1505 (char *) "index", NULL
1508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1509 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1510 if (PyErr_Occurred()) SWIG_fail
;
1512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1513 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1515 wxPyEndAllowThreads(__tstate
);
1516 if (PyErr_Occurred()) SWIG_fail
;
1518 resultobj
= SWIG_FromInt((int)result
);
1525 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1526 PyObject
*resultobj
;
1529 PyObject
* obj0
= 0 ;
1531 (char *) "index", NULL
1534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1535 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1536 if (PyErr_Occurred()) SWIG_fail
;
1538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1539 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1541 wxPyEndAllowThreads(__tstate
);
1542 if (PyErr_Occurred()) SWIG_fail
;
1545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1553 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1554 PyObject
*resultobj
;
1560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1563 result
= (int)wxSystemSettings::GetScreenType();
1565 wxPyEndAllowThreads(__tstate
);
1566 if (PyErr_Occurred()) SWIG_fail
;
1568 resultobj
= SWIG_FromInt((int)result
);
1575 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1576 PyObject
*resultobj
;
1578 PyObject
* obj0
= 0 ;
1580 (char *) "screen", NULL
1583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1584 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1585 if (PyErr_Occurred()) SWIG_fail
;
1587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1588 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1590 wxPyEndAllowThreads(__tstate
);
1591 if (PyErr_Occurred()) SWIG_fail
;
1593 Py_INCREF(Py_None
); resultobj
= Py_None
;
1600 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1603 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1605 return Py_BuildValue((char *)"");
1607 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
*resultobj
;
1609 wxSystemOptions
*result
;
1614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1617 result
= (wxSystemOptions
*)new wxSystemOptions();
1619 wxPyEndAllowThreads(__tstate
);
1620 if (PyErr_Occurred()) SWIG_fail
;
1622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1629 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1630 PyObject
*resultobj
;
1631 wxString
*arg1
= 0 ;
1632 wxString
*arg2
= 0 ;
1633 bool temp1
= False
;
1634 bool temp2
= False
;
1635 PyObject
* obj0
= 0 ;
1636 PyObject
* obj1
= 0 ;
1638 (char *) "name",(char *) "value", NULL
1641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1643 arg1
= wxString_in_helper(obj0
);
1644 if (arg1
== NULL
) SWIG_fail
;
1648 arg2
= wxString_in_helper(obj1
);
1649 if (arg2
== NULL
) SWIG_fail
;
1653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1654 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1656 wxPyEndAllowThreads(__tstate
);
1657 if (PyErr_Occurred()) SWIG_fail
;
1659 Py_INCREF(Py_None
); resultobj
= Py_None
;
1682 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1683 PyObject
*resultobj
;
1684 wxString
*arg1
= 0 ;
1686 bool temp1
= False
;
1687 PyObject
* obj0
= 0 ;
1688 PyObject
* obj1
= 0 ;
1690 (char *) "name",(char *) "value", NULL
1693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1695 arg1
= wxString_in_helper(obj0
);
1696 if (arg1
== NULL
) SWIG_fail
;
1699 arg2
= (int) SWIG_AsInt(obj1
);
1700 if (PyErr_Occurred()) SWIG_fail
;
1702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1703 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1705 wxPyEndAllowThreads(__tstate
);
1706 if (PyErr_Occurred()) SWIG_fail
;
1708 Py_INCREF(Py_None
); resultobj
= Py_None
;
1723 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1724 PyObject
*resultobj
;
1725 wxString
*arg1
= 0 ;
1727 bool temp1
= False
;
1728 PyObject
* obj0
= 0 ;
1730 (char *) "name", NULL
1733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1735 arg1
= wxString_in_helper(obj0
);
1736 if (arg1
== NULL
) SWIG_fail
;
1740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1741 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1743 wxPyEndAllowThreads(__tstate
);
1744 if (PyErr_Occurred()) SWIG_fail
;
1748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1767 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1768 PyObject
*resultobj
;
1769 wxString
*arg1
= 0 ;
1771 bool temp1
= False
;
1772 PyObject
* obj0
= 0 ;
1774 (char *) "name", NULL
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1779 arg1
= wxString_in_helper(obj0
);
1780 if (arg1
== NULL
) SWIG_fail
;
1784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1785 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1787 wxPyEndAllowThreads(__tstate
);
1788 if (PyErr_Occurred()) SWIG_fail
;
1790 resultobj
= SWIG_FromInt((int)result
);
1805 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1806 PyObject
*resultobj
;
1807 wxString
*arg1
= 0 ;
1809 bool temp1
= False
;
1810 PyObject
* obj0
= 0 ;
1812 (char *) "name", NULL
1815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1817 arg1
= wxString_in_helper(obj0
);
1818 if (arg1
== NULL
) SWIG_fail
;
1822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1823 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1825 wxPyEndAllowThreads(__tstate
);
1826 if (PyErr_Occurred()) SWIG_fail
;
1829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1845 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1848 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1850 return Py_BuildValue((char *)"");
1852 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1853 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1858 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1863 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1865 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1872 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
1873 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1878 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1883 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1885 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1892 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
1893 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1898 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1903 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1905 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1912 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
*resultobj
;
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1922 result
= (long)wxNewId();
1924 wxPyEndAllowThreads(__tstate
);
1925 if (PyErr_Occurred()) SWIG_fail
;
1927 resultobj
= SWIG_FromLong((long)result
);
1934 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
*resultobj
;
1937 PyObject
* obj0
= 0 ;
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
1943 arg1
= (long) SWIG_AsLong(obj0
);
1944 if (PyErr_Occurred()) SWIG_fail
;
1946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1949 wxPyEndAllowThreads(__tstate
);
1950 if (PyErr_Occurred()) SWIG_fail
;
1952 Py_INCREF(Py_None
); resultobj
= Py_None
;
1959 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
*resultobj
;
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1969 result
= (long)wxGetCurrentId();
1971 wxPyEndAllowThreads(__tstate
);
1972 if (PyErr_Occurred()) SWIG_fail
;
1974 resultobj
= SWIG_FromLong((long)result
);
1981 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
*resultobj
;
1987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
1989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1992 wxPyEndAllowThreads(__tstate
);
1993 if (PyErr_Occurred()) SWIG_fail
;
1995 Py_INCREF(Py_None
); resultobj
= Py_None
;
2002 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
*resultobj
;
2008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2013 wxPyEndAllowThreads(__tstate
);
2014 if (PyErr_Occurred()) SWIG_fail
;
2016 Py_INCREF(Py_None
); resultobj
= Py_None
;
2023 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2024 PyObject
*resultobj
;
2025 bool arg1
= (bool) True
;
2027 PyObject
* obj0
= 0 ;
2029 (char *) "resetTimer", NULL
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2034 arg1
= (bool) SWIG_AsBool(obj0
);
2035 if (PyErr_Occurred()) SWIG_fail
;
2038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2039 result
= (long)wxGetElapsedTime(arg1
);
2041 wxPyEndAllowThreads(__tstate
);
2042 if (PyErr_Occurred()) SWIG_fail
;
2044 resultobj
= SWIG_FromLong((long)result
);
2051 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2052 PyObject
*resultobj
;
2053 int *arg1
= (int *) 0 ;
2054 int *arg2
= (int *) 0 ;
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2066 wxGetMousePosition(arg1
,arg2
);
2068 wxPyEndAllowThreads(__tstate
);
2069 if (PyErr_Occurred()) SWIG_fail
;
2071 Py_INCREF(Py_None
); resultobj
= Py_None
;
2073 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2074 resultobj
= t_output_helper(resultobj
,o
);
2077 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2078 resultobj
= t_output_helper(resultobj
,o
);
2086 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
*resultobj
;
2093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2096 result
= (bool)wxIsBusy();
2098 wxPyEndAllowThreads(__tstate
);
2099 if (PyErr_Occurred()) SWIG_fail
;
2102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2110 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2111 PyObject
*resultobj
;
2117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2122 wxPyEndAllowThreads(__tstate
);
2123 if (PyErr_Occurred()) SWIG_fail
;
2127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2138 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
*resultobj
;
2140 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2141 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2143 bool temp1
= False
;
2144 PyObject
* obj0
= 0 ;
2146 (char *) "command", NULL
2149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2152 arg1
= wxString_in_helper(obj0
);
2153 if (arg1
== NULL
) SWIG_fail
;
2158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2159 result
= (bool)wxShell((wxString
const &)*arg1
);
2161 wxPyEndAllowThreads(__tstate
);
2162 if (PyErr_Occurred()) SWIG_fail
;
2165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2181 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2182 PyObject
*resultobj
;
2187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2192 wxPyEndAllowThreads(__tstate
);
2193 if (PyErr_Occurred()) SWIG_fail
;
2195 Py_INCREF(Py_None
); resultobj
= Py_None
;
2202 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
*resultobj
;
2204 int *arg1
= (int *) 0 ;
2205 int *arg2
= (int *) 0 ;
2215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2218 result
= (int)wxGetOsVersion(arg1
,arg2
);
2220 wxPyEndAllowThreads(__tstate
);
2221 if (PyErr_Occurred()) SWIG_fail
;
2223 resultobj
= SWIG_FromInt((int)result
);
2225 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2226 resultobj
= t_output_helper(resultobj
,o
);
2229 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2230 resultobj
= t_output_helper(resultobj
,o
);
2238 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2239 PyObject
*resultobj
;
2245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2248 result
= wxGetOsDescription();
2250 wxPyEndAllowThreads(__tstate
);
2251 if (PyErr_Occurred()) SWIG_fail
;
2255 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2257 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2266 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
*resultobj
;
2273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2276 result
= (long)wxGetFreeMemory();
2278 wxPyEndAllowThreads(__tstate
);
2279 if (PyErr_Occurred()) SWIG_fail
;
2281 resultobj
= SWIG_FromLong((long)result
);
2288 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2289 PyObject
*resultobj
;
2292 PyObject
* obj0
= 0 ;
2294 (char *) "wFlags", NULL
2297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2298 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2299 if (PyErr_Occurred()) SWIG_fail
;
2301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2302 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2304 wxPyEndAllowThreads(__tstate
);
2305 if (PyErr_Occurred()) SWIG_fail
;
2308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2316 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2317 PyObject
*resultobj
;
2319 PyObject
* obj0
= 0 ;
2321 (char *) "secs", NULL
2324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2325 arg1
= (int) SWIG_AsInt(obj0
);
2326 if (PyErr_Occurred()) SWIG_fail
;
2328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2331 wxPyEndAllowThreads(__tstate
);
2332 if (PyErr_Occurred()) SWIG_fail
;
2334 Py_INCREF(Py_None
); resultobj
= Py_None
;
2341 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
*resultobj
;
2343 unsigned long arg1
;
2344 PyObject
* obj0
= 0 ;
2346 (char *) "milliseconds", NULL
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2350 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2351 if (PyErr_Occurred()) SWIG_fail
;
2353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2356 wxPyEndAllowThreads(__tstate
);
2357 if (PyErr_Occurred()) SWIG_fail
;
2359 Py_INCREF(Py_None
); resultobj
= Py_None
;
2366 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2367 PyObject
*resultobj
;
2369 PyObject
* obj0
= 0 ;
2371 (char *) "enable", NULL
2374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2375 arg1
= (bool) SWIG_AsBool(obj0
);
2376 if (PyErr_Occurred()) SWIG_fail
;
2378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2379 wxEnableTopLevelWindows(arg1
);
2381 wxPyEndAllowThreads(__tstate
);
2382 if (PyErr_Occurred()) SWIG_fail
;
2384 Py_INCREF(Py_None
); resultobj
= Py_None
;
2391 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
*resultobj
;
2393 wxString
*arg1
= 0 ;
2395 bool temp1
= False
;
2396 PyObject
* obj0
= 0 ;
2401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2403 arg1
= wxString_in_helper(obj0
);
2404 if (arg1
== NULL
) SWIG_fail
;
2408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2409 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2411 wxPyEndAllowThreads(__tstate
);
2412 if (PyErr_Occurred()) SWIG_fail
;
2416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2435 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2436 PyObject
*resultobj
;
2442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2445 result
= wxGetEmailAddress();
2447 wxPyEndAllowThreads(__tstate
);
2448 if (PyErr_Occurred()) SWIG_fail
;
2452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2463 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
*resultobj
;
2470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2473 result
= wxGetHostName();
2475 wxPyEndAllowThreads(__tstate
);
2476 if (PyErr_Occurred()) SWIG_fail
;
2480 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2482 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2491 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2492 PyObject
*resultobj
;
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2501 result
= wxGetFullHostName();
2503 wxPyEndAllowThreads(__tstate
);
2504 if (PyErr_Occurred()) SWIG_fail
;
2508 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2510 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2519 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2520 PyObject
*resultobj
;
2526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2529 result
= wxGetUserId();
2531 wxPyEndAllowThreads(__tstate
);
2532 if (PyErr_Occurred()) SWIG_fail
;
2536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2547 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2548 PyObject
*resultobj
;
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2557 result
= wxGetUserName();
2559 wxPyEndAllowThreads(__tstate
);
2560 if (PyErr_Occurred()) SWIG_fail
;
2564 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2566 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2575 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2576 PyObject
*resultobj
;
2582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2585 result
= wxGetHomeDir();
2587 wxPyEndAllowThreads(__tstate
);
2588 if (PyErr_Occurred()) SWIG_fail
;
2592 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2594 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2603 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2604 PyObject
*resultobj
;
2605 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2606 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2608 bool temp1
= False
;
2609 PyObject
* obj0
= 0 ;
2611 (char *) "user", NULL
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2617 arg1
= wxString_in_helper(obj0
);
2618 if (arg1
== NULL
) SWIG_fail
;
2623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2624 result
= wxGetUserHome((wxString
const &)*arg1
);
2626 wxPyEndAllowThreads(__tstate
);
2627 if (PyErr_Occurred()) SWIG_fail
;
2631 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2633 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2650 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2651 PyObject
*resultobj
;
2652 unsigned long result
;
2657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2660 result
= (unsigned long)wxGetProcessId();
2662 wxPyEndAllowThreads(__tstate
);
2663 if (PyErr_Occurred()) SWIG_fail
;
2665 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2672 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
*resultobj
;
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2683 wxPyEndAllowThreads(__tstate
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2686 Py_INCREF(Py_None
); resultobj
= Py_None
;
2693 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2694 PyObject
*resultobj
;
2695 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2696 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2697 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2698 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2699 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2700 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2701 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2702 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2703 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2704 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2705 int arg6
= (int) 0 ;
2706 wxWindow
*arg7
= (wxWindow
*) NULL
;
2707 int arg8
= (int) -1 ;
2708 int arg9
= (int) -1 ;
2710 bool temp1
= False
;
2711 bool temp2
= False
;
2712 bool temp3
= False
;
2713 bool temp4
= False
;
2714 bool temp5
= False
;
2715 PyObject
* obj0
= 0 ;
2716 PyObject
* obj1
= 0 ;
2717 PyObject
* obj2
= 0 ;
2718 PyObject
* obj3
= 0 ;
2719 PyObject
* obj4
= 0 ;
2720 PyObject
* obj5
= 0 ;
2721 PyObject
* obj6
= 0 ;
2722 PyObject
* obj7
= 0 ;
2723 PyObject
* obj8
= 0 ;
2725 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2731 arg1
= wxString_in_helper(obj0
);
2732 if (arg1
== NULL
) SWIG_fail
;
2738 arg2
= wxString_in_helper(obj1
);
2739 if (arg2
== NULL
) SWIG_fail
;
2745 arg3
= wxString_in_helper(obj2
);
2746 if (arg3
== NULL
) SWIG_fail
;
2752 arg4
= wxString_in_helper(obj3
);
2753 if (arg4
== NULL
) SWIG_fail
;
2759 arg5
= wxString_in_helper(obj4
);
2760 if (arg5
== NULL
) SWIG_fail
;
2765 arg6
= (int) SWIG_AsInt(obj5
);
2766 if (PyErr_Occurred()) SWIG_fail
;
2769 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2773 arg8
= (int) SWIG_AsInt(obj7
);
2774 if (PyErr_Occurred()) SWIG_fail
;
2777 arg9
= (int) SWIG_AsInt(obj8
);
2778 if (PyErr_Occurred()) SWIG_fail
;
2781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2782 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2784 wxPyEndAllowThreads(__tstate
);
2785 if (PyErr_Occurred()) SWIG_fail
;
2789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2840 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2841 PyObject
*resultobj
;
2842 wxString
*arg1
= 0 ;
2843 wxString
*arg2
= 0 ;
2844 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2845 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2846 wxWindow
*arg4
= (wxWindow
*) NULL
;
2848 bool temp1
= False
;
2849 bool temp2
= False
;
2850 bool temp3
= False
;
2851 PyObject
* obj0
= 0 ;
2852 PyObject
* obj1
= 0 ;
2853 PyObject
* obj2
= 0 ;
2854 PyObject
* obj3
= 0 ;
2856 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2861 arg1
= wxString_in_helper(obj0
);
2862 if (arg1
== NULL
) SWIG_fail
;
2866 arg2
= wxString_in_helper(obj1
);
2867 if (arg2
== NULL
) SWIG_fail
;
2872 arg3
= wxString_in_helper(obj2
);
2873 if (arg3
== NULL
) SWIG_fail
;
2878 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2883 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2885 wxPyEndAllowThreads(__tstate
);
2886 if (PyErr_Occurred()) SWIG_fail
;
2890 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2892 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2925 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2926 PyObject
*resultobj
;
2927 wxString
*arg1
= 0 ;
2928 wxString
*arg2
= 0 ;
2929 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2930 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2931 wxWindow
*arg4
= (wxWindow
*) NULL
;
2933 bool temp1
= False
;
2934 bool temp2
= False
;
2935 bool temp3
= False
;
2936 PyObject
* obj0
= 0 ;
2937 PyObject
* obj1
= 0 ;
2938 PyObject
* obj2
= 0 ;
2939 PyObject
* obj3
= 0 ;
2941 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2946 arg1
= wxString_in_helper(obj0
);
2947 if (arg1
== NULL
) SWIG_fail
;
2951 arg2
= wxString_in_helper(obj1
);
2952 if (arg2
== NULL
) SWIG_fail
;
2957 arg3
= wxString_in_helper(obj2
);
2958 if (arg3
== NULL
) SWIG_fail
;
2963 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2968 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2970 wxPyEndAllowThreads(__tstate
);
2971 if (PyErr_Occurred()) SWIG_fail
;
2975 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2977 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3010 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3011 PyObject
*resultobj
;
3012 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3013 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3014 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3015 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3016 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3017 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3018 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3019 wxWindow
*arg5
= (wxWindow
*) NULL
;
3021 bool temp1
= False
;
3022 bool temp2
= False
;
3024 PyObject
* obj0
= 0 ;
3025 PyObject
* obj1
= 0 ;
3026 PyObject
* obj2
= 0 ;
3027 PyObject
* obj3
= 0 ;
3028 PyObject
* obj4
= 0 ;
3030 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3036 arg1
= wxString_in_helper(obj0
);
3037 if (arg1
== NULL
) SWIG_fail
;
3043 arg2
= wxString_in_helper(obj1
);
3044 if (arg2
== NULL
) SWIG_fail
;
3049 arg3
= (long) SWIG_AsLong(obj2
);
3050 if (PyErr_Occurred()) SWIG_fail
;
3055 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3059 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3064 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3066 wxPyEndAllowThreads(__tstate
);
3067 if (PyErr_Occurred()) SWIG_fail
;
3071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3098 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
*resultobj
;
3100 wxString
*arg1
= 0 ;
3101 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3102 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3103 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3104 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3105 wxWindow
*arg4
= (wxWindow
*) NULL
;
3106 int arg5
= (int) -1 ;
3107 int arg6
= (int) -1 ;
3108 bool arg7
= (bool) True
;
3110 bool temp1
= False
;
3111 bool temp2
= False
;
3112 bool temp3
= False
;
3113 PyObject
* obj0
= 0 ;
3114 PyObject
* obj1
= 0 ;
3115 PyObject
* obj2
= 0 ;
3116 PyObject
* obj3
= 0 ;
3117 PyObject
* obj4
= 0 ;
3118 PyObject
* obj5
= 0 ;
3119 PyObject
* obj6
= 0 ;
3121 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3126 arg1
= wxString_in_helper(obj0
);
3127 if (arg1
== NULL
) SWIG_fail
;
3132 arg2
= wxString_in_helper(obj1
);
3133 if (arg2
== NULL
) SWIG_fail
;
3139 arg3
= wxString_in_helper(obj2
);
3140 if (arg3
== NULL
) SWIG_fail
;
3145 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3149 arg5
= (int) SWIG_AsInt(obj4
);
3150 if (PyErr_Occurred()) SWIG_fail
;
3153 arg6
= (int) SWIG_AsInt(obj5
);
3154 if (PyErr_Occurred()) SWIG_fail
;
3157 arg7
= (bool) SWIG_AsBool(obj6
);
3158 if (PyErr_Occurred()) SWIG_fail
;
3161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3162 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3164 wxPyEndAllowThreads(__tstate
);
3165 if (PyErr_Occurred()) SWIG_fail
;
3169 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3171 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3204 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
*resultobj
;
3206 wxString
*arg1
= 0 ;
3207 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3208 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3209 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3210 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3211 wxWindow
*arg4
= (wxWindow
*) NULL
;
3213 bool temp1
= False
;
3214 bool temp2
= False
;
3215 bool temp3
= False
;
3216 PyObject
* obj0
= 0 ;
3217 PyObject
* obj1
= 0 ;
3218 PyObject
* obj2
= 0 ;
3219 PyObject
* obj3
= 0 ;
3221 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3226 arg1
= wxString_in_helper(obj0
);
3227 if (arg1
== NULL
) SWIG_fail
;
3232 arg2
= wxString_in_helper(obj1
);
3233 if (arg2
== NULL
) SWIG_fail
;
3239 arg3
= wxString_in_helper(obj2
);
3240 if (arg3
== NULL
) SWIG_fail
;
3245 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3250 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3252 wxPyEndAllowThreads(__tstate
);
3253 if (PyErr_Occurred()) SWIG_fail
;
3257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3292 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
*resultobj
;
3294 wxString
*arg1
= 0 ;
3295 wxString
*arg2
= 0 ;
3297 wxString
*arg4
= (wxString
*) 0 ;
3298 wxWindow
*arg5
= (wxWindow
*) NULL
;
3299 int arg6
= (int) -1 ;
3300 int arg7
= (int) -1 ;
3301 bool arg8
= (bool) True
;
3302 int arg9
= (int) 150 ;
3303 int arg10
= (int) 200 ;
3305 bool temp1
= False
;
3306 bool temp2
= False
;
3307 PyObject
* obj0
= 0 ;
3308 PyObject
* obj1
= 0 ;
3309 PyObject
* obj2
= 0 ;
3310 PyObject
* obj3
= 0 ;
3311 PyObject
* obj4
= 0 ;
3312 PyObject
* obj5
= 0 ;
3313 PyObject
* obj6
= 0 ;
3314 PyObject
* obj7
= 0 ;
3315 PyObject
* obj8
= 0 ;
3317 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3322 arg1
= wxString_in_helper(obj0
);
3323 if (arg1
== NULL
) SWIG_fail
;
3327 arg2
= wxString_in_helper(obj1
);
3328 if (arg2
== NULL
) SWIG_fail
;
3332 arg3
= PyList_Size(obj2
);
3333 arg4
= wxString_LIST_helper(obj2
);
3334 if (arg4
== NULL
) SWIG_fail
;
3337 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3341 arg6
= (int) SWIG_AsInt(obj4
);
3342 if (PyErr_Occurred()) SWIG_fail
;
3345 arg7
= (int) SWIG_AsInt(obj5
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3349 arg8
= (bool) SWIG_AsBool(obj6
);
3350 if (PyErr_Occurred()) SWIG_fail
;
3353 arg9
= (int) SWIG_AsInt(obj7
);
3354 if (PyErr_Occurred()) SWIG_fail
;
3357 arg10
= (int) SWIG_AsInt(obj8
);
3358 if (PyErr_Occurred()) SWIG_fail
;
3361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3362 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3364 wxPyEndAllowThreads(__tstate
);
3365 if (PyErr_Occurred()) SWIG_fail
;
3369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3383 if (arg4
) delete [] arg4
;
3396 if (arg4
) delete [] arg4
;
3402 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
*resultobj
;
3404 wxString
*arg1
= 0 ;
3405 wxString
*arg2
= 0 ;
3407 wxString
*arg4
= (wxString
*) 0 ;
3408 wxWindow
*arg5
= (wxWindow
*) NULL
;
3409 int arg6
= (int) -1 ;
3410 int arg7
= (int) -1 ;
3411 bool arg8
= (bool) True
;
3412 int arg9
= (int) 150 ;
3413 int arg10
= (int) 200 ;
3415 bool temp1
= False
;
3416 bool temp2
= False
;
3417 PyObject
* obj0
= 0 ;
3418 PyObject
* obj1
= 0 ;
3419 PyObject
* obj2
= 0 ;
3420 PyObject
* obj3
= 0 ;
3421 PyObject
* obj4
= 0 ;
3422 PyObject
* obj5
= 0 ;
3423 PyObject
* obj6
= 0 ;
3424 PyObject
* obj7
= 0 ;
3425 PyObject
* obj8
= 0 ;
3427 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3432 arg1
= wxString_in_helper(obj0
);
3433 if (arg1
== NULL
) SWIG_fail
;
3437 arg2
= wxString_in_helper(obj1
);
3438 if (arg2
== NULL
) SWIG_fail
;
3442 arg3
= PyList_Size(obj2
);
3443 arg4
= wxString_LIST_helper(obj2
);
3444 if (arg4
== NULL
) SWIG_fail
;
3447 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3451 arg6
= (int) SWIG_AsInt(obj4
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3455 arg7
= (int) SWIG_AsInt(obj5
);
3456 if (PyErr_Occurred()) SWIG_fail
;
3459 arg8
= (bool) SWIG_AsBool(obj6
);
3460 if (PyErr_Occurred()) SWIG_fail
;
3463 arg9
= (int) SWIG_AsInt(obj7
);
3464 if (PyErr_Occurred()) SWIG_fail
;
3467 arg10
= (int) SWIG_AsInt(obj8
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3472 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3474 wxPyEndAllowThreads(__tstate
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3477 resultobj
= SWIG_FromInt((int)result
);
3487 if (arg4
) delete [] arg4
;
3500 if (arg4
) delete [] arg4
;
3506 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3507 PyObject
*resultobj
;
3508 wxString
*arg1
= 0 ;
3509 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3510 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3511 int arg3
= (int) wxOK
|wxCENTRE
;
3512 wxWindow
*arg4
= (wxWindow
*) NULL
;
3513 int arg5
= (int) -1 ;
3514 int arg6
= (int) -1 ;
3516 bool temp1
= False
;
3517 bool temp2
= False
;
3518 PyObject
* obj0
= 0 ;
3519 PyObject
* obj1
= 0 ;
3520 PyObject
* obj2
= 0 ;
3521 PyObject
* obj3
= 0 ;
3522 PyObject
* obj4
= 0 ;
3523 PyObject
* obj5
= 0 ;
3525 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3530 arg1
= wxString_in_helper(obj0
);
3531 if (arg1
== NULL
) SWIG_fail
;
3536 arg2
= wxString_in_helper(obj1
);
3537 if (arg2
== NULL
) SWIG_fail
;
3542 arg3
= (int) SWIG_AsInt(obj2
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3546 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3550 arg5
= (int) SWIG_AsInt(obj4
);
3551 if (PyErr_Occurred()) SWIG_fail
;
3554 arg6
= (int) SWIG_AsInt(obj5
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3559 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3561 wxPyEndAllowThreads(__tstate
);
3562 if (PyErr_Occurred()) SWIG_fail
;
3564 resultobj
= SWIG_FromInt((int)result
);
3587 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
*resultobj
;
3589 wxString
*arg1
= 0 ;
3590 wxString
*arg2
= 0 ;
3591 wxString
*arg3
= 0 ;
3593 long arg5
= (long) 0 ;
3594 long arg6
= (long) 100 ;
3595 wxWindow
*arg7
= (wxWindow
*) NULL
;
3596 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3597 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3599 bool temp1
= False
;
3600 bool temp2
= False
;
3601 bool temp3
= False
;
3603 PyObject
* obj0
= 0 ;
3604 PyObject
* obj1
= 0 ;
3605 PyObject
* obj2
= 0 ;
3606 PyObject
* obj3
= 0 ;
3607 PyObject
* obj4
= 0 ;
3608 PyObject
* obj5
= 0 ;
3609 PyObject
* obj6
= 0 ;
3610 PyObject
* obj7
= 0 ;
3612 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3617 arg1
= wxString_in_helper(obj0
);
3618 if (arg1
== NULL
) SWIG_fail
;
3622 arg2
= wxString_in_helper(obj1
);
3623 if (arg2
== NULL
) SWIG_fail
;
3627 arg3
= wxString_in_helper(obj2
);
3628 if (arg3
== NULL
) SWIG_fail
;
3631 arg4
= (long) SWIG_AsLong(obj3
);
3632 if (PyErr_Occurred()) SWIG_fail
;
3634 arg5
= (long) SWIG_AsLong(obj4
);
3635 if (PyErr_Occurred()) SWIG_fail
;
3638 arg6
= (long) SWIG_AsLong(obj5
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3642 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3648 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3658 resultobj
= SWIG_FromLong((long)result
);
3689 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3690 PyObject
*resultobj
;
3696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3699 result
= (bool)wxColourDisplay();
3701 wxPyEndAllowThreads(__tstate
);
3702 if (PyErr_Occurred()) SWIG_fail
;
3705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3713 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3714 PyObject
*resultobj
;
3720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 result
= (int)wxDisplayDepth();
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) SWIG_fail
;
3728 resultobj
= SWIG_FromInt((int)result
);
3735 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3736 PyObject
*resultobj
;
3742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3745 result
= (int)wxGetDisplayDepth();
3747 wxPyEndAllowThreads(__tstate
);
3748 if (PyErr_Occurred()) SWIG_fail
;
3750 resultobj
= SWIG_FromInt((int)result
);
3757 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3758 PyObject
*resultobj
;
3759 int *arg1
= (int *) 0 ;
3760 int *arg2
= (int *) 0 ;
3769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3772 wxDisplaySize(arg1
,arg2
);
3774 wxPyEndAllowThreads(__tstate
);
3775 if (PyErr_Occurred()) SWIG_fail
;
3777 Py_INCREF(Py_None
); resultobj
= Py_None
;
3779 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3780 resultobj
= t_output_helper(resultobj
,o
);
3783 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3784 resultobj
= t_output_helper(resultobj
,o
);
3792 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
*resultobj
;
3799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3802 result
= wxGetDisplaySize();
3804 wxPyEndAllowThreads(__tstate
);
3805 if (PyErr_Occurred()) SWIG_fail
;
3809 resultptr
= new wxSize((wxSize
&) result
);
3810 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3818 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3819 PyObject
*resultobj
;
3820 int *arg1
= (int *) 0 ;
3821 int *arg2
= (int *) 0 ;
3830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3833 wxDisplaySizeMM(arg1
,arg2
);
3835 wxPyEndAllowThreads(__tstate
);
3836 if (PyErr_Occurred()) SWIG_fail
;
3838 Py_INCREF(Py_None
); resultobj
= Py_None
;
3840 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3841 resultobj
= t_output_helper(resultobj
,o
);
3844 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3845 resultobj
= t_output_helper(resultobj
,o
);
3853 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3854 PyObject
*resultobj
;
3860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3863 result
= wxGetDisplaySizeMM();
3865 wxPyEndAllowThreads(__tstate
);
3866 if (PyErr_Occurred()) SWIG_fail
;
3870 resultptr
= new wxSize((wxSize
&) result
);
3871 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3879 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
*resultobj
;
3881 int *arg1
= (int *) 0 ;
3882 int *arg2
= (int *) 0 ;
3883 int *arg3
= (int *) 0 ;
3884 int *arg4
= (int *) 0 ;
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3905 Py_INCREF(Py_None
); resultobj
= Py_None
;
3907 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3908 resultobj
= t_output_helper(resultobj
,o
);
3911 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3912 resultobj
= t_output_helper(resultobj
,o
);
3915 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3916 resultobj
= t_output_helper(resultobj
,o
);
3919 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3920 resultobj
= t_output_helper(resultobj
,o
);
3928 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3929 PyObject
*resultobj
;
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 result
= wxGetClientDisplayRect();
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3945 resultptr
= new wxRect((wxRect
&) result
);
3946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3954 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3955 PyObject
*resultobj
;
3956 wxCursor
*arg1
= 0 ;
3957 PyObject
* obj0
= 0 ;
3959 (char *) "cursor", NULL
3962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
3964 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3967 PyErr_SetString(PyExc_TypeError
,"null reference");
3971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3974 wxPyEndAllowThreads(__tstate
);
3975 if (PyErr_Occurred()) SWIG_fail
;
3977 Py_INCREF(Py_None
); resultobj
= Py_None
;
3984 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
*resultobj
;
3986 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3987 PyObject
* obj0
= 0 ;
3989 (char *) "cursor", NULL
3992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
3994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
3995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3999 wxBeginBusyCursor(arg1
);
4001 wxPyEndAllowThreads(__tstate
);
4002 if (PyErr_Occurred()) SWIG_fail
;
4004 Py_INCREF(Py_None
); resultobj
= Py_None
;
4011 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4012 PyObject
*resultobj
;
4018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4021 result
= (wxWindow
*)wxGetActiveWindow();
4023 wxPyEndAllowThreads(__tstate
);
4024 if (PyErr_Occurred()) SWIG_fail
;
4027 resultobj
= wxPyMake_wxObject(result
);
4035 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
*resultobj
;
4040 PyObject
* obj0
= 0 ;
4045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4048 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4052 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4054 wxPyEndAllowThreads(__tstate
);
4055 if (PyErr_Occurred()) SWIG_fail
;
4058 resultobj
= wxPyMake_wxObject(result
);
4066 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4067 PyObject
*resultobj
;
4071 PyObject
* obj0
= 0 ;
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4079 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4085 wxPyEndAllowThreads(__tstate
);
4086 if (PyErr_Occurred()) SWIG_fail
;
4089 resultobj
= wxPyMake_wxObject(result
);
4097 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4098 PyObject
*resultobj
;
4099 wxWindow
*arg1
= (wxWindow
*) 0 ;
4101 PyObject
* obj0
= 0 ;
4103 (char *) "win", NULL
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) SWIG_fail
;
4117 resultobj
= wxPyMake_wxObject(result
);
4125 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4126 PyObject
*resultobj
;
4129 PyObject
* obj0
= 0 ;
4131 (char *) "key", NULL
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4135 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4136 if (PyErr_Occurred()) SWIG_fail
;
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4153 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
*resultobj
;
4159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4162 wxWakeUpMainThread();
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) SWIG_fail
;
4167 Py_INCREF(Py_None
); resultobj
= Py_None
;
4174 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
*resultobj
;
4180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4185 wxPyEndAllowThreads(__tstate
);
4186 if (PyErr_Occurred()) SWIG_fail
;
4188 Py_INCREF(Py_None
); resultobj
= Py_None
;
4195 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4196 PyObject
*resultobj
;
4201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 wxPyEndAllowThreads(__tstate
);
4207 if (PyErr_Occurred()) SWIG_fail
;
4209 Py_INCREF(Py_None
); resultobj
= Py_None
;
4216 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
*resultobj
;
4218 wxMutexGuiLocker
*result
;
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4238 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
*resultobj
;
4240 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4241 PyObject
* obj0
= 0 ;
4243 (char *) "self", NULL
4246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 Py_INCREF(Py_None
); resultobj
= Py_None
;
4263 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4266 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4268 return Py_BuildValue((char *)"");
4270 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
*resultobj
;
4277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4280 result
= (bool)wxThread_IsMain();
4282 wxPyEndAllowThreads(__tstate
);
4283 if (PyErr_Occurred()) SWIG_fail
;
4286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4294 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
;
4296 wxString
*arg1
= 0 ;
4298 bool temp1
= False
;
4299 PyObject
* obj0
= 0 ;
4301 (char *) "tip", NULL
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4306 arg1
= wxString_in_helper(obj0
);
4307 if (arg1
== NULL
) SWIG_fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) SWIG_fail
;
4318 resultobj
= wxPyMake_wxObject(result
);
4334 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
*resultobj
;
4336 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4337 wxString
*arg2
= 0 ;
4338 bool temp2
= False
;
4339 PyObject
* obj0
= 0 ;
4340 PyObject
* obj1
= 0 ;
4342 (char *) "self",(char *) "tip", NULL
4345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4349 arg2
= wxString_in_helper(obj1
);
4350 if (arg2
== NULL
) SWIG_fail
;
4354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4355 (arg1
)->SetTip((wxString
const &)*arg2
);
4357 wxPyEndAllowThreads(__tstate
);
4358 if (PyErr_Occurred()) SWIG_fail
;
4360 Py_INCREF(Py_None
); resultobj
= Py_None
;
4375 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4376 PyObject
*resultobj
;
4377 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4379 PyObject
* obj0
= 0 ;
4381 (char *) "self", NULL
4384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4389 result
= (arg1
)->GetTip();
4391 wxPyEndAllowThreads(__tstate
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4396 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4398 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4407 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4408 PyObject
*resultobj
;
4409 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4411 PyObject
* obj0
= 0 ;
4413 (char *) "self", NULL
4416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 result
= (wxWindow
*)(arg1
)->GetWindow();
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4427 resultobj
= wxPyMake_wxObject(result
);
4435 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
*resultobj
;
4438 PyObject
* obj0
= 0 ;
4440 (char *) "flag", NULL
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4444 arg1
= (bool) SWIG_AsBool(obj0
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4448 wxToolTip::Enable(arg1
);
4450 wxPyEndAllowThreads(__tstate
);
4451 if (PyErr_Occurred()) SWIG_fail
;
4453 Py_INCREF(Py_None
); resultobj
= Py_None
;
4460 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4461 PyObject
*resultobj
;
4463 PyObject
* obj0
= 0 ;
4465 (char *) "milliseconds", NULL
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4469 arg1
= (long) SWIG_AsLong(obj0
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 wxToolTip::SetDelay(arg1
);
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4478 Py_INCREF(Py_None
); resultobj
= Py_None
;
4485 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4488 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4490 return Py_BuildValue((char *)"");
4492 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
*resultobj
;
4494 wxWindow
*arg1
= (wxWindow
*) 0 ;
4498 PyObject
* obj0
= 0 ;
4499 PyObject
* obj1
= 0 ;
4501 (char *) "window",(char *) "size", NULL
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4509 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4513 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4515 wxPyEndAllowThreads(__tstate
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4525 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
;
4527 wxCaret
*arg1
= (wxCaret
*) 0 ;
4528 PyObject
* obj0
= 0 ;
4530 (char *) "self", NULL
4533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4540 wxPyEndAllowThreads(__tstate
);
4541 if (PyErr_Occurred()) SWIG_fail
;
4543 Py_INCREF(Py_None
); resultobj
= Py_None
;
4550 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
*resultobj
;
4552 wxCaret
*arg1
= (wxCaret
*) 0 ;
4554 PyObject
* obj0
= 0 ;
4556 (char *) "self", NULL
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4564 result
= (bool)(arg1
)->IsOk();
4566 wxPyEndAllowThreads(__tstate
);
4567 if (PyErr_Occurred()) SWIG_fail
;
4570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4578 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
*resultobj
;
4580 wxCaret
*arg1
= (wxCaret
*) 0 ;
4582 PyObject
* obj0
= 0 ;
4584 (char *) "self", NULL
4587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4592 result
= (bool)(arg1
)->IsVisible();
4594 wxPyEndAllowThreads(__tstate
);
4595 if (PyErr_Occurred()) SWIG_fail
;
4598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4606 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4607 PyObject
*resultobj
;
4608 wxCaret
*arg1
= (wxCaret
*) 0 ;
4610 PyObject
* obj0
= 0 ;
4612 (char *) "self", NULL
4615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4620 result
= (arg1
)->GetPosition();
4622 wxPyEndAllowThreads(__tstate
);
4623 if (PyErr_Occurred()) SWIG_fail
;
4626 wxPoint
* resultptr
;
4627 resultptr
= new wxPoint((wxPoint
&) result
);
4628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4636 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
*resultobj
;
4638 wxCaret
*arg1
= (wxCaret
*) 0 ;
4639 int *arg2
= (int *) 0 ;
4640 int *arg3
= (int *) 0 ;
4643 PyObject
* obj0
= 0 ;
4645 (char *) "self", NULL
4650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4655 (arg1
)->GetPosition(arg2
,arg3
);
4657 wxPyEndAllowThreads(__tstate
);
4658 if (PyErr_Occurred()) SWIG_fail
;
4660 Py_INCREF(Py_None
); resultobj
= Py_None
;
4662 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4663 resultobj
= t_output_helper(resultobj
,o
);
4666 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4667 resultobj
= t_output_helper(resultobj
,o
);
4675 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
*resultobj
;
4677 wxCaret
*arg1
= (wxCaret
*) 0 ;
4679 PyObject
* obj0
= 0 ;
4681 (char *) "self", NULL
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4689 result
= (arg1
)->GetSize();
4691 wxPyEndAllowThreads(__tstate
);
4692 if (PyErr_Occurred()) SWIG_fail
;
4696 resultptr
= new wxSize((wxSize
&) result
);
4697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4705 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4706 PyObject
*resultobj
;
4707 wxCaret
*arg1
= (wxCaret
*) 0 ;
4708 int *arg2
= (int *) 0 ;
4709 int *arg3
= (int *) 0 ;
4712 PyObject
* obj0
= 0 ;
4714 (char *) "self", NULL
4719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 (arg1
)->GetSize(arg2
,arg3
);
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4729 Py_INCREF(Py_None
); resultobj
= Py_None
;
4731 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4732 resultobj
= t_output_helper(resultobj
,o
);
4735 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4736 resultobj
= t_output_helper(resultobj
,o
);
4744 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
*resultobj
;
4746 wxCaret
*arg1
= (wxCaret
*) 0 ;
4748 PyObject
* obj0
= 0 ;
4750 (char *) "self", NULL
4753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 result
= (wxWindow
*)(arg1
)->GetWindow();
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4764 resultobj
= wxPyMake_wxObject(result
);
4772 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
*resultobj
;
4774 wxCaret
*arg1
= (wxCaret
*) 0 ;
4777 PyObject
* obj0
= 0 ;
4778 PyObject
* obj1
= 0 ;
4779 PyObject
* obj2
= 0 ;
4781 (char *) "self",(char *) "x",(char *) "y", NULL
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4787 arg2
= (int) SWIG_AsInt(obj1
);
4788 if (PyErr_Occurred()) SWIG_fail
;
4789 arg3
= (int) SWIG_AsInt(obj2
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4793 (arg1
)->Move(arg2
,arg3
);
4795 wxPyEndAllowThreads(__tstate
);
4796 if (PyErr_Occurred()) SWIG_fail
;
4798 Py_INCREF(Py_None
); resultobj
= Py_None
;
4805 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4806 PyObject
*resultobj
;
4807 wxCaret
*arg1
= (wxCaret
*) 0 ;
4810 PyObject
* obj0
= 0 ;
4811 PyObject
* obj1
= 0 ;
4813 (char *) "self",(char *) "pt", NULL
4816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4821 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 (arg1
)->Move((wxPoint
const &)*arg2
);
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4830 Py_INCREF(Py_None
); resultobj
= Py_None
;
4837 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
*resultobj
;
4839 wxCaret
*arg1
= (wxCaret
*) 0 ;
4842 PyObject
* obj0
= 0 ;
4843 PyObject
* obj1
= 0 ;
4844 PyObject
* obj2
= 0 ;
4846 (char *) "self",(char *) "width",(char *) "height", NULL
4849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4852 arg2
= (int) SWIG_AsInt(obj1
);
4853 if (PyErr_Occurred()) SWIG_fail
;
4854 arg3
= (int) SWIG_AsInt(obj2
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 (arg1
)->SetSize(arg2
,arg3
);
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4863 Py_INCREF(Py_None
); resultobj
= Py_None
;
4870 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
*resultobj
;
4872 wxCaret
*arg1
= (wxCaret
*) 0 ;
4875 PyObject
* obj0
= 0 ;
4876 PyObject
* obj1
= 0 ;
4878 (char *) "self",(char *) "size", NULL
4881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4886 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4890 (arg1
)->SetSize((wxSize
const &)*arg2
);
4892 wxPyEndAllowThreads(__tstate
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4895 Py_INCREF(Py_None
); resultobj
= Py_None
;
4902 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
*resultobj
;
4904 wxCaret
*arg1
= (wxCaret
*) 0 ;
4905 int arg2
= (int) True
;
4906 PyObject
* obj0
= 0 ;
4907 PyObject
* obj1
= 0 ;
4909 (char *) "self",(char *) "show", NULL
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4916 arg2
= (int) SWIG_AsInt(obj1
);
4917 if (PyErr_Occurred()) SWIG_fail
;
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) SWIG_fail
;
4926 Py_INCREF(Py_None
); resultobj
= Py_None
;
4933 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
*resultobj
;
4935 wxCaret
*arg1
= (wxCaret
*) 0 ;
4936 PyObject
* obj0
= 0 ;
4938 (char *) "self", NULL
4941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4951 Py_INCREF(Py_None
); resultobj
= Py_None
;
4958 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
4960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4961 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4963 return Py_BuildValue((char *)"");
4965 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
*resultobj
;
4972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4975 result
= (int)wxCaret_GetBlinkTime();
4977 wxPyEndAllowThreads(__tstate
);
4978 if (PyErr_Occurred()) SWIG_fail
;
4980 resultobj
= SWIG_FromInt((int)result
);
4987 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4988 PyObject
*resultobj
;
4990 PyObject
* obj0
= 0 ;
4992 (char *) "milliseconds", NULL
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
4996 arg1
= (int) SWIG_AsInt(obj0
);
4997 if (PyErr_Occurred()) SWIG_fail
;
4999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5000 wxCaret_SetBlinkTime(arg1
);
5002 wxPyEndAllowThreads(__tstate
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5005 Py_INCREF(Py_None
); resultobj
= Py_None
;
5012 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5013 PyObject
*resultobj
;
5014 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5015 wxBusyCursor
*result
;
5016 PyObject
* obj0
= 0 ;
5018 (char *) "cursor", NULL
5021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5028 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5030 wxPyEndAllowThreads(__tstate
);
5031 if (PyErr_Occurred()) SWIG_fail
;
5033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5040 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5041 PyObject
*resultobj
;
5042 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5043 PyObject
* obj0
= 0 ;
5045 (char *) "self", NULL
5048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5058 Py_INCREF(Py_None
); resultobj
= Py_None
;
5065 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5068 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5070 return Py_BuildValue((char *)"");
5072 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
*resultobj
;
5074 wxWindow
*arg1
= (wxWindow
*) NULL
;
5075 wxWindowDisabler
*result
;
5076 PyObject
* obj0
= 0 ;
5078 (char *) "winToSkip", NULL
5081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5088 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5090 wxPyEndAllowThreads(__tstate
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5100 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5101 PyObject
*resultobj
;
5102 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5103 PyObject
* obj0
= 0 ;
5105 (char *) "self", NULL
5108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 wxPyEndAllowThreads(__tstate
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5118 Py_INCREF(Py_None
); resultobj
= Py_None
;
5125 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5128 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5130 return Py_BuildValue((char *)"");
5132 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
*resultobj
;
5134 wxString
*arg1
= 0 ;
5136 bool temp1
= False
;
5137 PyObject
* obj0
= 0 ;
5139 (char *) "message", NULL
5142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5144 arg1
= wxString_in_helper(obj0
);
5145 if (arg1
== NULL
) SWIG_fail
;
5149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5150 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5152 wxPyEndAllowThreads(__tstate
);
5153 if (PyErr_Occurred()) SWIG_fail
;
5155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5170 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5171 PyObject
*resultobj
;
5172 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5173 PyObject
* obj0
= 0 ;
5175 (char *) "self", NULL
5178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5188 Py_INCREF(Py_None
); resultobj
= Py_None
;
5195 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5197 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5198 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5200 return Py_BuildValue((char *)"");
5202 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5203 PyObject
*resultobj
;
5204 wxStopWatch
*result
;
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5212 result
= (wxStopWatch
*)new wxStopWatch();
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5224 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
*resultobj
;
5226 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5227 long arg2
= (long) 0 ;
5228 PyObject
* obj0
= 0 ;
5229 PyObject
* obj1
= 0 ;
5231 (char *) "self",(char *) "t0", NULL
5234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5238 arg2
= (long) SWIG_AsLong(obj1
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5243 (arg1
)->Start(arg2
);
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) SWIG_fail
;
5248 Py_INCREF(Py_None
); resultobj
= Py_None
;
5255 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5256 PyObject
*resultobj
;
5257 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5258 PyObject
* obj0
= 0 ;
5260 (char *) "self", NULL
5263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 wxPyEndAllowThreads(__tstate
);
5271 if (PyErr_Occurred()) SWIG_fail
;
5273 Py_INCREF(Py_None
); resultobj
= Py_None
;
5280 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5281 PyObject
*resultobj
;
5282 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5283 PyObject
* obj0
= 0 ;
5285 (char *) "self", NULL
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",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();
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5298 Py_INCREF(Py_None
); resultobj
= Py_None
;
5305 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
*resultobj
;
5307 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5309 PyObject
* obj0
= 0 ;
5311 (char *) "self", NULL
5314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5319 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5324 resultobj
= SWIG_FromLong((long)result
);
5331 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5334 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5336 return Py_BuildValue((char *)"");
5338 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
*resultobj
;
5340 int arg1
= (int) 9 ;
5341 wxFileHistory
*result
;
5342 PyObject
* obj0
= 0 ;
5344 (char *) "maxFiles", NULL
5347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5349 arg1
= (int) SWIG_AsInt(obj0
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5354 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) SWIG_fail
;
5359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5366 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
*resultobj
;
5368 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5369 PyObject
* obj0
= 0 ;
5371 (char *) "self", NULL
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 wxPyEndAllowThreads(__tstate
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5384 Py_INCREF(Py_None
); resultobj
= Py_None
;
5391 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5392 PyObject
*resultobj
;
5393 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5394 wxString
*arg2
= 0 ;
5395 bool temp2
= False
;
5396 PyObject
* obj0
= 0 ;
5397 PyObject
* obj1
= 0 ;
5399 (char *) "self",(char *) "file", NULL
5402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5406 arg2
= wxString_in_helper(obj1
);
5407 if (arg2
== NULL
) SWIG_fail
;
5411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5412 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5417 Py_INCREF(Py_None
); resultobj
= Py_None
;
5432 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5433 PyObject
*resultobj
;
5434 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5436 PyObject
* obj0
= 0 ;
5437 PyObject
* obj1
= 0 ;
5439 (char *) "self",(char *) "i", NULL
5442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5445 arg2
= (int) SWIG_AsInt(obj1
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5449 (arg1
)->RemoveFileFromHistory(arg2
);
5451 wxPyEndAllowThreads(__tstate
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5454 Py_INCREF(Py_None
); resultobj
= Py_None
;
5461 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
*resultobj
;
5463 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5465 PyObject
* obj0
= 0 ;
5467 (char *) "self", NULL
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) SWIG_fail
;
5480 resultobj
= SWIG_FromInt((int)result
);
5487 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
*resultobj
;
5489 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5490 wxMenu
*arg2
= (wxMenu
*) 0 ;
5491 PyObject
* obj0
= 0 ;
5492 PyObject
* obj1
= 0 ;
5494 (char *) "self",(char *) "menu", NULL
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5504 (arg1
)->UseMenu(arg2
);
5506 wxPyEndAllowThreads(__tstate
);
5507 if (PyErr_Occurred()) SWIG_fail
;
5509 Py_INCREF(Py_None
); resultobj
= Py_None
;
5516 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
*resultobj
;
5518 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5519 wxMenu
*arg2
= (wxMenu
*) 0 ;
5520 PyObject
* obj0
= 0 ;
5521 PyObject
* obj1
= 0 ;
5523 (char *) "self",(char *) "menu", NULL
5526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 (arg1
)->RemoveMenu(arg2
);
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5538 Py_INCREF(Py_None
); resultobj
= Py_None
;
5545 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
*resultobj
;
5547 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5548 wxConfigBase
*arg2
= 0 ;
5549 PyObject
* obj0
= 0 ;
5550 PyObject
* obj1
= 0 ;
5552 (char *) "self",(char *) "config", NULL
5555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5559 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5562 PyErr_SetString(PyExc_TypeError
,"null reference");
5566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5567 (arg1
)->Load(*arg2
);
5569 wxPyEndAllowThreads(__tstate
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5572 Py_INCREF(Py_None
); resultobj
= Py_None
;
5579 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5580 PyObject
*resultobj
;
5581 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5582 wxConfigBase
*arg2
= 0 ;
5583 PyObject
* obj0
= 0 ;
5584 PyObject
* obj1
= 0 ;
5586 (char *) "self",(char *) "config", NULL
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5593 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5596 PyErr_SetString(PyExc_TypeError
,"null reference");
5600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5601 (arg1
)->Save(*arg2
);
5603 wxPyEndAllowThreads(__tstate
);
5604 if (PyErr_Occurred()) SWIG_fail
;
5606 Py_INCREF(Py_None
); resultobj
= Py_None
;
5613 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5614 PyObject
*resultobj
;
5615 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5616 PyObject
* obj0
= 0 ;
5618 (char *) "self", NULL
5621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5626 (arg1
)->AddFilesToMenu();
5628 wxPyEndAllowThreads(__tstate
);
5629 if (PyErr_Occurred()) SWIG_fail
;
5631 Py_INCREF(Py_None
); resultobj
= Py_None
;
5638 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
*resultobj
;
5640 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5641 wxMenu
*arg2
= (wxMenu
*) 0 ;
5642 PyObject
* obj0
= 0 ;
5643 PyObject
* obj1
= 0 ;
5645 (char *) "self",(char *) "menu", NULL
5648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 (arg1
)->AddFilesToMenu(arg2
);
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5660 Py_INCREF(Py_None
); resultobj
= Py_None
;
5667 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
*resultobj
;
5669 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5672 PyObject
* obj0
= 0 ;
5673 PyObject
* obj1
= 0 ;
5675 (char *) "self",(char *) "i", NULL
5678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5681 arg2
= (int) SWIG_AsInt(obj1
);
5682 if (PyErr_Occurred()) SWIG_fail
;
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5685 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5692 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5694 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5703 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5704 PyObject
*resultobj
;
5705 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5707 PyObject
* obj0
= 0 ;
5709 (char *) "self", NULL
5712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5717 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5719 wxPyEndAllowThreads(__tstate
);
5720 if (PyErr_Occurred()) SWIG_fail
;
5722 resultobj
= SWIG_FromInt((int)result
);
5729 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5732 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5734 return Py_BuildValue((char *)"");
5736 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
*resultobj
;
5738 wxString
*arg1
= 0 ;
5739 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5740 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5741 wxSingleInstanceChecker
*result
;
5742 bool temp1
= False
;
5743 bool temp2
= False
;
5744 PyObject
* obj0
= 0 ;
5745 PyObject
* obj1
= 0 ;
5747 (char *) "name",(char *) "path", NULL
5750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5752 arg1
= wxString_in_helper(obj0
);
5753 if (arg1
== NULL
) SWIG_fail
;
5758 arg2
= wxString_in_helper(obj1
);
5759 if (arg2
== NULL
) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5793 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5794 PyObject
*resultobj
;
5795 wxSingleInstanceChecker
*result
;
5800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5803 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5805 wxPyEndAllowThreads(__tstate
);
5806 if (PyErr_Occurred()) SWIG_fail
;
5808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5815 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
*resultobj
;
5817 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5818 PyObject
* obj0
= 0 ;
5820 (char *) "self", NULL
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 wxPyEndAllowThreads(__tstate
);
5831 if (PyErr_Occurred()) SWIG_fail
;
5833 Py_INCREF(Py_None
); resultobj
= Py_None
;
5840 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
*resultobj
;
5842 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5843 wxString
*arg2
= 0 ;
5844 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5845 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5847 bool temp2
= False
;
5848 bool temp3
= False
;
5849 PyObject
* obj0
= 0 ;
5850 PyObject
* obj1
= 0 ;
5851 PyObject
* obj2
= 0 ;
5853 (char *) "self",(char *) "name",(char *) "path", NULL
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5860 arg2
= wxString_in_helper(obj1
);
5861 if (arg2
== NULL
) SWIG_fail
;
5866 arg3
= wxString_in_helper(obj2
);
5867 if (arg3
== NULL
) SWIG_fail
;
5872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5873 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5875 wxPyEndAllowThreads(__tstate
);
5876 if (PyErr_Occurred()) SWIG_fail
;
5879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5903 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
*resultobj
;
5905 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5907 PyObject
* obj0
= 0 ;
5909 (char *) "self", NULL
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5919 wxPyEndAllowThreads(__tstate
);
5920 if (PyErr_Occurred()) SWIG_fail
;
5923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5931 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5934 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5936 return Py_BuildValue((char *)"");
5938 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5939 PyObject
*resultobj
;
5940 wxWindow
*arg1
= (wxWindow
*) 0 ;
5943 PyObject
* obj0
= 0 ;
5944 PyObject
* obj1
= 0 ;
5945 PyObject
* obj2
= 0 ;
5947 (char *) "window",(char *) "dc",(char *) "method", NULL
5950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5954 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5957 PyErr_SetString(PyExc_TypeError
,"null reference");
5960 arg3
= (int) SWIG_AsInt(obj2
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5966 wxPyEndAllowThreads(__tstate
);
5967 if (PyErr_Occurred()) SWIG_fail
;
5969 Py_INCREF(Py_None
); resultobj
= Py_None
;
5976 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5977 PyObject
*resultobj
;
5978 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5979 PyObject
* obj0
= 0 ;
5981 (char *) "self", NULL
5984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
5985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
5986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5994 Py_INCREF(Py_None
); resultobj
= Py_None
;
6001 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
*resultobj
;
6003 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6005 PyObject
* obj0
= 0 ;
6007 (char *) "self", NULL
6010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6015 result
= (arg1
)->GetTip();
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) SWIG_fail
;
6022 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6024 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6033 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6035 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6037 PyObject
* obj0
= 0 ;
6039 (char *) "self", NULL
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 result
= (size_t)(arg1
)->GetCurrentTip();
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6052 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6059 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6060 PyObject
*resultobj
;
6061 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6062 wxString
*arg2
= 0 ;
6064 bool temp2
= False
;
6065 PyObject
* obj0
= 0 ;
6066 PyObject
* obj1
= 0 ;
6068 (char *) "self",(char *) "tip", NULL
6071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6075 arg2
= wxString_in_helper(obj1
);
6076 if (arg2
== NULL
) SWIG_fail
;
6080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6081 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6083 wxPyEndAllowThreads(__tstate
);
6084 if (PyErr_Occurred()) SWIG_fail
;
6088 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6090 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6107 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6110 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6112 return Py_BuildValue((char *)"");
6114 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6115 PyObject
*resultobj
;
6117 wxPyTipProvider
*result
;
6118 PyObject
* obj0
= 0 ;
6120 (char *) "currentTip", NULL
6123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6124 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6128 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6130 wxPyEndAllowThreads(__tstate
);
6131 if (PyErr_Occurred()) SWIG_fail
;
6133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6140 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6141 PyObject
*resultobj
;
6142 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6143 PyObject
*arg2
= (PyObject
*) 0 ;
6144 PyObject
*arg3
= (PyObject
*) 0 ;
6145 PyObject
* obj0
= 0 ;
6146 PyObject
* obj1
= 0 ;
6147 PyObject
* obj2
= 0 ;
6149 (char *) "self",(char *) "self",(char *) "_class", NULL
6152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6159 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6161 wxPyEndAllowThreads(__tstate
);
6162 if (PyErr_Occurred()) SWIG_fail
;
6164 Py_INCREF(Py_None
); resultobj
= Py_None
;
6171 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6174 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6176 return Py_BuildValue((char *)"");
6178 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6179 PyObject
*resultobj
;
6180 wxWindow
*arg1
= (wxWindow
*) 0 ;
6181 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6182 bool arg3
= (bool) True
;
6184 PyObject
* obj0
= 0 ;
6185 PyObject
* obj1
= 0 ;
6186 PyObject
* obj2
= 0 ;
6188 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6197 arg3
= (bool) SWIG_AsBool(obj2
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6202 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6204 wxPyEndAllowThreads(__tstate
);
6205 if (PyErr_Occurred()) SWIG_fail
;
6208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6216 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
*resultobj
;
6218 wxString
*arg1
= 0 ;
6220 wxTipProvider
*result
;
6221 bool temp1
= False
;
6222 PyObject
* obj0
= 0 ;
6223 PyObject
* obj1
= 0 ;
6225 (char *) "filename",(char *) "currentTip", NULL
6228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6230 arg1
= wxString_in_helper(obj0
);
6231 if (arg1
== NULL
) SWIG_fail
;
6234 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6235 if (PyErr_Occurred()) SWIG_fail
;
6237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6238 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6240 wxPyEndAllowThreads(__tstate
);
6241 if (PyErr_Occurred()) SWIG_fail
;
6243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6258 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6259 PyObject
*resultobj
;
6260 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6261 int arg2
= (int) -1 ;
6263 PyObject
* obj0
= 0 ;
6264 PyObject
* obj1
= 0 ;
6266 (char *) "owner",(char *) "id", NULL
6269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6275 arg2
= (int) SWIG_AsInt(obj1
);
6276 if (PyErr_Occurred()) SWIG_fail
;
6279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6292 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
*resultobj
;
6294 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6295 PyObject
* obj0
= 0 ;
6297 (char *) "self", NULL
6300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 wxPyEndAllowThreads(__tstate
);
6308 if (PyErr_Occurred()) SWIG_fail
;
6310 Py_INCREF(Py_None
); resultobj
= Py_None
;
6317 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
*resultobj
;
6319 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6320 PyObject
*arg2
= (PyObject
*) 0 ;
6321 PyObject
*arg3
= (PyObject
*) 0 ;
6322 int arg4
= (int) 1 ;
6323 PyObject
* obj0
= 0 ;
6324 PyObject
* obj1
= 0 ;
6325 PyObject
* obj2
= 0 ;
6326 PyObject
* obj3
= 0 ;
6328 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6337 arg4
= (int) SWIG_AsInt(obj3
);
6338 if (PyErr_Occurred()) SWIG_fail
;
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6347 Py_INCREF(Py_None
); resultobj
= Py_None
;
6354 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
*resultobj
;
6356 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6357 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6358 int arg3
= (int) -1 ;
6359 PyObject
* obj0
= 0 ;
6360 PyObject
* obj1
= 0 ;
6361 PyObject
* obj2
= 0 ;
6363 (char *) "self",(char *) "owner",(char *) "id", NULL
6366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6372 arg3
= (int) SWIG_AsInt(obj2
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 (arg1
)->SetOwner(arg2
,arg3
);
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6382 Py_INCREF(Py_None
); resultobj
= Py_None
;
6389 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
;
6391 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6392 int arg2
= (int) -1 ;
6393 bool arg3
= (bool) False
;
6395 PyObject
* obj0
= 0 ;
6396 PyObject
* obj1
= 0 ;
6397 PyObject
* obj2
= 0 ;
6399 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6406 arg2
= (int) SWIG_AsInt(obj1
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6410 arg3
= (bool) SWIG_AsBool(obj2
);
6411 if (PyErr_Occurred()) SWIG_fail
;
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6429 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6430 PyObject
*resultobj
;
6431 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6432 PyObject
* obj0
= 0 ;
6434 (char *) "self", NULL
6437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) SWIG_fail
;
6447 Py_INCREF(Py_None
); resultobj
= Py_None
;
6454 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6455 PyObject
*resultobj
;
6456 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6458 PyObject
* obj0
= 0 ;
6460 (char *) "self", NULL
6463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6468 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6470 wxPyEndAllowThreads(__tstate
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6482 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6483 PyObject
*resultobj
;
6484 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6486 PyObject
* obj0
= 0 ;
6488 (char *) "self", NULL
6491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6496 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6498 wxPyEndAllowThreads(__tstate
);
6499 if (PyErr_Occurred()) SWIG_fail
;
6501 resultobj
= SWIG_FromInt((int)result
);
6508 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6509 PyObject
*resultobj
;
6510 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6512 PyObject
* obj0
= 0 ;
6514 (char *) "self", NULL
6517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6522 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6524 wxPyEndAllowThreads(__tstate
);
6525 if (PyErr_Occurred()) SWIG_fail
;
6528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6536 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
*resultobj
;
6538 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6540 PyObject
* obj0
= 0 ;
6542 (char *) "self", NULL
6545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6550 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6552 wxPyEndAllowThreads(__tstate
);
6553 if (PyErr_Occurred()) SWIG_fail
;
6555 resultobj
= SWIG_FromInt((int)result
);
6562 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6564 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6565 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6567 return Py_BuildValue((char *)"");
6569 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
;
6571 int arg1
= (int) 0 ;
6572 int arg2
= (int) 0 ;
6573 wxTimerEvent
*result
;
6574 PyObject
* obj0
= 0 ;
6575 PyObject
* obj1
= 0 ;
6577 (char *) "timerid",(char *) "interval", NULL
6580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6582 arg1
= (int) SWIG_AsInt(obj0
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6586 arg2
= (int) SWIG_AsInt(obj1
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6591 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6593 wxPyEndAllowThreads(__tstate
);
6594 if (PyErr_Occurred()) SWIG_fail
;
6596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6603 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
*resultobj
;
6605 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6607 PyObject
* obj0
= 0 ;
6609 (char *) "self", NULL
6612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6617 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6619 wxPyEndAllowThreads(__tstate
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6622 resultobj
= SWIG_FromInt((int)result
);
6629 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6632 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6634 return Py_BuildValue((char *)"");
6636 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6637 PyObject
*resultobj
;
6639 wxTimerRunner
*result
;
6640 PyObject
* obj0
= 0 ;
6642 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6644 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6647 PyErr_SetString(PyExc_TypeError
,"null reference");
6651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
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__SWIG_1(PyObject
*self
, PyObject
*args
) {
6665 PyObject
*resultobj
;
6668 bool arg3
= (bool) False
;
6669 wxTimerRunner
*result
;
6670 PyObject
* obj0
= 0 ;
6671 PyObject
* obj1
= 0 ;
6672 PyObject
* obj2
= 0 ;
6674 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6676 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6679 PyErr_SetString(PyExc_TypeError
,"null reference");
6682 arg2
= (int) SWIG_AsInt(obj1
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6685 arg3
= (bool) SWIG_AsBool(obj2
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6690 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6692 wxPyEndAllowThreads(__tstate
);
6693 if (PyErr_Occurred()) SWIG_fail
;
6695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6702 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6707 argc
= PyObject_Length(args
);
6708 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6709 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6715 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6723 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6726 if ((argc
>= 2) && (argc
<= 3)) {
6730 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6738 _v
= SWIG_CheckInt(argv
[1]);
6741 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6743 _v
= SWIG_CheckBool(argv
[2]);
6745 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6751 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6756 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6757 PyObject
*resultobj
;
6758 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6759 PyObject
* obj0
= 0 ;
6761 (char *) "self", NULL
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) SWIG_fail
;
6774 Py_INCREF(Py_None
); resultobj
= Py_None
;
6781 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6782 PyObject
*resultobj
;
6783 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6785 bool arg3
= (bool) False
;
6786 PyObject
* obj0
= 0 ;
6787 PyObject
* obj1
= 0 ;
6788 PyObject
* obj2
= 0 ;
6790 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6796 arg2
= (int) SWIG_AsInt(obj1
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6799 arg3
= (bool) SWIG_AsBool(obj2
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6804 (arg1
)->Start(arg2
,arg3
);
6806 wxPyEndAllowThreads(__tstate
);
6807 if (PyErr_Occurred()) SWIG_fail
;
6809 Py_INCREF(Py_None
); resultobj
= Py_None
;
6816 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6819 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6821 return Py_BuildValue((char *)"");
6823 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
*resultobj
;
6830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6833 result
= (wxLog
*)new wxLog();
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
6845 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
*resultobj
;
6852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6855 result
= (bool)wxLog::IsEnabled();
6857 wxPyEndAllowThreads(__tstate
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6869 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6870 PyObject
*resultobj
;
6871 bool arg1
= (bool) True
;
6873 PyObject
* obj0
= 0 ;
6875 (char *) "doIt", NULL
6878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6880 arg1
= (bool) SWIG_AsBool(obj0
);
6881 if (PyErr_Occurred()) SWIG_fail
;
6884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6885 result
= (bool)wxLog::EnableLogging(arg1
);
6887 wxPyEndAllowThreads(__tstate
);
6888 if (PyErr_Occurred()) SWIG_fail
;
6891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6899 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6900 PyObject
*resultobj
;
6902 wxChar
*arg2
= (wxChar
*) 0 ;
6904 PyObject
* obj0
= 0 ;
6905 PyObject
* obj1
= 0 ;
6906 PyObject
* obj2
= 0 ;
6908 (char *) "level",(char *) "szString",(char *) "t", NULL
6911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6912 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
6913 if (PyErr_Occurred()) SWIG_fail
;
6914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
6915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6916 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
6917 if (PyErr_Occurred()) SWIG_fail
;
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6925 Py_INCREF(Py_None
); resultobj
= Py_None
;
6932 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
*resultobj
;
6934 wxLog
*arg1
= (wxLog
*) 0 ;
6935 PyObject
* obj0
= 0 ;
6937 (char *) "self", NULL
6940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
6942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 wxPyEndAllowThreads(__tstate
);
6948 if (PyErr_Occurred()) SWIG_fail
;
6950 Py_INCREF(Py_None
); resultobj
= Py_None
;
6957 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
*resultobj
;
6963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6966 wxLog::FlushActive();
6968 wxPyEndAllowThreads(__tstate
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6971 Py_INCREF(Py_None
); resultobj
= Py_None
;
6978 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
*resultobj
;
6985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
6987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6988 result
= (wxLog
*)wxLog::GetActiveTarget();
6990 wxPyEndAllowThreads(__tstate
);
6991 if (PyErr_Occurred()) SWIG_fail
;
6993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7000 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
*resultobj
;
7002 wxLog
*arg1
= (wxLog
*) 0 ;
7004 PyObject
* obj0
= 0 ;
7006 (char *) "pLogger", NULL
7009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7014 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7016 wxPyEndAllowThreads(__tstate
);
7017 if (PyErr_Occurred()) SWIG_fail
;
7019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7026 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
*resultobj
;
7032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7040 Py_INCREF(Py_None
); resultobj
= Py_None
;
7047 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
*resultobj
;
7053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7058 wxPyEndAllowThreads(__tstate
);
7059 if (PyErr_Occurred()) SWIG_fail
;
7061 Py_INCREF(Py_None
); resultobj
= Py_None
;
7068 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7069 PyObject
*resultobj
;
7070 bool arg1
= (bool) True
;
7071 PyObject
* obj0
= 0 ;
7073 (char *) "bVerbose", NULL
7076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7078 arg1
= (bool) SWIG_AsBool(obj0
);
7079 if (PyErr_Occurred()) SWIG_fail
;
7082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7083 wxLog::SetVerbose(arg1
);
7085 wxPyEndAllowThreads(__tstate
);
7086 if (PyErr_Occurred()) SWIG_fail
;
7088 Py_INCREF(Py_None
); resultobj
= Py_None
;
7095 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7096 PyObject
*resultobj
;
7098 PyObject
* obj0
= 0 ;
7100 (char *) "logLevel", NULL
7103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7104 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7108 wxLog::SetLogLevel(arg1
);
7110 wxPyEndAllowThreads(__tstate
);
7111 if (PyErr_Occurred()) SWIG_fail
;
7113 Py_INCREF(Py_None
); resultobj
= Py_None
;
7120 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7121 PyObject
*resultobj
;
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7129 wxLog::DontCreateOnDemand();
7131 wxPyEndAllowThreads(__tstate
);
7132 if (PyErr_Occurred()) SWIG_fail
;
7134 Py_INCREF(Py_None
); resultobj
= Py_None
;
7141 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7142 PyObject
*resultobj
;
7144 PyObject
* obj0
= 0 ;
7146 (char *) "ulMask", NULL
7149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7150 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 wxLog::SetTraceMask(arg1
);
7156 wxPyEndAllowThreads(__tstate
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7159 Py_INCREF(Py_None
); resultobj
= Py_None
;
7166 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
*resultobj
;
7168 wxString
*arg1
= 0 ;
7169 bool temp1
= False
;
7170 PyObject
* obj0
= 0 ;
7172 (char *) "str", NULL
7175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7177 arg1
= wxString_in_helper(obj0
);
7178 if (arg1
== NULL
) SWIG_fail
;
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7183 wxLog::AddTraceMask((wxString
const &)*arg1
);
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) SWIG_fail
;
7188 Py_INCREF(Py_None
); resultobj
= Py_None
;
7203 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
*resultobj
;
7205 wxString
*arg1
= 0 ;
7206 bool temp1
= False
;
7207 PyObject
* obj0
= 0 ;
7209 (char *) "str", NULL
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7214 arg1
= wxString_in_helper(obj0
);
7215 if (arg1
== NULL
) SWIG_fail
;
7219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7220 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7222 wxPyEndAllowThreads(__tstate
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7225 Py_INCREF(Py_None
); resultobj
= Py_None
;
7240 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7241 PyObject
*resultobj
;
7246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 wxLog::ClearTraceMasks();
7251 wxPyEndAllowThreads(__tstate
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7254 Py_INCREF(Py_None
); resultobj
= Py_None
;
7261 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
*resultobj
;
7263 wxArrayString
*result
;
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7272 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7273 result
= (wxArrayString
*) &_result_ref
;
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7280 resultobj
= wxArrayString2PyList_helper(*result
);
7288 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
*resultobj
;
7290 wxChar
*arg1
= (wxChar
*) 0 ;
7291 PyObject
* obj0
= 0 ;
7296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7301 wxLog::SetTimestamp((wxChar
const *)arg1
);
7303 wxPyEndAllowThreads(__tstate
);
7304 if (PyErr_Occurred()) SWIG_fail
;
7306 Py_INCREF(Py_None
); resultobj
= Py_None
;
7313 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7314 PyObject
*resultobj
;
7320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7323 result
= (bool)wxLog::GetVerbose();
7325 wxPyEndAllowThreads(__tstate
);
7326 if (PyErr_Occurred()) SWIG_fail
;
7329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7337 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
*resultobj
;
7344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 result
= (wxTraceMask
)wxLog::GetTraceMask();
7349 wxPyEndAllowThreads(__tstate
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7352 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7359 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
*resultobj
;
7361 wxChar
*arg1
= (wxChar
*) 0 ;
7363 PyObject
* obj0
= 0 ;
7365 (char *) "mask", NULL
7368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7373 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7387 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
*resultobj
;
7394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7397 result
= (wxLogLevel
)wxLog::GetLogLevel();
7399 wxPyEndAllowThreads(__tstate
);
7400 if (PyErr_Occurred()) SWIG_fail
;
7402 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7409 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7410 PyObject
*resultobj
;
7416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7419 result
= (wxChar
*)wxLog::GetTimestamp();
7421 wxPyEndAllowThreads(__tstate
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7431 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
;
7438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7441 result
= Log_TimeStamp();
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7448 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7450 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7459 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7460 PyObject
*resultobj
;
7461 wxLog
*arg1
= (wxLog
*) 0 ;
7462 PyObject
* obj0
= 0 ;
7464 (char *) "self", NULL
7467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7472 wxLog_Destroy(arg1
);
7474 wxPyEndAllowThreads(__tstate
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7477 Py_INCREF(Py_None
); resultobj
= Py_None
;
7484 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7487 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7489 return Py_BuildValue((char *)"");
7491 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7492 PyObject
*resultobj
;
7493 wxLogStderr
*result
;
7498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7501 result
= (wxLogStderr
*)new wxLogStderr();
7503 wxPyEndAllowThreads(__tstate
);
7504 if (PyErr_Occurred()) SWIG_fail
;
7506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7513 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7516 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7518 return Py_BuildValue((char *)"");
7520 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
*resultobj
;
7522 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7523 wxLogTextCtrl
*result
;
7524 PyObject
* obj0
= 0 ;
7526 (char *) "pTextCtrl", NULL
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7546 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7549 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7551 return Py_BuildValue((char *)"");
7553 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7554 PyObject
*resultobj
;
7560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 result
= (wxLogGui
*)new wxLogGui();
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7575 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7578 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7580 return Py_BuildValue((char *)"");
7582 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7583 PyObject
*resultobj
;
7584 wxFrame
*arg1
= (wxFrame
*) 0 ;
7585 wxString
*arg2
= 0 ;
7586 bool arg3
= (bool) True
;
7587 bool arg4
= (bool) True
;
7588 wxLogWindow
*result
;
7589 bool temp2
= False
;
7590 PyObject
* obj0
= 0 ;
7591 PyObject
* obj1
= 0 ;
7592 PyObject
* obj2
= 0 ;
7593 PyObject
* obj3
= 0 ;
7595 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7602 arg2
= wxString_in_helper(obj1
);
7603 if (arg2
== NULL
) SWIG_fail
;
7607 arg3
= (bool) SWIG_AsBool(obj2
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7611 arg4
= (bool) SWIG_AsBool(obj3
);
7612 if (PyErr_Occurred()) SWIG_fail
;
7615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7616 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7618 wxPyEndAllowThreads(__tstate
);
7619 if (PyErr_Occurred()) SWIG_fail
;
7621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7636 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
*resultobj
;
7638 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7639 bool arg2
= (bool) True
;
7640 PyObject
* obj0
= 0 ;
7641 PyObject
* obj1
= 0 ;
7643 (char *) "self",(char *) "bShow", NULL
7646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7650 arg2
= (bool) SWIG_AsBool(obj1
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7657 wxPyEndAllowThreads(__tstate
);
7658 if (PyErr_Occurred()) SWIG_fail
;
7660 Py_INCREF(Py_None
); resultobj
= Py_None
;
7667 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7668 PyObject
*resultobj
;
7669 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7671 PyObject
* obj0
= 0 ;
7673 (char *) "self", NULL
7676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7681 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7683 wxPyEndAllowThreads(__tstate
);
7684 if (PyErr_Occurred()) SWIG_fail
;
7687 resultobj
= wxPyMake_wxObject(result
);
7695 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7696 PyObject
*resultobj
;
7697 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7699 PyObject
* obj0
= 0 ;
7701 (char *) "self", NULL
7704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7709 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7711 wxPyEndAllowThreads(__tstate
);
7712 if (PyErr_Occurred()) SWIG_fail
;
7714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7721 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7722 PyObject
*resultobj
;
7723 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7725 PyObject
* obj0
= 0 ;
7727 (char *) "self", NULL
7730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7749 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
*resultobj
;
7751 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7753 PyObject
* obj0
= 0 ;
7754 PyObject
* obj1
= 0 ;
7756 (char *) "self",(char *) "bDoPass", NULL
7759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7762 arg2
= (bool) SWIG_AsBool(obj1
);
7763 if (PyErr_Occurred()) SWIG_fail
;
7765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7766 (arg1
)->PassMessages(arg2
);
7768 wxPyEndAllowThreads(__tstate
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7771 Py_INCREF(Py_None
); resultobj
= Py_None
;
7778 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7781 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7783 return Py_BuildValue((char *)"");
7785 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7786 PyObject
*resultobj
;
7787 wxLog
*arg1
= (wxLog
*) 0 ;
7789 PyObject
* obj0
= 0 ;
7791 (char *) "logger", NULL
7794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7799 result
= (wxLogChain
*)new wxLogChain(arg1
);
7801 wxPyEndAllowThreads(__tstate
);
7802 if (PyErr_Occurred()) SWIG_fail
;
7804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
7811 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
*resultobj
;
7813 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7814 wxLog
*arg2
= (wxLog
*) 0 ;
7815 PyObject
* obj0
= 0 ;
7816 PyObject
* obj1
= 0 ;
7818 (char *) "self",(char *) "logger", NULL
7821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7824 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
7825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7828 (arg1
)->SetLog(arg2
);
7830 wxPyEndAllowThreads(__tstate
);
7831 if (PyErr_Occurred()) SWIG_fail
;
7833 Py_INCREF(Py_None
); resultobj
= Py_None
;
7840 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
*resultobj
;
7842 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7844 PyObject
* obj0
= 0 ;
7845 PyObject
* obj1
= 0 ;
7847 (char *) "self",(char *) "bDoPass", NULL
7850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7853 arg2
= (bool) SWIG_AsBool(obj1
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 (arg1
)->PassMessages(arg2
);
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 Py_INCREF(Py_None
); resultobj
= Py_None
;
7869 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
*resultobj
;
7871 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7873 PyObject
* obj0
= 0 ;
7875 (char *) "self", NULL
7878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 result
= (bool)(arg1
)->IsPassingMessages();
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7897 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7898 PyObject
*resultobj
;
7899 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7901 PyObject
* obj0
= 0 ;
7903 (char *) "self", NULL
7906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7911 result
= (wxLog
*)(arg1
)->GetOldLog();
7913 wxPyEndAllowThreads(__tstate
);
7914 if (PyErr_Occurred()) SWIG_fail
;
7916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7923 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
7925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7926 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7928 return Py_BuildValue((char *)"");
7930 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
*resultobj
;
7932 unsigned long result
;
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 result
= (unsigned long)wxSysErrorCode();
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7945 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7952 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
*resultobj
;
7954 unsigned long arg1
= (unsigned long) 0 ;
7956 PyObject
* obj0
= 0 ;
7958 (char *) "nErrCode", NULL
7961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7963 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
7964 if (PyErr_Occurred()) SWIG_fail
;
7967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7968 result
= wxSysErrorMsg(arg1
);
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7975 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7977 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7986 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7987 PyObject
*resultobj
;
7988 wxString
*arg1
= 0 ;
7989 bool temp1
= False
;
7990 PyObject
* obj0
= 0 ;
7992 (char *) "msg", NULL
7995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
7997 arg1
= wxString_in_helper(obj0
);
7998 if (arg1
== NULL
) SWIG_fail
;
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 wxLogFatalError((wxString
const &)*arg1
);
8005 wxPyEndAllowThreads(__tstate
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8008 Py_INCREF(Py_None
); resultobj
= Py_None
;
8023 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8024 PyObject
*resultobj
;
8025 wxString
*arg1
= 0 ;
8026 bool temp1
= False
;
8027 PyObject
* obj0
= 0 ;
8029 (char *) "msg", NULL
8032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8034 arg1
= wxString_in_helper(obj0
);
8035 if (arg1
== NULL
) SWIG_fail
;
8039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8040 wxLogError((wxString
const &)*arg1
);
8042 wxPyEndAllowThreads(__tstate
);
8043 if (PyErr_Occurred()) SWIG_fail
;
8045 Py_INCREF(Py_None
); resultobj
= Py_None
;
8060 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
*resultobj
;
8062 wxString
*arg1
= 0 ;
8063 bool temp1
= False
;
8064 PyObject
* obj0
= 0 ;
8066 (char *) "msg", NULL
8069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8071 arg1
= wxString_in_helper(obj0
);
8072 if (arg1
== NULL
) SWIG_fail
;
8076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8077 wxLogWarning((wxString
const &)*arg1
);
8079 wxPyEndAllowThreads(__tstate
);
8080 if (PyErr_Occurred()) SWIG_fail
;
8082 Py_INCREF(Py_None
); resultobj
= Py_None
;
8097 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8098 PyObject
*resultobj
;
8099 wxString
*arg1
= 0 ;
8100 bool temp1
= False
;
8101 PyObject
* obj0
= 0 ;
8103 (char *) "msg", NULL
8106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8108 arg1
= wxString_in_helper(obj0
);
8109 if (arg1
== NULL
) SWIG_fail
;
8113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8114 wxLogMessage((wxString
const &)*arg1
);
8116 wxPyEndAllowThreads(__tstate
);
8117 if (PyErr_Occurred()) SWIG_fail
;
8119 Py_INCREF(Py_None
); resultobj
= Py_None
;
8134 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
*resultobj
;
8136 wxString
*arg1
= 0 ;
8137 bool temp1
= False
;
8138 PyObject
* obj0
= 0 ;
8140 (char *) "msg", NULL
8143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8145 arg1
= wxString_in_helper(obj0
);
8146 if (arg1
== NULL
) SWIG_fail
;
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8151 wxLogInfo((wxString
const &)*arg1
);
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8156 Py_INCREF(Py_None
); resultobj
= Py_None
;
8171 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8172 PyObject
*resultobj
;
8173 wxString
*arg1
= 0 ;
8174 bool temp1
= False
;
8175 PyObject
* obj0
= 0 ;
8177 (char *) "msg", NULL
8180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8182 arg1
= wxString_in_helper(obj0
);
8183 if (arg1
== NULL
) SWIG_fail
;
8187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8188 wxLogDebug((wxString
const &)*arg1
);
8190 wxPyEndAllowThreads(__tstate
);
8191 if (PyErr_Occurred()) SWIG_fail
;
8193 Py_INCREF(Py_None
); resultobj
= Py_None
;
8208 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
*resultobj
;
8210 wxString
*arg1
= 0 ;
8211 bool temp1
= False
;
8212 PyObject
* obj0
= 0 ;
8214 (char *) "msg", NULL
8217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8219 arg1
= wxString_in_helper(obj0
);
8220 if (arg1
== NULL
) SWIG_fail
;
8224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8225 wxLogVerbose((wxString
const &)*arg1
);
8227 wxPyEndAllowThreads(__tstate
);
8228 if (PyErr_Occurred()) SWIG_fail
;
8230 Py_INCREF(Py_None
); resultobj
= Py_None
;
8245 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8246 PyObject
*resultobj
;
8247 wxString
*arg1
= 0 ;
8248 bool temp1
= False
;
8249 PyObject
* obj0
= 0 ;
8251 (char *) "msg", NULL
8254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8256 arg1
= wxString_in_helper(obj0
);
8257 if (arg1
== NULL
) SWIG_fail
;
8261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8262 wxLogStatus((wxString
const &)*arg1
);
8264 wxPyEndAllowThreads(__tstate
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8267 Py_INCREF(Py_None
); resultobj
= Py_None
;
8282 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8283 PyObject
*resultobj
;
8284 wxFrame
*arg1
= (wxFrame
*) 0 ;
8285 wxString
*arg2
= 0 ;
8286 bool temp2
= False
;
8287 PyObject
* obj0
= 0 ;
8288 PyObject
* obj1
= 0 ;
8290 (char *) "pFrame",(char *) "msg", NULL
8293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8297 arg2
= wxString_in_helper(obj1
);
8298 if (arg2
== NULL
) SWIG_fail
;
8302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8303 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8305 wxPyEndAllowThreads(__tstate
);
8306 if (PyErr_Occurred()) SWIG_fail
;
8308 Py_INCREF(Py_None
); resultobj
= Py_None
;
8323 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8324 PyObject
*resultobj
;
8325 wxString
*arg1
= 0 ;
8326 bool temp1
= False
;
8327 PyObject
* obj0
= 0 ;
8329 (char *) "msg", NULL
8332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8334 arg1
= wxString_in_helper(obj0
);
8335 if (arg1
== NULL
) SWIG_fail
;
8339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8340 wxLogSysError((wxString
const &)*arg1
);
8342 wxPyEndAllowThreads(__tstate
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8345 Py_INCREF(Py_None
); resultobj
= Py_None
;
8360 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8361 PyObject
*resultobj
;
8362 unsigned long arg1
;
8363 wxString
*arg2
= 0 ;
8364 bool temp2
= False
;
8365 PyObject
* obj0
= 0 ;
8366 PyObject
* obj1
= 0 ;
8368 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8369 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8372 arg2
= wxString_in_helper(obj1
);
8373 if (arg2
== NULL
) SWIG_fail
;
8377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8380 wxPyEndAllowThreads(__tstate
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8383 Py_INCREF(Py_None
); resultobj
= Py_None
;
8398 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8399 PyObject
*resultobj
;
8400 wxString
*arg1
= 0 ;
8401 wxString
*arg2
= 0 ;
8402 bool temp1
= False
;
8403 bool temp2
= False
;
8404 PyObject
* obj0
= 0 ;
8405 PyObject
* obj1
= 0 ;
8407 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8409 arg1
= wxString_in_helper(obj0
);
8410 if (arg1
== NULL
) SWIG_fail
;
8414 arg2
= wxString_in_helper(obj1
);
8415 if (arg2
== NULL
) SWIG_fail
;
8419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8420 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8422 wxPyEndAllowThreads(__tstate
);
8423 if (PyErr_Occurred()) SWIG_fail
;
8425 Py_INCREF(Py_None
); resultobj
= Py_None
;
8448 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8453 argc
= PyObject_Length(args
);
8454 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8455 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8460 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8464 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8467 return _wrap_LogTrace__SWIG_1(self
,args
);
8473 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8476 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8479 return _wrap_LogTrace__SWIG_0(self
,args
);
8484 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8489 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8490 PyObject
*resultobj
;
8491 unsigned long arg1
;
8492 wxString
*arg2
= 0 ;
8493 bool temp2
= False
;
8494 PyObject
* obj0
= 0 ;
8495 PyObject
* obj1
= 0 ;
8497 (char *) "level",(char *) "msg", NULL
8500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8501 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8504 arg2
= wxString_in_helper(obj1
);
8505 if (arg2
== NULL
) SWIG_fail
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8512 wxPyEndAllowThreads(__tstate
);
8513 if (PyErr_Occurred()) SWIG_fail
;
8515 Py_INCREF(Py_None
); resultobj
= Py_None
;
8530 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8531 PyObject
*resultobj
;
8532 wxString
*arg1
= 0 ;
8533 wxString
*arg2
= 0 ;
8534 bool temp1
= False
;
8535 bool temp2
= False
;
8536 PyObject
* obj0
= 0 ;
8537 PyObject
* obj1
= 0 ;
8539 (char *) "title",(char *) "text", NULL
8542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8544 arg1
= wxString_in_helper(obj0
);
8545 if (arg1
== NULL
) SWIG_fail
;
8549 arg2
= wxString_in_helper(obj1
);
8550 if (arg2
== NULL
) SWIG_fail
;
8554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8555 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8557 wxPyEndAllowThreads(__tstate
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8560 Py_INCREF(Py_None
); resultobj
= Py_None
;
8583 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
*resultobj
;
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8593 result
= (wxLogNull
*)new wxLogNull();
8595 wxPyEndAllowThreads(__tstate
);
8596 if (PyErr_Occurred()) SWIG_fail
;
8598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8605 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
*resultobj
;
8607 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8608 PyObject
* obj0
= 0 ;
8610 (char *) "self", NULL
8613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8623 Py_INCREF(Py_None
); resultobj
= Py_None
;
8630 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8633 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8635 return Py_BuildValue((char *)"");
8637 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8638 PyObject
*resultobj
;
8644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8647 result
= (wxPyLog
*)new wxPyLog();
8649 wxPyEndAllowThreads(__tstate
);
8650 if (PyErr_Occurred()) SWIG_fail
;
8652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8659 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8660 PyObject
*resultobj
;
8661 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8662 PyObject
*arg2
= (PyObject
*) 0 ;
8663 PyObject
*arg3
= (PyObject
*) 0 ;
8664 PyObject
* obj0
= 0 ;
8665 PyObject
* obj1
= 0 ;
8666 PyObject
* obj2
= 0 ;
8668 (char *) "self",(char *) "self",(char *) "_class", NULL
8671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8678 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8680 wxPyEndAllowThreads(__tstate
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8683 Py_INCREF(Py_None
); resultobj
= Py_None
;
8690 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8693 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8695 return Py_BuildValue((char *)"");
8697 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8698 PyObject
*resultobj
;
8700 int arg2
= (int) wxSIGTERM
;
8702 PyObject
* obj0
= 0 ;
8703 PyObject
* obj1
= 0 ;
8705 (char *) "pid",(char *) "sig", NULL
8708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8709 arg1
= (int) SWIG_AsInt(obj0
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8712 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8722 resultobj
= SWIG_FromInt((int)result
);
8729 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8730 PyObject
*resultobj
;
8733 PyObject
* obj0
= 0 ;
8735 (char *) "pid", NULL
8738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8739 arg1
= (int) SWIG_AsInt(obj0
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8743 result
= (bool)wxPyProcess::Exists(arg1
);
8745 wxPyEndAllowThreads(__tstate
);
8746 if (PyErr_Occurred()) SWIG_fail
;
8749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8757 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8758 PyObject
*resultobj
;
8759 wxString
*arg1
= 0 ;
8760 int arg2
= (int) wxEXEC_ASYNC
;
8761 wxPyProcess
*result
;
8762 bool temp1
= False
;
8763 PyObject
* obj0
= 0 ;
8764 PyObject
* obj1
= 0 ;
8766 (char *) "cmd",(char *) "flags", NULL
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8771 arg1
= wxString_in_helper(obj0
);
8772 if (arg1
== NULL
) SWIG_fail
;
8776 arg2
= (int) SWIG_AsInt(obj1
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8781 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
8801 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8802 PyObject
*resultobj
;
8803 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8804 int arg2
= (int) -1 ;
8805 wxPyProcess
*result
;
8806 PyObject
* obj0
= 0 ;
8807 PyObject
* obj1
= 0 ;
8809 (char *) "parent",(char *) "id", NULL
8812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
8815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8818 arg2
= (int) SWIG_AsInt(obj1
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8823 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8825 wxPyEndAllowThreads(__tstate
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
8835 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8836 PyObject
*resultobj
;
8837 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8838 PyObject
*arg2
= (PyObject
*) 0 ;
8839 PyObject
*arg3
= (PyObject
*) 0 ;
8840 PyObject
* obj0
= 0 ;
8841 PyObject
* obj1
= 0 ;
8842 PyObject
* obj2
= 0 ;
8844 (char *) "self",(char *) "self",(char *) "_class", NULL
8847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8854 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8856 wxPyEndAllowThreads(__tstate
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8859 Py_INCREF(Py_None
); resultobj
= Py_None
;
8866 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8867 PyObject
*resultobj
;
8868 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8871 PyObject
* obj0
= 0 ;
8872 PyObject
* obj1
= 0 ;
8873 PyObject
* obj2
= 0 ;
8875 (char *) "self",(char *) "pid",(char *) "status", NULL
8878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8881 arg2
= (int) SWIG_AsInt(obj1
);
8882 if (PyErr_Occurred()) SWIG_fail
;
8883 arg3
= (int) SWIG_AsInt(obj2
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8887 (arg1
)->base_OnTerminate(arg2
,arg3
);
8889 wxPyEndAllowThreads(__tstate
);
8890 if (PyErr_Occurred()) SWIG_fail
;
8892 Py_INCREF(Py_None
); resultobj
= Py_None
;
8899 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8900 PyObject
*resultobj
;
8901 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8902 PyObject
* obj0
= 0 ;
8904 (char *) "self", NULL
8907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8914 wxPyEndAllowThreads(__tstate
);
8915 if (PyErr_Occurred()) SWIG_fail
;
8917 Py_INCREF(Py_None
); resultobj
= Py_None
;
8924 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
*resultobj
;
8926 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8928 PyObject
* obj0
= 0 ;
8930 (char *) "self", NULL
8933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 result
= (bool)(arg1
)->IsRedirected();
8940 wxPyEndAllowThreads(__tstate
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8952 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8953 PyObject
*resultobj
;
8954 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8955 PyObject
* obj0
= 0 ;
8957 (char *) "self", NULL
8960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
8961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8967 wxPyEndAllowThreads(__tstate
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8970 Py_INCREF(Py_None
); resultobj
= Py_None
;
8977 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8978 PyObject
*resultobj
;
8979 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8980 wxInputStream
*result
;
8981 PyObject
* obj0
= 0 ;
8983 (char *) "self", NULL
8986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
8987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8991 result
= (wxInputStream
*)(arg1
)->GetInputStream();
8993 wxPyEndAllowThreads(__tstate
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8997 wxPyInputStream
* _ptr
= NULL
;
9000 _ptr
= new wxPyInputStream(result
);
9002 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9010 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
;
9012 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9013 wxInputStream
*result
;
9014 PyObject
* obj0
= 0 ;
9016 (char *) "self", NULL
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9030 wxPyInputStream
* _ptr
= NULL
;
9033 _ptr
= new wxPyInputStream(result
);
9035 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9043 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
;
9045 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9046 wxOutputStream
*result
;
9047 PyObject
* obj0
= 0 ;
9049 (char *) "self", NULL
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9059 wxPyEndAllowThreads(__tstate
);
9060 if (PyErr_Occurred()) SWIG_fail
;
9062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9069 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9070 PyObject
*resultobj
;
9071 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9072 PyObject
* obj0
= 0 ;
9074 (char *) "self", NULL
9077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9082 (arg1
)->CloseOutput();
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9087 Py_INCREF(Py_None
); resultobj
= Py_None
;
9094 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9095 PyObject
*resultobj
;
9096 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9098 PyObject
* obj0
= 0 ;
9100 (char *) "self", NULL
9103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9108 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9110 wxPyEndAllowThreads(__tstate
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9122 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9123 PyObject
*resultobj
;
9124 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9126 PyObject
* obj0
= 0 ;
9128 (char *) "self", NULL
9131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9136 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9138 wxPyEndAllowThreads(__tstate
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9150 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9151 PyObject
*resultobj
;
9152 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9154 PyObject
* obj0
= 0 ;
9156 (char *) "self", NULL
9159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9164 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9166 wxPyEndAllowThreads(__tstate
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9178 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9181 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9183 return Py_BuildValue((char *)"");
9185 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
;
9187 int arg1
= (int) 0 ;
9188 int arg2
= (int) 0 ;
9189 int arg3
= (int) 0 ;
9190 wxProcessEvent
*result
;
9191 PyObject
* obj0
= 0 ;
9192 PyObject
* obj1
= 0 ;
9193 PyObject
* obj2
= 0 ;
9195 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9200 arg1
= (int) SWIG_AsInt(obj0
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9204 arg2
= (int) SWIG_AsInt(obj1
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9208 arg3
= (int) SWIG_AsInt(obj2
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9213 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9225 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9226 PyObject
*resultobj
;
9227 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9229 PyObject
* obj0
= 0 ;
9231 (char *) "self", NULL
9234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9239 result
= (int)(arg1
)->GetPid();
9241 wxPyEndAllowThreads(__tstate
);
9242 if (PyErr_Occurred()) SWIG_fail
;
9244 resultobj
= SWIG_FromInt((int)result
);
9251 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9252 PyObject
*resultobj
;
9253 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9255 PyObject
* obj0
= 0 ;
9257 (char *) "self", NULL
9260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9265 result
= (int)(arg1
)->GetExitCode();
9267 wxPyEndAllowThreads(__tstate
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9270 resultobj
= SWIG_FromInt((int)result
);
9277 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9278 PyObject
*resultobj
;
9279 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9281 PyObject
* obj0
= 0 ;
9282 PyObject
* obj1
= 0 ;
9284 (char *) "self",(char *) "m_pid", NULL
9287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9290 arg2
= (int) SWIG_AsInt(obj1
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9292 if (arg1
) (arg1
)->m_pid
= arg2
;
9294 Py_INCREF(Py_None
); resultobj
= Py_None
;
9301 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9302 PyObject
*resultobj
;
9303 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9305 PyObject
* obj0
= 0 ;
9307 (char *) "self", NULL
9310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9313 result
= (int) ((arg1
)->m_pid
);
9315 resultobj
= SWIG_FromInt((int)result
);
9322 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9323 PyObject
*resultobj
;
9324 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9326 PyObject
* obj0
= 0 ;
9327 PyObject
* obj1
= 0 ;
9329 (char *) "self",(char *) "m_exitcode", NULL
9332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9335 arg2
= (int) SWIG_AsInt(obj1
);
9336 if (PyErr_Occurred()) SWIG_fail
;
9337 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9339 Py_INCREF(Py_None
); resultobj
= Py_None
;
9346 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
;
9348 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9350 PyObject
* obj0
= 0 ;
9352 (char *) "self", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9358 result
= (int) ((arg1
)->m_exitcode
);
9360 resultobj
= SWIG_FromInt((int)result
);
9367 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9370 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9372 return Py_BuildValue((char *)"");
9374 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9375 PyObject
*resultobj
;
9376 wxString
*arg1
= 0 ;
9377 int arg2
= (int) wxEXEC_ASYNC
;
9378 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9380 bool temp1
= False
;
9381 PyObject
* obj0
= 0 ;
9382 PyObject
* obj1
= 0 ;
9383 PyObject
* obj2
= 0 ;
9385 (char *) "command",(char *) "flags",(char *) "process", NULL
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9390 arg1
= wxString_in_helper(obj0
);
9391 if (arg1
== NULL
) SWIG_fail
;
9395 arg2
= (int) SWIG_AsInt(obj1
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9399 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9409 resultobj
= SWIG_FromLong((long)result
);
9424 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
*resultobj
;
9426 int arg1
= (int) wxJOYSTICK1
;
9428 PyObject
* obj0
= 0 ;
9430 (char *) "joystick", NULL
9433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9435 arg1
= (int) SWIG_AsInt(obj0
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 result
= (wxJoystick
*)new wxJoystick(arg1
);
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9452 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9453 PyObject
*resultobj
;
9454 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9455 PyObject
* obj0
= 0 ;
9457 (char *) "self", NULL
9460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9467 wxPyEndAllowThreads(__tstate
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9470 Py_INCREF(Py_None
); resultobj
= Py_None
;
9477 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9478 PyObject
*resultobj
;
9479 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9481 PyObject
* obj0
= 0 ;
9483 (char *) "self", NULL
9486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9491 result
= (arg1
)->GetPosition();
9493 wxPyEndAllowThreads(__tstate
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9497 wxPoint
* resultptr
;
9498 resultptr
= new wxPoint((wxPoint
&) result
);
9499 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9507 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9508 PyObject
*resultobj
;
9509 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9511 PyObject
* obj0
= 0 ;
9513 (char *) "self", NULL
9516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9521 result
= (int)(arg1
)->GetZPosition();
9523 wxPyEndAllowThreads(__tstate
);
9524 if (PyErr_Occurred()) SWIG_fail
;
9526 resultobj
= SWIG_FromInt((int)result
);
9533 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9534 PyObject
*resultobj
;
9535 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9537 PyObject
* obj0
= 0 ;
9539 (char *) "self", NULL
9542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9547 result
= (int)(arg1
)->GetButtonState();
9549 wxPyEndAllowThreads(__tstate
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9552 resultobj
= SWIG_FromInt((int)result
);
9559 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9560 PyObject
*resultobj
;
9561 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9563 PyObject
* obj0
= 0 ;
9565 (char *) "self", NULL
9568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9573 result
= (int)(arg1
)->GetPOVPosition();
9575 wxPyEndAllowThreads(__tstate
);
9576 if (PyErr_Occurred()) SWIG_fail
;
9578 resultobj
= SWIG_FromInt((int)result
);
9585 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
;
9587 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9589 PyObject
* obj0
= 0 ;
9591 (char *) "self", NULL
9594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9599 result
= (int)(arg1
)->GetPOVCTSPosition();
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9604 resultobj
= SWIG_FromInt((int)result
);
9611 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9612 PyObject
*resultobj
;
9613 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9615 PyObject
* obj0
= 0 ;
9617 (char *) "self", NULL
9620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 result
= (int)(arg1
)->GetRudderPosition();
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9630 resultobj
= SWIG_FromInt((int)result
);
9637 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9638 PyObject
*resultobj
;
9639 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9641 PyObject
* obj0
= 0 ;
9643 (char *) "self", NULL
9646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9651 result
= (int)(arg1
)->GetUPosition();
9653 wxPyEndAllowThreads(__tstate
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9656 resultobj
= SWIG_FromInt((int)result
);
9663 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9664 PyObject
*resultobj
;
9665 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9667 PyObject
* obj0
= 0 ;
9669 (char *) "self", NULL
9672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 result
= (int)(arg1
)->GetVPosition();
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9682 resultobj
= SWIG_FromInt((int)result
);
9689 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9690 PyObject
*resultobj
;
9691 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9693 PyObject
* obj0
= 0 ;
9695 (char *) "self", NULL
9698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9703 result
= (int)(arg1
)->GetMovementThreshold();
9705 wxPyEndAllowThreads(__tstate
);
9706 if (PyErr_Occurred()) SWIG_fail
;
9708 resultobj
= SWIG_FromInt((int)result
);
9715 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9716 PyObject
*resultobj
;
9717 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9719 PyObject
* obj0
= 0 ;
9720 PyObject
* obj1
= 0 ;
9722 (char *) "self",(char *) "threshold", NULL
9725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9728 arg2
= (int) SWIG_AsInt(obj1
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9732 (arg1
)->SetMovementThreshold(arg2
);
9734 wxPyEndAllowThreads(__tstate
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9737 Py_INCREF(Py_None
); resultobj
= Py_None
;
9744 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9745 PyObject
*resultobj
;
9746 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9748 PyObject
* obj0
= 0 ;
9750 (char *) "self", NULL
9753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 result
= (bool)(arg1
)->IsOk();
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9772 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
*resultobj
;
9774 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9776 PyObject
* obj0
= 0 ;
9778 (char *) "self", NULL
9781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9786 result
= (int)(arg1
)->GetNumberJoysticks();
9788 wxPyEndAllowThreads(__tstate
);
9789 if (PyErr_Occurred()) SWIG_fail
;
9791 resultobj
= SWIG_FromInt((int)result
);
9798 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9799 PyObject
*resultobj
;
9800 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9802 PyObject
* obj0
= 0 ;
9804 (char *) "self", NULL
9807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 result
= (int)(arg1
)->GetManufacturerId();
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9817 resultobj
= SWIG_FromInt((int)result
);
9824 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9825 PyObject
*resultobj
;
9826 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9828 PyObject
* obj0
= 0 ;
9830 (char *) "self", NULL
9833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9838 result
= (int)(arg1
)->GetProductId();
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9843 resultobj
= SWIG_FromInt((int)result
);
9850 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9851 PyObject
*resultobj
;
9852 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9854 PyObject
* obj0
= 0 ;
9856 (char *) "self", NULL
9859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9864 result
= (arg1
)->GetProductName();
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9871 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9873 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9882 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9883 PyObject
*resultobj
;
9884 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9886 PyObject
* obj0
= 0 ;
9888 (char *) "self", NULL
9891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9896 result
= (int)(arg1
)->GetXMin();
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9901 resultobj
= SWIG_FromInt((int)result
);
9908 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9909 PyObject
*resultobj
;
9910 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9912 PyObject
* obj0
= 0 ;
9914 (char *) "self", NULL
9917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= (int)(arg1
)->GetYMin();
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9927 resultobj
= SWIG_FromInt((int)result
);
9934 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9935 PyObject
*resultobj
;
9936 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9938 PyObject
* obj0
= 0 ;
9940 (char *) "self", NULL
9943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
9944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 result
= (int)(arg1
)->GetZMin();
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) SWIG_fail
;
9953 resultobj
= SWIG_FromInt((int)result
);
9960 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9961 PyObject
*resultobj
;
9962 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9964 PyObject
* obj0
= 0 ;
9966 (char *) "self", NULL
9969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
9970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9974 result
= (int)(arg1
)->GetXMax();
9976 wxPyEndAllowThreads(__tstate
);
9977 if (PyErr_Occurred()) SWIG_fail
;
9979 resultobj
= SWIG_FromInt((int)result
);
9986 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9987 PyObject
*resultobj
;
9988 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9990 PyObject
* obj0
= 0 ;
9992 (char *) "self", NULL
9995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
9996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10000 result
= (int)(arg1
)->GetYMax();
10002 wxPyEndAllowThreads(__tstate
);
10003 if (PyErr_Occurred()) SWIG_fail
;
10005 resultobj
= SWIG_FromInt((int)result
);
10012 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10013 PyObject
*resultobj
;
10014 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10016 PyObject
* obj0
= 0 ;
10017 char *kwnames
[] = {
10018 (char *) "self", NULL
10021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10026 result
= (int)(arg1
)->GetZMax();
10028 wxPyEndAllowThreads(__tstate
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10031 resultobj
= SWIG_FromInt((int)result
);
10038 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
;
10040 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10042 PyObject
* obj0
= 0 ;
10043 char *kwnames
[] = {
10044 (char *) "self", NULL
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 result
= (int)(arg1
)->GetNumberButtons();
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10057 resultobj
= SWIG_FromInt((int)result
);
10064 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
*resultobj
;
10066 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10068 PyObject
* obj0
= 0 ;
10069 char *kwnames
[] = {
10070 (char *) "self", NULL
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 result
= (int)(arg1
)->GetNumberAxes();
10080 wxPyEndAllowThreads(__tstate
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10083 resultobj
= SWIG_FromInt((int)result
);
10090 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10091 PyObject
*resultobj
;
10092 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10094 PyObject
* obj0
= 0 ;
10095 char *kwnames
[] = {
10096 (char *) "self", NULL
10099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 result
= (int)(arg1
)->GetMaxButtons();
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) SWIG_fail
;
10109 resultobj
= SWIG_FromInt((int)result
);
10116 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
*resultobj
;
10118 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10120 PyObject
* obj0
= 0 ;
10121 char *kwnames
[] = {
10122 (char *) "self", NULL
10125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 result
= (int)(arg1
)->GetMaxAxes();
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10135 resultobj
= SWIG_FromInt((int)result
);
10142 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10143 PyObject
*resultobj
;
10144 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10146 PyObject
* obj0
= 0 ;
10147 char *kwnames
[] = {
10148 (char *) "self", NULL
10151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10156 result
= (int)(arg1
)->GetPollingMin();
10158 wxPyEndAllowThreads(__tstate
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10161 resultobj
= SWIG_FromInt((int)result
);
10168 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10169 PyObject
*resultobj
;
10170 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10172 PyObject
* obj0
= 0 ;
10173 char *kwnames
[] = {
10174 (char *) "self", NULL
10177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10182 result
= (int)(arg1
)->GetPollingMax();
10184 wxPyEndAllowThreads(__tstate
);
10185 if (PyErr_Occurred()) SWIG_fail
;
10187 resultobj
= SWIG_FromInt((int)result
);
10194 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10195 PyObject
*resultobj
;
10196 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10198 PyObject
* obj0
= 0 ;
10199 char *kwnames
[] = {
10200 (char *) "self", NULL
10203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10208 result
= (int)(arg1
)->GetRudderMin();
10210 wxPyEndAllowThreads(__tstate
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10213 resultobj
= SWIG_FromInt((int)result
);
10220 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
*resultobj
;
10222 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10224 PyObject
* obj0
= 0 ;
10225 char *kwnames
[] = {
10226 (char *) "self", NULL
10229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10234 result
= (int)(arg1
)->GetRudderMax();
10236 wxPyEndAllowThreads(__tstate
);
10237 if (PyErr_Occurred()) SWIG_fail
;
10239 resultobj
= SWIG_FromInt((int)result
);
10246 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10247 PyObject
*resultobj
;
10248 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10250 PyObject
* obj0
= 0 ;
10251 char *kwnames
[] = {
10252 (char *) "self", NULL
10255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10260 result
= (int)(arg1
)->GetUMin();
10262 wxPyEndAllowThreads(__tstate
);
10263 if (PyErr_Occurred()) SWIG_fail
;
10265 resultobj
= SWIG_FromInt((int)result
);
10272 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10273 PyObject
*resultobj
;
10274 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10276 PyObject
* obj0
= 0 ;
10277 char *kwnames
[] = {
10278 (char *) "self", NULL
10281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10286 result
= (int)(arg1
)->GetUMax();
10288 wxPyEndAllowThreads(__tstate
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10291 resultobj
= SWIG_FromInt((int)result
);
10298 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10299 PyObject
*resultobj
;
10300 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10302 PyObject
* obj0
= 0 ;
10303 char *kwnames
[] = {
10304 (char *) "self", NULL
10307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10312 result
= (int)(arg1
)->GetVMin();
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10317 resultobj
= SWIG_FromInt((int)result
);
10324 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10325 PyObject
*resultobj
;
10326 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10328 PyObject
* obj0
= 0 ;
10329 char *kwnames
[] = {
10330 (char *) "self", NULL
10333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10338 result
= (int)(arg1
)->GetVMax();
10340 wxPyEndAllowThreads(__tstate
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10343 resultobj
= SWIG_FromInt((int)result
);
10350 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
;
10352 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10354 PyObject
* obj0
= 0 ;
10355 char *kwnames
[] = {
10356 (char *) "self", NULL
10359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10364 result
= (bool)(arg1
)->HasRudder();
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10378 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10379 PyObject
*resultobj
;
10380 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10382 PyObject
* obj0
= 0 ;
10383 char *kwnames
[] = {
10384 (char *) "self", NULL
10387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10392 result
= (bool)(arg1
)->HasZ();
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10406 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10407 PyObject
*resultobj
;
10408 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10410 PyObject
* obj0
= 0 ;
10411 char *kwnames
[] = {
10412 (char *) "self", NULL
10415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 result
= (bool)(arg1
)->HasU();
10422 wxPyEndAllowThreads(__tstate
);
10423 if (PyErr_Occurred()) SWIG_fail
;
10426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10434 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10435 PyObject
*resultobj
;
10436 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10438 PyObject
* obj0
= 0 ;
10439 char *kwnames
[] = {
10440 (char *) "self", NULL
10443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10448 result
= (bool)(arg1
)->HasV();
10450 wxPyEndAllowThreads(__tstate
);
10451 if (PyErr_Occurred()) SWIG_fail
;
10454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10462 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10463 PyObject
*resultobj
;
10464 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10466 PyObject
* obj0
= 0 ;
10467 char *kwnames
[] = {
10468 (char *) "self", NULL
10471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10476 result
= (bool)(arg1
)->HasPOV();
10478 wxPyEndAllowThreads(__tstate
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10490 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10491 PyObject
*resultobj
;
10492 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10494 PyObject
* obj0
= 0 ;
10495 char *kwnames
[] = {
10496 (char *) "self", NULL
10499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10504 result
= (bool)(arg1
)->HasPOV4Dir();
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10518 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10519 PyObject
*resultobj
;
10520 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10522 PyObject
* obj0
= 0 ;
10523 char *kwnames
[] = {
10524 (char *) "self", NULL
10527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 result
= (bool)(arg1
)->HasPOVCTS();
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10546 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10547 PyObject
*resultobj
;
10548 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10549 wxWindow
*arg2
= (wxWindow
*) 0 ;
10550 int arg3
= (int) 0 ;
10552 PyObject
* obj0
= 0 ;
10553 PyObject
* obj1
= 0 ;
10554 PyObject
* obj2
= 0 ;
10555 char *kwnames
[] = {
10556 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10565 arg3
= (int) SWIG_AsInt(obj2
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10570 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10572 wxPyEndAllowThreads(__tstate
);
10573 if (PyErr_Occurred()) SWIG_fail
;
10576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10584 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10585 PyObject
*resultobj
;
10586 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10588 PyObject
* obj0
= 0 ;
10589 char *kwnames
[] = {
10590 (char *) "self", NULL
10593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10598 result
= (bool)(arg1
)->ReleaseCapture();
10600 wxPyEndAllowThreads(__tstate
);
10601 if (PyErr_Occurred()) SWIG_fail
;
10604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10612 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10615 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10617 return Py_BuildValue((char *)"");
10619 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
*resultobj
;
10621 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10622 wxPoint
*arg2
= (wxPoint
*) 0 ;
10623 PyObject
* obj0
= 0 ;
10624 PyObject
* obj1
= 0 ;
10625 char *kwnames
[] = {
10626 (char *) "self",(char *) "m_pos", NULL
10629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10634 if (arg1
) (arg1
)->m_pos
= *arg2
;
10636 Py_INCREF(Py_None
); resultobj
= Py_None
;
10643 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10644 PyObject
*resultobj
;
10645 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10647 PyObject
* obj0
= 0 ;
10648 char *kwnames
[] = {
10649 (char *) "self", NULL
10652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10655 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10664 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
;
10666 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10668 PyObject
* obj0
= 0 ;
10669 PyObject
* obj1
= 0 ;
10670 char *kwnames
[] = {
10671 (char *) "self",(char *) "m_zPosition", NULL
10674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10677 arg2
= (int) SWIG_AsInt(obj1
);
10678 if (PyErr_Occurred()) SWIG_fail
;
10679 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10681 Py_INCREF(Py_None
); resultobj
= Py_None
;
10688 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10689 PyObject
*resultobj
;
10690 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10692 PyObject
* obj0
= 0 ;
10693 char *kwnames
[] = {
10694 (char *) "self", NULL
10697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10700 result
= (int) ((arg1
)->m_zPosition
);
10702 resultobj
= SWIG_FromInt((int)result
);
10709 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10710 PyObject
*resultobj
;
10711 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10713 PyObject
* obj0
= 0 ;
10714 PyObject
* obj1
= 0 ;
10715 char *kwnames
[] = {
10716 (char *) "self",(char *) "m_buttonChange", NULL
10719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10722 arg2
= (int) SWIG_AsInt(obj1
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10724 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10726 Py_INCREF(Py_None
); resultobj
= Py_None
;
10733 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10734 PyObject
*resultobj
;
10735 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10737 PyObject
* obj0
= 0 ;
10738 char *kwnames
[] = {
10739 (char *) "self", NULL
10742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10745 result
= (int) ((arg1
)->m_buttonChange
);
10747 resultobj
= SWIG_FromInt((int)result
);
10754 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10755 PyObject
*resultobj
;
10756 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10758 PyObject
* obj0
= 0 ;
10759 PyObject
* obj1
= 0 ;
10760 char *kwnames
[] = {
10761 (char *) "self",(char *) "m_buttonState", NULL
10764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10767 arg2
= (int) SWIG_AsInt(obj1
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10769 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10771 Py_INCREF(Py_None
); resultobj
= Py_None
;
10778 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
*resultobj
;
10780 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10782 PyObject
* obj0
= 0 ;
10783 char *kwnames
[] = {
10784 (char *) "self", NULL
10787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10790 result
= (int) ((arg1
)->m_buttonState
);
10792 resultobj
= SWIG_FromInt((int)result
);
10799 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10800 PyObject
*resultobj
;
10801 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10803 PyObject
* obj0
= 0 ;
10804 PyObject
* obj1
= 0 ;
10805 char *kwnames
[] = {
10806 (char *) "self",(char *) "m_joyStick", NULL
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10812 arg2
= (int) SWIG_AsInt(obj1
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10814 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10816 Py_INCREF(Py_None
); resultobj
= Py_None
;
10823 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10824 PyObject
*resultobj
;
10825 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10827 PyObject
* obj0
= 0 ;
10828 char *kwnames
[] = {
10829 (char *) "self", NULL
10832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10835 result
= (int) ((arg1
)->m_joyStick
);
10837 resultobj
= SWIG_FromInt((int)result
);
10844 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10845 PyObject
*resultobj
;
10846 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10847 int arg2
= (int) 0 ;
10848 int arg3
= (int) wxJOYSTICK1
;
10849 int arg4
= (int) 0 ;
10850 wxJoystickEvent
*result
;
10851 PyObject
* obj0
= 0 ;
10852 PyObject
* obj1
= 0 ;
10853 PyObject
* obj2
= 0 ;
10854 PyObject
* obj3
= 0 ;
10855 char *kwnames
[] = {
10856 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10861 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10862 if (PyErr_Occurred()) SWIG_fail
;
10865 arg2
= (int) SWIG_AsInt(obj1
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10869 arg3
= (int) SWIG_AsInt(obj2
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10873 arg4
= (int) SWIG_AsInt(obj3
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10878 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10880 wxPyEndAllowThreads(__tstate
);
10881 if (PyErr_Occurred()) SWIG_fail
;
10883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
10890 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10891 PyObject
*resultobj
;
10892 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10894 PyObject
* obj0
= 0 ;
10895 char *kwnames
[] = {
10896 (char *) "self", NULL
10899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10904 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10906 wxPyEndAllowThreads(__tstate
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10910 wxPoint
* resultptr
;
10911 resultptr
= new wxPoint((wxPoint
&) result
);
10912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10920 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
;
10922 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10924 PyObject
* obj0
= 0 ;
10925 char *kwnames
[] = {
10926 (char *) "self", NULL
10929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
10930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10934 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10939 resultobj
= SWIG_FromInt((int)result
);
10946 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
*resultobj
;
10948 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10950 PyObject
* obj0
= 0 ;
10951 char *kwnames
[] = {
10952 (char *) "self", NULL
10955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
10956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10965 resultobj
= SWIG_FromInt((int)result
);
10972 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
;
10974 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10976 PyObject
* obj0
= 0 ;
10977 char *kwnames
[] = {
10978 (char *) "self", NULL
10981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
10982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10991 resultobj
= SWIG_FromInt((int)result
);
10998 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10999 PyObject
*resultobj
;
11000 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11002 PyObject
* obj0
= 0 ;
11003 char *kwnames
[] = {
11004 (char *) "self", NULL
11007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11012 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11014 wxPyEndAllowThreads(__tstate
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11017 resultobj
= SWIG_FromInt((int)result
);
11024 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11025 PyObject
*resultobj
;
11026 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11028 PyObject
* obj0
= 0 ;
11029 PyObject
* obj1
= 0 ;
11030 char *kwnames
[] = {
11031 (char *) "self",(char *) "stick", NULL
11034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11037 arg2
= (int) SWIG_AsInt(obj1
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11041 (arg1
)->SetJoystick(arg2
);
11043 wxPyEndAllowThreads(__tstate
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11046 Py_INCREF(Py_None
); resultobj
= Py_None
;
11053 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11054 PyObject
*resultobj
;
11055 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11057 PyObject
* obj0
= 0 ;
11058 PyObject
* obj1
= 0 ;
11059 char *kwnames
[] = {
11060 (char *) "self",(char *) "state", NULL
11063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11066 arg2
= (int) SWIG_AsInt(obj1
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 (arg1
)->SetButtonState(arg2
);
11072 wxPyEndAllowThreads(__tstate
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11075 Py_INCREF(Py_None
); resultobj
= Py_None
;
11082 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
;
11084 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11086 PyObject
* obj0
= 0 ;
11087 PyObject
* obj1
= 0 ;
11088 char *kwnames
[] = {
11089 (char *) "self",(char *) "change", NULL
11092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11095 arg2
= (int) SWIG_AsInt(obj1
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 (arg1
)->SetButtonChange(arg2
);
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11104 Py_INCREF(Py_None
); resultobj
= Py_None
;
11111 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
*resultobj
;
11113 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11114 wxPoint
*arg2
= 0 ;
11116 PyObject
* obj0
= 0 ;
11117 PyObject
* obj1
= 0 ;
11118 char *kwnames
[] = {
11119 (char *) "self",(char *) "pos", NULL
11122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11127 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11131 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11133 wxPyEndAllowThreads(__tstate
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11136 Py_INCREF(Py_None
); resultobj
= Py_None
;
11143 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11144 PyObject
*resultobj
;
11145 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11147 PyObject
* obj0
= 0 ;
11148 PyObject
* obj1
= 0 ;
11149 char *kwnames
[] = {
11150 (char *) "self",(char *) "zPos", NULL
11153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11156 arg2
= (int) SWIG_AsInt(obj1
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 (arg1
)->SetZPosition(arg2
);
11162 wxPyEndAllowThreads(__tstate
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11165 Py_INCREF(Py_None
); resultobj
= Py_None
;
11172 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
*resultobj
;
11174 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11176 PyObject
* obj0
= 0 ;
11177 char *kwnames
[] = {
11178 (char *) "self", NULL
11181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11188 wxPyEndAllowThreads(__tstate
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11200 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11201 PyObject
*resultobj
;
11202 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11204 PyObject
* obj0
= 0 ;
11205 char *kwnames
[] = {
11206 (char *) "self", NULL
11209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11214 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11216 wxPyEndAllowThreads(__tstate
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11228 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11229 PyObject
*resultobj
;
11230 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11232 PyObject
* obj0
= 0 ;
11233 char *kwnames
[] = {
11234 (char *) "self", NULL
11237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11242 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11244 wxPyEndAllowThreads(__tstate
);
11245 if (PyErr_Occurred()) SWIG_fail
;
11248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11256 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11257 PyObject
*resultobj
;
11258 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11259 int arg2
= (int) wxJOY_BUTTON_ANY
;
11261 PyObject
* obj0
= 0 ;
11262 PyObject
* obj1
= 0 ;
11263 char *kwnames
[] = {
11264 (char *) "self",(char *) "but", NULL
11267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11271 arg2
= (int) SWIG_AsInt(obj1
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11278 wxPyEndAllowThreads(__tstate
);
11279 if (PyErr_Occurred()) SWIG_fail
;
11282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11290 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11291 PyObject
*resultobj
;
11292 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11293 int arg2
= (int) wxJOY_BUTTON_ANY
;
11295 PyObject
* obj0
= 0 ;
11296 PyObject
* obj1
= 0 ;
11297 char *kwnames
[] = {
11298 (char *) "self",(char *) "but", NULL
11301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11305 arg2
= (int) SWIG_AsInt(obj1
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11310 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11312 wxPyEndAllowThreads(__tstate
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11324 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11325 PyObject
*resultobj
;
11326 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11327 int arg2
= (int) wxJOY_BUTTON_ANY
;
11329 PyObject
* obj0
= 0 ;
11330 PyObject
* obj1
= 0 ;
11331 char *kwnames
[] = {
11332 (char *) "self",(char *) "but", NULL
11335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11339 arg2
= (int) SWIG_AsInt(obj1
);
11340 if (PyErr_Occurred()) SWIG_fail
;
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11358 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11361 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11363 return Py_BuildValue((char *)"");
11365 static PyObject
*_wrap_new_Sound__SWIG_0(PyObject
*self
, PyObject
*args
) {
11366 PyObject
*resultobj
;
11369 if(!PyArg_ParseTuple(args
,(char *)":new_Sound")) goto fail
;
11371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11372 result
= (wxSound
*)new wxSound();
11374 wxPyEndAllowThreads(__tstate
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11384 static PyObject
*_wrap_new_Sound__SWIG_1(PyObject
*self
, PyObject
*args
) {
11385 PyObject
*resultobj
;
11386 wxString
*arg1
= 0 ;
11387 bool arg2
= (bool) false ;
11389 bool temp1
= False
;
11390 PyObject
* obj0
= 0 ;
11391 PyObject
* obj1
= 0 ;
11393 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_Sound",&obj0
,&obj1
)) goto fail
;
11395 arg1
= wxString_in_helper(obj0
);
11396 if (arg1
== NULL
) SWIG_fail
;
11400 arg2
= (bool) SWIG_AsBool(obj1
);
11401 if (PyErr_Occurred()) SWIG_fail
;
11404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11405 result
= (wxSound
*)new wxSound((wxString
const &)*arg1
,arg2
);
11407 wxPyEndAllowThreads(__tstate
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11425 static PyObject
*_wrap_new_Sound__SWIG_2(PyObject
*self
, PyObject
*args
) {
11426 PyObject
*resultobj
;
11428 wxByte
*arg2
= (wxByte
*) 0 ;
11430 PyObject
* obj0
= 0 ;
11431 PyObject
* obj1
= 0 ;
11433 if(!PyArg_ParseTuple(args
,(char *)"OO:new_Sound",&obj0
,&obj1
)) goto fail
;
11434 arg1
= (int) SWIG_AsInt(obj0
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxByte
,
11437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11440 result
= (wxSound
*)new wxSound(arg1
,(wxByte
const *)arg2
);
11442 wxPyEndAllowThreads(__tstate
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11452 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
) {
11457 argc
= PyObject_Length(args
);
11458 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11459 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11462 return _wrap_new_Sound__SWIG_0(self
,args
);
11464 if ((argc
>= 1) && (argc
<= 2)) {
11467 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11471 return _wrap_new_Sound__SWIG_1(self
,args
);
11473 _v
= SWIG_CheckBool(argv
[1]);
11475 return _wrap_new_Sound__SWIG_1(self
,args
);
11481 _v
= SWIG_CheckInt(argv
[0]);
11485 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11493 return _wrap_new_Sound__SWIG_2(self
,args
);
11498 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Sound'");
11503 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11504 PyObject
*resultobj
;
11505 wxSound
*arg1
= (wxSound
*) 0 ;
11506 PyObject
* obj0
= 0 ;
11507 char *kwnames
[] = {
11508 (char *) "self", NULL
11511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11521 Py_INCREF(Py_None
); resultobj
= Py_None
;
11528 static PyObject
*_wrap_Sound_Create__SWIG_0(PyObject
*self
, PyObject
*args
) {
11529 PyObject
*resultobj
;
11530 wxSound
*arg1
= (wxSound
*) 0 ;
11531 wxString
*arg2
= 0 ;
11532 bool arg3
= (bool) false ;
11534 bool temp2
= False
;
11535 PyObject
* obj0
= 0 ;
11536 PyObject
* obj1
= 0 ;
11537 PyObject
* obj2
= 0 ;
11539 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11543 arg2
= wxString_in_helper(obj1
);
11544 if (arg2
== NULL
) SWIG_fail
;
11548 arg3
= (bool) SWIG_AsBool(obj2
);
11549 if (PyErr_Occurred()) SWIG_fail
;
11552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11553 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,arg3
);
11555 wxPyEndAllowThreads(__tstate
);
11556 if (PyErr_Occurred()) SWIG_fail
;
11559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11575 static PyObject
*_wrap_Sound_Create__SWIG_1(PyObject
*self
, PyObject
*args
) {
11576 PyObject
*resultobj
;
11577 wxSound
*arg1
= (wxSound
*) 0 ;
11579 wxByte
*arg3
= (wxByte
*) 0 ;
11581 PyObject
* obj0
= 0 ;
11582 PyObject
* obj1
= 0 ;
11583 PyObject
* obj2
= 0 ;
11585 if(!PyArg_ParseTuple(args
,(char *)"OOO:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11588 arg2
= (int) SWIG_AsInt(obj1
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11590 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxByte
,
11591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11594 result
= (bool)(arg1
)->Create(arg2
,(wxByte
const *)arg3
);
11596 wxPyEndAllowThreads(__tstate
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11608 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
) {
11613 argc
= PyObject_Length(args
);
11614 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
11615 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11617 if ((argc
>= 2) && (argc
<= 3)) {
11621 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11630 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11634 return _wrap_Sound_Create__SWIG_0(self
,args
);
11636 _v
= SWIG_CheckBool(argv
[2]);
11638 return _wrap_Sound_Create__SWIG_0(self
,args
);
11647 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11655 _v
= SWIG_CheckInt(argv
[1]);
11659 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11667 return _wrap_Sound_Create__SWIG_1(self
,args
);
11673 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Sound_Create'");
11678 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
;
11680 wxSound
*arg1
= (wxSound
*) 0 ;
11682 PyObject
* obj0
= 0 ;
11683 char *kwnames
[] = {
11684 (char *) "self", NULL
11687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 result
= (bool)(arg1
)->IsOk();
11694 wxPyEndAllowThreads(__tstate
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11706 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
) {
11707 PyObject
*resultobj
;
11708 wxSound
*arg1
= (wxSound
*) 0 ;
11709 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11711 PyObject
* obj0
= 0 ;
11712 PyObject
* obj1
= 0 ;
11714 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_Play",&obj0
,&obj1
)) goto fail
;
11715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11718 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11719 if (PyErr_Occurred()) SWIG_fail
;
11722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11723 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11725 wxPyEndAllowThreads(__tstate
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11737 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
) {
11738 PyObject
*resultobj
;
11739 wxString
*arg1
= 0 ;
11740 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11742 bool temp1
= False
;
11743 PyObject
* obj0
= 0 ;
11744 PyObject
* obj1
= 0 ;
11746 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_PlaySound",&obj0
,&obj1
)) goto fail
;
11748 arg1
= wxString_in_helper(obj0
);
11749 if (arg1
== NULL
) SWIG_fail
;
11753 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11758 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11760 wxPyEndAllowThreads(__tstate
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11780 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11781 PyObject
*resultobj
;
11782 char *kwnames
[] = {
11786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11791 wxPyEndAllowThreads(__tstate
);
11792 if (PyErr_Occurred()) SWIG_fail
;
11794 Py_INCREF(Py_None
); resultobj
= Py_None
;
11801 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11804 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11806 return Py_BuildValue((char *)"");
11808 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11809 PyObject
*resultobj
;
11810 wxString
*arg1
= 0 ;
11811 wxString
*arg2
= 0 ;
11812 wxString
*arg3
= 0 ;
11813 wxString
*arg4
= 0 ;
11814 wxFileTypeInfo
*result
;
11815 bool temp1
= False
;
11816 bool temp2
= False
;
11817 bool temp3
= False
;
11818 bool temp4
= False
;
11819 PyObject
* obj0
= 0 ;
11820 PyObject
* obj1
= 0 ;
11821 PyObject
* obj2
= 0 ;
11822 PyObject
* obj3
= 0 ;
11823 char *kwnames
[] = {
11824 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11829 arg1
= wxString_in_helper(obj0
);
11830 if (arg1
== NULL
) SWIG_fail
;
11834 arg2
= wxString_in_helper(obj1
);
11835 if (arg2
== NULL
) SWIG_fail
;
11839 arg3
= wxString_in_helper(obj2
);
11840 if (arg3
== NULL
) SWIG_fail
;
11844 arg4
= wxString_in_helper(obj3
);
11845 if (arg4
== NULL
) SWIG_fail
;
11849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11850 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11852 wxPyEndAllowThreads(__tstate
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11894 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11895 PyObject
*resultobj
;
11896 wxArrayString
*arg1
= 0 ;
11897 wxFileTypeInfo
*result
;
11898 bool temp1
= False
;
11899 PyObject
* obj0
= 0 ;
11900 char *kwnames
[] = {
11901 (char *) "sArray", NULL
11904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11906 if (! PySequence_Check(obj0
)) {
11907 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11910 arg1
= new wxArrayString
;
11912 int i
, len
=PySequence_Length(obj0
);
11913 for (i
=0; i
<len
; i
++) {
11914 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11916 PyObject
* str
= PyObject_Unicode(item
);
11918 PyObject
* str
= PyObject_Str(item
);
11920 arg1
->Add(Py2wxString(str
));
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11929 wxPyEndAllowThreads(__tstate
);
11930 if (PyErr_Occurred()) SWIG_fail
;
11932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11934 if (temp1
) delete arg1
;
11939 if (temp1
) delete arg1
;
11945 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11946 PyObject
*resultobj
;
11947 wxFileTypeInfo
*result
;
11948 char *kwnames
[] = {
11952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11955 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11957 wxPyEndAllowThreads(__tstate
);
11958 if (PyErr_Occurred()) SWIG_fail
;
11960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11967 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11968 PyObject
*resultobj
;
11969 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11971 PyObject
* obj0
= 0 ;
11972 char *kwnames
[] = {
11973 (char *) "self", NULL
11976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
11977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11981 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
11983 wxPyEndAllowThreads(__tstate
);
11984 if (PyErr_Occurred()) SWIG_fail
;
11987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11995 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11996 PyObject
*resultobj
;
11997 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11998 wxString
*arg2
= 0 ;
11999 int arg3
= (int) 0 ;
12000 bool temp2
= False
;
12001 PyObject
* obj0
= 0 ;
12002 PyObject
* obj1
= 0 ;
12003 PyObject
* obj2
= 0 ;
12004 char *kwnames
[] = {
12005 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12012 arg2
= wxString_in_helper(obj1
);
12013 if (arg2
== NULL
) SWIG_fail
;
12017 arg3
= (int) SWIG_AsInt(obj2
);
12018 if (PyErr_Occurred()) SWIG_fail
;
12021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12022 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12024 wxPyEndAllowThreads(__tstate
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12027 Py_INCREF(Py_None
); resultobj
= Py_None
;
12042 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12043 PyObject
*resultobj
;
12044 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12045 wxString
*arg2
= 0 ;
12046 bool temp2
= False
;
12047 PyObject
* obj0
= 0 ;
12048 PyObject
* obj1
= 0 ;
12049 char *kwnames
[] = {
12050 (char *) "self",(char *) "shortDesc", NULL
12053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12057 arg2
= wxString_in_helper(obj1
);
12058 if (arg2
== NULL
) SWIG_fail
;
12062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12063 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12065 wxPyEndAllowThreads(__tstate
);
12066 if (PyErr_Occurred()) SWIG_fail
;
12068 Py_INCREF(Py_None
); resultobj
= Py_None
;
12083 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12084 PyObject
*resultobj
;
12085 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12087 PyObject
* obj0
= 0 ;
12088 char *kwnames
[] = {
12089 (char *) "self", NULL
12092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12098 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12099 result
= (wxString
*) &_result_ref
;
12102 wxPyEndAllowThreads(__tstate
);
12103 if (PyErr_Occurred()) SWIG_fail
;
12107 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12109 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12118 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12119 PyObject
*resultobj
;
12120 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12122 PyObject
* obj0
= 0 ;
12123 char *kwnames
[] = {
12124 (char *) "self", NULL
12127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12133 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12134 result
= (wxString
*) &_result_ref
;
12137 wxPyEndAllowThreads(__tstate
);
12138 if (PyErr_Occurred()) SWIG_fail
;
12142 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12144 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12153 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
;
12155 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12157 PyObject
* obj0
= 0 ;
12158 char *kwnames
[] = {
12159 (char *) "self", NULL
12162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12168 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12169 result
= (wxString
*) &_result_ref
;
12172 wxPyEndAllowThreads(__tstate
);
12173 if (PyErr_Occurred()) SWIG_fail
;
12177 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12179 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12188 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12189 PyObject
*resultobj
;
12190 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12192 PyObject
* obj0
= 0 ;
12193 char *kwnames
[] = {
12194 (char *) "self", NULL
12197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12204 result
= (wxString
*) &_result_ref
;
12207 wxPyEndAllowThreads(__tstate
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12212 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12214 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12223 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12224 PyObject
*resultobj
;
12225 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12227 PyObject
* obj0
= 0 ;
12228 char *kwnames
[] = {
12229 (char *) "self", NULL
12232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12238 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12239 result
= (wxString
*) &_result_ref
;
12242 wxPyEndAllowThreads(__tstate
);
12243 if (PyErr_Occurred()) SWIG_fail
;
12247 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12249 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12258 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
;
12260 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12261 wxArrayString
*result
;
12262 PyObject
* obj0
= 0 ;
12263 char *kwnames
[] = {
12264 (char *) "self", NULL
12267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12273 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12274 result
= (wxArrayString
*) &_result_ref
;
12277 wxPyEndAllowThreads(__tstate
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12281 resultobj
= wxArrayString2PyList_helper(*result
);
12289 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12290 PyObject
*resultobj
;
12291 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12293 PyObject
* obj0
= 0 ;
12294 char *kwnames
[] = {
12295 (char *) "self", NULL
12298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12303 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12305 wxPyEndAllowThreads(__tstate
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12308 resultobj
= SWIG_FromInt((int)result
);
12315 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12316 PyObject
*resultobj
;
12317 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12319 PyObject
* obj0
= 0 ;
12320 char *kwnames
[] = {
12321 (char *) "self", NULL
12324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12330 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12331 result
= (wxString
*) &_result_ref
;
12334 wxPyEndAllowThreads(__tstate
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12339 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12341 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12350 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12351 PyObject
*resultobj
;
12352 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12354 PyObject
* obj0
= 0 ;
12355 char *kwnames
[] = {
12356 (char *) "self", NULL
12359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12364 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12366 wxPyEndAllowThreads(__tstate
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12369 resultobj
= SWIG_FromInt((int)result
);
12376 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12379 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12381 return Py_BuildValue((char *)"");
12383 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12384 PyObject
*resultobj
;
12385 wxFileTypeInfo
*arg1
= 0 ;
12386 wxFileType
*result
;
12387 PyObject
* obj0
= 0 ;
12388 char *kwnames
[] = {
12389 (char *) "ftInfo", NULL
12392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12394 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12396 if (arg1
== NULL
) {
12397 PyErr_SetString(PyExc_TypeError
,"null reference");
12401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12402 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12404 wxPyEndAllowThreads(__tstate
);
12405 if (PyErr_Occurred()) SWIG_fail
;
12407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12414 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12415 PyObject
*resultobj
;
12416 wxFileType
*arg1
= (wxFileType
*) 0 ;
12417 PyObject
* obj0
= 0 ;
12418 char *kwnames
[] = {
12419 (char *) "self", NULL
12422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",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();
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12432 Py_INCREF(Py_None
); resultobj
= Py_None
;
12439 static PyObject
*_wrap_FileType_GetMimeType(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_GetMimeType",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_GetMimeType(arg1
);
12455 wxPyEndAllowThreads(__tstate
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12458 resultobj
= result
;
12465 static PyObject
*_wrap_FileType_GetMimeTypes(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_GetMimeTypes",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_GetMimeTypes(arg1
);
12481 wxPyEndAllowThreads(__tstate
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12484 resultobj
= result
;
12491 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12492 PyObject
*resultobj
;
12493 wxFileType
*arg1
= (wxFileType
*) 0 ;
12495 PyObject
* obj0
= 0 ;
12496 char *kwnames
[] = {
12497 (char *) "self", NULL
12500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12505 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12507 wxPyEndAllowThreads(__tstate
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12510 resultobj
= result
;
12517 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12518 PyObject
*resultobj
;
12519 wxFileType
*arg1
= (wxFileType
*) 0 ;
12521 PyObject
* obj0
= 0 ;
12522 char *kwnames
[] = {
12523 (char *) "self", NULL
12526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12531 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12533 wxPyEndAllowThreads(__tstate
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12543 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12544 PyObject
*resultobj
;
12545 wxFileType
*arg1
= (wxFileType
*) 0 ;
12547 PyObject
* obj0
= 0 ;
12548 char *kwnames
[] = {
12549 (char *) "self", NULL
12552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12557 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12559 wxPyEndAllowThreads(__tstate
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12562 resultobj
= result
;
12569 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12570 PyObject
*resultobj
;
12571 wxFileType
*arg1
= (wxFileType
*) 0 ;
12573 PyObject
* obj0
= 0 ;
12574 char *kwnames
[] = {
12575 (char *) "self", NULL
12578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12583 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12585 wxPyEndAllowThreads(__tstate
);
12586 if (PyErr_Occurred()) SWIG_fail
;
12588 resultobj
= result
;
12595 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12596 PyObject
*resultobj
;
12597 wxFileType
*arg1
= (wxFileType
*) 0 ;
12598 wxString
*arg2
= 0 ;
12599 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12600 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12602 bool temp2
= False
;
12603 bool temp3
= False
;
12604 PyObject
* obj0
= 0 ;
12605 PyObject
* obj1
= 0 ;
12606 PyObject
* obj2
= 0 ;
12607 char *kwnames
[] = {
12608 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12615 arg2
= wxString_in_helper(obj1
);
12616 if (arg2
== NULL
) SWIG_fail
;
12621 arg3
= wxString_in_helper(obj2
);
12622 if (arg3
== NULL
) SWIG_fail
;
12627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12628 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12630 wxPyEndAllowThreads(__tstate
);
12631 if (PyErr_Occurred()) SWIG_fail
;
12633 resultobj
= result
;
12656 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12657 PyObject
*resultobj
;
12658 wxFileType
*arg1
= (wxFileType
*) 0 ;
12659 wxString
*arg2
= 0 ;
12660 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12661 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12663 bool temp2
= False
;
12664 bool temp3
= False
;
12665 PyObject
* obj0
= 0 ;
12666 PyObject
* obj1
= 0 ;
12667 PyObject
* obj2
= 0 ;
12668 char *kwnames
[] = {
12669 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12676 arg2
= wxString_in_helper(obj1
);
12677 if (arg2
== NULL
) SWIG_fail
;
12682 arg3
= wxString_in_helper(obj2
);
12683 if (arg3
== NULL
) SWIG_fail
;
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12689 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12691 wxPyEndAllowThreads(__tstate
);
12692 if (PyErr_Occurred()) SWIG_fail
;
12694 resultobj
= result
;
12717 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12718 PyObject
*resultobj
;
12719 wxFileType
*arg1
= (wxFileType
*) 0 ;
12720 wxString
*arg2
= 0 ;
12721 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12722 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12724 bool temp2
= False
;
12725 bool temp3
= False
;
12726 PyObject
* obj0
= 0 ;
12727 PyObject
* obj1
= 0 ;
12728 PyObject
* obj2
= 0 ;
12729 char *kwnames
[] = {
12730 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12737 arg2
= wxString_in_helper(obj1
);
12738 if (arg2
== NULL
) SWIG_fail
;
12743 arg3
= wxString_in_helper(obj2
);
12744 if (arg3
== NULL
) SWIG_fail
;
12749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12750 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12752 wxPyEndAllowThreads(__tstate
);
12753 if (PyErr_Occurred()) SWIG_fail
;
12755 resultobj
= result
;
12778 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12779 PyObject
*resultobj
;
12780 wxFileType
*arg1
= (wxFileType
*) 0 ;
12781 wxString
*arg2
= 0 ;
12782 wxString
*arg3
= 0 ;
12783 bool arg4
= (bool) True
;
12785 bool temp2
= False
;
12786 bool temp3
= False
;
12787 PyObject
* obj0
= 0 ;
12788 PyObject
* obj1
= 0 ;
12789 PyObject
* obj2
= 0 ;
12790 PyObject
* obj3
= 0 ;
12791 char *kwnames
[] = {
12792 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12799 arg2
= wxString_in_helper(obj1
);
12800 if (arg2
== NULL
) SWIG_fail
;
12804 arg3
= wxString_in_helper(obj2
);
12805 if (arg3
== NULL
) SWIG_fail
;
12809 arg4
= (bool) SWIG_AsBool(obj3
);
12810 if (PyErr_Occurred()) SWIG_fail
;
12813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12814 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12816 wxPyEndAllowThreads(__tstate
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12844 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12845 PyObject
*resultobj
;
12846 wxFileType
*arg1
= (wxFileType
*) 0 ;
12847 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12848 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12849 int arg3
= (int) 0 ;
12851 bool temp2
= False
;
12852 PyObject
* obj0
= 0 ;
12853 PyObject
* obj1
= 0 ;
12854 PyObject
* obj2
= 0 ;
12855 char *kwnames
[] = {
12856 (char *) "self",(char *) "cmd",(char *) "index", NULL
12859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12864 arg2
= wxString_in_helper(obj1
);
12865 if (arg2
== NULL
) SWIG_fail
;
12870 arg3
= (int) SWIG_AsInt(obj2
);
12871 if (PyErr_Occurred()) SWIG_fail
;
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12897 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12898 PyObject
*resultobj
;
12899 wxFileType
*arg1
= (wxFileType
*) 0 ;
12901 PyObject
* obj0
= 0 ;
12902 char *kwnames
[] = {
12903 (char *) "self", NULL
12906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12911 result
= (bool)(arg1
)->Unassociate();
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12925 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12926 PyObject
*resultobj
;
12927 wxString
*arg1
= 0 ;
12928 wxString
*arg2
= 0 ;
12929 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12930 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12932 bool temp1
= False
;
12933 bool temp2
= False
;
12934 bool temp3
= False
;
12935 PyObject
* obj0
= 0 ;
12936 PyObject
* obj1
= 0 ;
12937 PyObject
* obj2
= 0 ;
12938 char *kwnames
[] = {
12939 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12944 arg1
= wxString_in_helper(obj0
);
12945 if (arg1
== NULL
) SWIG_fail
;
12949 arg2
= wxString_in_helper(obj1
);
12950 if (arg2
== NULL
) SWIG_fail
;
12955 arg3
= wxString_in_helper(obj2
);
12956 if (arg3
== NULL
) SWIG_fail
;
12961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12962 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12964 wxPyEndAllowThreads(__tstate
);
12965 if (PyErr_Occurred()) SWIG_fail
;
12969 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12971 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13004 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
13006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13007 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13009 return Py_BuildValue((char *)"");
13011 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
13012 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13017 static PyObject
*_wrap_TheMimeTypesManager_get() {
13020 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13025 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13026 PyObject
*resultobj
;
13027 wxString
*arg1
= 0 ;
13028 wxString
*arg2
= 0 ;
13030 bool temp1
= False
;
13031 bool temp2
= False
;
13032 PyObject
* obj0
= 0 ;
13033 PyObject
* obj1
= 0 ;
13034 char *kwnames
[] = {
13035 (char *) "mimeType",(char *) "wildcard", NULL
13038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13040 arg1
= wxString_in_helper(obj0
);
13041 if (arg1
== NULL
) SWIG_fail
;
13045 arg2
= wxString_in_helper(obj1
);
13046 if (arg2
== NULL
) SWIG_fail
;
13050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13051 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13053 wxPyEndAllowThreads(__tstate
);
13054 if (PyErr_Occurred()) SWIG_fail
;
13057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13081 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13082 PyObject
*resultobj
;
13083 wxMimeTypesManager
*result
;
13084 char *kwnames
[] = {
13088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13093 wxPyEndAllowThreads(__tstate
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13103 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13104 PyObject
*resultobj
;
13105 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13106 int arg2
= (int) wxMAILCAP_ALL
;
13107 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13108 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13109 bool temp3
= False
;
13110 PyObject
* obj0
= 0 ;
13111 PyObject
* obj1
= 0 ;
13112 PyObject
* obj2
= 0 ;
13113 char *kwnames
[] = {
13114 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13121 arg2
= (int) SWIG_AsInt(obj1
);
13122 if (PyErr_Occurred()) SWIG_fail
;
13126 arg3
= wxString_in_helper(obj2
);
13127 if (arg3
== NULL
) SWIG_fail
;
13132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13133 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13135 wxPyEndAllowThreads(__tstate
);
13136 if (PyErr_Occurred()) SWIG_fail
;
13138 Py_INCREF(Py_None
); resultobj
= Py_None
;
13153 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13154 PyObject
*resultobj
;
13155 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13156 PyObject
* obj0
= 0 ;
13157 char *kwnames
[] = {
13158 (char *) "self", NULL
13161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13166 (arg1
)->ClearData();
13168 wxPyEndAllowThreads(__tstate
);
13169 if (PyErr_Occurred()) SWIG_fail
;
13171 Py_INCREF(Py_None
); resultobj
= Py_None
;
13178 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13179 PyObject
*resultobj
;
13180 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13181 wxString
*arg2
= 0 ;
13182 wxFileType
*result
;
13183 bool temp2
= False
;
13184 PyObject
* obj0
= 0 ;
13185 PyObject
* obj1
= 0 ;
13186 char *kwnames
[] = {
13187 (char *) "self",(char *) "ext", NULL
13190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13194 arg2
= wxString_in_helper(obj1
);
13195 if (arg2
== NULL
) SWIG_fail
;
13199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13200 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13202 wxPyEndAllowThreads(__tstate
);
13203 if (PyErr_Occurred()) SWIG_fail
;
13205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13220 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13221 PyObject
*resultobj
;
13222 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13223 wxString
*arg2
= 0 ;
13224 wxFileType
*result
;
13225 bool temp2
= False
;
13226 PyObject
* obj0
= 0 ;
13227 PyObject
* obj1
= 0 ;
13228 char *kwnames
[] = {
13229 (char *) "self",(char *) "mimeType", NULL
13232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13236 arg2
= wxString_in_helper(obj1
);
13237 if (arg2
== NULL
) SWIG_fail
;
13241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13242 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13244 wxPyEndAllowThreads(__tstate
);
13245 if (PyErr_Occurred()) SWIG_fail
;
13247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13262 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13263 PyObject
*resultobj
;
13264 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13265 wxString
*arg2
= 0 ;
13266 bool arg3
= (bool) False
;
13268 bool temp2
= False
;
13269 PyObject
* obj0
= 0 ;
13270 PyObject
* obj1
= 0 ;
13271 PyObject
* obj2
= 0 ;
13272 char *kwnames
[] = {
13273 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13280 arg2
= wxString_in_helper(obj1
);
13281 if (arg2
== NULL
) SWIG_fail
;
13285 arg3
= (bool) SWIG_AsBool(obj2
);
13286 if (PyErr_Occurred()) SWIG_fail
;
13289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13290 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13292 wxPyEndAllowThreads(__tstate
);
13293 if (PyErr_Occurred()) SWIG_fail
;
13296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13312 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13313 PyObject
*resultobj
;
13314 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13315 wxString
*arg2
= 0 ;
13317 bool temp2
= False
;
13318 PyObject
* obj0
= 0 ;
13319 PyObject
* obj1
= 0 ;
13320 char *kwnames
[] = {
13321 (char *) "self",(char *) "filename", NULL
13324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13328 arg2
= wxString_in_helper(obj1
);
13329 if (arg2
== NULL
) SWIG_fail
;
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13336 wxPyEndAllowThreads(__tstate
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13356 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13357 PyObject
*resultobj
;
13358 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13360 PyObject
* obj0
= 0 ;
13361 char *kwnames
[] = {
13362 (char *) "self", NULL
13365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13372 wxPyEndAllowThreads(__tstate
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13375 resultobj
= result
;
13382 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13383 PyObject
*resultobj
;
13384 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13385 wxFileTypeInfo
*arg2
= 0 ;
13386 PyObject
* obj0
= 0 ;
13387 PyObject
* obj1
= 0 ;
13388 char *kwnames
[] = {
13389 (char *) "self",(char *) "ft", NULL
13392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13396 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13398 if (arg2
== NULL
) {
13399 PyErr_SetString(PyExc_TypeError
,"null reference");
13403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13404 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13406 wxPyEndAllowThreads(__tstate
);
13407 if (PyErr_Occurred()) SWIG_fail
;
13409 Py_INCREF(Py_None
); resultobj
= Py_None
;
13416 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13417 PyObject
*resultobj
;
13418 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13419 wxFileTypeInfo
*arg2
= 0 ;
13420 wxFileType
*result
;
13421 PyObject
* obj0
= 0 ;
13422 PyObject
* obj1
= 0 ;
13423 char *kwnames
[] = {
13424 (char *) "self",(char *) "ftInfo", NULL
13427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13430 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13431 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13433 if (arg2
== NULL
) {
13434 PyErr_SetString(PyExc_TypeError
,"null reference");
13438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13441 wxPyEndAllowThreads(__tstate
);
13442 if (PyErr_Occurred()) SWIG_fail
;
13444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13451 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13452 PyObject
*resultobj
;
13453 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13454 wxFileType
*arg2
= (wxFileType
*) 0 ;
13456 PyObject
* obj0
= 0 ;
13457 PyObject
* obj1
= 0 ;
13458 char *kwnames
[] = {
13459 (char *) "self",(char *) "ft", NULL
13462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13469 result
= (bool)(arg1
)->Unassociate(arg2
);
13471 wxPyEndAllowThreads(__tstate
);
13472 if (PyErr_Occurred()) SWIG_fail
;
13475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13483 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13484 PyObject
*resultobj
;
13485 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13486 PyObject
* obj0
= 0 ;
13487 char *kwnames
[] = {
13488 (char *) "self", NULL
13491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 wxPyEndAllowThreads(__tstate
);
13499 if (PyErr_Occurred()) SWIG_fail
;
13501 Py_INCREF(Py_None
); resultobj
= Py_None
;
13508 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13511 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13513 return Py_BuildValue((char *)"");
13515 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13516 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13521 static PyObject
*_wrap_ART_TOOLBAR_get() {
13526 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13528 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13535 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13536 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13541 static PyObject
*_wrap_ART_MENU_get() {
13546 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13548 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13555 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13556 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13561 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13566 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13568 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13575 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13576 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13581 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13586 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13588 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13595 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13596 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13601 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13606 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13608 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13615 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13616 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13621 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13626 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13628 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13635 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13636 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13641 static PyObject
*_wrap_ART_OTHER_get() {
13646 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13648 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13655 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13656 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13661 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13666 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13668 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13675 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13676 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13681 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13686 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13688 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13695 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13696 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13701 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13706 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13708 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13715 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13716 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13721 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13726 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13728 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13735 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13736 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13741 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13746 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13748 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13755 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13756 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13761 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13766 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13768 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13775 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13776 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13781 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13786 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13788 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13795 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13796 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13801 static PyObject
*_wrap_ART_GO_BACK_get() {
13806 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13808 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13815 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13816 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13821 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13826 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13828 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13835 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13836 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13841 static PyObject
*_wrap_ART_GO_UP_get() {
13846 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13848 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13855 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13856 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13861 static PyObject
*_wrap_ART_GO_DOWN_get() {
13866 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13868 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13875 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
13876 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13881 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13886 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13888 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13895 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
13896 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13901 static PyObject
*_wrap_ART_GO_HOME_get() {
13906 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13908 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13915 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
13916 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13921 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13926 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13928 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13935 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
13936 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13941 static PyObject
*_wrap_ART_PRINT_get() {
13946 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13948 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13955 static int _wrap_ART_HELP_set(PyObject
*_val
) {
13956 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13961 static PyObject
*_wrap_ART_HELP_get() {
13966 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13968 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13975 static int _wrap_ART_TIP_set(PyObject
*_val
) {
13976 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
13981 static PyObject
*_wrap_ART_TIP_get() {
13986 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13988 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13995 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
13996 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14001 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14006 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14008 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14015 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
14016 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14021 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14026 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14028 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14035 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
14036 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14041 static PyObject
*_wrap_ART_NEW_DIR_get() {
14046 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14048 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14055 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14056 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14061 static PyObject
*_wrap_ART_FOLDER_get() {
14066 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14068 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14075 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14076 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14081 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14086 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14088 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14095 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14096 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14101 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14106 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14108 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14115 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14116 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14121 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14126 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14128 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14135 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14136 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14141 static PyObject
*_wrap_ART_TICK_MARK_get() {
14146 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14148 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14155 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14156 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14161 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14166 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14168 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14175 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14176 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14181 static PyObject
*_wrap_ART_ERROR_get() {
14186 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14188 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14195 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14196 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14201 static PyObject
*_wrap_ART_QUESTION_get() {
14206 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14208 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14215 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14216 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14221 static PyObject
*_wrap_ART_WARNING_get() {
14226 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14228 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14235 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14236 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14241 static PyObject
*_wrap_ART_INFORMATION_get() {
14246 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14248 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14255 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14256 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14261 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14266 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14268 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14275 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14276 PyObject
*resultobj
;
14277 wxPyArtProvider
*result
;
14278 char *kwnames
[] = {
14282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14285 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14287 wxPyEndAllowThreads(__tstate
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14297 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14298 PyObject
*resultobj
;
14299 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14300 PyObject
*arg2
= (PyObject
*) 0 ;
14301 PyObject
*arg3
= (PyObject
*) 0 ;
14302 PyObject
* obj0
= 0 ;
14303 PyObject
* obj1
= 0 ;
14304 PyObject
* obj2
= 0 ;
14305 char *kwnames
[] = {
14306 (char *) "self",(char *) "self",(char *) "_class", NULL
14309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14316 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14318 wxPyEndAllowThreads(__tstate
);
14319 if (PyErr_Occurred()) SWIG_fail
;
14321 Py_INCREF(Py_None
); resultobj
= Py_None
;
14328 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14329 PyObject
*resultobj
;
14330 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14331 PyObject
* obj0
= 0 ;
14332 char *kwnames
[] = {
14333 (char *) "provider", NULL
14336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14341 wxPyArtProvider::PushProvider(arg1
);
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14346 Py_INCREF(Py_None
); resultobj
= Py_None
;
14353 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14356 char *kwnames
[] = {
14360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14363 result
= (bool)wxPyArtProvider::PopProvider();
14365 wxPyEndAllowThreads(__tstate
);
14366 if (PyErr_Occurred()) SWIG_fail
;
14369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14377 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14378 PyObject
*resultobj
;
14379 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14381 PyObject
* obj0
= 0 ;
14382 char *kwnames
[] = {
14383 (char *) "provider", NULL
14386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14391 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14393 wxPyEndAllowThreads(__tstate
);
14394 if (PyErr_Occurred()) SWIG_fail
;
14397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14405 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14406 PyObject
*resultobj
;
14407 wxString
*arg1
= 0 ;
14408 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14409 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14410 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14411 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14413 bool temp1
= False
;
14414 bool temp2
= False
;
14416 PyObject
* obj0
= 0 ;
14417 PyObject
* obj1
= 0 ;
14418 PyObject
* obj2
= 0 ;
14419 char *kwnames
[] = {
14420 (char *) "id",(char *) "client",(char *) "size", NULL
14423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14425 arg1
= wxString_in_helper(obj0
);
14426 if (arg1
== NULL
) SWIG_fail
;
14431 arg2
= wxString_in_helper(obj1
);
14432 if (arg2
== NULL
) SWIG_fail
;
14439 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14444 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14446 wxPyEndAllowThreads(__tstate
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14450 wxBitmap
* resultptr
;
14451 resultptr
= new wxBitmap((wxBitmap
&) result
);
14452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14476 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14477 PyObject
*resultobj
;
14478 wxString
*arg1
= 0 ;
14479 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14480 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14481 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14482 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14484 bool temp1
= False
;
14485 bool temp2
= False
;
14487 PyObject
* obj0
= 0 ;
14488 PyObject
* obj1
= 0 ;
14489 PyObject
* obj2
= 0 ;
14490 char *kwnames
[] = {
14491 (char *) "id",(char *) "client",(char *) "size", NULL
14494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14496 arg1
= wxString_in_helper(obj0
);
14497 if (arg1
== NULL
) SWIG_fail
;
14502 arg2
= wxString_in_helper(obj1
);
14503 if (arg2
== NULL
) SWIG_fail
;
14510 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14515 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14517 wxPyEndAllowThreads(__tstate
);
14518 if (PyErr_Occurred()) SWIG_fail
;
14521 wxIcon
* resultptr
;
14522 resultptr
= new wxIcon((wxIcon
&) result
);
14523 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14547 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14548 PyObject
*resultobj
;
14549 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14550 PyObject
* obj0
= 0 ;
14551 char *kwnames
[] = {
14552 (char *) "self", NULL
14555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14560 wxPyArtProvider_Destroy(arg1
);
14562 wxPyEndAllowThreads(__tstate
);
14563 if (PyErr_Occurred()) SWIG_fail
;
14565 Py_INCREF(Py_None
); resultobj
= Py_None
;
14572 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14575 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14577 return Py_BuildValue((char *)"");
14579 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14580 PyObject
*resultobj
;
14581 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14582 PyObject
* obj0
= 0 ;
14583 char *kwnames
[] = {
14584 (char *) "self", NULL
14587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14594 wxPyEndAllowThreads(__tstate
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14597 Py_INCREF(Py_None
); resultobj
= Py_None
;
14604 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14605 PyObject
*resultobj
;
14606 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14607 wxConfigBase
*result
;
14608 PyObject
* obj0
= 0 ;
14609 char *kwnames
[] = {
14610 (char *) "config", NULL
14613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14618 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14620 wxPyEndAllowThreads(__tstate
);
14621 if (PyErr_Occurred()) SWIG_fail
;
14623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14630 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14631 PyObject
*resultobj
;
14632 bool arg1
= (bool) True
;
14633 wxConfigBase
*result
;
14634 PyObject
* obj0
= 0 ;
14635 char *kwnames
[] = {
14636 (char *) "createOnDemand", NULL
14639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14641 arg1
= (bool) SWIG_AsBool(obj0
);
14642 if (PyErr_Occurred()) SWIG_fail
;
14645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14646 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14648 wxPyEndAllowThreads(__tstate
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14658 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14659 PyObject
*resultobj
;
14660 wxConfigBase
*result
;
14661 char *kwnames
[] = {
14665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14668 result
= (wxConfigBase
*)wxConfigBase::Create();
14670 wxPyEndAllowThreads(__tstate
);
14671 if (PyErr_Occurred()) SWIG_fail
;
14673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14680 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14681 PyObject
*resultobj
;
14682 char *kwnames
[] = {
14686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14689 wxConfigBase::DontCreateOnDemand();
14691 wxPyEndAllowThreads(__tstate
);
14692 if (PyErr_Occurred()) SWIG_fail
;
14694 Py_INCREF(Py_None
); resultobj
= Py_None
;
14701 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14702 PyObject
*resultobj
;
14703 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14704 wxString
*arg2
= 0 ;
14705 bool temp2
= False
;
14706 PyObject
* obj0
= 0 ;
14707 PyObject
* obj1
= 0 ;
14708 char *kwnames
[] = {
14709 (char *) "self",(char *) "path", NULL
14712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14716 arg2
= wxString_in_helper(obj1
);
14717 if (arg2
== NULL
) SWIG_fail
;
14721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14722 (arg1
)->SetPath((wxString
const &)*arg2
);
14724 wxPyEndAllowThreads(__tstate
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14727 Py_INCREF(Py_None
); resultobj
= Py_None
;
14742 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14743 PyObject
*resultobj
;
14744 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14746 PyObject
* obj0
= 0 ;
14747 char *kwnames
[] = {
14748 (char *) "self", NULL
14751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14757 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14758 result
= (wxString
*) &_result_ref
;
14761 wxPyEndAllowThreads(__tstate
);
14762 if (PyErr_Occurred()) SWIG_fail
;
14766 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14768 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14777 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14778 PyObject
*resultobj
;
14779 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14781 PyObject
* obj0
= 0 ;
14782 char *kwnames
[] = {
14783 (char *) "self", NULL
14786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14791 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14793 wxPyEndAllowThreads(__tstate
);
14794 if (PyErr_Occurred()) SWIG_fail
;
14796 resultobj
= result
;
14803 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14804 PyObject
*resultobj
;
14805 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14808 PyObject
* obj0
= 0 ;
14809 PyObject
* obj1
= 0 ;
14810 char *kwnames
[] = {
14811 (char *) "self",(char *) "index", NULL
14814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14817 arg2
= (long) SWIG_AsLong(obj1
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14826 resultobj
= result
;
14833 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14834 PyObject
*resultobj
;
14835 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14837 PyObject
* obj0
= 0 ;
14838 char *kwnames
[] = {
14839 (char *) "self", NULL
14842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14847 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14849 wxPyEndAllowThreads(__tstate
);
14850 if (PyErr_Occurred()) SWIG_fail
;
14852 resultobj
= result
;
14859 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14860 PyObject
*resultobj
;
14861 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14864 PyObject
* obj0
= 0 ;
14865 PyObject
* obj1
= 0 ;
14866 char *kwnames
[] = {
14867 (char *) "self",(char *) "index", NULL
14870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14873 arg2
= (long) SWIG_AsLong(obj1
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14877 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14879 wxPyEndAllowThreads(__tstate
);
14880 if (PyErr_Occurred()) SWIG_fail
;
14882 resultobj
= result
;
14889 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14890 PyObject
*resultobj
;
14891 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14892 bool arg2
= (bool) False
;
14894 PyObject
* obj0
= 0 ;
14895 PyObject
* obj1
= 0 ;
14896 char *kwnames
[] = {
14897 (char *) "self",(char *) "recursive", NULL
14900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14904 arg2
= (bool) SWIG_AsBool(obj1
);
14905 if (PyErr_Occurred()) SWIG_fail
;
14908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14909 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14914 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14921 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14922 PyObject
*resultobj
;
14923 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14924 bool arg2
= (bool) False
;
14926 PyObject
* obj0
= 0 ;
14927 PyObject
* obj1
= 0 ;
14928 char *kwnames
[] = {
14929 (char *) "self",(char *) "recursive", NULL
14932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14936 arg2
= (bool) SWIG_AsBool(obj1
);
14937 if (PyErr_Occurred()) SWIG_fail
;
14940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14941 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14943 wxPyEndAllowThreads(__tstate
);
14944 if (PyErr_Occurred()) SWIG_fail
;
14946 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14953 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14954 PyObject
*resultobj
;
14955 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14956 wxString
*arg2
= 0 ;
14958 bool temp2
= False
;
14959 PyObject
* obj0
= 0 ;
14960 PyObject
* obj1
= 0 ;
14961 char *kwnames
[] = {
14962 (char *) "self",(char *) "name", NULL
14965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14969 arg2
= wxString_in_helper(obj1
);
14970 if (arg2
== NULL
) SWIG_fail
;
14974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14975 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
14977 wxPyEndAllowThreads(__tstate
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14997 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14998 PyObject
*resultobj
;
14999 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15000 wxString
*arg2
= 0 ;
15002 bool temp2
= False
;
15003 PyObject
* obj0
= 0 ;
15004 PyObject
* obj1
= 0 ;
15005 char *kwnames
[] = {
15006 (char *) "self",(char *) "name", NULL
15009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15013 arg2
= wxString_in_helper(obj1
);
15014 if (arg2
== NULL
) SWIG_fail
;
15018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15019 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15021 wxPyEndAllowThreads(__tstate
);
15022 if (PyErr_Occurred()) SWIG_fail
;
15025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15041 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15042 PyObject
*resultobj
;
15043 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15044 wxString
*arg2
= 0 ;
15046 bool temp2
= False
;
15047 PyObject
* obj0
= 0 ;
15048 PyObject
* obj1
= 0 ;
15049 char *kwnames
[] = {
15050 (char *) "self",(char *) "name", NULL
15053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15057 arg2
= wxString_in_helper(obj1
);
15058 if (arg2
== NULL
) SWIG_fail
;
15062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15063 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15065 wxPyEndAllowThreads(__tstate
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15085 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15086 PyObject
*resultobj
;
15087 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15088 wxString
*arg2
= 0 ;
15090 bool temp2
= False
;
15091 PyObject
* obj0
= 0 ;
15092 PyObject
* obj1
= 0 ;
15093 char *kwnames
[] = {
15094 (char *) "self",(char *) "name", NULL
15097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15101 arg2
= wxString_in_helper(obj1
);
15102 if (arg2
== NULL
) SWIG_fail
;
15106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15107 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15109 wxPyEndAllowThreads(__tstate
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15112 resultobj
= SWIG_FromInt((int)result
);
15127 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15128 PyObject
*resultobj
;
15129 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15130 wxString
*arg2
= 0 ;
15131 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15132 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15134 bool temp2
= False
;
15135 bool temp3
= False
;
15136 PyObject
* obj0
= 0 ;
15137 PyObject
* obj1
= 0 ;
15138 PyObject
* obj2
= 0 ;
15139 char *kwnames
[] = {
15140 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15147 arg2
= wxString_in_helper(obj1
);
15148 if (arg2
== NULL
) SWIG_fail
;
15153 arg3
= wxString_in_helper(obj2
);
15154 if (arg3
== NULL
) SWIG_fail
;
15159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15160 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15162 wxPyEndAllowThreads(__tstate
);
15163 if (PyErr_Occurred()) SWIG_fail
;
15167 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15169 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15194 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15195 PyObject
*resultobj
;
15196 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15197 wxString
*arg2
= 0 ;
15198 long arg3
= (long) 0 ;
15200 bool temp2
= False
;
15201 PyObject
* obj0
= 0 ;
15202 PyObject
* obj1
= 0 ;
15203 PyObject
* obj2
= 0 ;
15204 char *kwnames
[] = {
15205 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15212 arg2
= wxString_in_helper(obj1
);
15213 if (arg2
== NULL
) SWIG_fail
;
15217 arg3
= (long) SWIG_AsLong(obj2
);
15218 if (PyErr_Occurred()) SWIG_fail
;
15221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15222 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15224 wxPyEndAllowThreads(__tstate
);
15225 if (PyErr_Occurred()) SWIG_fail
;
15227 resultobj
= SWIG_FromLong((long)result
);
15242 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
;
15244 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15245 wxString
*arg2
= 0 ;
15246 double arg3
= (double) 0.0 ;
15248 bool temp2
= False
;
15249 PyObject
* obj0
= 0 ;
15250 PyObject
* obj1
= 0 ;
15251 PyObject
* obj2
= 0 ;
15252 char *kwnames
[] = {
15253 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15260 arg2
= wxString_in_helper(obj1
);
15261 if (arg2
== NULL
) SWIG_fail
;
15265 arg3
= (double) SWIG_AsDouble(obj2
);
15266 if (PyErr_Occurred()) SWIG_fail
;
15269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15275 resultobj
= SWIG_FromDouble((double)result
);
15290 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15291 PyObject
*resultobj
;
15292 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15293 wxString
*arg2
= 0 ;
15294 bool arg3
= (bool) False
;
15296 bool temp2
= False
;
15297 PyObject
* obj0
= 0 ;
15298 PyObject
* obj1
= 0 ;
15299 PyObject
* obj2
= 0 ;
15300 char *kwnames
[] = {
15301 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15308 arg2
= wxString_in_helper(obj1
);
15309 if (arg2
== NULL
) SWIG_fail
;
15313 arg3
= (bool) SWIG_AsBool(obj2
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15318 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15320 wxPyEndAllowThreads(__tstate
);
15321 if (PyErr_Occurred()) SWIG_fail
;
15324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15340 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15341 PyObject
*resultobj
;
15342 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15343 wxString
*arg2
= 0 ;
15344 wxString
*arg3
= 0 ;
15346 bool temp2
= False
;
15347 bool temp3
= False
;
15348 PyObject
* obj0
= 0 ;
15349 PyObject
* obj1
= 0 ;
15350 PyObject
* obj2
= 0 ;
15351 char *kwnames
[] = {
15352 (char *) "self",(char *) "key",(char *) "value", NULL
15355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15359 arg2
= wxString_in_helper(obj1
);
15360 if (arg2
== NULL
) SWIG_fail
;
15364 arg3
= wxString_in_helper(obj2
);
15365 if (arg3
== NULL
) SWIG_fail
;
15369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15370 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15372 wxPyEndAllowThreads(__tstate
);
15373 if (PyErr_Occurred()) SWIG_fail
;
15376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15400 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15401 PyObject
*resultobj
;
15402 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15403 wxString
*arg2
= 0 ;
15406 bool temp2
= False
;
15407 PyObject
* obj0
= 0 ;
15408 PyObject
* obj1
= 0 ;
15409 PyObject
* obj2
= 0 ;
15410 char *kwnames
[] = {
15411 (char *) "self",(char *) "key",(char *) "value", NULL
15414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15418 arg2
= wxString_in_helper(obj1
);
15419 if (arg2
== NULL
) SWIG_fail
;
15422 arg3
= (long) SWIG_AsLong(obj2
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15426 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15428 wxPyEndAllowThreads(__tstate
);
15429 if (PyErr_Occurred()) SWIG_fail
;
15432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15448 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15449 PyObject
*resultobj
;
15450 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15451 wxString
*arg2
= 0 ;
15454 bool temp2
= False
;
15455 PyObject
* obj0
= 0 ;
15456 PyObject
* obj1
= 0 ;
15457 PyObject
* obj2
= 0 ;
15458 char *kwnames
[] = {
15459 (char *) "self",(char *) "key",(char *) "value", NULL
15462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15466 arg2
= wxString_in_helper(obj1
);
15467 if (arg2
== NULL
) SWIG_fail
;
15470 arg3
= (double) SWIG_AsDouble(obj2
);
15471 if (PyErr_Occurred()) SWIG_fail
;
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15476 wxPyEndAllowThreads(__tstate
);
15477 if (PyErr_Occurred()) SWIG_fail
;
15480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15496 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15497 PyObject
*resultobj
;
15498 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15499 wxString
*arg2
= 0 ;
15502 bool temp2
= False
;
15503 PyObject
* obj0
= 0 ;
15504 PyObject
* obj1
= 0 ;
15505 PyObject
* obj2
= 0 ;
15506 char *kwnames
[] = {
15507 (char *) "self",(char *) "key",(char *) "value", NULL
15510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15514 arg2
= wxString_in_helper(obj1
);
15515 if (arg2
== NULL
) SWIG_fail
;
15518 arg3
= (bool) SWIG_AsBool(obj2
);
15519 if (PyErr_Occurred()) SWIG_fail
;
15521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15522 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15524 wxPyEndAllowThreads(__tstate
);
15525 if (PyErr_Occurred()) SWIG_fail
;
15528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15544 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15545 PyObject
*resultobj
;
15546 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15547 bool arg2
= (bool) False
;
15549 PyObject
* obj0
= 0 ;
15550 PyObject
* obj1
= 0 ;
15551 char *kwnames
[] = {
15552 (char *) "self",(char *) "currentOnly", NULL
15555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15559 arg2
= (bool) SWIG_AsBool(obj1
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15564 result
= (bool)(arg1
)->Flush(arg2
);
15566 wxPyEndAllowThreads(__tstate
);
15567 if (PyErr_Occurred()) SWIG_fail
;
15570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15578 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15579 PyObject
*resultobj
;
15580 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15581 wxString
*arg2
= 0 ;
15582 wxString
*arg3
= 0 ;
15584 bool temp2
= False
;
15585 bool temp3
= False
;
15586 PyObject
* obj0
= 0 ;
15587 PyObject
* obj1
= 0 ;
15588 PyObject
* obj2
= 0 ;
15589 char *kwnames
[] = {
15590 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15597 arg2
= wxString_in_helper(obj1
);
15598 if (arg2
== NULL
) SWIG_fail
;
15602 arg3
= wxString_in_helper(obj2
);
15603 if (arg3
== NULL
) SWIG_fail
;
15607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15608 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15610 wxPyEndAllowThreads(__tstate
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15638 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15639 PyObject
*resultobj
;
15640 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15641 wxString
*arg2
= 0 ;
15642 wxString
*arg3
= 0 ;
15644 bool temp2
= False
;
15645 bool temp3
= False
;
15646 PyObject
* obj0
= 0 ;
15647 PyObject
* obj1
= 0 ;
15648 PyObject
* obj2
= 0 ;
15649 char *kwnames
[] = {
15650 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15657 arg2
= wxString_in_helper(obj1
);
15658 if (arg2
== NULL
) SWIG_fail
;
15662 arg3
= wxString_in_helper(obj2
);
15663 if (arg3
== NULL
) SWIG_fail
;
15667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15668 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15670 wxPyEndAllowThreads(__tstate
);
15671 if (PyErr_Occurred()) SWIG_fail
;
15674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15698 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15699 PyObject
*resultobj
;
15700 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15701 wxString
*arg2
= 0 ;
15702 bool arg3
= (bool) True
;
15704 bool temp2
= False
;
15705 PyObject
* obj0
= 0 ;
15706 PyObject
* obj1
= 0 ;
15707 PyObject
* obj2
= 0 ;
15708 char *kwnames
[] = {
15709 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15716 arg2
= wxString_in_helper(obj1
);
15717 if (arg2
== NULL
) SWIG_fail
;
15721 arg3
= (bool) SWIG_AsBool(obj2
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15726 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15728 wxPyEndAllowThreads(__tstate
);
15729 if (PyErr_Occurred()) SWIG_fail
;
15732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15748 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15749 PyObject
*resultobj
;
15750 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15751 wxString
*arg2
= 0 ;
15753 bool temp2
= False
;
15754 PyObject
* obj0
= 0 ;
15755 PyObject
* obj1
= 0 ;
15756 char *kwnames
[] = {
15757 (char *) "self",(char *) "key", NULL
15760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15764 arg2
= wxString_in_helper(obj1
);
15765 if (arg2
== NULL
) SWIG_fail
;
15769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15770 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15772 wxPyEndAllowThreads(__tstate
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15792 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15793 PyObject
*resultobj
;
15794 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15796 PyObject
* obj0
= 0 ;
15797 char *kwnames
[] = {
15798 (char *) "self", NULL
15801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15806 result
= (bool)(arg1
)->DeleteAll();
15808 wxPyEndAllowThreads(__tstate
);
15809 if (PyErr_Occurred()) SWIG_fail
;
15812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15820 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15821 PyObject
*resultobj
;
15822 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15823 bool arg2
= (bool) True
;
15824 PyObject
* obj0
= 0 ;
15825 PyObject
* obj1
= 0 ;
15826 char *kwnames
[] = {
15827 (char *) "self",(char *) "doIt", NULL
15830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15834 arg2
= (bool) SWIG_AsBool(obj1
);
15835 if (PyErr_Occurred()) SWIG_fail
;
15838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15839 (arg1
)->SetExpandEnvVars(arg2
);
15841 wxPyEndAllowThreads(__tstate
);
15842 if (PyErr_Occurred()) SWIG_fail
;
15844 Py_INCREF(Py_None
); resultobj
= Py_None
;
15851 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15852 PyObject
*resultobj
;
15853 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15855 PyObject
* obj0
= 0 ;
15856 char *kwnames
[] = {
15857 (char *) "self", NULL
15860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15865 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15867 wxPyEndAllowThreads(__tstate
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15879 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15880 PyObject
*resultobj
;
15881 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15882 bool arg2
= (bool) True
;
15883 PyObject
* obj0
= 0 ;
15884 PyObject
* obj1
= 0 ;
15885 char *kwnames
[] = {
15886 (char *) "self",(char *) "doIt", NULL
15889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15893 arg2
= (bool) SWIG_AsBool(obj1
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15898 (arg1
)->SetRecordDefaults(arg2
);
15900 wxPyEndAllowThreads(__tstate
);
15901 if (PyErr_Occurred()) SWIG_fail
;
15903 Py_INCREF(Py_None
); resultobj
= Py_None
;
15910 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15911 PyObject
*resultobj
;
15912 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15914 PyObject
* obj0
= 0 ;
15915 char *kwnames
[] = {
15916 (char *) "self", NULL
15919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15924 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15926 wxPyEndAllowThreads(__tstate
);
15927 if (PyErr_Occurred()) SWIG_fail
;
15930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15938 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
;
15940 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15941 wxString
*arg2
= 0 ;
15943 bool temp2
= False
;
15944 PyObject
* obj0
= 0 ;
15945 PyObject
* obj1
= 0 ;
15946 char *kwnames
[] = {
15947 (char *) "self",(char *) "str", NULL
15950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15954 arg2
= wxString_in_helper(obj1
);
15955 if (arg2
== NULL
) SWIG_fail
;
15959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15960 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15962 wxPyEndAllowThreads(__tstate
);
15963 if (PyErr_Occurred()) SWIG_fail
;
15967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15986 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15987 PyObject
*resultobj
;
15988 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15990 PyObject
* obj0
= 0 ;
15991 char *kwnames
[] = {
15992 (char *) "self", NULL
15995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
15996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16000 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16002 wxPyEndAllowThreads(__tstate
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16007 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16009 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16018 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16019 PyObject
*resultobj
;
16020 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16022 PyObject
* obj0
= 0 ;
16023 char *kwnames
[] = {
16024 (char *) "self", NULL
16027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16032 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16034 wxPyEndAllowThreads(__tstate
);
16035 if (PyErr_Occurred()) SWIG_fail
;
16039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16050 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16051 PyObject
*resultobj
;
16052 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16053 wxString
*arg2
= 0 ;
16054 bool temp2
= False
;
16055 PyObject
* obj0
= 0 ;
16056 PyObject
* obj1
= 0 ;
16057 char *kwnames
[] = {
16058 (char *) "self",(char *) "appName", NULL
16061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16065 arg2
= wxString_in_helper(obj1
);
16066 if (arg2
== NULL
) SWIG_fail
;
16070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16071 (arg1
)->SetAppName((wxString
const &)*arg2
);
16073 wxPyEndAllowThreads(__tstate
);
16074 if (PyErr_Occurred()) SWIG_fail
;
16076 Py_INCREF(Py_None
); resultobj
= Py_None
;
16091 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16092 PyObject
*resultobj
;
16093 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16094 wxString
*arg2
= 0 ;
16095 bool temp2
= False
;
16096 PyObject
* obj0
= 0 ;
16097 PyObject
* obj1
= 0 ;
16098 char *kwnames
[] = {
16099 (char *) "self",(char *) "vendorName", NULL
16102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16106 arg2
= wxString_in_helper(obj1
);
16107 if (arg2
== NULL
) SWIG_fail
;
16111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16112 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16114 wxPyEndAllowThreads(__tstate
);
16115 if (PyErr_Occurred()) SWIG_fail
;
16117 Py_INCREF(Py_None
); resultobj
= Py_None
;
16132 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16133 PyObject
*resultobj
;
16134 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16136 PyObject
* obj0
= 0 ;
16137 PyObject
* obj1
= 0 ;
16138 char *kwnames
[] = {
16139 (char *) "self",(char *) "style", NULL
16142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16145 arg2
= (long) SWIG_AsLong(obj1
);
16146 if (PyErr_Occurred()) SWIG_fail
;
16148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16149 (arg1
)->SetStyle(arg2
);
16151 wxPyEndAllowThreads(__tstate
);
16152 if (PyErr_Occurred()) SWIG_fail
;
16154 Py_INCREF(Py_None
); resultobj
= Py_None
;
16161 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16162 PyObject
*resultobj
;
16163 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16165 PyObject
* obj0
= 0 ;
16166 char *kwnames
[] = {
16167 (char *) "self", NULL
16170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16177 wxPyEndAllowThreads(__tstate
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16180 resultobj
= SWIG_FromLong((long)result
);
16187 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16190 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16192 return Py_BuildValue((char *)"");
16194 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16195 PyObject
*resultobj
;
16196 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16197 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16198 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16199 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16200 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16201 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16202 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16203 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16204 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16206 bool temp1
= False
;
16207 bool temp2
= False
;
16208 bool temp3
= False
;
16209 bool temp4
= False
;
16210 PyObject
* obj0
= 0 ;
16211 PyObject
* obj1
= 0 ;
16212 PyObject
* obj2
= 0 ;
16213 PyObject
* obj3
= 0 ;
16214 PyObject
* obj4
= 0 ;
16215 char *kwnames
[] = {
16216 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16222 arg1
= wxString_in_helper(obj0
);
16223 if (arg1
== NULL
) SWIG_fail
;
16229 arg2
= wxString_in_helper(obj1
);
16230 if (arg2
== NULL
) SWIG_fail
;
16236 arg3
= wxString_in_helper(obj2
);
16237 if (arg3
== NULL
) SWIG_fail
;
16243 arg4
= wxString_in_helper(obj3
);
16244 if (arg4
== NULL
) SWIG_fail
;
16249 arg5
= (long) SWIG_AsLong(obj4
);
16250 if (PyErr_Occurred()) SWIG_fail
;
16253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16254 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16256 wxPyEndAllowThreads(__tstate
);
16257 if (PyErr_Occurred()) SWIG_fail
;
16259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16298 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16299 PyObject
*resultobj
;
16300 wxConfig
*arg1
= (wxConfig
*) 0 ;
16301 PyObject
* obj0
= 0 ;
16302 char *kwnames
[] = {
16303 (char *) "self", NULL
16306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16313 wxPyEndAllowThreads(__tstate
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16316 Py_INCREF(Py_None
); resultobj
= Py_None
;
16323 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16326 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16328 return Py_BuildValue((char *)"");
16330 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16331 PyObject
*resultobj
;
16332 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16333 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16334 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16335 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16336 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16337 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16338 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16339 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16340 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16341 wxFileConfig
*result
;
16342 bool temp1
= False
;
16343 bool temp2
= False
;
16344 bool temp3
= False
;
16345 bool temp4
= False
;
16346 PyObject
* obj0
= 0 ;
16347 PyObject
* obj1
= 0 ;
16348 PyObject
* obj2
= 0 ;
16349 PyObject
* obj3
= 0 ;
16350 PyObject
* obj4
= 0 ;
16351 char *kwnames
[] = {
16352 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16358 arg1
= wxString_in_helper(obj0
);
16359 if (arg1
== NULL
) SWIG_fail
;
16365 arg2
= wxString_in_helper(obj1
);
16366 if (arg2
== NULL
) SWIG_fail
;
16372 arg3
= wxString_in_helper(obj2
);
16373 if (arg3
== NULL
) SWIG_fail
;
16379 arg4
= wxString_in_helper(obj3
);
16380 if (arg4
== NULL
) SWIG_fail
;
16385 arg5
= (long) SWIG_AsLong(obj4
);
16386 if (PyErr_Occurred()) SWIG_fail
;
16389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16390 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16392 wxPyEndAllowThreads(__tstate
);
16393 if (PyErr_Occurred()) SWIG_fail
;
16395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16434 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16435 PyObject
*resultobj
;
16436 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16437 PyObject
* obj0
= 0 ;
16438 char *kwnames
[] = {
16439 (char *) "self", NULL
16442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16449 wxPyEndAllowThreads(__tstate
);
16450 if (PyErr_Occurred()) SWIG_fail
;
16452 Py_INCREF(Py_None
); resultobj
= Py_None
;
16459 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16462 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16464 return Py_BuildValue((char *)"");
16466 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16467 PyObject
*resultobj
;
16468 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16469 wxString
*arg2
= 0 ;
16470 wxConfigPathChanger
*result
;
16471 bool temp2
= False
;
16472 PyObject
* obj0
= 0 ;
16473 PyObject
* obj1
= 0 ;
16474 char *kwnames
[] = {
16475 (char *) "config",(char *) "entry", NULL
16478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16482 arg2
= wxString_in_helper(obj1
);
16483 if (arg2
== NULL
) SWIG_fail
;
16487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16488 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16490 wxPyEndAllowThreads(__tstate
);
16491 if (PyErr_Occurred()) SWIG_fail
;
16493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16508 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16509 PyObject
*resultobj
;
16510 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16511 PyObject
* obj0
= 0 ;
16512 char *kwnames
[] = {
16513 (char *) "self", NULL
16516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16523 wxPyEndAllowThreads(__tstate
);
16524 if (PyErr_Occurred()) SWIG_fail
;
16526 Py_INCREF(Py_None
); resultobj
= Py_None
;
16533 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16534 PyObject
*resultobj
;
16535 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16537 PyObject
* obj0
= 0 ;
16538 char *kwnames
[] = {
16539 (char *) "self", NULL
16542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16548 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16549 result
= (wxString
*) &_result_ref
;
16552 wxPyEndAllowThreads(__tstate
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16557 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16559 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16568 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16571 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16573 return Py_BuildValue((char *)"");
16575 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16576 PyObject
*resultobj
;
16577 wxString
*arg1
= 0 ;
16579 bool temp1
= False
;
16580 PyObject
* obj0
= 0 ;
16581 char *kwnames
[] = {
16582 (char *) "sz", NULL
16585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16587 arg1
= wxString_in_helper(obj0
);
16588 if (arg1
== NULL
) SWIG_fail
;
16592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16593 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16595 wxPyEndAllowThreads(__tstate
);
16596 if (PyErr_Occurred()) SWIG_fail
;
16600 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16602 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16619 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16620 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16625 static PyObject
*_wrap_DateFormatStr_get() {
16630 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16632 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16639 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16640 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16645 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16650 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16652 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16659 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16660 PyObject
*resultobj
;
16662 PyObject
* obj0
= 0 ;
16663 char *kwnames
[] = {
16664 (char *) "country", NULL
16667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16668 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16672 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16674 wxPyEndAllowThreads(__tstate
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16677 Py_INCREF(Py_None
); resultobj
= Py_None
;
16684 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16685 PyObject
*resultobj
;
16687 char *kwnames
[] = {
16691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16694 result
= (int)wxDateTime::GetCountry();
16696 wxPyEndAllowThreads(__tstate
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16699 resultobj
= SWIG_FromInt((int)result
);
16706 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
;
16708 int arg1
= (int) wxDateTime::Country_Default
;
16710 PyObject
* obj0
= 0 ;
16711 char *kwnames
[] = {
16712 (char *) "country", NULL
16715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16717 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16718 if (PyErr_Occurred()) SWIG_fail
;
16721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16722 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16724 wxPyEndAllowThreads(__tstate
);
16725 if (PyErr_Occurred()) SWIG_fail
;
16728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16736 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16737 PyObject
*resultobj
;
16738 int arg1
= (int) wxDateTime::Gregorian
;
16740 PyObject
* obj0
= 0 ;
16741 char *kwnames
[] = {
16742 (char *) "cal", NULL
16745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16747 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16752 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16754 wxPyEndAllowThreads(__tstate
);
16755 if (PyErr_Occurred()) SWIG_fail
;
16757 resultobj
= SWIG_FromInt((int)result
);
16764 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16765 PyObject
*resultobj
;
16768 PyObject
* obj0
= 0 ;
16769 char *kwnames
[] = {
16770 (char *) "year", NULL
16773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16774 arg1
= (int) SWIG_AsInt(obj0
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16778 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16780 wxPyEndAllowThreads(__tstate
);
16781 if (PyErr_Occurred()) SWIG_fail
;
16783 resultobj
= SWIG_FromInt((int)result
);
16790 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16791 PyObject
*resultobj
;
16792 int arg1
= (int) wxDateTime::Gregorian
;
16794 PyObject
* obj0
= 0 ;
16795 char *kwnames
[] = {
16796 (char *) "cal", NULL
16799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16801 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16802 if (PyErr_Occurred()) SWIG_fail
;
16805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16806 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16808 wxPyEndAllowThreads(__tstate
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16811 resultobj
= SWIG_FromInt((int)result
);
16818 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16819 PyObject
*resultobj
;
16820 int arg1
= (int) wxDateTime::Inv_Year
;
16821 int arg2
= (int) wxDateTime::Gregorian
;
16823 PyObject
* obj0
= 0 ;
16824 PyObject
* obj1
= 0 ;
16825 char *kwnames
[] = {
16826 (char *) "year",(char *) "cal", NULL
16829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16831 arg1
= (int) SWIG_AsInt(obj0
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16835 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16836 if (PyErr_Occurred()) SWIG_fail
;
16839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16840 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16842 wxPyEndAllowThreads(__tstate
);
16843 if (PyErr_Occurred()) SWIG_fail
;
16846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16854 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16855 PyObject
*resultobj
;
16856 int arg1
= (int) wxDateTime::Inv_Year
;
16858 PyObject
* obj0
= 0 ;
16859 char *kwnames
[] = {
16860 (char *) "year", NULL
16863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16865 arg1
= (int) SWIG_AsInt(obj0
);
16866 if (PyErr_Occurred()) SWIG_fail
;
16869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16870 result
= (int)wxDateTime::GetCentury(arg1
);
16872 wxPyEndAllowThreads(__tstate
);
16873 if (PyErr_Occurred()) SWIG_fail
;
16875 resultobj
= SWIG_FromInt((int)result
);
16882 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16883 PyObject
*resultobj
;
16885 int arg2
= (int) wxDateTime::Gregorian
;
16887 PyObject
* obj0
= 0 ;
16888 PyObject
* obj1
= 0 ;
16889 char *kwnames
[] = {
16890 (char *) "year",(char *) "cal", NULL
16893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16894 arg1
= (int) SWIG_AsInt(obj0
);
16895 if (PyErr_Occurred()) SWIG_fail
;
16897 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16898 if (PyErr_Occurred()) SWIG_fail
;
16901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16902 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16904 wxPyEndAllowThreads(__tstate
);
16905 if (PyErr_Occurred()) SWIG_fail
;
16907 resultobj
= SWIG_FromInt((int)result
);
16914 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16915 PyObject
*resultobj
;
16917 int arg2
= (int) wxDateTime::Inv_Year
;
16918 int arg3
= (int) wxDateTime::Gregorian
;
16920 PyObject
* obj0
= 0 ;
16921 PyObject
* obj1
= 0 ;
16922 PyObject
* obj2
= 0 ;
16923 char *kwnames
[] = {
16924 (char *) "month",(char *) "year",(char *) "cal", NULL
16927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16928 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16929 if (PyErr_Occurred()) SWIG_fail
;
16931 arg2
= (int) SWIG_AsInt(obj1
);
16932 if (PyErr_Occurred()) SWIG_fail
;
16935 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
16936 if (PyErr_Occurred()) SWIG_fail
;
16939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16940 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16942 wxPyEndAllowThreads(__tstate
);
16943 if (PyErr_Occurred()) SWIG_fail
;
16945 resultobj
= SWIG_FromInt((int)result
);
16952 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16953 PyObject
*resultobj
;
16955 int arg2
= (int) wxDateTime::Name_Full
;
16957 PyObject
* obj0
= 0 ;
16958 PyObject
* obj1
= 0 ;
16959 char *kwnames
[] = {
16960 (char *) "month",(char *) "flags", NULL
16963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16964 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16965 if (PyErr_Occurred()) SWIG_fail
;
16967 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16974 wxPyEndAllowThreads(__tstate
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16990 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16991 PyObject
*resultobj
;
16993 int arg2
= (int) wxDateTime::Name_Full
;
16995 PyObject
* obj0
= 0 ;
16996 PyObject
* obj1
= 0 ;
16997 char *kwnames
[] = {
16998 (char *) "weekday",(char *) "flags", NULL
17001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17002 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
17003 if (PyErr_Occurred()) SWIG_fail
;
17005 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17006 if (PyErr_Occurred()) SWIG_fail
;
17009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17010 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17012 wxPyEndAllowThreads(__tstate
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17028 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17029 PyObject
*resultobj
;
17030 wxString
*arg1
= (wxString
*) 0 ;
17031 wxString
*arg2
= (wxString
*) 0 ;
17032 bool temp1
= False
;
17033 bool temp2
= False
;
17034 PyObject
* obj0
= 0 ;
17035 PyObject
* obj1
= 0 ;
17036 char *kwnames
[] = {
17037 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17042 arg1
= wxString_in_helper(obj0
);
17043 if (arg1
== NULL
) SWIG_fail
;
17047 arg2
= wxString_in_helper(obj1
);
17048 if (arg2
== NULL
) SWIG_fail
;
17052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17053 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17055 wxPyEndAllowThreads(__tstate
);
17056 if (PyErr_Occurred()) SWIG_fail
;
17058 Py_INCREF(Py_None
); resultobj
= Py_None
;
17081 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17082 PyObject
*resultobj
;
17083 int arg1
= (int) wxDateTime::Inv_Year
;
17084 int arg2
= (int) wxDateTime::Country_Default
;
17086 PyObject
* obj0
= 0 ;
17087 PyObject
* obj1
= 0 ;
17088 char *kwnames
[] = {
17089 (char *) "year",(char *) "country", NULL
17092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17094 arg1
= (int) SWIG_AsInt(obj0
);
17095 if (PyErr_Occurred()) SWIG_fail
;
17098 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17099 if (PyErr_Occurred()) SWIG_fail
;
17102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17103 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17105 wxPyEndAllowThreads(__tstate
);
17106 if (PyErr_Occurred()) SWIG_fail
;
17109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17117 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17118 PyObject
*resultobj
;
17119 int arg1
= (int) wxDateTime::Inv_Year
;
17120 int arg2
= (int) wxDateTime::Country_Default
;
17122 PyObject
* obj0
= 0 ;
17123 PyObject
* obj1
= 0 ;
17124 char *kwnames
[] = {
17125 (char *) "year",(char *) "country", NULL
17128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17130 arg1
= (int) SWIG_AsInt(obj0
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17134 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17135 if (PyErr_Occurred()) SWIG_fail
;
17138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17139 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17141 wxPyEndAllowThreads(__tstate
);
17142 if (PyErr_Occurred()) SWIG_fail
;
17145 wxDateTime
* resultptr
;
17146 resultptr
= new wxDateTime((wxDateTime
&) result
);
17147 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17155 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17156 PyObject
*resultobj
;
17157 int arg1
= (int) wxDateTime::Inv_Year
;
17158 int arg2
= (int) wxDateTime::Country_Default
;
17160 PyObject
* obj0
= 0 ;
17161 PyObject
* obj1
= 0 ;
17162 char *kwnames
[] = {
17163 (char *) "year",(char *) "country", NULL
17166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17168 arg1
= (int) SWIG_AsInt(obj0
);
17169 if (PyErr_Occurred()) SWIG_fail
;
17172 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17173 if (PyErr_Occurred()) SWIG_fail
;
17176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17177 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17179 wxPyEndAllowThreads(__tstate
);
17180 if (PyErr_Occurred()) SWIG_fail
;
17183 wxDateTime
* resultptr
;
17184 resultptr
= new wxDateTime((wxDateTime
&) result
);
17185 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17193 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17194 PyObject
*resultobj
;
17196 char *kwnames
[] = {
17200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17203 result
= wxDateTime::Now();
17205 wxPyEndAllowThreads(__tstate
);
17206 if (PyErr_Occurred()) SWIG_fail
;
17209 wxDateTime
* resultptr
;
17210 resultptr
= new wxDateTime((wxDateTime
&) result
);
17211 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17219 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17220 PyObject
*resultobj
;
17222 char *kwnames
[] = {
17226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17229 result
= wxDateTime::UNow();
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17235 wxDateTime
* resultptr
;
17236 resultptr
= new wxDateTime((wxDateTime
&) result
);
17237 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17245 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17246 PyObject
*resultobj
;
17248 char *kwnames
[] = {
17252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17255 result
= wxDateTime::Today();
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17261 wxDateTime
* resultptr
;
17262 resultptr
= new wxDateTime((wxDateTime
&) result
);
17263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17271 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17272 PyObject
*resultobj
;
17273 wxDateTime
*result
;
17274 char *kwnames
[] = {
17278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17281 result
= (wxDateTime
*)new wxDateTime();
17283 wxPyEndAllowThreads(__tstate
);
17284 if (PyErr_Occurred()) SWIG_fail
;
17286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17293 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17294 PyObject
*resultobj
;
17296 wxDateTime
*result
;
17297 PyObject
* obj0
= 0 ;
17298 char *kwnames
[] = {
17299 (char *) "timet", NULL
17302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17303 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17304 if (PyErr_Occurred()) SWIG_fail
;
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 result
= (wxDateTime
*)new wxDateTime(arg1
);
17309 wxPyEndAllowThreads(__tstate
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17319 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17320 PyObject
*resultobj
;
17322 wxDateTime
*result
;
17323 PyObject
* obj0
= 0 ;
17324 char *kwnames
[] = {
17325 (char *) "jdn", NULL
17328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17329 arg1
= (double) SWIG_AsDouble(obj0
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17333 result
= (wxDateTime
*)new wxDateTime(arg1
);
17335 wxPyEndAllowThreads(__tstate
);
17336 if (PyErr_Occurred()) SWIG_fail
;
17338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17345 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
;
17348 int arg2
= (int) 0 ;
17349 int arg3
= (int) 0 ;
17350 int arg4
= (int) 0 ;
17351 wxDateTime
*result
;
17352 PyObject
* obj0
= 0 ;
17353 PyObject
* obj1
= 0 ;
17354 PyObject
* obj2
= 0 ;
17355 PyObject
* obj3
= 0 ;
17356 char *kwnames
[] = {
17357 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17361 arg1
= (int) SWIG_AsInt(obj0
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17364 arg2
= (int) SWIG_AsInt(obj1
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17368 arg3
= (int) SWIG_AsInt(obj2
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17372 arg4
= (int) SWIG_AsInt(obj3
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17377 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17379 wxPyEndAllowThreads(__tstate
);
17380 if (PyErr_Occurred()) SWIG_fail
;
17382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17389 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17390 PyObject
*resultobj
;
17392 int arg2
= (int) wxDateTime::Inv_Month
;
17393 int arg3
= (int) wxDateTime::Inv_Year
;
17394 int arg4
= (int) 0 ;
17395 int arg5
= (int) 0 ;
17396 int arg6
= (int) 0 ;
17397 int arg7
= (int) 0 ;
17398 wxDateTime
*result
;
17399 PyObject
* obj0
= 0 ;
17400 PyObject
* obj1
= 0 ;
17401 PyObject
* obj2
= 0 ;
17402 PyObject
* obj3
= 0 ;
17403 PyObject
* obj4
= 0 ;
17404 PyObject
* obj5
= 0 ;
17405 PyObject
* obj6
= 0 ;
17406 char *kwnames
[] = {
17407 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17411 arg1
= (int) SWIG_AsInt(obj0
);
17412 if (PyErr_Occurred()) SWIG_fail
;
17414 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17418 arg3
= (int) SWIG_AsInt(obj2
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17422 arg4
= (int) SWIG_AsInt(obj3
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17426 arg5
= (int) SWIG_AsInt(obj4
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17430 arg6
= (int) SWIG_AsInt(obj5
);
17431 if (PyErr_Occurred()) SWIG_fail
;
17434 arg7
= (int) SWIG_AsInt(obj6
);
17435 if (PyErr_Occurred()) SWIG_fail
;
17438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17439 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17441 wxPyEndAllowThreads(__tstate
);
17442 if (PyErr_Occurred()) SWIG_fail
;
17444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17451 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17452 PyObject
*resultobj
;
17453 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17454 PyObject
* obj0
= 0 ;
17455 char *kwnames
[] = {
17456 (char *) "self", NULL
17459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17466 wxPyEndAllowThreads(__tstate
);
17467 if (PyErr_Occurred()) SWIG_fail
;
17469 Py_INCREF(Py_None
); resultobj
= Py_None
;
17476 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17477 PyObject
*resultobj
;
17478 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17479 wxDateTime
*result
;
17480 PyObject
* obj0
= 0 ;
17481 char *kwnames
[] = {
17482 (char *) "self", NULL
17485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17491 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17492 result
= (wxDateTime
*) &_result_ref
;
17495 wxPyEndAllowThreads(__tstate
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17505 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17506 PyObject
*resultobj
;
17507 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17509 wxDateTime
*result
;
17510 PyObject
* obj0
= 0 ;
17511 PyObject
* obj1
= 0 ;
17512 char *kwnames
[] = {
17513 (char *) "self",(char *) "timet", NULL
17516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17519 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17520 if (PyErr_Occurred()) SWIG_fail
;
17522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17524 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17525 result
= (wxDateTime
*) &_result_ref
;
17528 wxPyEndAllowThreads(__tstate
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17538 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17539 PyObject
*resultobj
;
17540 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17542 wxDateTime
*result
;
17543 PyObject
* obj0
= 0 ;
17544 PyObject
* obj1
= 0 ;
17545 char *kwnames
[] = {
17546 (char *) "self",(char *) "jdn", NULL
17549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17552 arg2
= (double) SWIG_AsDouble(obj1
);
17553 if (PyErr_Occurred()) SWIG_fail
;
17555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17557 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17558 result
= (wxDateTime
*) &_result_ref
;
17561 wxPyEndAllowThreads(__tstate
);
17562 if (PyErr_Occurred()) SWIG_fail
;
17564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17571 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17572 PyObject
*resultobj
;
17573 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17575 int arg3
= (int) 0 ;
17576 int arg4
= (int) 0 ;
17577 int arg5
= (int) 0 ;
17578 wxDateTime
*result
;
17579 PyObject
* obj0
= 0 ;
17580 PyObject
* obj1
= 0 ;
17581 PyObject
* obj2
= 0 ;
17582 PyObject
* obj3
= 0 ;
17583 PyObject
* obj4
= 0 ;
17584 char *kwnames
[] = {
17585 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17591 arg2
= (int) SWIG_AsInt(obj1
);
17592 if (PyErr_Occurred()) SWIG_fail
;
17594 arg3
= (int) SWIG_AsInt(obj2
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17598 arg4
= (int) SWIG_AsInt(obj3
);
17599 if (PyErr_Occurred()) SWIG_fail
;
17602 arg5
= (int) SWIG_AsInt(obj4
);
17603 if (PyErr_Occurred()) SWIG_fail
;
17606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17608 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17609 result
= (wxDateTime
*) &_result_ref
;
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17622 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17623 PyObject
*resultobj
;
17624 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17626 int arg3
= (int) wxDateTime::Inv_Month
;
17627 int arg4
= (int) wxDateTime::Inv_Year
;
17628 int arg5
= (int) 0 ;
17629 int arg6
= (int) 0 ;
17630 int arg7
= (int) 0 ;
17631 int arg8
= (int) 0 ;
17632 wxDateTime
*result
;
17633 PyObject
* obj0
= 0 ;
17634 PyObject
* obj1
= 0 ;
17635 PyObject
* obj2
= 0 ;
17636 PyObject
* obj3
= 0 ;
17637 PyObject
* obj4
= 0 ;
17638 PyObject
* obj5
= 0 ;
17639 PyObject
* obj6
= 0 ;
17640 PyObject
* obj7
= 0 ;
17641 char *kwnames
[] = {
17642 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17648 arg2
= (int) SWIG_AsInt(obj1
);
17649 if (PyErr_Occurred()) SWIG_fail
;
17651 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17655 arg4
= (int) SWIG_AsInt(obj3
);
17656 if (PyErr_Occurred()) SWIG_fail
;
17659 arg5
= (int) SWIG_AsInt(obj4
);
17660 if (PyErr_Occurred()) SWIG_fail
;
17663 arg6
= (int) SWIG_AsInt(obj5
);
17664 if (PyErr_Occurred()) SWIG_fail
;
17667 arg7
= (int) SWIG_AsInt(obj6
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17671 arg8
= (int) SWIG_AsInt(obj7
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17677 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17678 result
= (wxDateTime
*) &_result_ref
;
17681 wxPyEndAllowThreads(__tstate
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17691 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17692 PyObject
*resultobj
;
17693 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17694 wxDateTime
*result
;
17695 PyObject
* obj0
= 0 ;
17696 char *kwnames
[] = {
17697 (char *) "self", NULL
17700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17706 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17707 result
= (wxDateTime
*) &_result_ref
;
17710 wxPyEndAllowThreads(__tstate
);
17711 if (PyErr_Occurred()) SWIG_fail
;
17713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17720 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17721 PyObject
*resultobj
;
17722 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17724 wxDateTime
*result
;
17725 PyObject
* obj0
= 0 ;
17726 PyObject
* obj1
= 0 ;
17727 char *kwnames
[] = {
17728 (char *) "self",(char *) "year", NULL
17731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17734 arg2
= (int) SWIG_AsInt(obj1
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17739 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17740 result
= (wxDateTime
*) &_result_ref
;
17743 wxPyEndAllowThreads(__tstate
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17753 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17754 PyObject
*resultobj
;
17755 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17757 wxDateTime
*result
;
17758 PyObject
* obj0
= 0 ;
17759 PyObject
* obj1
= 0 ;
17760 char *kwnames
[] = {
17761 (char *) "self",(char *) "month", NULL
17764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17767 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17772 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17773 result
= (wxDateTime
*) &_result_ref
;
17776 wxPyEndAllowThreads(__tstate
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17786 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17787 PyObject
*resultobj
;
17788 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17790 wxDateTime
*result
;
17791 PyObject
* obj0
= 0 ;
17792 PyObject
* obj1
= 0 ;
17793 char *kwnames
[] = {
17794 (char *) "self",(char *) "day", NULL
17797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17800 arg2
= (int) SWIG_AsInt(obj1
);
17801 if (PyErr_Occurred()) SWIG_fail
;
17803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17805 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17806 result
= (wxDateTime
*) &_result_ref
;
17809 wxPyEndAllowThreads(__tstate
);
17810 if (PyErr_Occurred()) SWIG_fail
;
17812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17819 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17820 PyObject
*resultobj
;
17821 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17823 wxDateTime
*result
;
17824 PyObject
* obj0
= 0 ;
17825 PyObject
* obj1
= 0 ;
17826 char *kwnames
[] = {
17827 (char *) "self",(char *) "hour", NULL
17830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17833 arg2
= (int) SWIG_AsInt(obj1
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17838 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17839 result
= (wxDateTime
*) &_result_ref
;
17842 wxPyEndAllowThreads(__tstate
);
17843 if (PyErr_Occurred()) SWIG_fail
;
17845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17852 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17853 PyObject
*resultobj
;
17854 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17856 wxDateTime
*result
;
17857 PyObject
* obj0
= 0 ;
17858 PyObject
* obj1
= 0 ;
17859 char *kwnames
[] = {
17860 (char *) "self",(char *) "minute", NULL
17863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17866 arg2
= (int) SWIG_AsInt(obj1
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17871 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17872 result
= (wxDateTime
*) &_result_ref
;
17875 wxPyEndAllowThreads(__tstate
);
17876 if (PyErr_Occurred()) SWIG_fail
;
17878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17885 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17886 PyObject
*resultobj
;
17887 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17889 wxDateTime
*result
;
17890 PyObject
* obj0
= 0 ;
17891 PyObject
* obj1
= 0 ;
17892 char *kwnames
[] = {
17893 (char *) "self",(char *) "second", NULL
17896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17899 arg2
= (int) SWIG_AsInt(obj1
);
17900 if (PyErr_Occurred()) SWIG_fail
;
17902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17904 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17905 result
= (wxDateTime
*) &_result_ref
;
17908 wxPyEndAllowThreads(__tstate
);
17909 if (PyErr_Occurred()) SWIG_fail
;
17911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17918 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17919 PyObject
*resultobj
;
17920 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17922 wxDateTime
*result
;
17923 PyObject
* obj0
= 0 ;
17924 PyObject
* obj1
= 0 ;
17925 char *kwnames
[] = {
17926 (char *) "self",(char *) "millisecond", NULL
17929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17932 arg2
= (int) SWIG_AsInt(obj1
);
17933 if (PyErr_Occurred()) SWIG_fail
;
17935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17937 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17938 result
= (wxDateTime
*) &_result_ref
;
17941 wxPyEndAllowThreads(__tstate
);
17942 if (PyErr_Occurred()) SWIG_fail
;
17944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17951 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17952 PyObject
*resultobj
;
17953 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17955 int arg3
= (int) wxDateTime::Monday_First
;
17956 wxDateTime
*result
;
17957 PyObject
* obj0
= 0 ;
17958 PyObject
* obj1
= 0 ;
17959 PyObject
* obj2
= 0 ;
17960 char *kwnames
[] = {
17961 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17967 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17970 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17976 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17977 result
= (wxDateTime
*) &_result_ref
;
17980 wxPyEndAllowThreads(__tstate
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17990 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17991 PyObject
*resultobj
;
17992 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17994 int arg3
= (int) wxDateTime::Monday_First
;
17996 PyObject
* obj0
= 0 ;
17997 PyObject
* obj1
= 0 ;
17998 PyObject
* obj2
= 0 ;
17999 char *kwnames
[] = {
18000 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18006 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18007 if (PyErr_Occurred()) SWIG_fail
;
18009 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18010 if (PyErr_Occurred()) SWIG_fail
;
18013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18014 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18016 wxPyEndAllowThreads(__tstate
);
18017 if (PyErr_Occurred()) SWIG_fail
;
18020 wxDateTime
* resultptr
;
18021 resultptr
= new wxDateTime((wxDateTime
&) result
);
18022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18030 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18031 PyObject
*resultobj
;
18032 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18034 wxDateTime
*result
;
18035 PyObject
* obj0
= 0 ;
18036 PyObject
* obj1
= 0 ;
18037 char *kwnames
[] = {
18038 (char *) "self",(char *) "weekday", NULL
18041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18044 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18049 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18050 result
= (wxDateTime
*) &_result_ref
;
18053 wxPyEndAllowThreads(__tstate
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18063 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18064 PyObject
*resultobj
;
18065 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18068 PyObject
* obj0
= 0 ;
18069 PyObject
* obj1
= 0 ;
18070 char *kwnames
[] = {
18071 (char *) "self",(char *) "weekday", NULL
18074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18077 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18081 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18083 wxPyEndAllowThreads(__tstate
);
18084 if (PyErr_Occurred()) SWIG_fail
;
18087 wxDateTime
* resultptr
;
18088 resultptr
= new wxDateTime((wxDateTime
&) result
);
18089 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18097 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18098 PyObject
*resultobj
;
18099 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18101 wxDateTime
*result
;
18102 PyObject
* obj0
= 0 ;
18103 PyObject
* obj1
= 0 ;
18104 char *kwnames
[] = {
18105 (char *) "self",(char *) "weekday", NULL
18108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18111 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18112 if (PyErr_Occurred()) SWIG_fail
;
18114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18116 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18117 result
= (wxDateTime
*) &_result_ref
;
18120 wxPyEndAllowThreads(__tstate
);
18121 if (PyErr_Occurred()) SWIG_fail
;
18123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18130 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18131 PyObject
*resultobj
;
18132 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18135 PyObject
* obj0
= 0 ;
18136 PyObject
* obj1
= 0 ;
18137 char *kwnames
[] = {
18138 (char *) "self",(char *) "weekday", NULL
18141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18144 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18154 wxDateTime
* resultptr
;
18155 resultptr
= new wxDateTime((wxDateTime
&) result
);
18156 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18164 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
;
18166 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18168 int arg3
= (int) 1 ;
18169 int arg4
= (int) wxDateTime::Inv_Month
;
18170 int arg5
= (int) wxDateTime::Inv_Year
;
18172 PyObject
* obj0
= 0 ;
18173 PyObject
* obj1
= 0 ;
18174 PyObject
* obj2
= 0 ;
18175 PyObject
* obj3
= 0 ;
18176 PyObject
* obj4
= 0 ;
18177 char *kwnames
[] = {
18178 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18184 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18185 if (PyErr_Occurred()) SWIG_fail
;
18187 arg3
= (int) SWIG_AsInt(obj2
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18191 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18192 if (PyErr_Occurred()) SWIG_fail
;
18195 arg5
= (int) SWIG_AsInt(obj4
);
18196 if (PyErr_Occurred()) SWIG_fail
;
18199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18200 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18202 wxPyEndAllowThreads(__tstate
);
18203 if (PyErr_Occurred()) SWIG_fail
;
18206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18214 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18215 PyObject
*resultobj
;
18216 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18218 int arg3
= (int) wxDateTime::Inv_Month
;
18219 int arg4
= (int) wxDateTime::Inv_Year
;
18221 PyObject
* obj0
= 0 ;
18222 PyObject
* obj1
= 0 ;
18223 PyObject
* obj2
= 0 ;
18224 PyObject
* obj3
= 0 ;
18225 char *kwnames
[] = {
18226 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18232 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18233 if (PyErr_Occurred()) SWIG_fail
;
18235 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18239 arg4
= (int) SWIG_AsInt(obj3
);
18240 if (PyErr_Occurred()) SWIG_fail
;
18243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18244 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18246 wxPyEndAllowThreads(__tstate
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18258 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18259 PyObject
*resultobj
;
18260 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18262 int arg3
= (int) wxDateTime::Inv_Month
;
18263 int arg4
= (int) wxDateTime::Inv_Year
;
18265 PyObject
* obj0
= 0 ;
18266 PyObject
* obj1
= 0 ;
18267 PyObject
* obj2
= 0 ;
18268 PyObject
* obj3
= 0 ;
18269 char *kwnames
[] = {
18270 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18276 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18277 if (PyErr_Occurred()) SWIG_fail
;
18279 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18283 arg4
= (int) SWIG_AsInt(obj3
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18288 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18290 wxPyEndAllowThreads(__tstate
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18294 wxDateTime
* resultptr
;
18295 resultptr
= new wxDateTime((wxDateTime
&) result
);
18296 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18304 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18305 PyObject
*resultobj
;
18306 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18308 int arg3
= (int) wxDateTime::Mon
;
18309 int arg4
= (int) wxDateTime::Monday_First
;
18311 PyObject
* obj0
= 0 ;
18312 PyObject
* obj1
= 0 ;
18313 PyObject
* obj2
= 0 ;
18314 PyObject
* obj3
= 0 ;
18315 char *kwnames
[] = {
18316 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18322 arg2
= (int) SWIG_AsInt(obj1
);
18323 if (PyErr_Occurred()) SWIG_fail
;
18325 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18326 if (PyErr_Occurred()) SWIG_fail
;
18329 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18330 if (PyErr_Occurred()) SWIG_fail
;
18333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18334 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18336 wxPyEndAllowThreads(__tstate
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18348 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
;
18350 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18352 int arg3
= (int) wxDateTime::Mon
;
18353 int arg4
= (int) wxDateTime::Monday_First
;
18355 PyObject
* obj0
= 0 ;
18356 PyObject
* obj1
= 0 ;
18357 PyObject
* obj2
= 0 ;
18358 PyObject
* obj3
= 0 ;
18359 char *kwnames
[] = {
18360 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18366 arg2
= (int) SWIG_AsInt(obj1
);
18367 if (PyErr_Occurred()) SWIG_fail
;
18369 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18373 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18378 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18380 wxPyEndAllowThreads(__tstate
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18384 wxDateTime
* resultptr
;
18385 resultptr
= new wxDateTime((wxDateTime
&) result
);
18386 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18394 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18395 PyObject
*resultobj
;
18396 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18397 int arg2
= (int) wxDateTime::Inv_Month
;
18398 int arg3
= (int) wxDateTime::Inv_Year
;
18399 wxDateTime
*result
;
18400 PyObject
* obj0
= 0 ;
18401 PyObject
* obj1
= 0 ;
18402 PyObject
* obj2
= 0 ;
18403 char *kwnames
[] = {
18404 (char *) "self",(char *) "month",(char *) "year", NULL
18407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18411 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18415 arg3
= (int) SWIG_AsInt(obj2
);
18416 if (PyErr_Occurred()) SWIG_fail
;
18419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18421 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18422 result
= (wxDateTime
*) &_result_ref
;
18425 wxPyEndAllowThreads(__tstate
);
18426 if (PyErr_Occurred()) SWIG_fail
;
18428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18435 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18436 PyObject
*resultobj
;
18437 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18438 int arg2
= (int) wxDateTime::Inv_Month
;
18439 int arg3
= (int) wxDateTime::Inv_Year
;
18441 PyObject
* obj0
= 0 ;
18442 PyObject
* obj1
= 0 ;
18443 PyObject
* obj2
= 0 ;
18444 char *kwnames
[] = {
18445 (char *) "self",(char *) "month",(char *) "year", NULL
18448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18452 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18456 arg3
= (int) SWIG_AsInt(obj2
);
18457 if (PyErr_Occurred()) SWIG_fail
;
18460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18461 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18463 wxPyEndAllowThreads(__tstate
);
18464 if (PyErr_Occurred()) SWIG_fail
;
18467 wxDateTime
* resultptr
;
18468 resultptr
= new wxDateTime((wxDateTime
&) result
);
18469 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18477 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18478 PyObject
*resultobj
;
18479 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18481 wxDateTime
*result
;
18482 PyObject
* obj0
= 0 ;
18483 PyObject
* obj1
= 0 ;
18484 char *kwnames
[] = {
18485 (char *) "self",(char *) "yday", NULL
18488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18491 arg2
= (int) SWIG_AsInt(obj1
);
18492 if (PyErr_Occurred()) SWIG_fail
;
18494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18497 result
= (wxDateTime
*) &_result_ref
;
18500 wxPyEndAllowThreads(__tstate
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18510 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18511 PyObject
*resultobj
;
18512 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18515 PyObject
* obj0
= 0 ;
18516 PyObject
* obj1
= 0 ;
18517 char *kwnames
[] = {
18518 (char *) "self",(char *) "yday", NULL
18521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18524 arg2
= (int) SWIG_AsInt(obj1
);
18525 if (PyErr_Occurred()) SWIG_fail
;
18527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18528 result
= (arg1
)->GetYearDay(arg2
);
18530 wxPyEndAllowThreads(__tstate
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18534 wxDateTime
* resultptr
;
18535 resultptr
= new wxDateTime((wxDateTime
&) result
);
18536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18544 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18545 PyObject
*resultobj
;
18546 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18548 PyObject
* obj0
= 0 ;
18549 char *kwnames
[] = {
18550 (char *) "self", NULL
18553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18558 result
= (double)(arg1
)->GetJulianDayNumber();
18560 wxPyEndAllowThreads(__tstate
);
18561 if (PyErr_Occurred()) SWIG_fail
;
18563 resultobj
= SWIG_FromDouble((double)result
);
18570 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18571 PyObject
*resultobj
;
18572 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18574 PyObject
* obj0
= 0 ;
18575 char *kwnames
[] = {
18576 (char *) "self", NULL
18579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 result
= (double)(arg1
)->GetJDN();
18586 wxPyEndAllowThreads(__tstate
);
18587 if (PyErr_Occurred()) SWIG_fail
;
18589 resultobj
= SWIG_FromDouble((double)result
);
18596 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18597 PyObject
*resultobj
;
18598 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18600 PyObject
* obj0
= 0 ;
18601 char *kwnames
[] = {
18602 (char *) "self", NULL
18605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18610 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18612 wxPyEndAllowThreads(__tstate
);
18613 if (PyErr_Occurred()) SWIG_fail
;
18615 resultobj
= SWIG_FromDouble((double)result
);
18622 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18623 PyObject
*resultobj
;
18624 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18626 PyObject
* obj0
= 0 ;
18627 char *kwnames
[] = {
18628 (char *) "self", NULL
18631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18636 result
= (double)(arg1
)->GetMJD();
18638 wxPyEndAllowThreads(__tstate
);
18639 if (PyErr_Occurred()) SWIG_fail
;
18641 resultobj
= SWIG_FromDouble((double)result
);
18648 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18649 PyObject
*resultobj
;
18650 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18652 PyObject
* obj0
= 0 ;
18653 char *kwnames
[] = {
18654 (char *) "self", NULL
18657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18662 result
= (double)(arg1
)->GetRataDie();
18664 wxPyEndAllowThreads(__tstate
);
18665 if (PyErr_Occurred()) SWIG_fail
;
18667 resultobj
= SWIG_FromDouble((double)result
);
18674 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
;
18676 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18677 wxDateTime::TimeZone
*arg2
= 0 ;
18678 bool arg3
= (bool) False
;
18680 bool temp2
= False
;
18681 PyObject
* obj0
= 0 ;
18682 PyObject
* obj1
= 0 ;
18683 PyObject
* obj2
= 0 ;
18684 char *kwnames
[] = {
18685 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18692 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18696 arg3
= (bool) SWIG_AsBool(obj2
);
18697 if (PyErr_Occurred()) SWIG_fail
;
18700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18701 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18703 wxPyEndAllowThreads(__tstate
);
18704 if (PyErr_Occurred()) SWIG_fail
;
18707 wxDateTime
* resultptr
;
18708 resultptr
= new wxDateTime((wxDateTime
&) result
);
18709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18712 if (temp2
) delete arg2
;
18717 if (temp2
) delete arg2
;
18723 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18724 PyObject
*resultobj
;
18725 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18726 wxDateTime::TimeZone
*arg2
= 0 ;
18727 bool arg3
= (bool) False
;
18728 wxDateTime
*result
;
18729 bool temp2
= False
;
18730 PyObject
* obj0
= 0 ;
18731 PyObject
* obj1
= 0 ;
18732 PyObject
* obj2
= 0 ;
18733 char *kwnames
[] = {
18734 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18741 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18745 arg3
= (bool) SWIG_AsBool(obj2
);
18746 if (PyErr_Occurred()) SWIG_fail
;
18749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18751 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18752 result
= (wxDateTime
*) &_result_ref
;
18755 wxPyEndAllowThreads(__tstate
);
18756 if (PyErr_Occurred()) SWIG_fail
;
18758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18760 if (temp2
) delete arg2
;
18765 if (temp2
) delete arg2
;
18771 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18772 PyObject
*resultobj
;
18773 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18774 bool arg2
= (bool) False
;
18776 PyObject
* obj0
= 0 ;
18777 PyObject
* obj1
= 0 ;
18778 char *kwnames
[] = {
18779 (char *) "self",(char *) "noDST", NULL
18782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18786 arg2
= (bool) SWIG_AsBool(obj1
);
18787 if (PyErr_Occurred()) SWIG_fail
;
18790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18791 result
= (arg1
)->ToGMT(arg2
);
18793 wxPyEndAllowThreads(__tstate
);
18794 if (PyErr_Occurred()) SWIG_fail
;
18797 wxDateTime
* resultptr
;
18798 resultptr
= new wxDateTime((wxDateTime
&) result
);
18799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18807 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18808 PyObject
*resultobj
;
18809 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18810 bool arg2
= (bool) False
;
18811 wxDateTime
*result
;
18812 PyObject
* obj0
= 0 ;
18813 PyObject
* obj1
= 0 ;
18814 char *kwnames
[] = {
18815 (char *) "self",(char *) "noDST", NULL
18818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18822 arg2
= (bool) SWIG_AsBool(obj1
);
18823 if (PyErr_Occurred()) SWIG_fail
;
18826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18828 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18829 result
= (wxDateTime
*) &_result_ref
;
18832 wxPyEndAllowThreads(__tstate
);
18833 if (PyErr_Occurred()) SWIG_fail
;
18835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18842 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18843 PyObject
*resultobj
;
18844 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18845 int arg2
= (int) wxDateTime::Country_Default
;
18847 PyObject
* obj0
= 0 ;
18848 PyObject
* obj1
= 0 ;
18849 char *kwnames
[] = {
18850 (char *) "self",(char *) "country", NULL
18853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18857 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18858 if (PyErr_Occurred()) SWIG_fail
;
18861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18862 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18864 wxPyEndAllowThreads(__tstate
);
18865 if (PyErr_Occurred()) SWIG_fail
;
18867 resultobj
= SWIG_FromInt((int)result
);
18874 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
;
18876 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18878 PyObject
* obj0
= 0 ;
18879 char *kwnames
[] = {
18880 (char *) "self", NULL
18883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18888 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18890 wxPyEndAllowThreads(__tstate
);
18891 if (PyErr_Occurred()) SWIG_fail
;
18894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18902 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18903 PyObject
*resultobj
;
18904 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18906 PyObject
* obj0
= 0 ;
18907 char *kwnames
[] = {
18908 (char *) "self", NULL
18911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18916 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18918 wxPyEndAllowThreads(__tstate
);
18919 if (PyErr_Occurred()) SWIG_fail
;
18921 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
18928 static PyObject
*_wrap_DateTime_GetYear(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_GetYear",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
)->GetYear((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_GetMonth(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_GetMonth",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
)->GetMonth((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_GetDay(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_GetDay",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
)->GetDay((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_GetWeekDay(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_GetWeekDay",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
)->GetWeekDay((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_GetHour(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_GetHour",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
)->GetHour((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_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19139 PyObject
*resultobj
;
19140 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19141 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19142 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19144 bool temp2
= False
;
19145 PyObject
* obj0
= 0 ;
19146 PyObject
* obj1
= 0 ;
19147 char *kwnames
[] = {
19148 (char *) "self",(char *) "tz", NULL
19151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19156 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19162 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19164 wxPyEndAllowThreads(__tstate
);
19165 if (PyErr_Occurred()) SWIG_fail
;
19167 resultobj
= SWIG_FromInt((int)result
);
19169 if (temp2
) delete arg2
;
19174 if (temp2
) delete arg2
;
19180 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19181 PyObject
*resultobj
;
19182 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19183 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19184 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19186 bool temp2
= False
;
19187 PyObject
* obj0
= 0 ;
19188 PyObject
* obj1
= 0 ;
19189 char *kwnames
[] = {
19190 (char *) "self",(char *) "tz", NULL
19193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19198 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19204 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19206 wxPyEndAllowThreads(__tstate
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19209 resultobj
= SWIG_FromInt((int)result
);
19211 if (temp2
) delete arg2
;
19216 if (temp2
) delete arg2
;
19222 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19223 PyObject
*resultobj
;
19224 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19225 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19226 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19228 bool temp2
= False
;
19229 PyObject
* obj0
= 0 ;
19230 PyObject
* obj1
= 0 ;
19231 char *kwnames
[] = {
19232 (char *) "self",(char *) "tz", NULL
19235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19240 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19246 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19248 wxPyEndAllowThreads(__tstate
);
19249 if (PyErr_Occurred()) SWIG_fail
;
19251 resultobj
= SWIG_FromInt((int)result
);
19253 if (temp2
) delete arg2
;
19258 if (temp2
) delete arg2
;
19264 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19265 PyObject
*resultobj
;
19266 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19267 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19268 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19270 bool temp2
= False
;
19271 PyObject
* obj0
= 0 ;
19272 PyObject
* obj1
= 0 ;
19273 char *kwnames
[] = {
19274 (char *) "self",(char *) "tz", NULL
19277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19282 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19288 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19290 wxPyEndAllowThreads(__tstate
);
19291 if (PyErr_Occurred()) SWIG_fail
;
19293 resultobj
= SWIG_FromInt((int)result
);
19295 if (temp2
) delete arg2
;
19300 if (temp2
) delete arg2
;
19306 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19307 PyObject
*resultobj
;
19308 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19309 int arg2
= (int) wxDateTime::Monday_First
;
19310 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19311 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19313 bool temp3
= False
;
19314 PyObject
* obj0
= 0 ;
19315 PyObject
* obj1
= 0 ;
19316 PyObject
* obj2
= 0 ;
19317 char *kwnames
[] = {
19318 (char *) "self",(char *) "flags",(char *) "tz", NULL
19321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19325 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19326 if (PyErr_Occurred()) SWIG_fail
;
19330 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19336 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19338 wxPyEndAllowThreads(__tstate
);
19339 if (PyErr_Occurred()) SWIG_fail
;
19341 resultobj
= SWIG_FromInt((int)result
);
19343 if (temp3
) delete arg3
;
19348 if (temp3
) delete arg3
;
19354 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19355 PyObject
*resultobj
;
19356 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19357 int arg2
= (int) wxDateTime::Monday_First
;
19358 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19359 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19361 bool temp3
= False
;
19362 PyObject
* obj0
= 0 ;
19363 PyObject
* obj1
= 0 ;
19364 PyObject
* obj2
= 0 ;
19365 char *kwnames
[] = {
19366 (char *) "self",(char *) "flags",(char *) "tz", NULL
19369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19373 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19374 if (PyErr_Occurred()) SWIG_fail
;
19378 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19384 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19386 wxPyEndAllowThreads(__tstate
);
19387 if (PyErr_Occurred()) SWIG_fail
;
19389 resultobj
= SWIG_FromInt((int)result
);
19391 if (temp3
) delete arg3
;
19396 if (temp3
) delete arg3
;
19402 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19403 PyObject
*resultobj
;
19404 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19405 int arg2
= (int) wxDateTime::Country_Default
;
19407 PyObject
* obj0
= 0 ;
19408 PyObject
* obj1
= 0 ;
19409 char *kwnames
[] = {
19410 (char *) "self",(char *) "country", NULL
19413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19417 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19418 if (PyErr_Occurred()) SWIG_fail
;
19421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19422 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19424 wxPyEndAllowThreads(__tstate
);
19425 if (PyErr_Occurred()) SWIG_fail
;
19428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19436 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19437 PyObject
*resultobj
;
19438 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19439 wxDateTime
*arg2
= 0 ;
19441 PyObject
* obj0
= 0 ;
19442 PyObject
* obj1
= 0 ;
19443 char *kwnames
[] = {
19444 (char *) "self",(char *) "datetime", NULL
19447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19450 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19451 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19453 if (arg2
== NULL
) {
19454 PyErr_SetString(PyExc_TypeError
,"null reference");
19458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19459 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19461 wxPyEndAllowThreads(__tstate
);
19462 if (PyErr_Occurred()) SWIG_fail
;
19465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19473 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19474 PyObject
*resultobj
;
19475 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19476 wxDateTime
*arg2
= 0 ;
19478 PyObject
* obj0
= 0 ;
19479 PyObject
* obj1
= 0 ;
19480 char *kwnames
[] = {
19481 (char *) "self",(char *) "datetime", NULL
19484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19488 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19490 if (arg2
== NULL
) {
19491 PyErr_SetString(PyExc_TypeError
,"null reference");
19495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19496 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19498 wxPyEndAllowThreads(__tstate
);
19499 if (PyErr_Occurred()) SWIG_fail
;
19502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19510 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19511 PyObject
*resultobj
;
19512 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19513 wxDateTime
*arg2
= 0 ;
19515 PyObject
* obj0
= 0 ;
19516 PyObject
* obj1
= 0 ;
19517 char *kwnames
[] = {
19518 (char *) "self",(char *) "datetime", NULL
19521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19524 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19525 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19527 if (arg2
== NULL
) {
19528 PyErr_SetString(PyExc_TypeError
,"null reference");
19532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19533 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19535 wxPyEndAllowThreads(__tstate
);
19536 if (PyErr_Occurred()) SWIG_fail
;
19539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19547 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19548 PyObject
*resultobj
;
19549 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19550 wxDateTime
*arg2
= 0 ;
19551 wxDateTime
*arg3
= 0 ;
19553 PyObject
* obj0
= 0 ;
19554 PyObject
* obj1
= 0 ;
19555 PyObject
* obj2
= 0 ;
19556 char *kwnames
[] = {
19557 (char *) "self",(char *) "t1",(char *) "t2", NULL
19560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19564 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19566 if (arg2
== NULL
) {
19567 PyErr_SetString(PyExc_TypeError
,"null reference");
19570 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19573 if (arg3
== NULL
) {
19574 PyErr_SetString(PyExc_TypeError
,"null reference");
19578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19579 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19581 wxPyEndAllowThreads(__tstate
);
19582 if (PyErr_Occurred()) SWIG_fail
;
19585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19593 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19594 PyObject
*resultobj
;
19595 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19596 wxDateTime
*arg2
= 0 ;
19597 wxDateTime
*arg3
= 0 ;
19599 PyObject
* obj0
= 0 ;
19600 PyObject
* obj1
= 0 ;
19601 PyObject
* obj2
= 0 ;
19602 char *kwnames
[] = {
19603 (char *) "self",(char *) "t1",(char *) "t2", NULL
19606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19610 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19612 if (arg2
== NULL
) {
19613 PyErr_SetString(PyExc_TypeError
,"null reference");
19616 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19617 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19619 if (arg3
== NULL
) {
19620 PyErr_SetString(PyExc_TypeError
,"null reference");
19624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19625 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19627 wxPyEndAllowThreads(__tstate
);
19628 if (PyErr_Occurred()) SWIG_fail
;
19631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19639 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19640 PyObject
*resultobj
;
19641 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19642 wxDateTime
*arg2
= 0 ;
19644 PyObject
* obj0
= 0 ;
19645 PyObject
* obj1
= 0 ;
19646 char *kwnames
[] = {
19647 (char *) "self",(char *) "dt", NULL
19650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19653 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19654 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19656 if (arg2
== NULL
) {
19657 PyErr_SetString(PyExc_TypeError
,"null reference");
19661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19662 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19664 wxPyEndAllowThreads(__tstate
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19676 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19677 PyObject
*resultobj
;
19678 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19679 wxDateTime
*arg2
= 0 ;
19681 PyObject
* obj0
= 0 ;
19682 PyObject
* obj1
= 0 ;
19683 char *kwnames
[] = {
19684 (char *) "self",(char *) "dt", NULL
19687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19691 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19693 if (arg2
== NULL
) {
19694 PyErr_SetString(PyExc_TypeError
,"null reference");
19698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19701 wxPyEndAllowThreads(__tstate
);
19702 if (PyErr_Occurred()) SWIG_fail
;
19705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19713 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19714 PyObject
*resultobj
;
19715 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19716 wxDateTime
*arg2
= 0 ;
19717 wxTimeSpan
*arg3
= 0 ;
19719 PyObject
* obj0
= 0 ;
19720 PyObject
* obj1
= 0 ;
19721 PyObject
* obj2
= 0 ;
19722 char *kwnames
[] = {
19723 (char *) "self",(char *) "dt",(char *) "ts", NULL
19726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19730 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19732 if (arg2
== NULL
) {
19733 PyErr_SetString(PyExc_TypeError
,"null reference");
19736 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19737 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19739 if (arg3
== NULL
) {
19740 PyErr_SetString(PyExc_TypeError
,"null reference");
19744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19745 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19747 wxPyEndAllowThreads(__tstate
);
19748 if (PyErr_Occurred()) SWIG_fail
;
19751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19759 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19760 PyObject
*resultobj
;
19761 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19762 wxTimeSpan
*arg2
= 0 ;
19763 wxDateTime
*result
;
19764 PyObject
* obj0
= 0 ;
19765 PyObject
* obj1
= 0 ;
19766 char *kwnames
[] = {
19767 (char *) "self",(char *) "diff", NULL
19770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19774 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19776 if (arg2
== NULL
) {
19777 PyErr_SetString(PyExc_TypeError
,"null reference");
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19783 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19784 result
= (wxDateTime
*) &_result_ref
;
19787 wxPyEndAllowThreads(__tstate
);
19788 if (PyErr_Occurred()) SWIG_fail
;
19790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19797 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19798 PyObject
*resultobj
;
19799 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19800 wxDateSpan
*arg2
= 0 ;
19801 wxDateTime
*result
;
19802 PyObject
* obj0
= 0 ;
19803 PyObject
* obj1
= 0 ;
19804 char *kwnames
[] = {
19805 (char *) "self",(char *) "diff", NULL
19808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19811 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19812 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19814 if (arg2
== NULL
) {
19815 PyErr_SetString(PyExc_TypeError
,"null reference");
19819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19821 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19822 result
= (wxDateTime
*) &_result_ref
;
19825 wxPyEndAllowThreads(__tstate
);
19826 if (PyErr_Occurred()) SWIG_fail
;
19828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19835 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19836 PyObject
*resultobj
;
19837 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19838 wxTimeSpan
*arg2
= 0 ;
19839 wxDateTime
*result
;
19840 PyObject
* obj0
= 0 ;
19841 PyObject
* obj1
= 0 ;
19842 char *kwnames
[] = {
19843 (char *) "self",(char *) "diff", NULL
19846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19852 if (arg2
== NULL
) {
19853 PyErr_SetString(PyExc_TypeError
,"null reference");
19857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19859 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19860 result
= (wxDateTime
*) &_result_ref
;
19863 wxPyEndAllowThreads(__tstate
);
19864 if (PyErr_Occurred()) SWIG_fail
;
19866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19873 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19874 PyObject
*resultobj
;
19875 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19876 wxDateSpan
*arg2
= 0 ;
19877 wxDateTime
*result
;
19878 PyObject
* obj0
= 0 ;
19879 PyObject
* obj1
= 0 ;
19880 char *kwnames
[] = {
19881 (char *) "self",(char *) "diff", NULL
19884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19887 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19888 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19890 if (arg2
== NULL
) {
19891 PyErr_SetString(PyExc_TypeError
,"null reference");
19895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19897 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19898 result
= (wxDateTime
*) &_result_ref
;
19901 wxPyEndAllowThreads(__tstate
);
19902 if (PyErr_Occurred()) SWIG_fail
;
19904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19911 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19912 PyObject
*resultobj
;
19913 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19914 wxDateTime
*arg2
= 0 ;
19916 PyObject
* obj0
= 0 ;
19917 PyObject
* obj1
= 0 ;
19918 char *kwnames
[] = {
19919 (char *) "self",(char *) "dt", NULL
19922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19926 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19928 if (arg2
== NULL
) {
19929 PyErr_SetString(PyExc_TypeError
,"null reference");
19933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19934 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19936 wxPyEndAllowThreads(__tstate
);
19937 if (PyErr_Occurred()) SWIG_fail
;
19940 wxTimeSpan
* resultptr
;
19941 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19942 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
19950 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
19951 PyObject
*resultobj
;
19952 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19953 wxTimeSpan
*arg2
= 0 ;
19954 wxDateTime
*result
;
19955 PyObject
* obj0
= 0 ;
19956 PyObject
* obj1
= 0 ;
19958 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19962 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19964 if (arg2
== NULL
) {
19965 PyErr_SetString(PyExc_TypeError
,"null reference");
19969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19972 result
= (wxDateTime
*) &_result_ref
;
19975 wxPyEndAllowThreads(__tstate
);
19976 if (PyErr_Occurred()) SWIG_fail
;
19978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19985 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
19986 PyObject
*resultobj
;
19987 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19988 wxDateSpan
*arg2
= 0 ;
19989 wxDateTime
*result
;
19990 PyObject
* obj0
= 0 ;
19991 PyObject
* obj1
= 0 ;
19993 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19996 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19997 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19999 if (arg2
== NULL
) {
20000 PyErr_SetString(PyExc_TypeError
,"null reference");
20004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20006 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20007 result
= (wxDateTime
*) &_result_ref
;
20010 wxPyEndAllowThreads(__tstate
);
20011 if (PyErr_Occurred()) SWIG_fail
;
20013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20020 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20025 argc
= PyObject_Length(args
);
20026 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20027 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20033 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20043 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20051 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20059 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20069 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20077 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20082 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20087 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20088 PyObject
*resultobj
;
20089 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20090 wxTimeSpan
*arg2
= 0 ;
20091 wxDateTime
*result
;
20092 PyObject
* obj0
= 0 ;
20093 PyObject
* obj1
= 0 ;
20095 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20099 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20101 if (arg2
== NULL
) {
20102 PyErr_SetString(PyExc_TypeError
,"null reference");
20106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20108 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20109 result
= (wxDateTime
*) &_result_ref
;
20112 wxPyEndAllowThreads(__tstate
);
20113 if (PyErr_Occurred()) SWIG_fail
;
20115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20122 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20123 PyObject
*resultobj
;
20124 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20125 wxDateSpan
*arg2
= 0 ;
20126 wxDateTime
*result
;
20127 PyObject
* obj0
= 0 ;
20128 PyObject
* obj1
= 0 ;
20130 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20133 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20134 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20136 if (arg2
== NULL
) {
20137 PyErr_SetString(PyExc_TypeError
,"null reference");
20141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20143 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20144 result
= (wxDateTime
*) &_result_ref
;
20147 wxPyEndAllowThreads(__tstate
);
20148 if (PyErr_Occurred()) SWIG_fail
;
20150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20157 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20162 argc
= PyObject_Length(args
);
20163 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20164 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20170 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20180 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20188 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20196 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20206 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20214 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20219 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20224 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20225 PyObject
*resultobj
;
20226 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20227 wxTimeSpan
*arg2
= 0 ;
20229 PyObject
* obj0
= 0 ;
20230 PyObject
* obj1
= 0 ;
20232 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20236 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20238 if (arg2
== NULL
) {
20239 PyErr_SetString(PyExc_TypeError
,"null reference");
20243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20244 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20246 wxPyEndAllowThreads(__tstate
);
20247 if (PyErr_Occurred()) SWIG_fail
;
20250 wxDateTime
* resultptr
;
20251 resultptr
= new wxDateTime((wxDateTime
&) result
);
20252 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20260 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20261 PyObject
*resultobj
;
20262 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20263 wxDateSpan
*arg2
= 0 ;
20265 PyObject
* obj0
= 0 ;
20266 PyObject
* obj1
= 0 ;
20268 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20271 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20272 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20274 if (arg2
== NULL
) {
20275 PyErr_SetString(PyExc_TypeError
,"null reference");
20279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20280 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20282 wxPyEndAllowThreads(__tstate
);
20283 if (PyErr_Occurred()) SWIG_fail
;
20286 wxDateTime
* resultptr
;
20287 resultptr
= new wxDateTime((wxDateTime
&) result
);
20288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20296 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20301 argc
= PyObject_Length(args
);
20302 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20303 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20309 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20319 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20327 return _wrap_DateTime___add____SWIG_0(self
,args
);
20335 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20345 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20353 return _wrap_DateTime___add____SWIG_1(self
,args
);
20358 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20363 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20364 PyObject
*resultobj
;
20365 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20366 wxDateTime
*arg2
= 0 ;
20368 PyObject
* obj0
= 0 ;
20369 PyObject
* obj1
= 0 ;
20371 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20374 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20375 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20377 if (arg2
== NULL
) {
20378 PyErr_SetString(PyExc_TypeError
,"null reference");
20382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20383 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20385 wxPyEndAllowThreads(__tstate
);
20386 if (PyErr_Occurred()) SWIG_fail
;
20389 wxTimeSpan
* resultptr
;
20390 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20391 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20399 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20400 PyObject
*resultobj
;
20401 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20402 wxTimeSpan
*arg2
= 0 ;
20404 PyObject
* obj0
= 0 ;
20405 PyObject
* obj1
= 0 ;
20407 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20411 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20413 if (arg2
== NULL
) {
20414 PyErr_SetString(PyExc_TypeError
,"null reference");
20418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20419 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20421 wxPyEndAllowThreads(__tstate
);
20422 if (PyErr_Occurred()) SWIG_fail
;
20425 wxDateTime
* resultptr
;
20426 resultptr
= new wxDateTime((wxDateTime
&) result
);
20427 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20435 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20436 PyObject
*resultobj
;
20437 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20438 wxDateSpan
*arg2
= 0 ;
20440 PyObject
* obj0
= 0 ;
20441 PyObject
* obj1
= 0 ;
20443 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20447 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20449 if (arg2
== NULL
) {
20450 PyErr_SetString(PyExc_TypeError
,"null reference");
20454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20455 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20457 wxPyEndAllowThreads(__tstate
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20461 wxDateTime
* resultptr
;
20462 resultptr
= new wxDateTime((wxDateTime
&) result
);
20463 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20471 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20476 argc
= PyObject_Length(args
);
20477 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20478 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20484 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20494 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20502 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20510 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20520 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20528 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20536 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20546 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20554 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20559 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20564 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20565 PyObject
*resultobj
;
20566 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20567 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20569 PyObject
* obj0
= 0 ;
20570 PyObject
* obj1
= 0 ;
20572 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20575 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20579 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20581 wxPyEndAllowThreads(__tstate
);
20582 if (PyErr_Occurred()) SWIG_fail
;
20585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20593 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20594 PyObject
*resultobj
;
20595 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20596 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20598 PyObject
* obj0
= 0 ;
20599 PyObject
* obj1
= 0 ;
20601 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20604 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20608 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20610 wxPyEndAllowThreads(__tstate
);
20611 if (PyErr_Occurred()) SWIG_fail
;
20614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20622 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20623 PyObject
*resultobj
;
20624 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20625 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20627 PyObject
* obj0
= 0 ;
20628 PyObject
* obj1
= 0 ;
20630 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20637 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20639 wxPyEndAllowThreads(__tstate
);
20640 if (PyErr_Occurred()) SWIG_fail
;
20643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20651 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20652 PyObject
*resultobj
;
20653 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20654 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20656 PyObject
* obj0
= 0 ;
20657 PyObject
* obj1
= 0 ;
20659 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20666 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20668 wxPyEndAllowThreads(__tstate
);
20669 if (PyErr_Occurred()) SWIG_fail
;
20672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20680 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20681 PyObject
*resultobj
;
20682 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20683 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20685 PyObject
* obj0
= 0 ;
20686 PyObject
* obj1
= 0 ;
20688 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20695 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20697 wxPyEndAllowThreads(__tstate
);
20698 if (PyErr_Occurred()) SWIG_fail
;
20701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20709 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20710 PyObject
*resultobj
;
20711 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20712 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20714 PyObject
* obj0
= 0 ;
20715 PyObject
* obj1
= 0 ;
20717 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20724 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20726 wxPyEndAllowThreads(__tstate
);
20727 if (PyErr_Occurred()) SWIG_fail
;
20730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20738 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20739 PyObject
*resultobj
;
20740 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20741 wxString
*arg2
= 0 ;
20743 bool temp2
= False
;
20744 PyObject
* obj0
= 0 ;
20745 PyObject
* obj1
= 0 ;
20746 char *kwnames
[] = {
20747 (char *) "self",(char *) "date", NULL
20750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20754 arg2
= wxString_in_helper(obj1
);
20755 if (arg2
== NULL
) SWIG_fail
;
20759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20760 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20762 wxPyEndAllowThreads(__tstate
);
20763 if (PyErr_Occurred()) SWIG_fail
;
20765 resultobj
= SWIG_FromInt((int)result
);
20780 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20781 PyObject
*resultobj
;
20782 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20783 wxString
*arg2
= 0 ;
20784 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20785 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20786 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20787 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20789 bool temp2
= False
;
20790 bool temp3
= False
;
20791 PyObject
* obj0
= 0 ;
20792 PyObject
* obj1
= 0 ;
20793 PyObject
* obj2
= 0 ;
20794 PyObject
* obj3
= 0 ;
20795 char *kwnames
[] = {
20796 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20803 arg2
= wxString_in_helper(obj1
);
20804 if (arg2
== NULL
) SWIG_fail
;
20809 arg3
= wxString_in_helper(obj2
);
20810 if (arg3
== NULL
) SWIG_fail
;
20815 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20816 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20818 if (arg4
== NULL
) {
20819 PyErr_SetString(PyExc_TypeError
,"null reference");
20824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20825 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20827 wxPyEndAllowThreads(__tstate
);
20828 if (PyErr_Occurred()) SWIG_fail
;
20830 resultobj
= SWIG_FromInt((int)result
);
20853 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20854 PyObject
*resultobj
;
20855 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20856 wxString
*arg2
= 0 ;
20858 bool temp2
= False
;
20859 PyObject
* obj0
= 0 ;
20860 PyObject
* obj1
= 0 ;
20861 char *kwnames
[] = {
20862 (char *) "self",(char *) "datetime", NULL
20865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20869 arg2
= wxString_in_helper(obj1
);
20870 if (arg2
== NULL
) SWIG_fail
;
20874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20875 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20877 wxPyEndAllowThreads(__tstate
);
20878 if (PyErr_Occurred()) SWIG_fail
;
20880 resultobj
= SWIG_FromInt((int)result
);
20895 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20896 PyObject
*resultobj
;
20897 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20898 wxString
*arg2
= 0 ;
20900 bool temp2
= False
;
20901 PyObject
* obj0
= 0 ;
20902 PyObject
* obj1
= 0 ;
20903 char *kwnames
[] = {
20904 (char *) "self",(char *) "date", NULL
20907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20911 arg2
= wxString_in_helper(obj1
);
20912 if (arg2
== NULL
) SWIG_fail
;
20916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20917 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20919 wxPyEndAllowThreads(__tstate
);
20920 if (PyErr_Occurred()) SWIG_fail
;
20922 resultobj
= SWIG_FromInt((int)result
);
20937 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20938 PyObject
*resultobj
;
20939 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20940 wxString
*arg2
= 0 ;
20942 bool temp2
= False
;
20943 PyObject
* obj0
= 0 ;
20944 PyObject
* obj1
= 0 ;
20945 char *kwnames
[] = {
20946 (char *) "self",(char *) "time", NULL
20949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20953 arg2
= wxString_in_helper(obj1
);
20954 if (arg2
== NULL
) SWIG_fail
;
20958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20959 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20961 wxPyEndAllowThreads(__tstate
);
20962 if (PyErr_Occurred()) SWIG_fail
;
20964 resultobj
= SWIG_FromInt((int)result
);
20979 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20980 PyObject
*resultobj
;
20981 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20982 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
20983 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20984 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20985 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20987 bool temp2
= False
;
20988 bool temp3
= False
;
20989 PyObject
* obj0
= 0 ;
20990 PyObject
* obj1
= 0 ;
20991 PyObject
* obj2
= 0 ;
20992 char *kwnames
[] = {
20993 (char *) "self",(char *) "format",(char *) "tz", NULL
20996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21001 arg2
= wxString_in_helper(obj1
);
21002 if (arg2
== NULL
) SWIG_fail
;
21008 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21014 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21016 wxPyEndAllowThreads(__tstate
);
21017 if (PyErr_Occurred()) SWIG_fail
;
21021 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21023 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21031 if (temp3
) delete arg3
;
21040 if (temp3
) delete arg3
;
21046 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21047 PyObject
*resultobj
;
21048 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21050 PyObject
* obj0
= 0 ;
21051 char *kwnames
[] = {
21052 (char *) "self", NULL
21055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21060 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21062 wxPyEndAllowThreads(__tstate
);
21063 if (PyErr_Occurred()) SWIG_fail
;
21067 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21069 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21078 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21079 PyObject
*resultobj
;
21080 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21082 PyObject
* obj0
= 0 ;
21083 char *kwnames
[] = {
21084 (char *) "self", NULL
21087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21092 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21094 wxPyEndAllowThreads(__tstate
);
21095 if (PyErr_Occurred()) SWIG_fail
;
21099 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21101 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21110 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21111 PyObject
*resultobj
;
21112 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21114 PyObject
* obj0
= 0 ;
21115 char *kwnames
[] = {
21116 (char *) "self", NULL
21119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21124 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21126 wxPyEndAllowThreads(__tstate
);
21127 if (PyErr_Occurred()) SWIG_fail
;
21131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21142 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21143 PyObject
*resultobj
;
21144 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21146 PyObject
* obj0
= 0 ;
21147 char *kwnames
[] = {
21148 (char *) "self", NULL
21151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21156 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21158 wxPyEndAllowThreads(__tstate
);
21159 if (PyErr_Occurred()) SWIG_fail
;
21163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21174 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21177 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21179 return Py_BuildValue((char *)"");
21181 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21182 PyObject
*resultobj
;
21185 PyObject
* obj0
= 0 ;
21186 char *kwnames
[] = {
21187 (char *) "sec", NULL
21190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21191 arg1
= (long) SWIG_AsLong(obj0
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21195 result
= wxTimeSpan::Seconds(arg1
);
21197 wxPyEndAllowThreads(__tstate
);
21198 if (PyErr_Occurred()) SWIG_fail
;
21201 wxTimeSpan
* resultptr
;
21202 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21203 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21211 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21212 PyObject
*resultobj
;
21214 char *kwnames
[] = {
21218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21221 result
= wxTimeSpan::Second();
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_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21238 PyObject
*resultobj
;
21241 PyObject
* obj0
= 0 ;
21242 char *kwnames
[] = {
21243 (char *) "min", NULL
21246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21247 arg1
= (long) SWIG_AsLong(obj0
);
21248 if (PyErr_Occurred()) SWIG_fail
;
21250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21251 result
= wxTimeSpan::Minutes(arg1
);
21253 wxPyEndAllowThreads(__tstate
);
21254 if (PyErr_Occurred()) SWIG_fail
;
21257 wxTimeSpan
* resultptr
;
21258 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21259 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21267 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21268 PyObject
*resultobj
;
21270 char *kwnames
[] = {
21274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21277 result
= wxTimeSpan::Minute();
21279 wxPyEndAllowThreads(__tstate
);
21280 if (PyErr_Occurred()) SWIG_fail
;
21283 wxTimeSpan
* resultptr
;
21284 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21293 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21294 PyObject
*resultobj
;
21297 PyObject
* obj0
= 0 ;
21298 char *kwnames
[] = {
21299 (char *) "hours", NULL
21302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21303 arg1
= (long) SWIG_AsLong(obj0
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21307 result
= wxTimeSpan::Hours(arg1
);
21309 wxPyEndAllowThreads(__tstate
);
21310 if (PyErr_Occurred()) SWIG_fail
;
21313 wxTimeSpan
* resultptr
;
21314 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21323 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21324 PyObject
*resultobj
;
21326 char *kwnames
[] = {
21330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21333 result
= wxTimeSpan::Hour();
21335 wxPyEndAllowThreads(__tstate
);
21336 if (PyErr_Occurred()) SWIG_fail
;
21339 wxTimeSpan
* resultptr
;
21340 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21349 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21350 PyObject
*resultobj
;
21353 PyObject
* obj0
= 0 ;
21354 char *kwnames
[] = {
21355 (char *) "days", NULL
21358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21359 arg1
= (long) SWIG_AsLong(obj0
);
21360 if (PyErr_Occurred()) SWIG_fail
;
21362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21363 result
= wxTimeSpan::Days(arg1
);
21365 wxPyEndAllowThreads(__tstate
);
21366 if (PyErr_Occurred()) SWIG_fail
;
21369 wxTimeSpan
* resultptr
;
21370 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21371 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21379 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21380 PyObject
*resultobj
;
21382 char *kwnames
[] = {
21386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21389 result
= wxTimeSpan::Day();
21391 wxPyEndAllowThreads(__tstate
);
21392 if (PyErr_Occurred()) SWIG_fail
;
21395 wxTimeSpan
* resultptr
;
21396 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21397 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21405 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21406 PyObject
*resultobj
;
21409 PyObject
* obj0
= 0 ;
21410 char *kwnames
[] = {
21411 (char *) "days", NULL
21414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21415 arg1
= (long) SWIG_AsLong(obj0
);
21416 if (PyErr_Occurred()) SWIG_fail
;
21418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21419 result
= wxTimeSpan::Weeks(arg1
);
21421 wxPyEndAllowThreads(__tstate
);
21422 if (PyErr_Occurred()) SWIG_fail
;
21425 wxTimeSpan
* resultptr
;
21426 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21427 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21435 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21436 PyObject
*resultobj
;
21438 char *kwnames
[] = {
21442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21445 result
= wxTimeSpan::Week();
21447 wxPyEndAllowThreads(__tstate
);
21448 if (PyErr_Occurred()) SWIG_fail
;
21451 wxTimeSpan
* resultptr
;
21452 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21461 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21462 PyObject
*resultobj
;
21463 long arg1
= (long) 0 ;
21464 long arg2
= (long) 0 ;
21465 long arg3
= (long) 0 ;
21466 long arg4
= (long) 0 ;
21467 wxTimeSpan
*result
;
21468 PyObject
* obj0
= 0 ;
21469 PyObject
* obj1
= 0 ;
21470 PyObject
* obj2
= 0 ;
21471 PyObject
* obj3
= 0 ;
21472 char *kwnames
[] = {
21473 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21478 arg1
= (long) SWIG_AsLong(obj0
);
21479 if (PyErr_Occurred()) SWIG_fail
;
21482 arg2
= (long) SWIG_AsLong(obj1
);
21483 if (PyErr_Occurred()) SWIG_fail
;
21486 arg3
= (long) SWIG_AsLong(obj2
);
21487 if (PyErr_Occurred()) SWIG_fail
;
21490 arg4
= (long) SWIG_AsLong(obj3
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21495 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21507 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21508 PyObject
*resultobj
;
21509 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21510 PyObject
* obj0
= 0 ;
21511 char *kwnames
[] = {
21512 (char *) "self", NULL
21515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21522 wxPyEndAllowThreads(__tstate
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21525 Py_INCREF(Py_None
); resultobj
= Py_None
;
21532 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21533 PyObject
*resultobj
;
21534 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21535 wxTimeSpan
*arg2
= 0 ;
21536 wxTimeSpan
*result
;
21537 PyObject
* obj0
= 0 ;
21538 PyObject
* obj1
= 0 ;
21539 char *kwnames
[] = {
21540 (char *) "self",(char *) "diff", NULL
21543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21547 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21549 if (arg2
== NULL
) {
21550 PyErr_SetString(PyExc_TypeError
,"null reference");
21554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21556 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21557 result
= (wxTimeSpan
*) &_result_ref
;
21560 wxPyEndAllowThreads(__tstate
);
21561 if (PyErr_Occurred()) SWIG_fail
;
21563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21570 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21571 PyObject
*resultobj
;
21572 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21573 wxTimeSpan
*arg2
= 0 ;
21574 wxTimeSpan
*result
;
21575 PyObject
* obj0
= 0 ;
21576 PyObject
* obj1
= 0 ;
21577 char *kwnames
[] = {
21578 (char *) "self",(char *) "diff", NULL
21581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21584 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21585 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21587 if (arg2
== NULL
) {
21588 PyErr_SetString(PyExc_TypeError
,"null reference");
21592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21594 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21595 result
= (wxTimeSpan
*) &_result_ref
;
21598 wxPyEndAllowThreads(__tstate
);
21599 if (PyErr_Occurred()) SWIG_fail
;
21601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21608 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21609 PyObject
*resultobj
;
21610 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21612 wxTimeSpan
*result
;
21613 PyObject
* obj0
= 0 ;
21614 PyObject
* obj1
= 0 ;
21615 char *kwnames
[] = {
21616 (char *) "self",(char *) "n", NULL
21619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21622 arg2
= (int) SWIG_AsInt(obj1
);
21623 if (PyErr_Occurred()) SWIG_fail
;
21625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21627 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21628 result
= (wxTimeSpan
*) &_result_ref
;
21631 wxPyEndAllowThreads(__tstate
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21641 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21642 PyObject
*resultobj
;
21643 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21644 wxTimeSpan
*result
;
21645 PyObject
* obj0
= 0 ;
21646 char *kwnames
[] = {
21647 (char *) "self", NULL
21650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21656 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21657 result
= (wxTimeSpan
*) &_result_ref
;
21660 wxPyEndAllowThreads(__tstate
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21670 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21671 PyObject
*resultobj
;
21672 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21674 PyObject
* obj0
= 0 ;
21675 char *kwnames
[] = {
21676 (char *) "self", NULL
21679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21684 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21686 wxPyEndAllowThreads(__tstate
);
21687 if (PyErr_Occurred()) SWIG_fail
;
21690 wxTimeSpan
* resultptr
;
21691 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21692 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21700 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21701 PyObject
*resultobj
;
21702 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21703 wxTimeSpan
*arg2
= 0 ;
21704 wxTimeSpan
*result
;
21705 PyObject
* obj0
= 0 ;
21706 PyObject
* obj1
= 0 ;
21707 char *kwnames
[] = {
21708 (char *) "self",(char *) "diff", NULL
21711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21714 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21715 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21717 if (arg2
== NULL
) {
21718 PyErr_SetString(PyExc_TypeError
,"null reference");
21722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21724 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21725 result
= (wxTimeSpan
*) &_result_ref
;
21728 wxPyEndAllowThreads(__tstate
);
21729 if (PyErr_Occurred()) SWIG_fail
;
21731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21738 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21739 PyObject
*resultobj
;
21740 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21741 wxTimeSpan
*arg2
= 0 ;
21742 wxTimeSpan
*result
;
21743 PyObject
* obj0
= 0 ;
21744 PyObject
* obj1
= 0 ;
21745 char *kwnames
[] = {
21746 (char *) "self",(char *) "diff", NULL
21749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21753 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21755 if (arg2
== NULL
) {
21756 PyErr_SetString(PyExc_TypeError
,"null reference");
21760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21762 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21763 result
= (wxTimeSpan
*) &_result_ref
;
21766 wxPyEndAllowThreads(__tstate
);
21767 if (PyErr_Occurred()) SWIG_fail
;
21769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21776 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21777 PyObject
*resultobj
;
21778 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21780 wxTimeSpan
*result
;
21781 PyObject
* obj0
= 0 ;
21782 PyObject
* obj1
= 0 ;
21783 char *kwnames
[] = {
21784 (char *) "self",(char *) "n", NULL
21787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21790 arg2
= (int) SWIG_AsInt(obj1
);
21791 if (PyErr_Occurred()) SWIG_fail
;
21793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21795 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21796 result
= (wxTimeSpan
*) &_result_ref
;
21799 wxPyEndAllowThreads(__tstate
);
21800 if (PyErr_Occurred()) SWIG_fail
;
21802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21809 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21810 PyObject
*resultobj
;
21811 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21812 wxTimeSpan
*result
;
21813 PyObject
* obj0
= 0 ;
21814 char *kwnames
[] = {
21815 (char *) "self", NULL
21818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21824 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21825 result
= (wxTimeSpan
*) &_result_ref
;
21828 wxPyEndAllowThreads(__tstate
);
21829 if (PyErr_Occurred()) SWIG_fail
;
21831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21838 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21839 PyObject
*resultobj
;
21840 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21841 wxTimeSpan
*arg2
= 0 ;
21843 PyObject
* obj0
= 0 ;
21844 PyObject
* obj1
= 0 ;
21845 char *kwnames
[] = {
21846 (char *) "self",(char *) "other", NULL
21849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21853 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21855 if (arg2
== NULL
) {
21856 PyErr_SetString(PyExc_TypeError
,"null reference");
21860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21861 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21863 wxPyEndAllowThreads(__tstate
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21867 wxTimeSpan
* resultptr
;
21868 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21877 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21878 PyObject
*resultobj
;
21879 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21880 wxTimeSpan
*arg2
= 0 ;
21882 PyObject
* obj0
= 0 ;
21883 PyObject
* obj1
= 0 ;
21884 char *kwnames
[] = {
21885 (char *) "self",(char *) "other", NULL
21888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21892 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21894 if (arg2
== NULL
) {
21895 PyErr_SetString(PyExc_TypeError
,"null reference");
21899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21900 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21902 wxPyEndAllowThreads(__tstate
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21906 wxTimeSpan
* resultptr
;
21907 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21916 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21917 PyObject
*resultobj
;
21918 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21921 PyObject
* obj0
= 0 ;
21922 PyObject
* obj1
= 0 ;
21923 char *kwnames
[] = {
21924 (char *) "self",(char *) "n", NULL
21927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21930 arg2
= (int) SWIG_AsInt(obj1
);
21931 if (PyErr_Occurred()) SWIG_fail
;
21933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21934 result
= wxTimeSpan___mul__(arg1
,arg2
);
21936 wxPyEndAllowThreads(__tstate
);
21937 if (PyErr_Occurred()) SWIG_fail
;
21940 wxTimeSpan
* resultptr
;
21941 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21942 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21950 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21951 PyObject
*resultobj
;
21952 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21955 PyObject
* obj0
= 0 ;
21956 PyObject
* obj1
= 0 ;
21957 char *kwnames
[] = {
21958 (char *) "self",(char *) "n", NULL
21961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21964 arg2
= (int) SWIG_AsInt(obj1
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21968 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21970 wxPyEndAllowThreads(__tstate
);
21971 if (PyErr_Occurred()) SWIG_fail
;
21974 wxTimeSpan
* resultptr
;
21975 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21984 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21985 PyObject
*resultobj
;
21986 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21987 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21989 PyObject
* obj0
= 0 ;
21990 PyObject
* obj1
= 0 ;
21991 char *kwnames
[] = {
21992 (char *) "self",(char *) "other", NULL
21995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21998 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22004 wxPyEndAllowThreads(__tstate
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22016 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22017 PyObject
*resultobj
;
22018 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22019 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22021 PyObject
* obj0
= 0 ;
22022 PyObject
* obj1
= 0 ;
22023 char *kwnames
[] = {
22024 (char *) "self",(char *) "other", NULL
22027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22030 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22034 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22036 wxPyEndAllowThreads(__tstate
);
22037 if (PyErr_Occurred()) SWIG_fail
;
22040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22048 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22049 PyObject
*resultobj
;
22050 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22051 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22053 PyObject
* obj0
= 0 ;
22054 PyObject
* obj1
= 0 ;
22055 char *kwnames
[] = {
22056 (char *) "self",(char *) "other", NULL
22059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22062 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22066 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22068 wxPyEndAllowThreads(__tstate
);
22069 if (PyErr_Occurred()) SWIG_fail
;
22072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22080 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22081 PyObject
*resultobj
;
22082 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22083 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22085 PyObject
* obj0
= 0 ;
22086 PyObject
* obj1
= 0 ;
22087 char *kwnames
[] = {
22088 (char *) "self",(char *) "other", NULL
22091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22098 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22100 wxPyEndAllowThreads(__tstate
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22112 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22113 PyObject
*resultobj
;
22114 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22115 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22117 PyObject
* obj0
= 0 ;
22118 PyObject
* obj1
= 0 ;
22119 char *kwnames
[] = {
22120 (char *) "self",(char *) "other", NULL
22123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22130 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22132 wxPyEndAllowThreads(__tstate
);
22133 if (PyErr_Occurred()) SWIG_fail
;
22136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22144 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22145 PyObject
*resultobj
;
22146 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22147 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22149 PyObject
* obj0
= 0 ;
22150 PyObject
* obj1
= 0 ;
22151 char *kwnames
[] = {
22152 (char *) "self",(char *) "other", NULL
22155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22162 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22164 wxPyEndAllowThreads(__tstate
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22176 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22177 PyObject
*resultobj
;
22178 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22180 PyObject
* obj0
= 0 ;
22181 char *kwnames
[] = {
22182 (char *) "self", NULL
22185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22190 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22192 wxPyEndAllowThreads(__tstate
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22204 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22205 PyObject
*resultobj
;
22206 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22208 PyObject
* obj0
= 0 ;
22209 char *kwnames
[] = {
22210 (char *) "self", NULL
22213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22218 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22220 wxPyEndAllowThreads(__tstate
);
22221 if (PyErr_Occurred()) SWIG_fail
;
22224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22232 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22233 PyObject
*resultobj
;
22234 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22236 PyObject
* obj0
= 0 ;
22237 char *kwnames
[] = {
22238 (char *) "self", NULL
22241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22246 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22248 wxPyEndAllowThreads(__tstate
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22260 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22261 PyObject
*resultobj
;
22262 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22263 wxTimeSpan
*arg2
= 0 ;
22265 PyObject
* obj0
= 0 ;
22266 PyObject
* obj1
= 0 ;
22267 char *kwnames
[] = {
22268 (char *) "self",(char *) "ts", NULL
22271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22274 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22275 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22277 if (arg2
== NULL
) {
22278 PyErr_SetString(PyExc_TypeError
,"null reference");
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22283 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22285 wxPyEndAllowThreads(__tstate
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22297 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22298 PyObject
*resultobj
;
22299 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22300 wxTimeSpan
*arg2
= 0 ;
22302 PyObject
* obj0
= 0 ;
22303 PyObject
* obj1
= 0 ;
22304 char *kwnames
[] = {
22305 (char *) "self",(char *) "ts", NULL
22308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22312 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22314 if (arg2
== NULL
) {
22315 PyErr_SetString(PyExc_TypeError
,"null reference");
22319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22320 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22322 wxPyEndAllowThreads(__tstate
);
22323 if (PyErr_Occurred()) SWIG_fail
;
22326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22334 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22335 PyObject
*resultobj
;
22336 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22337 wxTimeSpan
*arg2
= 0 ;
22339 PyObject
* obj0
= 0 ;
22340 PyObject
* obj1
= 0 ;
22341 char *kwnames
[] = {
22342 (char *) "self",(char *) "t", NULL
22345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22349 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22351 if (arg2
== NULL
) {
22352 PyErr_SetString(PyExc_TypeError
,"null reference");
22356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22357 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22359 wxPyEndAllowThreads(__tstate
);
22360 if (PyErr_Occurred()) SWIG_fail
;
22363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22371 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22372 PyObject
*resultobj
;
22373 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22375 PyObject
* obj0
= 0 ;
22376 char *kwnames
[] = {
22377 (char *) "self", NULL
22380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22385 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22387 wxPyEndAllowThreads(__tstate
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22390 resultobj
= SWIG_FromInt((int)result
);
22397 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22398 PyObject
*resultobj
;
22399 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22401 PyObject
* obj0
= 0 ;
22402 char *kwnames
[] = {
22403 (char *) "self", NULL
22406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22411 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22413 wxPyEndAllowThreads(__tstate
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22416 resultobj
= SWIG_FromInt((int)result
);
22423 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22424 PyObject
*resultobj
;
22425 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22427 PyObject
* obj0
= 0 ;
22428 char *kwnames
[] = {
22429 (char *) "self", NULL
22432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22437 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22442 resultobj
= SWIG_FromInt((int)result
);
22449 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22450 PyObject
*resultobj
;
22451 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22453 PyObject
* obj0
= 0 ;
22454 char *kwnames
[] = {
22455 (char *) "self", NULL
22458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22463 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22465 wxPyEndAllowThreads(__tstate
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22468 resultobj
= SWIG_FromInt((int)result
);
22475 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22476 PyObject
*resultobj
;
22477 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22479 PyObject
* obj0
= 0 ;
22480 char *kwnames
[] = {
22481 (char *) "self", NULL
22484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22489 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22491 wxPyEndAllowThreads(__tstate
);
22492 if (PyErr_Occurred()) SWIG_fail
;
22495 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22496 hi
= PyLong_FromLong( (&result
)->GetHi() );
22497 lo
= PyLong_FromLong( (&result
)->GetLo() );
22498 shifter
= PyLong_FromLong(32);
22499 shifted
= PyNumber_Lshift(hi
, shifter
);
22500 resultobj
= PyNumber_Or(shifted
, lo
);
22503 Py_DECREF(shifter
);
22504 Py_DECREF(shifted
);
22512 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22513 PyObject
*resultobj
;
22514 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22516 PyObject
* obj0
= 0 ;
22517 char *kwnames
[] = {
22518 (char *) "self", NULL
22521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22528 wxPyEndAllowThreads(__tstate
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22532 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22533 hi
= PyLong_FromLong( (&result
)->GetHi() );
22534 lo
= PyLong_FromLong( (&result
)->GetLo() );
22535 shifter
= PyLong_FromLong(32);
22536 shifted
= PyNumber_Lshift(hi
, shifter
);
22537 resultobj
= PyNumber_Or(shifted
, lo
);
22540 Py_DECREF(shifter
);
22541 Py_DECREF(shifted
);
22549 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22550 PyObject
*resultobj
;
22551 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22552 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22553 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22555 bool temp2
= False
;
22556 PyObject
* obj0
= 0 ;
22557 PyObject
* obj1
= 0 ;
22558 char *kwnames
[] = {
22559 (char *) "self",(char *) "format", NULL
22562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22567 arg2
= wxString_in_helper(obj1
);
22568 if (arg2
== NULL
) SWIG_fail
;
22573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22574 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22576 wxPyEndAllowThreads(__tstate
);
22577 if (PyErr_Occurred()) SWIG_fail
;
22581 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22583 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22600 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22603 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22605 return Py_BuildValue((char *)"");
22607 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22608 PyObject
*resultobj
;
22609 int arg1
= (int) 0 ;
22610 int arg2
= (int) 0 ;
22611 int arg3
= (int) 0 ;
22612 int arg4
= (int) 0 ;
22613 wxDateSpan
*result
;
22614 PyObject
* obj0
= 0 ;
22615 PyObject
* obj1
= 0 ;
22616 PyObject
* obj2
= 0 ;
22617 PyObject
* obj3
= 0 ;
22618 char *kwnames
[] = {
22619 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22624 arg1
= (int) SWIG_AsInt(obj0
);
22625 if (PyErr_Occurred()) SWIG_fail
;
22628 arg2
= (int) SWIG_AsInt(obj1
);
22629 if (PyErr_Occurred()) SWIG_fail
;
22632 arg3
= (int) SWIG_AsInt(obj2
);
22633 if (PyErr_Occurred()) SWIG_fail
;
22636 arg4
= (int) SWIG_AsInt(obj3
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22641 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22643 wxPyEndAllowThreads(__tstate
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22653 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22654 PyObject
*resultobj
;
22655 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22656 PyObject
* obj0
= 0 ;
22657 char *kwnames
[] = {
22658 (char *) "self", NULL
22661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22668 wxPyEndAllowThreads(__tstate
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22671 Py_INCREF(Py_None
); resultobj
= Py_None
;
22678 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22679 PyObject
*resultobj
;
22682 PyObject
* obj0
= 0 ;
22683 char *kwnames
[] = {
22684 (char *) "days", NULL
22687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22688 arg1
= (int) SWIG_AsInt(obj0
);
22689 if (PyErr_Occurred()) SWIG_fail
;
22691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22692 result
= wxDateSpan::Days(arg1
);
22694 wxPyEndAllowThreads(__tstate
);
22695 if (PyErr_Occurred()) SWIG_fail
;
22698 wxDateSpan
* resultptr
;
22699 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22700 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22708 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22709 PyObject
*resultobj
;
22711 char *kwnames
[] = {
22715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22718 result
= wxDateSpan::Day();
22720 wxPyEndAllowThreads(__tstate
);
22721 if (PyErr_Occurred()) SWIG_fail
;
22724 wxDateSpan
* resultptr
;
22725 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22726 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22734 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22735 PyObject
*resultobj
;
22738 PyObject
* obj0
= 0 ;
22739 char *kwnames
[] = {
22740 (char *) "weeks", NULL
22743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22744 arg1
= (int) SWIG_AsInt(obj0
);
22745 if (PyErr_Occurred()) SWIG_fail
;
22747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22748 result
= wxDateSpan::Weeks(arg1
);
22750 wxPyEndAllowThreads(__tstate
);
22751 if (PyErr_Occurred()) SWIG_fail
;
22754 wxDateSpan
* resultptr
;
22755 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22756 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22764 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22765 PyObject
*resultobj
;
22767 char *kwnames
[] = {
22771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22774 result
= wxDateSpan::Week();
22776 wxPyEndAllowThreads(__tstate
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22780 wxDateSpan
* resultptr
;
22781 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22782 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22790 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22791 PyObject
*resultobj
;
22794 PyObject
* obj0
= 0 ;
22795 char *kwnames
[] = {
22796 (char *) "mon", NULL
22799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22800 arg1
= (int) SWIG_AsInt(obj0
);
22801 if (PyErr_Occurred()) SWIG_fail
;
22803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22804 result
= wxDateSpan::Months(arg1
);
22806 wxPyEndAllowThreads(__tstate
);
22807 if (PyErr_Occurred()) SWIG_fail
;
22810 wxDateSpan
* resultptr
;
22811 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22812 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22820 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22821 PyObject
*resultobj
;
22823 char *kwnames
[] = {
22827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22830 result
= wxDateSpan::Month();
22832 wxPyEndAllowThreads(__tstate
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22836 wxDateSpan
* resultptr
;
22837 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22846 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22847 PyObject
*resultobj
;
22850 PyObject
* obj0
= 0 ;
22851 char *kwnames
[] = {
22852 (char *) "years", NULL
22855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22856 arg1
= (int) SWIG_AsInt(obj0
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22860 result
= wxDateSpan::Years(arg1
);
22862 wxPyEndAllowThreads(__tstate
);
22863 if (PyErr_Occurred()) SWIG_fail
;
22866 wxDateSpan
* resultptr
;
22867 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22868 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22876 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22877 PyObject
*resultobj
;
22879 char *kwnames
[] = {
22883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22886 result
= wxDateSpan::Year();
22888 wxPyEndAllowThreads(__tstate
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22892 wxDateSpan
* resultptr
;
22893 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22902 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22903 PyObject
*resultobj
;
22904 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22906 wxDateSpan
*result
;
22907 PyObject
* obj0
= 0 ;
22908 PyObject
* obj1
= 0 ;
22909 char *kwnames
[] = {
22910 (char *) "self",(char *) "n", NULL
22913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22916 arg2
= (int) SWIG_AsInt(obj1
);
22917 if (PyErr_Occurred()) SWIG_fail
;
22919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22921 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22922 result
= (wxDateSpan
*) &_result_ref
;
22925 wxPyEndAllowThreads(__tstate
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22935 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22936 PyObject
*resultobj
;
22937 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22939 wxDateSpan
*result
;
22940 PyObject
* obj0
= 0 ;
22941 PyObject
* obj1
= 0 ;
22942 char *kwnames
[] = {
22943 (char *) "self",(char *) "n", NULL
22946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22949 arg2
= (int) SWIG_AsInt(obj1
);
22950 if (PyErr_Occurred()) SWIG_fail
;
22952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22954 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22955 result
= (wxDateSpan
*) &_result_ref
;
22958 wxPyEndAllowThreads(__tstate
);
22959 if (PyErr_Occurred()) SWIG_fail
;
22961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22968 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22969 PyObject
*resultobj
;
22970 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22972 wxDateSpan
*result
;
22973 PyObject
* obj0
= 0 ;
22974 PyObject
* obj1
= 0 ;
22975 char *kwnames
[] = {
22976 (char *) "self",(char *) "n", NULL
22979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
22980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22982 arg2
= (int) SWIG_AsInt(obj1
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22987 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
22988 result
= (wxDateSpan
*) &_result_ref
;
22991 wxPyEndAllowThreads(__tstate
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23001 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23002 PyObject
*resultobj
;
23003 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23005 wxDateSpan
*result
;
23006 PyObject
* obj0
= 0 ;
23007 PyObject
* obj1
= 0 ;
23008 char *kwnames
[] = {
23009 (char *) "self",(char *) "n", NULL
23012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23015 arg2
= (int) SWIG_AsInt(obj1
);
23016 if (PyErr_Occurred()) SWIG_fail
;
23018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23020 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23021 result
= (wxDateSpan
*) &_result_ref
;
23024 wxPyEndAllowThreads(__tstate
);
23025 if (PyErr_Occurred()) SWIG_fail
;
23027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23034 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23035 PyObject
*resultobj
;
23036 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23038 PyObject
* obj0
= 0 ;
23039 char *kwnames
[] = {
23040 (char *) "self", NULL
23043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23048 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23050 wxPyEndAllowThreads(__tstate
);
23051 if (PyErr_Occurred()) SWIG_fail
;
23053 resultobj
= SWIG_FromInt((int)result
);
23060 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23061 PyObject
*resultobj
;
23062 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23064 PyObject
* obj0
= 0 ;
23065 char *kwnames
[] = {
23066 (char *) "self", NULL
23069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23074 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23076 wxPyEndAllowThreads(__tstate
);
23077 if (PyErr_Occurred()) SWIG_fail
;
23079 resultobj
= SWIG_FromInt((int)result
);
23086 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23087 PyObject
*resultobj
;
23088 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23090 PyObject
* obj0
= 0 ;
23091 char *kwnames
[] = {
23092 (char *) "self", NULL
23095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23100 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23102 wxPyEndAllowThreads(__tstate
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23105 resultobj
= SWIG_FromInt((int)result
);
23112 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23113 PyObject
*resultobj
;
23114 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23116 PyObject
* obj0
= 0 ;
23117 char *kwnames
[] = {
23118 (char *) "self", NULL
23121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23126 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23128 wxPyEndAllowThreads(__tstate
);
23129 if (PyErr_Occurred()) SWIG_fail
;
23131 resultobj
= SWIG_FromInt((int)result
);
23138 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23139 PyObject
*resultobj
;
23140 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23142 PyObject
* obj0
= 0 ;
23143 char *kwnames
[] = {
23144 (char *) "self", NULL
23147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23152 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23154 wxPyEndAllowThreads(__tstate
);
23155 if (PyErr_Occurred()) SWIG_fail
;
23157 resultobj
= SWIG_FromInt((int)result
);
23164 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23165 PyObject
*resultobj
;
23166 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23167 wxDateSpan
*arg2
= 0 ;
23168 wxDateSpan
*result
;
23169 PyObject
* obj0
= 0 ;
23170 PyObject
* obj1
= 0 ;
23171 char *kwnames
[] = {
23172 (char *) "self",(char *) "other", NULL
23175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23178 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23179 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23181 if (arg2
== NULL
) {
23182 PyErr_SetString(PyExc_TypeError
,"null reference");
23186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23188 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23189 result
= (wxDateSpan
*) &_result_ref
;
23192 wxPyEndAllowThreads(__tstate
);
23193 if (PyErr_Occurred()) SWIG_fail
;
23195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23202 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23203 PyObject
*resultobj
;
23204 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23205 wxDateSpan
*arg2
= 0 ;
23206 wxDateSpan
*result
;
23207 PyObject
* obj0
= 0 ;
23208 PyObject
* obj1
= 0 ;
23209 char *kwnames
[] = {
23210 (char *) "self",(char *) "other", NULL
23213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23216 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23217 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23219 if (arg2
== NULL
) {
23220 PyErr_SetString(PyExc_TypeError
,"null reference");
23224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23226 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23227 result
= (wxDateSpan
*) &_result_ref
;
23230 wxPyEndAllowThreads(__tstate
);
23231 if (PyErr_Occurred()) SWIG_fail
;
23233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23240 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23241 PyObject
*resultobj
;
23242 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23243 wxDateSpan
*result
;
23244 PyObject
* obj0
= 0 ;
23245 char *kwnames
[] = {
23246 (char *) "self", NULL
23249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23255 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23256 result
= (wxDateSpan
*) &_result_ref
;
23259 wxPyEndAllowThreads(__tstate
);
23260 if (PyErr_Occurred()) SWIG_fail
;
23262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23269 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23270 PyObject
*resultobj
;
23271 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23273 wxDateSpan
*result
;
23274 PyObject
* obj0
= 0 ;
23275 PyObject
* obj1
= 0 ;
23276 char *kwnames
[] = {
23277 (char *) "self",(char *) "factor", NULL
23280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23283 arg2
= (int) SWIG_AsInt(obj1
);
23284 if (PyErr_Occurred()) SWIG_fail
;
23286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23288 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23289 result
= (wxDateSpan
*) &_result_ref
;
23292 wxPyEndAllowThreads(__tstate
);
23293 if (PyErr_Occurred()) SWIG_fail
;
23295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23302 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23303 PyObject
*resultobj
;
23304 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23305 wxDateSpan
*arg2
= 0 ;
23306 wxDateSpan
*result
;
23307 PyObject
* obj0
= 0 ;
23308 PyObject
* obj1
= 0 ;
23309 char *kwnames
[] = {
23310 (char *) "self",(char *) "other", NULL
23313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23317 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23319 if (arg2
== NULL
) {
23320 PyErr_SetString(PyExc_TypeError
,"null reference");
23324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23326 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23327 result
= (wxDateSpan
*) &_result_ref
;
23330 wxPyEndAllowThreads(__tstate
);
23331 if (PyErr_Occurred()) SWIG_fail
;
23333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23340 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23341 PyObject
*resultobj
;
23342 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23343 wxDateSpan
*arg2
= 0 ;
23344 wxDateSpan
*result
;
23345 PyObject
* obj0
= 0 ;
23346 PyObject
* obj1
= 0 ;
23347 char *kwnames
[] = {
23348 (char *) "self",(char *) "other", NULL
23351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23355 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23357 if (arg2
== NULL
) {
23358 PyErr_SetString(PyExc_TypeError
,"null reference");
23362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23364 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23365 result
= (wxDateSpan
*) &_result_ref
;
23368 wxPyEndAllowThreads(__tstate
);
23369 if (PyErr_Occurred()) SWIG_fail
;
23371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23378 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23379 PyObject
*resultobj
;
23380 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23381 wxDateSpan
*result
;
23382 PyObject
* obj0
= 0 ;
23383 char *kwnames
[] = {
23384 (char *) "self", NULL
23387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23393 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23394 result
= (wxDateSpan
*) &_result_ref
;
23397 wxPyEndAllowThreads(__tstate
);
23398 if (PyErr_Occurred()) SWIG_fail
;
23400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23407 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23408 PyObject
*resultobj
;
23409 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23411 wxDateSpan
*result
;
23412 PyObject
* obj0
= 0 ;
23413 PyObject
* obj1
= 0 ;
23414 char *kwnames
[] = {
23415 (char *) "self",(char *) "factor", NULL
23418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23421 arg2
= (int) SWIG_AsInt(obj1
);
23422 if (PyErr_Occurred()) SWIG_fail
;
23424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23426 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23427 result
= (wxDateSpan
*) &_result_ref
;
23430 wxPyEndAllowThreads(__tstate
);
23431 if (PyErr_Occurred()) SWIG_fail
;
23433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23440 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23441 PyObject
*resultobj
;
23442 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23443 wxDateSpan
*arg2
= 0 ;
23445 PyObject
* obj0
= 0 ;
23446 PyObject
* obj1
= 0 ;
23447 char *kwnames
[] = {
23448 (char *) "self",(char *) "other", NULL
23451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23455 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23457 if (arg2
== NULL
) {
23458 PyErr_SetString(PyExc_TypeError
,"null reference");
23462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23463 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23465 wxPyEndAllowThreads(__tstate
);
23466 if (PyErr_Occurred()) SWIG_fail
;
23469 wxDateSpan
* resultptr
;
23470 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23479 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23480 PyObject
*resultobj
;
23481 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23482 wxDateSpan
*arg2
= 0 ;
23484 PyObject
* obj0
= 0 ;
23485 PyObject
* obj1
= 0 ;
23486 char *kwnames
[] = {
23487 (char *) "self",(char *) "other", NULL
23490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23494 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23496 if (arg2
== NULL
) {
23497 PyErr_SetString(PyExc_TypeError
,"null reference");
23501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23502 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23504 wxPyEndAllowThreads(__tstate
);
23505 if (PyErr_Occurred()) SWIG_fail
;
23508 wxDateSpan
* resultptr
;
23509 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23510 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23518 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23519 PyObject
*resultobj
;
23520 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23523 PyObject
* obj0
= 0 ;
23524 PyObject
* obj1
= 0 ;
23525 char *kwnames
[] = {
23526 (char *) "self",(char *) "n", NULL
23529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23532 arg2
= (int) SWIG_AsInt(obj1
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23536 result
= wxDateSpan___mul__(arg1
,arg2
);
23538 wxPyEndAllowThreads(__tstate
);
23539 if (PyErr_Occurred()) SWIG_fail
;
23542 wxDateSpan
* resultptr
;
23543 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23544 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23552 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23553 PyObject
*resultobj
;
23554 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23557 PyObject
* obj0
= 0 ;
23558 PyObject
* obj1
= 0 ;
23559 char *kwnames
[] = {
23560 (char *) "self",(char *) "n", NULL
23563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23566 arg2
= (int) SWIG_AsInt(obj1
);
23567 if (PyErr_Occurred()) SWIG_fail
;
23569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23570 result
= wxDateSpan___rmul__(arg1
,arg2
);
23572 wxPyEndAllowThreads(__tstate
);
23573 if (PyErr_Occurred()) SWIG_fail
;
23576 wxDateSpan
* resultptr
;
23577 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23586 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23587 PyObject
*resultobj
;
23588 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23589 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23591 PyObject
* obj0
= 0 ;
23592 PyObject
* obj1
= 0 ;
23593 char *kwnames
[] = {
23594 (char *) "self",(char *) "other", NULL
23597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23600 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23604 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23618 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23619 PyObject
*resultobj
;
23620 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23621 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23623 PyObject
* obj0
= 0 ;
23624 PyObject
* obj1
= 0 ;
23625 char *kwnames
[] = {
23626 (char *) "self",(char *) "other", NULL
23629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23636 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23638 wxPyEndAllowThreads(__tstate
);
23639 if (PyErr_Occurred()) SWIG_fail
;
23642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23650 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23653 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23655 return Py_BuildValue((char *)"");
23657 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23658 PyObject
*resultobj
;
23660 char *kwnames
[] = {
23664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23667 result
= (long)wxGetLocalTime();
23669 wxPyEndAllowThreads(__tstate
);
23670 if (PyErr_Occurred()) SWIG_fail
;
23672 resultobj
= SWIG_FromLong((long)result
);
23679 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23680 PyObject
*resultobj
;
23682 char *kwnames
[] = {
23686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23689 result
= (long)wxGetUTCTime();
23691 wxPyEndAllowThreads(__tstate
);
23692 if (PyErr_Occurred()) SWIG_fail
;
23694 resultobj
= SWIG_FromLong((long)result
);
23701 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23702 PyObject
*resultobj
;
23704 char *kwnames
[] = {
23708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23711 result
= (long)wxGetCurrentTime();
23713 wxPyEndAllowThreads(__tstate
);
23714 if (PyErr_Occurred()) SWIG_fail
;
23716 resultobj
= SWIG_FromLong((long)result
);
23723 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23724 PyObject
*resultobj
;
23726 char *kwnames
[] = {
23730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23733 result
= wxGetLocalTimeMillis();
23735 wxPyEndAllowThreads(__tstate
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23739 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23740 hi
= PyLong_FromLong( (&result
)->GetHi() );
23741 lo
= PyLong_FromLong( (&result
)->GetLo() );
23742 shifter
= PyLong_FromLong(32);
23743 shifted
= PyNumber_Lshift(hi
, shifter
);
23744 resultobj
= PyNumber_Or(shifted
, lo
);
23747 Py_DECREF(shifter
);
23748 Py_DECREF(shifted
);
23756 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23757 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23762 static PyObject
*_wrap_DefaultDateTime_get() {
23765 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23770 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23771 PyObject
*resultobj
;
23773 wxDataFormat
*result
;
23774 PyObject
* obj0
= 0 ;
23775 char *kwnames
[] = {
23776 (char *) "type", NULL
23779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23780 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23781 if (PyErr_Occurred()) SWIG_fail
;
23783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23784 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23786 wxPyEndAllowThreads(__tstate
);
23787 if (PyErr_Occurred()) SWIG_fail
;
23789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23796 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23797 PyObject
*resultobj
;
23798 wxString
*arg1
= 0 ;
23799 wxDataFormat
*result
;
23800 bool temp1
= False
;
23801 PyObject
* obj0
= 0 ;
23802 char *kwnames
[] = {
23803 (char *) "format", NULL
23806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23808 arg1
= wxString_in_helper(obj0
);
23809 if (arg1
== NULL
) SWIG_fail
;
23813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23814 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23816 wxPyEndAllowThreads(__tstate
);
23817 if (PyErr_Occurred()) SWIG_fail
;
23819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23834 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23835 PyObject
*resultobj
;
23836 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23837 PyObject
* obj0
= 0 ;
23838 char *kwnames
[] = {
23839 (char *) "self", NULL
23842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23849 wxPyEndAllowThreads(__tstate
);
23850 if (PyErr_Occurred()) SWIG_fail
;
23852 Py_INCREF(Py_None
); resultobj
= Py_None
;
23859 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23860 PyObject
*resultobj
;
23861 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23864 PyObject
* obj0
= 0 ;
23865 PyObject
* obj1
= 0 ;
23867 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23870 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23871 if (PyErr_Occurred()) SWIG_fail
;
23873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23874 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23876 wxPyEndAllowThreads(__tstate
);
23877 if (PyErr_Occurred()) SWIG_fail
;
23880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23888 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23889 PyObject
*resultobj
;
23890 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23893 PyObject
* obj0
= 0 ;
23894 PyObject
* obj1
= 0 ;
23896 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23899 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23900 if (PyErr_Occurred()) SWIG_fail
;
23902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23903 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23905 wxPyEndAllowThreads(__tstate
);
23906 if (PyErr_Occurred()) SWIG_fail
;
23909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23917 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
23918 PyObject
*resultobj
;
23919 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23920 wxDataFormat
*arg2
= 0 ;
23922 PyObject
* obj0
= 0 ;
23923 PyObject
* obj1
= 0 ;
23925 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23928 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23929 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23931 if (arg2
== NULL
) {
23932 PyErr_SetString(PyExc_TypeError
,"null reference");
23936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23937 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23939 wxPyEndAllowThreads(__tstate
);
23940 if (PyErr_Occurred()) SWIG_fail
;
23943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23951 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23956 argc
= PyObject_Length(args
);
23957 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23958 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23964 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23974 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23982 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
23990 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23998 _v
= SWIG_CheckInt(argv
[1]);
24000 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24005 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24010 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
24011 PyObject
*resultobj
;
24012 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24013 wxDataFormat
*arg2
= 0 ;
24015 PyObject
* obj0
= 0 ;
24016 PyObject
* obj1
= 0 ;
24018 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24021 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24024 if (arg2
== NULL
) {
24025 PyErr_SetString(PyExc_TypeError
,"null reference");
24029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24030 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24032 wxPyEndAllowThreads(__tstate
);
24033 if (PyErr_Occurred()) SWIG_fail
;
24036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24044 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24049 argc
= PyObject_Length(args
);
24050 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24051 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24057 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24067 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24075 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24083 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24091 _v
= SWIG_CheckInt(argv
[1]);
24093 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24098 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24103 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24104 PyObject
*resultobj
;
24105 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24107 PyObject
* obj0
= 0 ;
24108 PyObject
* obj1
= 0 ;
24109 char *kwnames
[] = {
24110 (char *) "self",(char *) "format", NULL
24113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24116 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24117 if (PyErr_Occurred()) SWIG_fail
;
24119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24120 (arg1
)->SetType((wxDataFormatId
)arg2
);
24122 wxPyEndAllowThreads(__tstate
);
24123 if (PyErr_Occurred()) SWIG_fail
;
24125 Py_INCREF(Py_None
); resultobj
= Py_None
;
24132 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24133 PyObject
*resultobj
;
24134 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24136 PyObject
* obj0
= 0 ;
24137 char *kwnames
[] = {
24138 (char *) "self", NULL
24141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24146 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24148 wxPyEndAllowThreads(__tstate
);
24149 if (PyErr_Occurred()) SWIG_fail
;
24151 resultobj
= SWIG_FromInt((int)result
);
24158 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24159 PyObject
*resultobj
;
24160 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24162 PyObject
* obj0
= 0 ;
24163 char *kwnames
[] = {
24164 (char *) "self", NULL
24167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24172 result
= ((wxDataFormat
const *)arg1
)->GetId();
24174 wxPyEndAllowThreads(__tstate
);
24175 if (PyErr_Occurred()) SWIG_fail
;
24179 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24181 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24190 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24191 PyObject
*resultobj
;
24192 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24193 wxString
*arg2
= 0 ;
24194 bool temp2
= False
;
24195 PyObject
* obj0
= 0 ;
24196 PyObject
* obj1
= 0 ;
24197 char *kwnames
[] = {
24198 (char *) "self",(char *) "format", NULL
24201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24205 arg2
= wxString_in_helper(obj1
);
24206 if (arg2
== NULL
) SWIG_fail
;
24210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24211 (arg1
)->SetId((wxString
const &)*arg2
);
24213 wxPyEndAllowThreads(__tstate
);
24214 if (PyErr_Occurred()) SWIG_fail
;
24216 Py_INCREF(Py_None
); resultobj
= Py_None
;
24231 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24234 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24236 return Py_BuildValue((char *)"");
24238 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24239 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24244 static PyObject
*_wrap_FormatInvalid_get() {
24247 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24252 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24253 PyObject
*resultobj
;
24254 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24255 PyObject
* obj0
= 0 ;
24256 char *kwnames
[] = {
24257 (char *) "self", NULL
24260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24267 wxPyEndAllowThreads(__tstate
);
24268 if (PyErr_Occurred()) SWIG_fail
;
24270 Py_INCREF(Py_None
); resultobj
= Py_None
;
24277 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24278 PyObject
*resultobj
;
24279 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24280 int arg2
= (int) wxDataObject::Get
;
24281 SwigValueWrapper
< wxDataFormat
> result
;
24282 PyObject
* obj0
= 0 ;
24283 PyObject
* obj1
= 0 ;
24284 char *kwnames
[] = {
24285 (char *) "self",(char *) "dir", NULL
24288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24292 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24297 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24299 wxPyEndAllowThreads(__tstate
);
24300 if (PyErr_Occurred()) SWIG_fail
;
24303 wxDataFormat
* resultptr
;
24304 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24305 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24313 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24314 PyObject
*resultobj
;
24315 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24316 int arg2
= (int) wxDataObject::Get
;
24318 PyObject
* obj0
= 0 ;
24319 PyObject
* obj1
= 0 ;
24320 char *kwnames
[] = {
24321 (char *) "self",(char *) "dir", NULL
24324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24328 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24329 if (PyErr_Occurred()) SWIG_fail
;
24332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24333 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24335 wxPyEndAllowThreads(__tstate
);
24336 if (PyErr_Occurred()) SWIG_fail
;
24338 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24345 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24346 PyObject
*resultobj
;
24347 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24348 wxDataFormat
*arg2
= 0 ;
24349 int arg3
= (int) wxDataObject::Get
;
24351 PyObject
* obj0
= 0 ;
24352 PyObject
* obj1
= 0 ;
24353 PyObject
* obj2
= 0 ;
24354 char *kwnames
[] = {
24355 (char *) "self",(char *) "format",(char *) "dir", NULL
24358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24362 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24364 if (arg2
== NULL
) {
24365 PyErr_SetString(PyExc_TypeError
,"null reference");
24369 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24370 if (PyErr_Occurred()) SWIG_fail
;
24373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24374 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24376 wxPyEndAllowThreads(__tstate
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24388 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
;
24390 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24391 wxDataFormat
*arg2
= 0 ;
24393 PyObject
* obj0
= 0 ;
24394 PyObject
* obj1
= 0 ;
24395 char *kwnames
[] = {
24396 (char *) "self",(char *) "format", NULL
24399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24403 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24405 if (arg2
== NULL
) {
24406 PyErr_SetString(PyExc_TypeError
,"null reference");
24410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24411 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24413 wxPyEndAllowThreads(__tstate
);
24414 if (PyErr_Occurred()) SWIG_fail
;
24416 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24423 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24424 PyObject
*resultobj
;
24425 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24426 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
24427 int arg3
= (int) wxDataObject::Get
;
24428 PyObject
* obj0
= 0 ;
24429 PyObject
* obj1
= 0 ;
24430 PyObject
* obj2
= 0 ;
24431 char *kwnames
[] = {
24432 (char *) "self",(char *) "formats",(char *) "dir", NULL
24435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24441 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24442 if (PyErr_Occurred()) SWIG_fail
;
24445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24446 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
24448 wxPyEndAllowThreads(__tstate
);
24449 if (PyErr_Occurred()) SWIG_fail
;
24451 Py_INCREF(Py_None
); resultobj
= Py_None
;
24458 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24459 PyObject
*resultobj
;
24460 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24461 wxDataFormat
*arg2
= 0 ;
24462 void *arg3
= (void *) 0 ;
24464 PyObject
* obj0
= 0 ;
24465 PyObject
* obj1
= 0 ;
24466 PyObject
* obj2
= 0 ;
24467 char *kwnames
[] = {
24468 (char *) "self",(char *) "format",(char *) "buf", NULL
24471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24475 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24477 if (arg2
== NULL
) {
24478 PyErr_SetString(PyExc_TypeError
,"null reference");
24481 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24484 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
24486 wxPyEndAllowThreads(__tstate
);
24487 if (PyErr_Occurred()) SWIG_fail
;
24490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24498 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24499 PyObject
*resultobj
;
24500 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24501 wxDataFormat
*arg2
= 0 ;
24503 void *arg4
= (void *) 0 ;
24505 PyObject
* obj0
= 0 ;
24506 PyObject
* obj1
= 0 ;
24507 PyObject
* obj2
= 0 ;
24508 PyObject
* obj3
= 0 ;
24509 char *kwnames
[] = {
24510 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24517 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24519 if (arg2
== NULL
) {
24520 PyErr_SetString(PyExc_TypeError
,"null reference");
24523 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
24524 if (PyErr_Occurred()) SWIG_fail
;
24525 if ((SWIG_ConvertPtr(obj3
,&arg4
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24528 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
24530 wxPyEndAllowThreads(__tstate
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24542 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24545 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24547 return Py_BuildValue((char *)"");
24549 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24550 PyObject
*resultobj
;
24551 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24552 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24553 wxDataObjectSimple
*result
;
24554 PyObject
* obj0
= 0 ;
24555 char *kwnames
[] = {
24556 (char *) "format", NULL
24559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24562 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24564 if (arg1
== NULL
) {
24565 PyErr_SetString(PyExc_TypeError
,"null reference");
24570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24571 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24573 wxPyEndAllowThreads(__tstate
);
24574 if (PyErr_Occurred()) SWIG_fail
;
24576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24583 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24584 PyObject
*resultobj
;
24585 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24586 wxDataFormat
*result
;
24587 PyObject
* obj0
= 0 ;
24588 char *kwnames
[] = {
24589 (char *) "self", NULL
24592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24598 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24599 result
= (wxDataFormat
*) &_result_ref
;
24602 wxPyEndAllowThreads(__tstate
);
24603 if (PyErr_Occurred()) SWIG_fail
;
24605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24612 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24613 PyObject
*resultobj
;
24614 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24615 wxDataFormat
*arg2
= 0 ;
24616 PyObject
* obj0
= 0 ;
24617 PyObject
* obj1
= 0 ;
24618 char *kwnames
[] = {
24619 (char *) "self",(char *) "format", NULL
24622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24626 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24628 if (arg2
== NULL
) {
24629 PyErr_SetString(PyExc_TypeError
,"null reference");
24633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24634 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24636 wxPyEndAllowThreads(__tstate
);
24637 if (PyErr_Occurred()) SWIG_fail
;
24639 Py_INCREF(Py_None
); resultobj
= Py_None
;
24646 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24649 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24651 return Py_BuildValue((char *)"");
24653 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24654 PyObject
*resultobj
;
24655 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24656 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24657 wxPyDataObjectSimple
*result
;
24658 PyObject
* obj0
= 0 ;
24659 char *kwnames
[] = {
24660 (char *) "format", NULL
24663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24666 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24668 if (arg1
== NULL
) {
24669 PyErr_SetString(PyExc_TypeError
,"null reference");
24674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24675 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24677 wxPyEndAllowThreads(__tstate
);
24678 if (PyErr_Occurred()) SWIG_fail
;
24680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24687 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24688 PyObject
*resultobj
;
24689 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24690 PyObject
*arg2
= (PyObject
*) 0 ;
24691 PyObject
*arg3
= (PyObject
*) 0 ;
24692 PyObject
* obj0
= 0 ;
24693 PyObject
* obj1
= 0 ;
24694 PyObject
* obj2
= 0 ;
24695 char *kwnames
[] = {
24696 (char *) "self",(char *) "self",(char *) "_class", NULL
24699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24706 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24708 wxPyEndAllowThreads(__tstate
);
24709 if (PyErr_Occurred()) SWIG_fail
;
24711 Py_INCREF(Py_None
); resultobj
= Py_None
;
24718 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24721 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24723 return Py_BuildValue((char *)"");
24725 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24726 PyObject
*resultobj
;
24727 wxDataObjectComposite
*result
;
24728 char *kwnames
[] = {
24732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24735 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24737 wxPyEndAllowThreads(__tstate
);
24738 if (PyErr_Occurred()) SWIG_fail
;
24740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24747 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24748 PyObject
*resultobj
;
24749 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24750 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24751 int arg3
= (int) False
;
24752 PyObject
* obj0
= 0 ;
24753 PyObject
* obj1
= 0 ;
24754 PyObject
* obj2
= 0 ;
24755 char *kwnames
[] = {
24756 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24763 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24765 arg3
= (int) SWIG_AsInt(obj2
);
24766 if (PyErr_Occurred()) SWIG_fail
;
24769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24770 (arg1
)->Add(arg2
,arg3
);
24772 wxPyEndAllowThreads(__tstate
);
24773 if (PyErr_Occurred()) SWIG_fail
;
24775 Py_INCREF(Py_None
); resultobj
= Py_None
;
24782 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24785 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24787 return Py_BuildValue((char *)"");
24789 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24790 PyObject
*resultobj
;
24791 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24792 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24793 wxTextDataObject
*result
;
24794 bool temp1
= False
;
24795 PyObject
* obj0
= 0 ;
24796 char *kwnames
[] = {
24797 (char *) "text", NULL
24800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24803 arg1
= wxString_in_helper(obj0
);
24804 if (arg1
== NULL
) SWIG_fail
;
24809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24810 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24812 wxPyEndAllowThreads(__tstate
);
24813 if (PyErr_Occurred()) SWIG_fail
;
24815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24830 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24831 PyObject
*resultobj
;
24832 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24834 PyObject
* obj0
= 0 ;
24835 char *kwnames
[] = {
24836 (char *) "self", NULL
24839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 result
= (size_t)(arg1
)->GetTextLength();
24846 wxPyEndAllowThreads(__tstate
);
24847 if (PyErr_Occurred()) SWIG_fail
;
24849 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24856 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24857 PyObject
*resultobj
;
24858 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24860 PyObject
* obj0
= 0 ;
24861 char *kwnames
[] = {
24862 (char *) "self", NULL
24865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24870 result
= (arg1
)->GetText();
24872 wxPyEndAllowThreads(__tstate
);
24873 if (PyErr_Occurred()) SWIG_fail
;
24877 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24879 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24888 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24889 PyObject
*resultobj
;
24890 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24891 wxString
*arg2
= 0 ;
24892 bool temp2
= False
;
24893 PyObject
* obj0
= 0 ;
24894 PyObject
* obj1
= 0 ;
24895 char *kwnames
[] = {
24896 (char *) "self",(char *) "text", NULL
24899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24903 arg2
= wxString_in_helper(obj1
);
24904 if (arg2
== NULL
) SWIG_fail
;
24908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24909 (arg1
)->SetText((wxString
const &)*arg2
);
24911 wxPyEndAllowThreads(__tstate
);
24912 if (PyErr_Occurred()) SWIG_fail
;
24914 Py_INCREF(Py_None
); resultobj
= Py_None
;
24929 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24932 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
24934 return Py_BuildValue((char *)"");
24936 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24937 PyObject
*resultobj
;
24938 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24939 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24940 wxPyTextDataObject
*result
;
24941 bool temp1
= False
;
24942 PyObject
* obj0
= 0 ;
24943 char *kwnames
[] = {
24944 (char *) "text", NULL
24947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
24950 arg1
= wxString_in_helper(obj0
);
24951 if (arg1
== NULL
) SWIG_fail
;
24956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24957 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
24959 wxPyEndAllowThreads(__tstate
);
24960 if (PyErr_Occurred()) SWIG_fail
;
24962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
24977 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24978 PyObject
*resultobj
;
24979 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
24980 PyObject
*arg2
= (PyObject
*) 0 ;
24981 PyObject
*arg3
= (PyObject
*) 0 ;
24982 PyObject
* obj0
= 0 ;
24983 PyObject
* obj1
= 0 ;
24984 PyObject
* obj2
= 0 ;
24985 char *kwnames
[] = {
24986 (char *) "self",(char *) "self",(char *) "_class", NULL
24989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
24991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24996 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24998 wxPyEndAllowThreads(__tstate
);
24999 if (PyErr_Occurred()) SWIG_fail
;
25001 Py_INCREF(Py_None
); resultobj
= Py_None
;
25008 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25010 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25011 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25013 return Py_BuildValue((char *)"");
25015 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25016 PyObject
*resultobj
;
25017 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25018 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25019 wxBitmapDataObject
*result
;
25020 PyObject
* obj0
= 0 ;
25021 char *kwnames
[] = {
25022 (char *) "bitmap", NULL
25025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25028 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25030 if (arg1
== NULL
) {
25031 PyErr_SetString(PyExc_TypeError
,"null reference");
25036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25037 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25039 wxPyEndAllowThreads(__tstate
);
25040 if (PyErr_Occurred()) SWIG_fail
;
25042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25049 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25050 PyObject
*resultobj
;
25051 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25053 PyObject
* obj0
= 0 ;
25054 char *kwnames
[] = {
25055 (char *) "self", NULL
25058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25063 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25065 wxPyEndAllowThreads(__tstate
);
25066 if (PyErr_Occurred()) SWIG_fail
;
25069 wxBitmap
* resultptr
;
25070 resultptr
= new wxBitmap((wxBitmap
&) result
);
25071 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25079 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25080 PyObject
*resultobj
;
25081 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25082 wxBitmap
*arg2
= 0 ;
25083 PyObject
* obj0
= 0 ;
25084 PyObject
* obj1
= 0 ;
25085 char *kwnames
[] = {
25086 (char *) "self",(char *) "bitmap", NULL
25089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25093 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25095 if (arg2
== NULL
) {
25096 PyErr_SetString(PyExc_TypeError
,"null reference");
25100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25101 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25103 wxPyEndAllowThreads(__tstate
);
25104 if (PyErr_Occurred()) SWIG_fail
;
25106 Py_INCREF(Py_None
); resultobj
= Py_None
;
25113 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25116 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25118 return Py_BuildValue((char *)"");
25120 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25121 PyObject
*resultobj
;
25122 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25123 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25124 wxPyBitmapDataObject
*result
;
25125 PyObject
* obj0
= 0 ;
25126 char *kwnames
[] = {
25127 (char *) "bitmap", NULL
25130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25133 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25135 if (arg1
== NULL
) {
25136 PyErr_SetString(PyExc_TypeError
,"null reference");
25141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25142 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25144 wxPyEndAllowThreads(__tstate
);
25145 if (PyErr_Occurred()) SWIG_fail
;
25147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25154 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25155 PyObject
*resultobj
;
25156 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25157 PyObject
*arg2
= (PyObject
*) 0 ;
25158 PyObject
*arg3
= (PyObject
*) 0 ;
25159 PyObject
* obj0
= 0 ;
25160 PyObject
* obj1
= 0 ;
25161 PyObject
* obj2
= 0 ;
25162 char *kwnames
[] = {
25163 (char *) "self",(char *) "self",(char *) "_class", NULL
25166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25173 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25175 wxPyEndAllowThreads(__tstate
);
25176 if (PyErr_Occurred()) SWIG_fail
;
25178 Py_INCREF(Py_None
); resultobj
= Py_None
;
25185 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25188 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25190 return Py_BuildValue((char *)"");
25192 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25193 PyObject
*resultobj
;
25194 wxFileDataObject
*result
;
25195 char *kwnames
[] = {
25199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25202 result
= (wxFileDataObject
*)new wxFileDataObject();
25204 wxPyEndAllowThreads(__tstate
);
25205 if (PyErr_Occurred()) SWIG_fail
;
25207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25214 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25215 PyObject
*resultobj
;
25216 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25217 wxArrayString
*result
;
25218 PyObject
* obj0
= 0 ;
25219 char *kwnames
[] = {
25220 (char *) "self", NULL
25223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25229 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25230 result
= (wxArrayString
*) &_result_ref
;
25233 wxPyEndAllowThreads(__tstate
);
25234 if (PyErr_Occurred()) SWIG_fail
;
25237 resultobj
= wxArrayString2PyList_helper(*result
);
25245 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25246 PyObject
*resultobj
;
25247 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25248 wxString
*arg2
= 0 ;
25249 bool temp2
= False
;
25250 PyObject
* obj0
= 0 ;
25251 PyObject
* obj1
= 0 ;
25252 char *kwnames
[] = {
25253 (char *) "self",(char *) "filename", NULL
25256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25260 arg2
= wxString_in_helper(obj1
);
25261 if (arg2
== NULL
) SWIG_fail
;
25265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25266 (arg1
)->AddFile((wxString
const &)*arg2
);
25268 wxPyEndAllowThreads(__tstate
);
25269 if (PyErr_Occurred()) SWIG_fail
;
25271 Py_INCREF(Py_None
); resultobj
= Py_None
;
25286 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25289 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25291 return Py_BuildValue((char *)"");
25293 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25294 PyObject
*resultobj
;
25295 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25296 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25297 wxCustomDataObject
*result
;
25298 PyObject
* obj0
= 0 ;
25299 char *kwnames
[] = {
25300 (char *) "format", NULL
25303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25306 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25308 if (arg1
== NULL
) {
25309 PyErr_SetString(PyExc_TypeError
,"null reference");
25314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25317 wxPyEndAllowThreads(__tstate
);
25318 if (PyErr_Occurred()) SWIG_fail
;
25320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25327 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25328 PyObject
*resultobj
;
25329 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25330 PyObject
*arg2
= (PyObject
*) 0 ;
25331 PyObject
* obj0
= 0 ;
25332 PyObject
* obj1
= 0 ;
25333 char *kwnames
[] = {
25334 (char *) "self",(char *) "data", NULL
25337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
25338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25343 wxCustomDataObject_TakeData(arg1
,arg2
);
25345 wxPyEndAllowThreads(__tstate
);
25346 if (PyErr_Occurred()) SWIG_fail
;
25348 Py_INCREF(Py_None
); resultobj
= Py_None
;
25355 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25356 PyObject
*resultobj
;
25357 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25358 PyObject
*arg2
= (PyObject
*) 0 ;
25360 PyObject
* obj0
= 0 ;
25361 PyObject
* obj1
= 0 ;
25362 char *kwnames
[] = {
25363 (char *) "self",(char *) "data", NULL
25366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25372 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25374 wxPyEndAllowThreads(__tstate
);
25375 if (PyErr_Occurred()) SWIG_fail
;
25378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25386 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25387 PyObject
*resultobj
;
25388 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25390 PyObject
* obj0
= 0 ;
25391 char *kwnames
[] = {
25392 (char *) "self", NULL
25395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25400 result
= (size_t)(arg1
)->GetSize();
25402 wxPyEndAllowThreads(__tstate
);
25403 if (PyErr_Occurred()) SWIG_fail
;
25405 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25412 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25413 PyObject
*resultobj
;
25414 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25416 PyObject
* obj0
= 0 ;
25417 char *kwnames
[] = {
25418 (char *) "self", NULL
25421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25426 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25428 wxPyEndAllowThreads(__tstate
);
25429 if (PyErr_Occurred()) SWIG_fail
;
25431 resultobj
= result
;
25438 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25441 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25443 return Py_BuildValue((char *)"");
25445 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25446 PyObject
*resultobj
;
25447 wxURLDataObject
*result
;
25448 char *kwnames
[] = {
25452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25455 result
= (wxURLDataObject
*)new wxURLDataObject();
25457 wxPyEndAllowThreads(__tstate
);
25458 if (PyErr_Occurred()) SWIG_fail
;
25460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25467 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25468 PyObject
*resultobj
;
25469 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25471 PyObject
* obj0
= 0 ;
25472 char *kwnames
[] = {
25473 (char *) "self", NULL
25476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25481 result
= (arg1
)->GetURL();
25483 wxPyEndAllowThreads(__tstate
);
25484 if (PyErr_Occurred()) SWIG_fail
;
25488 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25490 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25499 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25500 PyObject
*resultobj
;
25501 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25502 wxString
*arg2
= 0 ;
25503 bool temp2
= False
;
25504 PyObject
* obj0
= 0 ;
25505 PyObject
* obj1
= 0 ;
25506 char *kwnames
[] = {
25507 (char *) "self",(char *) "url", NULL
25510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25514 arg2
= wxString_in_helper(obj1
);
25515 if (arg2
== NULL
) SWIG_fail
;
25519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25520 (arg1
)->SetURL((wxString
const &)*arg2
);
25522 wxPyEndAllowThreads(__tstate
);
25523 if (PyErr_Occurred()) SWIG_fail
;
25525 Py_INCREF(Py_None
); resultobj
= Py_None
;
25540 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25543 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25545 return Py_BuildValue((char *)"");
25547 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25548 PyObject
*resultobj
;
25549 wxMetafileDataObject
*result
;
25550 char *kwnames
[] = {
25554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25557 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25559 wxPyEndAllowThreads(__tstate
);
25560 if (PyErr_Occurred()) SWIG_fail
;
25562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25569 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25570 PyObject
*resultobj
;
25571 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25572 wxMetafile
*arg2
= 0 ;
25573 PyObject
* obj0
= 0 ;
25574 PyObject
* obj1
= 0 ;
25575 char *kwnames
[] = {
25576 (char *) "self",(char *) "metafile", NULL
25579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
25583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25585 if (arg2
== NULL
) {
25586 PyErr_SetString(PyExc_TypeError
,"null reference");
25590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25591 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25593 wxPyEndAllowThreads(__tstate
);
25594 if (PyErr_Occurred()) SWIG_fail
;
25596 Py_INCREF(Py_None
); resultobj
= Py_None
;
25603 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25604 PyObject
*resultobj
;
25605 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25607 PyObject
* obj0
= 0 ;
25608 char *kwnames
[] = {
25609 (char *) "self", NULL
25612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25617 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25619 wxPyEndAllowThreads(__tstate
);
25620 if (PyErr_Occurred()) SWIG_fail
;
25623 wxMetafile
* resultptr
;
25624 resultptr
= new wxMetafile((wxMetafile
&) result
);
25625 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
25633 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25636 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25638 return Py_BuildValue((char *)"");
25640 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25641 PyObject
*resultobj
;
25644 PyObject
* obj0
= 0 ;
25645 char *kwnames
[] = {
25646 (char *) "res", NULL
25649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25650 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25651 if (PyErr_Occurred()) SWIG_fail
;
25653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25654 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25656 wxPyEndAllowThreads(__tstate
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25668 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25669 PyObject
*resultobj
;
25670 wxWindow
*arg1
= (wxWindow
*) 0 ;
25671 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25672 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25673 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25674 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25675 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25676 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25677 wxPyDropSource
*result
;
25678 PyObject
* obj0
= 0 ;
25679 PyObject
* obj1
= 0 ;
25680 PyObject
* obj2
= 0 ;
25681 PyObject
* obj3
= 0 ;
25682 char *kwnames
[] = {
25683 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25691 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25693 if (arg2
== NULL
) {
25694 PyErr_SetString(PyExc_TypeError
,"null reference");
25699 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25702 if (arg3
== NULL
) {
25703 PyErr_SetString(PyExc_TypeError
,"null reference");
25708 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
25709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25711 if (arg4
== NULL
) {
25712 PyErr_SetString(PyExc_TypeError
,"null reference");
25717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25718 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25720 wxPyEndAllowThreads(__tstate
);
25721 if (PyErr_Occurred()) SWIG_fail
;
25723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25730 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25731 PyObject
*resultobj
;
25732 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25733 PyObject
*arg2
= (PyObject
*) 0 ;
25734 PyObject
*arg3
= (PyObject
*) 0 ;
25736 PyObject
* obj0
= 0 ;
25737 PyObject
* obj1
= 0 ;
25738 PyObject
* obj2
= 0 ;
25739 PyObject
* obj3
= 0 ;
25740 char *kwnames
[] = {
25741 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25749 arg4
= (int) SWIG_AsInt(obj3
);
25750 if (PyErr_Occurred()) SWIG_fail
;
25752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25753 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25755 wxPyEndAllowThreads(__tstate
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25758 Py_INCREF(Py_None
); resultobj
= Py_None
;
25765 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25766 PyObject
*resultobj
;
25767 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25768 PyObject
* obj0
= 0 ;
25769 char *kwnames
[] = {
25770 (char *) "self", NULL
25773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25780 wxPyEndAllowThreads(__tstate
);
25781 if (PyErr_Occurred()) SWIG_fail
;
25783 Py_INCREF(Py_None
); resultobj
= Py_None
;
25790 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25791 PyObject
*resultobj
;
25792 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25793 wxDataObject
*arg2
= 0 ;
25794 PyObject
* obj0
= 0 ;
25795 PyObject
* obj1
= 0 ;
25796 char *kwnames
[] = {
25797 (char *) "self",(char *) "data", NULL
25800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25804 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25806 if (arg2
== NULL
) {
25807 PyErr_SetString(PyExc_TypeError
,"null reference");
25811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25812 (arg1
)->SetData(*arg2
);
25814 wxPyEndAllowThreads(__tstate
);
25815 if (PyErr_Occurred()) SWIG_fail
;
25817 Py_INCREF(Py_None
); resultobj
= Py_None
;
25824 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25825 PyObject
*resultobj
;
25826 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25827 wxDataObject
*result
;
25828 PyObject
* obj0
= 0 ;
25829 char *kwnames
[] = {
25830 (char *) "self", NULL
25833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25838 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25840 wxPyEndAllowThreads(__tstate
);
25841 if (PyErr_Occurred()) SWIG_fail
;
25843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25850 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25851 PyObject
*resultobj
;
25852 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25854 wxCursor
*arg3
= 0 ;
25855 PyObject
* obj0
= 0 ;
25856 PyObject
* obj1
= 0 ;
25857 PyObject
* obj2
= 0 ;
25858 char *kwnames
[] = {
25859 (char *) "self",(char *) "res",(char *) "cursor", NULL
25862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25865 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25866 if (PyErr_Occurred()) SWIG_fail
;
25867 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25868 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25870 if (arg3
== NULL
) {
25871 PyErr_SetString(PyExc_TypeError
,"null reference");
25875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25876 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25878 wxPyEndAllowThreads(__tstate
);
25879 if (PyErr_Occurred()) SWIG_fail
;
25881 Py_INCREF(Py_None
); resultobj
= Py_None
;
25888 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25889 PyObject
*resultobj
;
25890 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25891 int arg2
= (int) wxDrag_CopyOnly
;
25893 PyObject
* obj0
= 0 ;
25894 PyObject
* obj1
= 0 ;
25895 char *kwnames
[] = {
25896 (char *) "self",(char *) "flags", NULL
25899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25903 arg2
= (int) SWIG_AsInt(obj1
);
25904 if (PyErr_Occurred()) SWIG_fail
;
25907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25908 result
= (int)(arg1
)->DoDragDrop(arg2
);
25910 wxPyEndAllowThreads(__tstate
);
25911 if (PyErr_Occurred()) SWIG_fail
;
25913 resultobj
= SWIG_FromInt((int)result
);
25920 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25921 PyObject
*resultobj
;
25922 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25925 PyObject
* obj0
= 0 ;
25926 PyObject
* obj1
= 0 ;
25927 char *kwnames
[] = {
25928 (char *) "self",(char *) "effect", NULL
25931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25934 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25935 if (PyErr_Occurred()) SWIG_fail
;
25937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25938 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25940 wxPyEndAllowThreads(__tstate
);
25941 if (PyErr_Occurred()) SWIG_fail
;
25944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25952 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
25954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25955 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25957 return Py_BuildValue((char *)"");
25959 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25960 PyObject
*resultobj
;
25961 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25962 wxPyDropTarget
*result
;
25963 PyObject
* obj0
= 0 ;
25964 char *kwnames
[] = {
25965 (char *) "dataObject", NULL
25968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
25970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25971 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25975 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25977 wxPyEndAllowThreads(__tstate
);
25978 if (PyErr_Occurred()) SWIG_fail
;
25980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
25987 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25988 PyObject
*resultobj
;
25989 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25990 PyObject
*arg2
= (PyObject
*) 0 ;
25991 PyObject
*arg3
= (PyObject
*) 0 ;
25992 PyObject
* obj0
= 0 ;
25993 PyObject
* obj1
= 0 ;
25994 PyObject
* obj2
= 0 ;
25995 char *kwnames
[] = {
25996 (char *) "self",(char *) "self",(char *) "_class", NULL
25999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26006 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26008 wxPyEndAllowThreads(__tstate
);
26009 if (PyErr_Occurred()) SWIG_fail
;
26011 Py_INCREF(Py_None
); resultobj
= Py_None
;
26018 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26019 PyObject
*resultobj
;
26020 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26021 PyObject
* obj0
= 0 ;
26022 char *kwnames
[] = {
26023 (char *) "self", NULL
26026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26033 wxPyEndAllowThreads(__tstate
);
26034 if (PyErr_Occurred()) SWIG_fail
;
26036 Py_INCREF(Py_None
); resultobj
= Py_None
;
26043 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26044 PyObject
*resultobj
;
26045 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26046 wxDataObject
*result
;
26047 PyObject
* obj0
= 0 ;
26048 char *kwnames
[] = {
26049 (char *) "self", NULL
26052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26057 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26059 wxPyEndAllowThreads(__tstate
);
26060 if (PyErr_Occurred()) SWIG_fail
;
26062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26069 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26070 PyObject
*resultobj
;
26071 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26072 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26073 PyObject
* obj0
= 0 ;
26074 PyObject
* obj1
= 0 ;
26075 char *kwnames
[] = {
26076 (char *) "self",(char *) "dataObject", NULL
26079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26083 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26086 (arg1
)->SetDataObject(arg2
);
26088 wxPyEndAllowThreads(__tstate
);
26089 if (PyErr_Occurred()) SWIG_fail
;
26091 Py_INCREF(Py_None
); resultobj
= Py_None
;
26098 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26099 PyObject
*resultobj
;
26100 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26105 PyObject
* obj0
= 0 ;
26106 PyObject
* obj1
= 0 ;
26107 PyObject
* obj2
= 0 ;
26108 PyObject
* obj3
= 0 ;
26109 char *kwnames
[] = {
26110 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26116 arg2
= (int) SWIG_AsInt(obj1
);
26117 if (PyErr_Occurred()) SWIG_fail
;
26118 arg3
= (int) SWIG_AsInt(obj2
);
26119 if (PyErr_Occurred()) SWIG_fail
;
26120 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26121 if (PyErr_Occurred()) SWIG_fail
;
26123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26124 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26126 wxPyEndAllowThreads(__tstate
);
26127 if (PyErr_Occurred()) SWIG_fail
;
26129 resultobj
= SWIG_FromInt((int)result
);
26136 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26137 PyObject
*resultobj
;
26138 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26143 PyObject
* obj0
= 0 ;
26144 PyObject
* obj1
= 0 ;
26145 PyObject
* obj2
= 0 ;
26146 PyObject
* obj3
= 0 ;
26147 char *kwnames
[] = {
26148 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26154 arg2
= (int) SWIG_AsInt(obj1
);
26155 if (PyErr_Occurred()) SWIG_fail
;
26156 arg3
= (int) SWIG_AsInt(obj2
);
26157 if (PyErr_Occurred()) SWIG_fail
;
26158 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26159 if (PyErr_Occurred()) SWIG_fail
;
26161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26162 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26164 wxPyEndAllowThreads(__tstate
);
26165 if (PyErr_Occurred()) SWIG_fail
;
26167 resultobj
= SWIG_FromInt((int)result
);
26174 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26175 PyObject
*resultobj
;
26176 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26177 PyObject
* obj0
= 0 ;
26178 char *kwnames
[] = {
26179 (char *) "self", NULL
26182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26187 (arg1
)->base_OnLeave();
26189 wxPyEndAllowThreads(__tstate
);
26190 if (PyErr_Occurred()) SWIG_fail
;
26192 Py_INCREF(Py_None
); resultobj
= Py_None
;
26199 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26200 PyObject
*resultobj
;
26201 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26205 PyObject
* obj0
= 0 ;
26206 PyObject
* obj1
= 0 ;
26207 PyObject
* obj2
= 0 ;
26208 char *kwnames
[] = {
26209 (char *) "self",(char *) "x",(char *) "y", NULL
26212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26215 arg2
= (int) SWIG_AsInt(obj1
);
26216 if (PyErr_Occurred()) SWIG_fail
;
26217 arg3
= (int) SWIG_AsInt(obj2
);
26218 if (PyErr_Occurred()) SWIG_fail
;
26220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26221 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26223 wxPyEndAllowThreads(__tstate
);
26224 if (PyErr_Occurred()) SWIG_fail
;
26227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26235 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26236 PyObject
*resultobj
;
26237 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26239 PyObject
* obj0
= 0 ;
26240 char *kwnames
[] = {
26241 (char *) "self", NULL
26244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26249 result
= (bool)(arg1
)->GetData();
26251 wxPyEndAllowThreads(__tstate
);
26252 if (PyErr_Occurred()) SWIG_fail
;
26255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26263 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26266 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26268 return Py_BuildValue((char *)"");
26270 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26271 PyObject
*resultobj
;
26272 wxPyTextDropTarget
*result
;
26273 char *kwnames
[] = {
26277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26280 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26282 wxPyEndAllowThreads(__tstate
);
26283 if (PyErr_Occurred()) SWIG_fail
;
26285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26292 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26293 PyObject
*resultobj
;
26294 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26295 PyObject
*arg2
= (PyObject
*) 0 ;
26296 PyObject
*arg3
= (PyObject
*) 0 ;
26297 PyObject
* obj0
= 0 ;
26298 PyObject
* obj1
= 0 ;
26299 PyObject
* obj2
= 0 ;
26300 char *kwnames
[] = {
26301 (char *) "self",(char *) "self",(char *) "_class", NULL
26304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26311 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26313 wxPyEndAllowThreads(__tstate
);
26314 if (PyErr_Occurred()) SWIG_fail
;
26316 Py_INCREF(Py_None
); resultobj
= Py_None
;
26323 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26324 PyObject
*resultobj
;
26325 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26330 PyObject
* obj0
= 0 ;
26331 PyObject
* obj1
= 0 ;
26332 PyObject
* obj2
= 0 ;
26333 PyObject
* obj3
= 0 ;
26334 char *kwnames
[] = {
26335 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26341 arg2
= (int) SWIG_AsInt(obj1
);
26342 if (PyErr_Occurred()) SWIG_fail
;
26343 arg3
= (int) SWIG_AsInt(obj2
);
26344 if (PyErr_Occurred()) SWIG_fail
;
26345 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26346 if (PyErr_Occurred()) SWIG_fail
;
26348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26349 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26351 wxPyEndAllowThreads(__tstate
);
26352 if (PyErr_Occurred()) SWIG_fail
;
26354 resultobj
= SWIG_FromInt((int)result
);
26361 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26362 PyObject
*resultobj
;
26363 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26368 PyObject
* obj0
= 0 ;
26369 PyObject
* obj1
= 0 ;
26370 PyObject
* obj2
= 0 ;
26371 PyObject
* obj3
= 0 ;
26372 char *kwnames
[] = {
26373 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26379 arg2
= (int) SWIG_AsInt(obj1
);
26380 if (PyErr_Occurred()) SWIG_fail
;
26381 arg3
= (int) SWIG_AsInt(obj2
);
26382 if (PyErr_Occurred()) SWIG_fail
;
26383 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26384 if (PyErr_Occurred()) SWIG_fail
;
26386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26387 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26389 wxPyEndAllowThreads(__tstate
);
26390 if (PyErr_Occurred()) SWIG_fail
;
26392 resultobj
= SWIG_FromInt((int)result
);
26399 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26400 PyObject
*resultobj
;
26401 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26402 PyObject
* obj0
= 0 ;
26403 char *kwnames
[] = {
26404 (char *) "self", NULL
26407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26412 (arg1
)->base_OnLeave();
26414 wxPyEndAllowThreads(__tstate
);
26415 if (PyErr_Occurred()) SWIG_fail
;
26417 Py_INCREF(Py_None
); resultobj
= Py_None
;
26424 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26425 PyObject
*resultobj
;
26426 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26430 PyObject
* obj0
= 0 ;
26431 PyObject
* obj1
= 0 ;
26432 PyObject
* obj2
= 0 ;
26433 char *kwnames
[] = {
26434 (char *) "self",(char *) "x",(char *) "y", NULL
26437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26440 arg2
= (int) SWIG_AsInt(obj1
);
26441 if (PyErr_Occurred()) SWIG_fail
;
26442 arg3
= (int) SWIG_AsInt(obj2
);
26443 if (PyErr_Occurred()) SWIG_fail
;
26445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26446 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26448 wxPyEndAllowThreads(__tstate
);
26449 if (PyErr_Occurred()) SWIG_fail
;
26452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26460 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26461 PyObject
*resultobj
;
26462 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26467 PyObject
* obj0
= 0 ;
26468 PyObject
* obj1
= 0 ;
26469 PyObject
* obj2
= 0 ;
26470 PyObject
* obj3
= 0 ;
26471 char *kwnames
[] = {
26472 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26478 arg2
= (int) SWIG_AsInt(obj1
);
26479 if (PyErr_Occurred()) SWIG_fail
;
26480 arg3
= (int) SWIG_AsInt(obj2
);
26481 if (PyErr_Occurred()) SWIG_fail
;
26482 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26483 if (PyErr_Occurred()) SWIG_fail
;
26485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26486 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26488 wxPyEndAllowThreads(__tstate
);
26489 if (PyErr_Occurred()) SWIG_fail
;
26491 resultobj
= SWIG_FromInt((int)result
);
26498 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26500 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26501 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26503 return Py_BuildValue((char *)"");
26505 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26506 PyObject
*resultobj
;
26507 wxPyFileDropTarget
*result
;
26508 char *kwnames
[] = {
26512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26515 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26517 wxPyEndAllowThreads(__tstate
);
26518 if (PyErr_Occurred()) SWIG_fail
;
26520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26527 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26528 PyObject
*resultobj
;
26529 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26530 PyObject
*arg2
= (PyObject
*) 0 ;
26531 PyObject
*arg3
= (PyObject
*) 0 ;
26532 PyObject
* obj0
= 0 ;
26533 PyObject
* obj1
= 0 ;
26534 PyObject
* obj2
= 0 ;
26535 char *kwnames
[] = {
26536 (char *) "self",(char *) "self",(char *) "_class", NULL
26539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26546 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26548 wxPyEndAllowThreads(__tstate
);
26549 if (PyErr_Occurred()) SWIG_fail
;
26551 Py_INCREF(Py_None
); resultobj
= Py_None
;
26558 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26559 PyObject
*resultobj
;
26560 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26565 PyObject
* obj0
= 0 ;
26566 PyObject
* obj1
= 0 ;
26567 PyObject
* obj2
= 0 ;
26568 PyObject
* obj3
= 0 ;
26569 char *kwnames
[] = {
26570 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26576 arg2
= (int) SWIG_AsInt(obj1
);
26577 if (PyErr_Occurred()) SWIG_fail
;
26578 arg3
= (int) SWIG_AsInt(obj2
);
26579 if (PyErr_Occurred()) SWIG_fail
;
26580 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26581 if (PyErr_Occurred()) SWIG_fail
;
26583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26584 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26586 wxPyEndAllowThreads(__tstate
);
26587 if (PyErr_Occurred()) SWIG_fail
;
26589 resultobj
= SWIG_FromInt((int)result
);
26596 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26597 PyObject
*resultobj
;
26598 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26603 PyObject
* obj0
= 0 ;
26604 PyObject
* obj1
= 0 ;
26605 PyObject
* obj2
= 0 ;
26606 PyObject
* obj3
= 0 ;
26607 char *kwnames
[] = {
26608 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26614 arg2
= (int) SWIG_AsInt(obj1
);
26615 if (PyErr_Occurred()) SWIG_fail
;
26616 arg3
= (int) SWIG_AsInt(obj2
);
26617 if (PyErr_Occurred()) SWIG_fail
;
26618 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26619 if (PyErr_Occurred()) SWIG_fail
;
26621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26622 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26624 wxPyEndAllowThreads(__tstate
);
26625 if (PyErr_Occurred()) SWIG_fail
;
26627 resultobj
= SWIG_FromInt((int)result
);
26634 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26635 PyObject
*resultobj
;
26636 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26637 PyObject
* obj0
= 0 ;
26638 char *kwnames
[] = {
26639 (char *) "self", NULL
26642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26647 (arg1
)->base_OnLeave();
26649 wxPyEndAllowThreads(__tstate
);
26650 if (PyErr_Occurred()) SWIG_fail
;
26652 Py_INCREF(Py_None
); resultobj
= Py_None
;
26659 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26660 PyObject
*resultobj
;
26661 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26665 PyObject
* obj0
= 0 ;
26666 PyObject
* obj1
= 0 ;
26667 PyObject
* obj2
= 0 ;
26668 char *kwnames
[] = {
26669 (char *) "self",(char *) "x",(char *) "y", NULL
26672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26675 arg2
= (int) SWIG_AsInt(obj1
);
26676 if (PyErr_Occurred()) SWIG_fail
;
26677 arg3
= (int) SWIG_AsInt(obj2
);
26678 if (PyErr_Occurred()) SWIG_fail
;
26680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26681 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26683 wxPyEndAllowThreads(__tstate
);
26684 if (PyErr_Occurred()) SWIG_fail
;
26687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26695 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26696 PyObject
*resultobj
;
26697 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26702 PyObject
* obj0
= 0 ;
26703 PyObject
* obj1
= 0 ;
26704 PyObject
* obj2
= 0 ;
26705 PyObject
* obj3
= 0 ;
26706 char *kwnames
[] = {
26707 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26713 arg2
= (int) SWIG_AsInt(obj1
);
26714 if (PyErr_Occurred()) SWIG_fail
;
26715 arg3
= (int) SWIG_AsInt(obj2
);
26716 if (PyErr_Occurred()) SWIG_fail
;
26717 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26718 if (PyErr_Occurred()) SWIG_fail
;
26720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26721 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26723 wxPyEndAllowThreads(__tstate
);
26724 if (PyErr_Occurred()) SWIG_fail
;
26726 resultobj
= SWIG_FromInt((int)result
);
26733 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26736 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26738 return Py_BuildValue((char *)"");
26740 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26741 PyObject
*resultobj
;
26742 wxClipboard
*result
;
26743 char *kwnames
[] = {
26747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26750 result
= (wxClipboard
*)new wxClipboard();
26752 wxPyEndAllowThreads(__tstate
);
26753 if (PyErr_Occurred()) SWIG_fail
;
26755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26762 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26763 PyObject
*resultobj
;
26764 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26765 PyObject
* obj0
= 0 ;
26766 char *kwnames
[] = {
26767 (char *) "self", NULL
26770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26777 wxPyEndAllowThreads(__tstate
);
26778 if (PyErr_Occurred()) SWIG_fail
;
26780 Py_INCREF(Py_None
); resultobj
= Py_None
;
26787 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26788 PyObject
*resultobj
;
26789 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26791 PyObject
* obj0
= 0 ;
26792 char *kwnames
[] = {
26793 (char *) "self", NULL
26796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26801 result
= (bool)(arg1
)->Open();
26803 wxPyEndAllowThreads(__tstate
);
26804 if (PyErr_Occurred()) SWIG_fail
;
26807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26815 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26816 PyObject
*resultobj
;
26817 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26818 PyObject
* obj0
= 0 ;
26819 char *kwnames
[] = {
26820 (char *) "self", NULL
26823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26830 wxPyEndAllowThreads(__tstate
);
26831 if (PyErr_Occurred()) SWIG_fail
;
26833 Py_INCREF(Py_None
); resultobj
= Py_None
;
26840 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26841 PyObject
*resultobj
;
26842 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26844 PyObject
* obj0
= 0 ;
26845 char *kwnames
[] = {
26846 (char *) "self", NULL
26849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26854 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26856 wxPyEndAllowThreads(__tstate
);
26857 if (PyErr_Occurred()) SWIG_fail
;
26860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26868 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26869 PyObject
*resultobj
;
26870 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26871 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26873 PyObject
* obj0
= 0 ;
26874 PyObject
* obj1
= 0 ;
26875 char *kwnames
[] = {
26876 (char *) "self",(char *) "data", NULL
26879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26883 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26886 result
= (bool)(arg1
)->AddData(arg2
);
26888 wxPyEndAllowThreads(__tstate
);
26889 if (PyErr_Occurred()) SWIG_fail
;
26892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26900 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26901 PyObject
*resultobj
;
26902 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26903 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26905 PyObject
* obj0
= 0 ;
26906 PyObject
* obj1
= 0 ;
26907 char *kwnames
[] = {
26908 (char *) "self",(char *) "data", NULL
26911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26915 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26918 result
= (bool)(arg1
)->SetData(arg2
);
26920 wxPyEndAllowThreads(__tstate
);
26921 if (PyErr_Occurred()) SWIG_fail
;
26924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26932 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26933 PyObject
*resultobj
;
26934 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26935 wxDataFormat
*arg2
= 0 ;
26937 PyObject
* obj0
= 0 ;
26938 PyObject
* obj1
= 0 ;
26939 char *kwnames
[] = {
26940 (char *) "self",(char *) "format", NULL
26943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26946 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
26947 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26949 if (arg2
== NULL
) {
26950 PyErr_SetString(PyExc_TypeError
,"null reference");
26954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26955 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26957 wxPyEndAllowThreads(__tstate
);
26958 if (PyErr_Occurred()) SWIG_fail
;
26961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26969 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26970 PyObject
*resultobj
;
26971 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26972 wxDataObject
*arg2
= 0 ;
26974 PyObject
* obj0
= 0 ;
26975 PyObject
* obj1
= 0 ;
26976 char *kwnames
[] = {
26977 (char *) "self",(char *) "data", NULL
26980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26984 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26986 if (arg2
== NULL
) {
26987 PyErr_SetString(PyExc_TypeError
,"null reference");
26991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26992 result
= (bool)(arg1
)->GetData(*arg2
);
26994 wxPyEndAllowThreads(__tstate
);
26995 if (PyErr_Occurred()) SWIG_fail
;
26998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27006 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27007 PyObject
*resultobj
;
27008 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27009 PyObject
* obj0
= 0 ;
27010 char *kwnames
[] = {
27011 (char *) "self", NULL
27014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27021 wxPyEndAllowThreads(__tstate
);
27022 if (PyErr_Occurred()) SWIG_fail
;
27024 Py_INCREF(Py_None
); resultobj
= Py_None
;
27031 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27032 PyObject
*resultobj
;
27033 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27035 PyObject
* obj0
= 0 ;
27036 char *kwnames
[] = {
27037 (char *) "self", NULL
27040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27045 result
= (bool)(arg1
)->Flush();
27047 wxPyEndAllowThreads(__tstate
);
27048 if (PyErr_Occurred()) SWIG_fail
;
27051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27059 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27060 PyObject
*resultobj
;
27061 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27062 bool arg2
= (bool) True
;
27063 PyObject
* obj0
= 0 ;
27064 PyObject
* obj1
= 0 ;
27065 char *kwnames
[] = {
27066 (char *) "self",(char *) "primary", NULL
27069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27073 arg2
= (bool) SWIG_AsBool(obj1
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27078 (arg1
)->UsePrimarySelection(arg2
);
27080 wxPyEndAllowThreads(__tstate
);
27081 if (PyErr_Occurred()) SWIG_fail
;
27083 Py_INCREF(Py_None
); resultobj
= Py_None
;
27090 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27092 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27093 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27095 return Py_BuildValue((char *)"");
27097 static int _wrap_TheClipboard_set(PyObject
*_val
) {
27098 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
27103 static PyObject
*_wrap_TheClipboard_get() {
27106 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
27111 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27112 PyObject
*resultobj
;
27113 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27114 wxClipboardLocker
*result
;
27115 PyObject
* obj0
= 0 ;
27116 char *kwnames
[] = {
27117 (char *) "clipboard", NULL
27120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27127 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27129 wxPyEndAllowThreads(__tstate
);
27130 if (PyErr_Occurred()) SWIG_fail
;
27132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27139 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27140 PyObject
*resultobj
;
27141 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27142 PyObject
* obj0
= 0 ;
27143 char *kwnames
[] = {
27144 (char *) "self", NULL
27147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27154 wxPyEndAllowThreads(__tstate
);
27155 if (PyErr_Occurred()) SWIG_fail
;
27157 Py_INCREF(Py_None
); resultobj
= Py_None
;
27164 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27165 PyObject
*resultobj
;
27166 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27168 PyObject
* obj0
= 0 ;
27169 char *kwnames
[] = {
27170 (char *) "self", NULL
27173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27178 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27180 wxPyEndAllowThreads(__tstate
);
27181 if (PyErr_Occurred()) SWIG_fail
;
27184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27192 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27194 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27195 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27197 return Py_BuildValue((char *)"");
27199 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27200 PyObject
*resultobj
;
27201 int arg1
= (int) 0 ;
27202 int arg2
= (int) 0 ;
27203 int arg3
= (int) 0 ;
27204 int arg4
= (int) 0 ;
27205 wxVideoMode
*result
;
27206 PyObject
* obj0
= 0 ;
27207 PyObject
* obj1
= 0 ;
27208 PyObject
* obj2
= 0 ;
27209 PyObject
* obj3
= 0 ;
27210 char *kwnames
[] = {
27211 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27216 arg1
= (int) SWIG_AsInt(obj0
);
27217 if (PyErr_Occurred()) SWIG_fail
;
27220 arg2
= (int) SWIG_AsInt(obj1
);
27221 if (PyErr_Occurred()) SWIG_fail
;
27224 arg3
= (int) SWIG_AsInt(obj2
);
27225 if (PyErr_Occurred()) SWIG_fail
;
27228 arg4
= (int) SWIG_AsInt(obj3
);
27229 if (PyErr_Occurred()) SWIG_fail
;
27232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27233 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27235 wxPyEndAllowThreads(__tstate
);
27236 if (PyErr_Occurred()) SWIG_fail
;
27238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27245 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27246 PyObject
*resultobj
;
27247 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27248 PyObject
* obj0
= 0 ;
27249 char *kwnames
[] = {
27250 (char *) "self", NULL
27253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27260 wxPyEndAllowThreads(__tstate
);
27261 if (PyErr_Occurred()) SWIG_fail
;
27263 Py_INCREF(Py_None
); resultobj
= Py_None
;
27270 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27271 PyObject
*resultobj
;
27272 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27273 wxVideoMode
*arg2
= 0 ;
27275 PyObject
* obj0
= 0 ;
27276 PyObject
* obj1
= 0 ;
27277 char *kwnames
[] = {
27278 (char *) "self",(char *) "other", NULL
27281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27284 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27285 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27287 if (arg2
== NULL
) {
27288 PyErr_SetString(PyExc_TypeError
,"null reference");
27292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27293 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27295 wxPyEndAllowThreads(__tstate
);
27296 if (PyErr_Occurred()) SWIG_fail
;
27299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27307 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27308 PyObject
*resultobj
;
27309 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27311 PyObject
* obj0
= 0 ;
27312 char *kwnames
[] = {
27313 (char *) "self", NULL
27316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27321 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27323 wxPyEndAllowThreads(__tstate
);
27324 if (PyErr_Occurred()) SWIG_fail
;
27326 resultobj
= SWIG_FromInt((int)result
);
27333 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27334 PyObject
*resultobj
;
27335 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27337 PyObject
* obj0
= 0 ;
27338 char *kwnames
[] = {
27339 (char *) "self", NULL
27342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27347 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27349 wxPyEndAllowThreads(__tstate
);
27350 if (PyErr_Occurred()) SWIG_fail
;
27352 resultobj
= SWIG_FromInt((int)result
);
27359 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27360 PyObject
*resultobj
;
27361 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27363 PyObject
* obj0
= 0 ;
27364 char *kwnames
[] = {
27365 (char *) "self", NULL
27368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27373 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27375 wxPyEndAllowThreads(__tstate
);
27376 if (PyErr_Occurred()) SWIG_fail
;
27378 resultobj
= SWIG_FromInt((int)result
);
27385 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27386 PyObject
*resultobj
;
27387 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27389 PyObject
* obj0
= 0 ;
27390 char *kwnames
[] = {
27391 (char *) "self", NULL
27394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27399 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27401 wxPyEndAllowThreads(__tstate
);
27402 if (PyErr_Occurred()) SWIG_fail
;
27405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27413 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27414 PyObject
*resultobj
;
27415 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27416 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27418 PyObject
* obj0
= 0 ;
27419 PyObject
* obj1
= 0 ;
27420 char *kwnames
[] = {
27421 (char *) "self",(char *) "other", NULL
27424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27431 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27433 wxPyEndAllowThreads(__tstate
);
27434 if (PyErr_Occurred()) SWIG_fail
;
27437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27445 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27446 PyObject
*resultobj
;
27447 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27448 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27450 PyObject
* obj0
= 0 ;
27451 PyObject
* obj1
= 0 ;
27452 char *kwnames
[] = {
27453 (char *) "self",(char *) "other", NULL
27456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27459 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27463 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27465 wxPyEndAllowThreads(__tstate
);
27466 if (PyErr_Occurred()) SWIG_fail
;
27469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27477 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27478 PyObject
*resultobj
;
27479 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27481 PyObject
* obj0
= 0 ;
27482 PyObject
* obj1
= 0 ;
27483 char *kwnames
[] = {
27484 (char *) "self",(char *) "w", NULL
27487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27490 arg2
= (int) SWIG_AsInt(obj1
);
27491 if (PyErr_Occurred()) SWIG_fail
;
27492 if (arg1
) (arg1
)->w
= arg2
;
27494 Py_INCREF(Py_None
); resultobj
= Py_None
;
27501 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27502 PyObject
*resultobj
;
27503 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27505 PyObject
* obj0
= 0 ;
27506 char *kwnames
[] = {
27507 (char *) "self", NULL
27510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27513 result
= (int) ((arg1
)->w
);
27515 resultobj
= SWIG_FromInt((int)result
);
27522 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27523 PyObject
*resultobj
;
27524 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27526 PyObject
* obj0
= 0 ;
27527 PyObject
* obj1
= 0 ;
27528 char *kwnames
[] = {
27529 (char *) "self",(char *) "h", NULL
27532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27535 arg2
= (int) SWIG_AsInt(obj1
);
27536 if (PyErr_Occurred()) SWIG_fail
;
27537 if (arg1
) (arg1
)->h
= arg2
;
27539 Py_INCREF(Py_None
); resultobj
= Py_None
;
27546 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27547 PyObject
*resultobj
;
27548 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27550 PyObject
* obj0
= 0 ;
27551 char *kwnames
[] = {
27552 (char *) "self", NULL
27555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27558 result
= (int) ((arg1
)->h
);
27560 resultobj
= SWIG_FromInt((int)result
);
27567 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27568 PyObject
*resultobj
;
27569 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27571 PyObject
* obj0
= 0 ;
27572 PyObject
* obj1
= 0 ;
27573 char *kwnames
[] = {
27574 (char *) "self",(char *) "bpp", NULL
27577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27580 arg2
= (int) SWIG_AsInt(obj1
);
27581 if (PyErr_Occurred()) SWIG_fail
;
27582 if (arg1
) (arg1
)->bpp
= arg2
;
27584 Py_INCREF(Py_None
); resultobj
= Py_None
;
27591 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27592 PyObject
*resultobj
;
27593 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27595 PyObject
* obj0
= 0 ;
27596 char *kwnames
[] = {
27597 (char *) "self", NULL
27600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27603 result
= (int) ((arg1
)->bpp
);
27605 resultobj
= SWIG_FromInt((int)result
);
27612 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27613 PyObject
*resultobj
;
27614 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27616 PyObject
* obj0
= 0 ;
27617 PyObject
* obj1
= 0 ;
27618 char *kwnames
[] = {
27619 (char *) "self",(char *) "refresh", NULL
27622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27625 arg2
= (int) SWIG_AsInt(obj1
);
27626 if (PyErr_Occurred()) SWIG_fail
;
27627 if (arg1
) (arg1
)->refresh
= arg2
;
27629 Py_INCREF(Py_None
); resultobj
= Py_None
;
27636 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27637 PyObject
*resultobj
;
27638 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27640 PyObject
* obj0
= 0 ;
27641 char *kwnames
[] = {
27642 (char *) "self", NULL
27645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27648 result
= (int) ((arg1
)->refresh
);
27650 resultobj
= SWIG_FromInt((int)result
);
27657 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27660 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27662 return Py_BuildValue((char *)"");
27664 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27665 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27670 static PyObject
*_wrap_DefaultVideoMode_get() {
27673 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27678 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27679 PyObject
*resultobj
;
27680 size_t arg1
= (size_t) 0 ;
27682 PyObject
* obj0
= 0 ;
27683 char *kwnames
[] = {
27684 (char *) "index", NULL
27687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27689 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27690 if (PyErr_Occurred()) SWIG_fail
;
27693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27694 result
= (wxDisplay
*)new wxDisplay(arg1
);
27696 wxPyEndAllowThreads(__tstate
);
27697 if (PyErr_Occurred()) SWIG_fail
;
27699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27706 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27707 PyObject
*resultobj
;
27708 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27709 PyObject
* obj0
= 0 ;
27710 char *kwnames
[] = {
27711 (char *) "self", NULL
27714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27721 wxPyEndAllowThreads(__tstate
);
27722 if (PyErr_Occurred()) SWIG_fail
;
27724 Py_INCREF(Py_None
); resultobj
= Py_None
;
27731 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27732 PyObject
*resultobj
;
27734 char *kwnames
[] = {
27738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27741 result
= (size_t)wxDisplay::GetCount();
27743 wxPyEndAllowThreads(__tstate
);
27744 if (PyErr_Occurred()) SWIG_fail
;
27746 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27753 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27754 PyObject
*resultobj
;
27755 wxPoint
*arg1
= 0 ;
27758 PyObject
* obj0
= 0 ;
27759 char *kwnames
[] = {
27760 (char *) "pt", NULL
27763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27766 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27770 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27772 wxPyEndAllowThreads(__tstate
);
27773 if (PyErr_Occurred()) SWIG_fail
;
27775 resultobj
= SWIG_FromInt((int)result
);
27782 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27783 PyObject
*resultobj
;
27784 wxWindow
*arg1
= (wxWindow
*) 0 ;
27786 PyObject
* obj0
= 0 ;
27787 char *kwnames
[] = {
27788 (char *) "window", NULL
27791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27796 result
= (int)wxDisplay::GetFromWindow(arg1
);
27798 wxPyEndAllowThreads(__tstate
);
27799 if (PyErr_Occurred()) SWIG_fail
;
27801 resultobj
= SWIG_FromInt((int)result
);
27808 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27809 PyObject
*resultobj
;
27810 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27812 PyObject
* obj0
= 0 ;
27813 char *kwnames
[] = {
27814 (char *) "self", NULL
27817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27822 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27824 wxPyEndAllowThreads(__tstate
);
27825 if (PyErr_Occurred()) SWIG_fail
;
27828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27836 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27837 PyObject
*resultobj
;
27838 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27840 PyObject
* obj0
= 0 ;
27841 char *kwnames
[] = {
27842 (char *) "self", NULL
27845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
27846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27850 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
27852 wxPyEndAllowThreads(__tstate
);
27853 if (PyErr_Occurred()) SWIG_fail
;
27856 wxRect
* resultptr
;
27857 resultptr
= new wxRect((wxRect
&) result
);
27858 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
27866 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27867 PyObject
*resultobj
;
27868 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27870 PyObject
* obj0
= 0 ;
27871 char *kwnames
[] = {
27872 (char *) "self", NULL
27875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
27876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27880 result
= ((wxDisplay
const *)arg1
)->GetName();
27882 wxPyEndAllowThreads(__tstate
);
27883 if (PyErr_Occurred()) SWIG_fail
;
27887 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27889 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27898 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27899 PyObject
*resultobj
;
27900 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27902 PyObject
* obj0
= 0 ;
27903 char *kwnames
[] = {
27904 (char *) "self", NULL
27907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
27908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27912 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
27914 wxPyEndAllowThreads(__tstate
);
27915 if (PyErr_Occurred()) SWIG_fail
;
27918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27926 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27927 PyObject
*resultobj
;
27928 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27929 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27930 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27932 PyObject
* obj0
= 0 ;
27933 PyObject
* obj1
= 0 ;
27934 char *kwnames
[] = {
27935 (char *) "self",(char *) "mode", NULL
27938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
27939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27942 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27943 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27945 if (arg2
== NULL
) {
27946 PyErr_SetString(PyExc_TypeError
,"null reference");
27951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27952 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
27954 wxPyEndAllowThreads(__tstate
);
27955 if (PyErr_Occurred()) SWIG_fail
;
27957 resultobj
= result
;
27964 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27965 PyObject
*resultobj
;
27966 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27967 wxVideoMode result
;
27968 PyObject
* obj0
= 0 ;
27969 char *kwnames
[] = {
27970 (char *) "self", NULL
27973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
27974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27978 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
27980 wxPyEndAllowThreads(__tstate
);
27981 if (PyErr_Occurred()) SWIG_fail
;
27984 wxVideoMode
* resultptr
;
27985 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
27986 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
27994 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27995 PyObject
*resultobj
;
27996 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27997 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27998 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28000 PyObject
* obj0
= 0 ;
28001 PyObject
* obj1
= 0 ;
28002 char *kwnames
[] = {
28003 (char *) "self",(char *) "mode", NULL
28006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28011 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28013 if (arg2
== NULL
) {
28014 PyErr_SetString(PyExc_TypeError
,"null reference");
28019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28020 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28022 wxPyEndAllowThreads(__tstate
);
28023 if (PyErr_Occurred()) SWIG_fail
;
28026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28034 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28035 PyObject
*resultobj
;
28036 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28037 PyObject
* obj0
= 0 ;
28038 char *kwnames
[] = {
28039 (char *) "self", NULL
28042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28047 (arg1
)->ResetMode();
28049 wxPyEndAllowThreads(__tstate
);
28050 if (PyErr_Occurred()) SWIG_fail
;
28052 Py_INCREF(Py_None
); resultobj
= Py_None
;
28059 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
28061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28062 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28064 return Py_BuildValue((char *)"");
28066 static PyMethodDef SwigMethods
[] = {
28067 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
28068 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
28069 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
28070 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
28071 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28072 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28073 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
28074 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
28075 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
28076 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28077 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
28078 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28079 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
28080 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
28081 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
28082 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
28083 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28084 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28085 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28086 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28087 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28088 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28089 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28090 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28091 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28092 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28093 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28094 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28095 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28096 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28097 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
28098 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28099 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28100 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28101 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28102 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28103 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28104 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28105 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28106 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28107 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28108 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28109 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28110 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28111 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28112 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28113 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28114 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28115 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28116 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28117 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28118 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28119 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28120 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28121 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28122 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28123 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28124 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28125 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28126 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28127 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28128 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28129 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28130 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28131 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28132 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28133 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28134 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28135 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28136 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28137 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28138 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28139 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28140 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28141 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28142 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28143 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28144 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28145 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28146 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28147 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28148 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28149 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28150 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28151 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28152 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28153 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28154 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28155 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28156 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28157 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28158 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28159 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28160 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28161 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28162 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28163 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28164 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28165 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28166 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28167 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28168 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28169 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28170 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28171 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28172 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28173 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28174 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28175 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28176 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28177 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28178 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28179 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28180 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28181 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28182 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28183 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28184 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28185 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28186 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28187 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28188 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28189 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28190 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28191 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28192 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28193 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28194 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28195 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28196 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28197 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28198 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28199 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28200 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28201 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28202 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28203 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28204 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28205 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28206 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28207 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28208 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28209 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28210 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28211 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28212 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28213 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28214 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28215 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28216 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28217 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28218 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28219 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28220 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28221 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28222 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28223 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28224 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28225 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28226 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28227 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28228 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28229 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28230 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28231 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28232 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28233 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28234 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28235 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28236 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28237 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28238 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28239 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28240 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28241 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28242 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28243 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28244 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28245 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28246 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28247 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28248 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28249 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28250 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28251 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28252 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28253 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28254 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28255 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28256 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28257 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28258 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28259 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28260 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28261 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28262 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28263 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28264 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28265 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28266 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28267 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28268 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28269 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28270 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28271 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28272 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28273 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28274 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28275 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28276 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28277 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28278 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28279 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28280 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28281 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28283 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28284 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28285 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28286 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28287 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28289 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28290 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28291 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28292 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28293 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28294 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28295 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28296 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28297 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28298 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28299 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28300 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28301 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28305 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28309 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28310 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28315 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28317 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28320 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28321 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28323 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28324 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28326 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28328 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28329 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28330 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28332 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28334 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28337 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28339 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28341 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28342 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28344 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28345 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28346 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28347 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28349 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28351 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28352 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28354 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28355 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28356 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28357 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28369 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28372 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28375 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28378 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28385 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28387 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28389 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28397 { (char *)"new_Sound", _wrap_new_Sound
, METH_VARARGS
},
28398 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28399 { (char *)"Sound_Create", _wrap_Sound_Create
, METH_VARARGS
},
28400 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"Sound_Play", _wrap_Sound_Play
, METH_VARARGS
},
28402 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound
, METH_VARARGS
},
28403 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28405 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28411 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28421 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28422 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28428 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28437 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28438 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28451 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28454 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28458 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28460 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28464 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28468 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28503 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28506 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28507 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28509 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28513 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28522 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28525 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28526 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28529 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28532 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28557 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28558 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28559 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28565 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28577 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28600 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28603 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28605 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28606 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28607 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28608 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28609 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28610 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28611 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28612 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28613 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28614 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28621 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28622 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28623 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28624 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28625 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28626 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28627 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28628 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28629 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28630 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28631 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28632 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28633 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28638 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28642 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28645 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28656 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28657 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28662 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28663 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28664 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28666 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28670 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28676 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28678 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28679 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28680 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28681 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28682 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28683 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28684 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28685 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28686 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28687 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28688 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28689 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28693 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28697 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28698 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28701 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28704 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28707 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28711 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28712 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28713 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28714 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28717 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28718 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28719 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28721 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28727 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28728 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28729 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28731 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28732 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28734 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28735 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28736 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28737 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28738 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28739 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28740 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28741 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28742 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28743 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28744 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28745 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28746 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28748 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28749 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28750 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28752 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28753 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28754 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28756 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28757 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
28758 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28760 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28761 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28762 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28763 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28764 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28765 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28766 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28767 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28768 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28769 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28770 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28771 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28773 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28774 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28775 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28776 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28777 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28778 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28779 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28780 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28781 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28782 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28783 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28784 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28785 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28786 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28787 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28788 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28789 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28790 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
28791 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28792 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28793 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28794 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28795 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28796 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28797 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28798 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
28799 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28800 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28801 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28802 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28803 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28804 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28805 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28806 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
28807 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28808 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28809 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
28810 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
28811 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
28812 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
28813 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28814 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28815 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28816 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
28817 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28818 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
28819 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
28820 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28821 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28822 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
28823 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
28824 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28825 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28826 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
28827 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
28828 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
28829 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
28830 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28831 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28832 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28833 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
28834 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
28835 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
28836 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
28837 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
28838 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
28839 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
28840 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
28841 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
28842 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
28843 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
28844 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28845 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
28846 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
28847 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28848 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
28849 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
28850 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
28851 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
28852 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
28853 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
28854 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
28855 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
28860 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28862 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28863 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28865 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28866 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28868 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28869 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28871 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28872 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28874 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28875 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28877 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28878 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28880 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
28881 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
28883 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28884 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28886 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28887 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28889 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28890 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28892 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28893 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28895 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
28896 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
28898 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28899 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28901 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28902 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28904 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28905 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28907 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28908 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28910 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28911 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28913 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28914 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28916 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28917 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28919 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28920 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28922 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28923 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28925 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28926 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28928 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28929 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28931 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28932 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28934 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28935 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28937 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28938 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28940 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28941 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28943 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28944 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28946 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28947 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28949 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28950 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28952 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
28953 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
28955 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28956 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28958 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28959 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28961 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28962 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28964 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28965 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28967 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28968 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28970 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28971 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28973 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28974 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28976 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
28977 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
28979 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
28980 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
28982 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
28983 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28985 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
28986 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28988 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
28989 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
28991 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
28992 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28994 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
28995 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
28997 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
28998 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29000 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29001 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29003 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29004 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29006 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29007 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29009 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29010 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29012 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29013 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29015 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29016 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29018 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29019 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29021 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29022 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29024 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29025 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29027 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29028 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29030 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29031 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29033 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29034 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29036 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29037 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29039 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29040 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29042 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29043 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29045 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29046 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29048 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29049 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29051 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29052 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29054 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29055 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29057 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29058 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29060 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29061 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29063 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29064 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29066 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29067 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29069 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29070 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29072 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29073 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29075 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29076 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29078 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29079 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29081 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29082 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29084 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29085 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29087 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29088 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29090 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29091 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29093 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29094 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29096 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29097 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29099 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29100 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29102 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29103 return (void *)((wxObject
*) ((wxSizer
*) x
));
29105 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29106 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29108 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29109 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29111 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29112 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29114 static void *_p_wxEventTo_p_wxObject(void *x
) {
29115 return (void *)((wxObject
*) ((wxEvent
*) x
));
29117 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29118 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29120 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29121 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29123 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29124 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29126 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29127 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29129 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29130 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29132 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29133 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29135 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29136 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29138 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29139 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29141 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29142 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29144 static void *_p_wxControlTo_p_wxObject(void *x
) {
29145 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29147 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29148 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29150 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29151 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29153 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29154 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29156 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29157 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29159 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29160 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29162 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29163 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29165 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29166 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29168 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29169 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29171 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29172 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29174 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29175 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29177 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29178 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29180 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29181 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29183 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29184 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29186 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29187 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29189 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29190 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29192 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29193 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29195 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29196 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29198 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29199 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29201 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29202 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29204 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29205 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29207 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29208 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29210 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29211 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29213 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29214 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29216 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29217 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29219 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29220 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29222 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29223 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29225 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29226 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29228 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29229 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29231 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29232 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29234 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29235 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29237 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29238 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29240 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29241 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29243 static void *_p_wxImageTo_p_wxObject(void *x
) {
29244 return (void *)((wxObject
*) ((wxImage
*) x
));
29246 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29247 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29249 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29250 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29252 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29253 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29255 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29256 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29258 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29259 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29261 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29262 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29264 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29265 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29267 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29268 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29270 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29271 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29273 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29274 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29276 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29277 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29279 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29280 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29282 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29283 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29285 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29286 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29288 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29289 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29291 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29292 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29294 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29295 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29297 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29298 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29300 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29301 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29303 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29304 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29306 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29307 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29309 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29310 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29312 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29313 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29315 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29316 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29318 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29319 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29321 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29322 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29324 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29325 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29327 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29328 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29330 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29331 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29333 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29334 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29336 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29337 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29339 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29340 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29342 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29343 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29345 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29346 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29348 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29349 return (void *)((wxWindow
*) ((wxControl
*) x
));
29351 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29352 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29354 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29355 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29357 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29358 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29360 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29361 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29363 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}};
29364 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}};
29365 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}};
29366 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}};
29367 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}};
29368 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}};
29369 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}};
29370 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}};
29371 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}};
29372 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}};
29373 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}};
29374 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}};
29375 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}};
29376 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}};
29377 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}};
29378 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}};
29379 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}};
29380 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}};
29381 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}};
29382 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}};
29383 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}};
29384 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}};
29385 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}};
29386 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}};
29387 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}};
29388 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}};
29389 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}};
29390 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}};
29391 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}};
29392 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}};
29393 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}};
29394 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}};
29395 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}};
29396 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}};
29397 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}};
29398 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}};
29399 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}};
29400 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}};
29401 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}};
29402 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}};
29403 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}};
29404 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}};
29405 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}};
29406 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}};
29407 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}};
29408 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}};
29409 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}};
29410 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}};
29411 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}};
29412 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}};
29413 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}};
29414 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}};
29415 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}};
29416 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}};
29417 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}};
29418 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}};
29419 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}};
29420 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}};
29421 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}};
29422 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}};
29423 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}};
29424 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}};
29425 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}};
29426 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}};
29427 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}};
29428 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}};
29429 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}};
29430 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}};
29431 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}};
29432 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}};
29433 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}};
29434 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}};
29435 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}};
29436 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}};
29437 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}};
29438 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}};
29439 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}};
29440 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}};
29441 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}};
29442 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}};
29443 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}};
29444 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}};
29445 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}};
29446 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}};
29447 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}};
29448 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}};
29449 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}};
29451 static swig_type_info
*swig_types_initial
[] = {
29452 _swigt__p_wxLogChain
,
29453 _swigt__p_wxMutexGuiLocker
,
29454 _swigt__p_wxMetafile
,
29455 _swigt__p_wxFileHistory
,
29457 _swigt__p_wxDateTime__TimeZone
,
29460 _swigt__p_wxConfigBase
,
29461 _swigt__p_wxDisplay
,
29462 _swigt__p_wxFileType
,
29463 _swigt__p_wxLogGui
,
29465 _swigt__p_wxDataFormat
,
29466 _swigt__p_wxTimerEvent
,
29470 _swigt__p_wxClipboard
,
29471 _swigt__p_wxStopWatch
,
29473 _swigt__p_wxClipboardLocker
,
29475 _swigt__p_wxLogStderr
,
29476 _swigt__p_wxLogTextCtrl
,
29477 _swigt__p_wxTextCtrl
,
29478 _swigt__p_wxBusyCursor
,
29479 _swigt__p_wxPyTextDataObject
,
29480 _swigt__p_wxBitmapDataObject
,
29481 _swigt__p_wxTextDataObject
,
29482 _swigt__p_wxDataObject
,
29483 _swigt__p_wxPyBitmapDataObject
,
29484 _swigt__p_wxFileDataObject
,
29485 _swigt__p_wxCustomDataObject
,
29486 _swigt__p_wxURLDataObject
,
29487 _swigt__p_wxMetafileDataObject
,
29489 _swigt__p_wxTimerRunner
,
29490 _swigt__p_wxLogWindow
,
29491 _swigt__p_wxTimeSpan
,
29492 _swigt__p_wxArrayString
,
29493 _swigt__p_wxWindowDisabler
,
29494 _swigt__p_wxToolTip
,
29495 _swigt__p_wxDataObjectComposite
,
29496 _swigt__p_wxFileConfig
,
29497 _swigt__p_wxSystemSettings
,
29498 _swigt__p_wxVideoMode
,
29499 _swigt__p_wxPyDataObjectSimple
,
29500 _swigt__p_wxDataObjectSimple
,
29501 _swigt__p_wxEvtHandler
,
29504 _swigt__p_wxSingleInstanceChecker
,
29505 _swigt__p_wxFileTypeInfo
,
29508 _swigt__p_wxMimeTypesManager
,
29509 _swigt__p_wxPyArtProvider
,
29510 _swigt__p_wxPyTipProvider
,
29511 _swigt__p_wxTipProvider
,
29512 _swigt__p_wxJoystick
,
29513 _swigt__p_wxSystemOptions
,
29515 _swigt__p_wxJoystickEvent
,
29516 _swigt__p_wxCursor
,
29517 _swigt__p_wxObject
,
29518 _swigt__p_wxOutputStream
,
29519 _swigt__p_wxDateTime
,
29520 _swigt__p_wxPyDropSource
,
29521 _swigt__p_wxWindow
,
29522 _swigt__p_wxString
,
29523 _swigt__p_wxPyProcess
,
29524 _swigt__p_wxBitmap
,
29525 _swigt__p_wxConfig
,
29527 _swigt__p_wxBusyInfo
,
29528 _swigt__p_wxPyDropTarget
,
29529 _swigt__p_wxPyTextDropTarget
,
29530 _swigt__p_wxPyFileDropTarget
,
29531 _swigt__p_wxProcessEvent
,
29533 _swigt__p_wxLogNull
,
29534 _swigt__p_wxColour
,
29536 _swigt__p_wxConfigPathChanger
,
29537 _swigt__p_wxPyTimer
,
29538 _swigt__p_wxDateSpan
,
29543 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29545 static swig_const_info swig_const_table
[] = {
29546 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29547 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29548 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29549 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29550 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29560 SWIGEXPORT(void) SWIG_init(void) {
29561 static PyObject
*SWIG_globals
= 0;
29562 static int typeinit
= 0;
29565 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29566 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29567 d
= PyModule_GetDict(m
);
29570 for (i
= 0; swig_types_initial
[i
]; i
++) {
29571 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29575 SWIG_InstallConstants(d
,swig_const_table
);
29577 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29578 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29579 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29580 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29581 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29582 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29583 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29584 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29585 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29586 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29587 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29588 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29589 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29590 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29591 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29592 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29593 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29594 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29595 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29596 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29597 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29598 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29599 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29600 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29601 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29602 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29603 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29604 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29605 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29606 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29607 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29608 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29609 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29610 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29611 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29612 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29613 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29614 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29615 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29616 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29617 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29618 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29619 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29620 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29621 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29622 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29623 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29624 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29625 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29626 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29627 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29628 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29629 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29630 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29631 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29632 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29633 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29634 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29635 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29636 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29637 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29638 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29639 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29640 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29641 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29642 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29643 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29644 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29645 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29646 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29647 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29648 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29649 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29650 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29651 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29652 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29653 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29654 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29655 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29656 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29657 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29658 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29659 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29660 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29661 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29662 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29663 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29664 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29665 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29666 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29667 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29668 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29669 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29670 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29671 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29672 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29673 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29674 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29675 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29676 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29677 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29678 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29679 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29680 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29681 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29682 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29683 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29684 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29685 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29686 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29687 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29688 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29689 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29690 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29691 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29692 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29693 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29694 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29695 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29696 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29697 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29698 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29699 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29700 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29701 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29702 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29703 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29704 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29705 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29706 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29707 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29708 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29709 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29710 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29711 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29712 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29713 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29714 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29715 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29716 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29717 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29718 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29719 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29720 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29721 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29722 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29723 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29724 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29725 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29726 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29728 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29730 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29731 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29732 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29733 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29734 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29735 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29736 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29737 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29738 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29739 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29740 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29741 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29742 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29743 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29744 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29745 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29746 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29747 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29748 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29749 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29750 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29751 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29752 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29753 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29754 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29755 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29756 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29757 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29758 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29759 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29760 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29761 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29762 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29763 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29764 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29765 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29766 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29767 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29768 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29769 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29770 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29771 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29772 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29773 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29774 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29775 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29776 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29777 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29778 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29779 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29780 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29781 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29782 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29783 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29784 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29785 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29786 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29787 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29789 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29791 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29792 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29793 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29794 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29795 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29796 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29797 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29798 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29799 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29800 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29801 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29802 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29803 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29804 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29805 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29806 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29807 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29808 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29809 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29810 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29811 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29812 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29813 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29814 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29815 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29816 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29817 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29818 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29819 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29820 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29821 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29822 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29823 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29824 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
29825 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
29826 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
29827 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
29828 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
29829 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
29830 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
29831 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
29832 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
29833 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
29834 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
29835 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
29836 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
29837 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
29838 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
29839 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
29840 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
29841 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
29842 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
29843 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
29844 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
29845 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
29846 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
29847 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
29848 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
29849 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
29850 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
29851 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
29852 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
29853 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
29854 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
29855 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
29856 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
29857 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
29858 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
29859 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
29860 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
29861 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
29862 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
29863 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
29864 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
29865 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
29866 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
29867 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
29868 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
29869 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
29870 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
29871 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
29872 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
29873 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
29874 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
29875 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
29876 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
29877 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
29878 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
29879 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
29880 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
29881 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
29882 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
29883 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
29884 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
29885 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
29886 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
29887 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
29888 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
29889 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
29890 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
29891 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
29892 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
29893 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
29894 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
29895 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
29896 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
29897 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
29898 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
29899 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
29900 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
29901 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
29902 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
29903 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
29904 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
29905 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
29906 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
29907 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
29908 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
29909 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
29910 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
29911 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
29912 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
29913 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
29914 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
29915 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
29916 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
29917 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
29918 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
29919 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
29920 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
29921 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
29922 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
29923 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
29924 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
29925 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
29926 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
29927 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
29928 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
29929 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
29930 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
29931 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
29932 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
29933 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
29934 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
29935 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
29936 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
29937 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
29938 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
29939 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
29940 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
29941 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
29942 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
29943 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
29944 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
29945 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
29946 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
29947 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
29948 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
29949 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
29950 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
29951 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
29952 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
29953 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
29954 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
29955 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
29956 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
29957 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
29958 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
29959 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
29960 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
29961 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
29962 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
29963 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
29964 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
29965 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
29966 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
29967 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
29968 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
29969 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
29970 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
29971 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
29972 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
29973 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
29974 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
29975 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
29976 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
29977 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
29978 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
29979 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
29980 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
29981 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
29982 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
29983 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
29984 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
29985 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
29986 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
29987 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
29988 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
29989 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
29990 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
29992 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
29993 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
29994 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
29995 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
29997 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);
29998 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);