1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLogChain swig_types[0]
210 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
211 #define SWIGTYPE_p_wxMetafile swig_types[2]
212 #define SWIGTYPE_p_wxFileHistory swig_types[3]
213 #define SWIGTYPE_p_wxLog swig_types[4]
214 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
215 #define SWIGTYPE_p_wxMenu swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxConfigBase swig_types[8]
218 #define SWIGTYPE_p_wxDisplay swig_types[9]
219 #define SWIGTYPE_p_wxFileType swig_types[10]
220 #define SWIGTYPE_p_wxLogGui swig_types[11]
221 #define SWIGTYPE_p_wxFont swig_types[12]
222 #define SWIGTYPE_p_wxDataFormat swig_types[13]
223 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
224 #define SWIGTYPE_p_wxCaret swig_types[15]
225 #define SWIGTYPE_p_int swig_types[16]
226 #define SWIGTYPE_p_wxSize swig_types[17]
227 #define SWIGTYPE_p_wxClipboard swig_types[18]
228 #define SWIGTYPE_p_wxStopWatch swig_types[19]
229 #define SWIGTYPE_p_wxDC swig_types[20]
230 #define SWIGTYPE_p_wxClipboardLocker swig_types[21]
231 #define SWIGTYPE_p_wxIcon swig_types[22]
232 #define SWIGTYPE_p_wxLogStderr swig_types[23]
233 #define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
234 #define SWIGTYPE_p_wxTextCtrl swig_types[25]
235 #define SWIGTYPE_p_wxBusyCursor swig_types[26]
236 #define SWIGTYPE_p_wxPyTextDataObject swig_types[27]
237 #define SWIGTYPE_p_wxBitmapDataObject swig_types[28]
238 #define SWIGTYPE_p_wxTextDataObject swig_types[29]
239 #define SWIGTYPE_p_wxDataObject swig_types[30]
240 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[31]
241 #define SWIGTYPE_p_wxFileDataObject swig_types[32]
242 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
243 #define SWIGTYPE_p_wxURLDataObject swig_types[34]
244 #define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
245 #define SWIGTYPE_p_wxSound swig_types[36]
246 #define SWIGTYPE_p_wxTimerRunner swig_types[37]
247 #define SWIGTYPE_p_wxLogWindow swig_types[38]
248 #define SWIGTYPE_p_wxTimeSpan swig_types[39]
249 #define SWIGTYPE_p_wxArrayString swig_types[40]
250 #define SWIGTYPE_p_wxWindowDisabler swig_types[41]
251 #define SWIGTYPE_p_wxToolTip swig_types[42]
252 #define SWIGTYPE_p_wxDataObjectComposite swig_types[43]
253 #define SWIGTYPE_p_wxFileConfig swig_types[44]
254 #define SWIGTYPE_p_wxSystemSettings swig_types[45]
255 #define SWIGTYPE_p_wxVideoMode swig_types[46]
256 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[47]
257 #define SWIGTYPE_p_wxDataObjectSimple swig_types[48]
258 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
259 #define SWIGTYPE_p_wxRect swig_types[50]
260 #define SWIGTYPE_p_char swig_types[51]
261 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[52]
262 #define SWIGTYPE_p_wxFileTypeInfo swig_types[53]
263 #define SWIGTYPE_p_wxFrame swig_types[54]
264 #define SWIGTYPE_p_wxTimer swig_types[55]
265 #define SWIGTYPE_p_wxMimeTypesManager swig_types[56]
266 #define SWIGTYPE_p_wxPyArtProvider swig_types[57]
267 #define SWIGTYPE_p_wxPyTipProvider swig_types[58]
268 #define SWIGTYPE_p_wxTipProvider swig_types[59]
269 #define SWIGTYPE_p_wxJoystick swig_types[60]
270 #define SWIGTYPE_p_wxSystemOptions swig_types[61]
271 #define SWIGTYPE_p_wxPoint swig_types[62]
272 #define SWIGTYPE_p_wxJoystickEvent swig_types[63]
273 #define SWIGTYPE_p_wxCursor swig_types[64]
274 #define SWIGTYPE_p_wxObject swig_types[65]
275 #define SWIGTYPE_p_wxOutputStream swig_types[66]
276 #define SWIGTYPE_p_wxDateTime swig_types[67]
277 #define SWIGTYPE_p_wxPyDropSource swig_types[68]
278 #define SWIGTYPE_p_wxWindow swig_types[69]
279 #define SWIGTYPE_p_wxString swig_types[70]
280 #define SWIGTYPE_p_wxPyProcess swig_types[71]
281 #define SWIGTYPE_p_wxBitmap swig_types[72]
282 #define SWIGTYPE_p_wxConfig swig_types[73]
283 #define SWIGTYPE_p_wxChar swig_types[74]
284 #define SWIGTYPE_p_wxBusyInfo swig_types[75]
285 #define SWIGTYPE_p_wxPyDropTarget swig_types[76]
286 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[77]
287 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[78]
288 #define SWIGTYPE_p_wxProcessEvent swig_types[79]
289 #define SWIGTYPE_p_wxPyLog swig_types[80]
290 #define SWIGTYPE_p_wxLogNull swig_types[81]
291 #define SWIGTYPE_p_wxColour swig_types[82]
292 #define SWIGTYPE_p_wxByte swig_types[83]
293 #define SWIGTYPE_p_wxConfigPathChanger swig_types[84]
294 #define SWIGTYPE_p_wxPyTimer swig_types[85]
295 #define SWIGTYPE_p_wxDateSpan swig_types[86]
296 static swig_type_info
*swig_types
[88];
298 /* -------- TYPES TABLE (END) -------- */
301 /*-----------------------------------------------
303 ------------------------------------------------*/
304 #define SWIG_init init_misc
306 #define SWIG_name "_misc"
308 /* Auxiliar swig macros */
311 #define SWIGSTATICINLINE(a) static inline a
312 #define SWIGSTATIC(a) static a
313 #define swig_new_array(type, size) (new type[(size)])
314 #define swig_delete_array(cptr) delete[] cptr
315 #define swig_const_cast(type,a) const_cast<type>(a)
316 #define swig_static_cast(type,a) static_cast<type>(a)
317 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
319 #ifdef HAVE_NUMERIC_CAST
320 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
322 #define swig_numeric_cast(type,a) static_cast<type>(a)
327 #define SWIGSTATICINLINE(a) static a
328 #define SWIGSTATIC(a) static a
329 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
330 #define swig_delete_array(cptr) free((char*)cptr)
331 #define swig_const_cast(type,a) (type)(a)
332 #define swig_static_cast(type,a) (type)(a)
333 #define swig_reinterpret_cast(type,a) (type)(a)
334 #define swig_numeric_cast(type,a) (type)(a)
336 #endif /* __cplusplus */
339 #define SWIG_FromSignedChar PyInt_FromLong
340 #define SWIG_FromUnsignedChar PyInt_FromLong
341 #define SWIG_FromShort PyInt_FromLong
342 #define SWIG_FromUnsignedShort PyInt_FromLong
343 #define SWIG_FromInt PyInt_FromLong
344 #define SWIG_FromLong PyInt_FromLong
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347 #define SWIG_FromFloat PyFloat_FromDouble
348 #define SWIG_FromDouble PyFloat_FromDouble
351 #include "wx/wxPython/wxPython.h"
352 #include "wx/wxPython/pyclasses.h"
353 #include "wx/wxPython/pyistream.h"
356 static const wxString
wxPyEmptyString(wxEmptyString
);
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value
, const char* type
,
365 long min_value
, long max_value
)
367 if (!PyErr_Occurred()) {
368 if (value
< min_value
) {
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value
, type
, min_value
);
373 PyErr_SetObject(PyExc_OverflowError
, err
);
375 } else if (value
> max_value
) {
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value
, type
, max_value
);
379 PyErr_SetObject(PyExc_OverflowError
, err
);
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject
* obj
)
390 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
394 #if INT_MAX != LONG_MAX
395 SWIGSTATICINLINE(int)
396 SWIG_AsInt(PyObject
*obj
)
398 return swig_numeric_cast(int,
399 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
400 "int", INT_MIN
, INT_MAX
));
403 #define SWIG_AsInt SWIG_AsLong
407 SWIGSTATICINLINE(int)
408 SWIG_CheckInt(PyObject
* obj
)
411 if (PyErr_Occurred()) {
419 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
420 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
421 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
423 SWIGSTATICINLINE(int)
424 SWIG_CheckLong(PyObject
* obj
)
427 if (PyErr_Occurred()) {
436 SWIGSTATICINLINE(bool)
437 SWIG_AsBool(PyObject
*obj
)
439 return PyObject_IsTrue(obj
) ? true : false;
443 SWIGSTATICINLINE(int)
444 SWIG_CheckBool(PyObject
* obj
)
447 if (PyErr_Occurred()) {
456 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
462 } else if (target
== Py_None
) {
466 if (!PyTuple_Check(target
)) {
468 target
= PyTuple_New(1);
469 PyTuple_SetItem(target
, 0, o2
);
472 PyTuple_SetItem(o3
, 0, o
);
475 target
= PySequence_Concat(o2
, o3
);
483 SWIGSTATICINLINE(unsigned long)
484 SWIG_AsUnsignedLong(PyObject
* obj
)
486 if (PyLong_Check(obj
)) {
487 return PyLong_AsUnsignedLong(obj
);
489 long i
= PyInt_AsLong(obj
);
490 if ( !PyErr_Occurred() && (i
< 0)) {
491 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
498 SWIGSTATICINLINE(int)
499 SWIG_CheckUnsignedLong(PyObject
* obj
)
501 SWIG_AsUnsignedLong(obj
);
502 if (PyErr_Occurred()) {
511 SWIGSTATICINLINE(PyObject
* )
512 SWIG_FromUnsignedLong(unsigned long value
)
514 return (value
> LONG_MAX
) ?
515 PyLong_FromUnsignedLong(value
)
516 : PyInt_FromLong(swig_numeric_cast(long,value
));
520 bool wxThread_IsMain() {
521 #ifdef WXP_WITH_THREAD
522 return wxThread::IsMain();
529 int wxCaret_GetBlinkTime() {
530 return wxCaret::GetBlinkTime();
533 void wxCaret_SetBlinkTime(int milliseconds
) {
534 wxCaret::SetBlinkTime(milliseconds
);
538 #include <wx/snglinst.h>
542 #include <wx/msw/private.h>
543 #include <wx/dynload.h>
548 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
555 // This one only partially works. Appears to be an undocumented
556 // "standard" convention that not all widgets adhear to. For
557 // example, for some widgets backgrounds or non-client areas may
559 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
563 // This one works much better, except for on XP. On Win2k nearly
564 // all widgets and their children are captured correctly[**]. On
565 // XP with Themes activated most native widgets draw only
566 // partially, if at all. Without themes it works just like on
569 // ** For example the radio buttons in a wxRadioBox are not its
570 // children by default, but you can capture it via the panel
571 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
572 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
573 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
574 PRF_ERASEBKGND
| PRF_OWNED
);
578 // This one is only defined in the latest SDK and is only
579 // available on XP. MSDN says it is similar to sending WM_PRINT
580 // so I expect that it will work similar to the above. Since it
581 // is avaialble only on XP, it can't be compiled like this and
582 // will have to be loaded dynamically.
583 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
588 // Use PrintWindow if available, or fallback to WM_PRINT
589 // otherwise. Unfortunately using PrintWindow is even worse than
590 // WM_PRINT. For most native widgets nothing is drawn to the dc
591 // at all, with or without Themes.
592 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
593 static bool s_triedToLoad
= False
;
594 static PrintWindow_t pfnPrintWindow
= NULL
;
595 if ( !s_triedToLoad
)
598 s_triedToLoad
= True
;
599 wxDynamicLibrary
dllUser32(_T("user32.dll"));
600 if ( dllUser32
.IsLoaded() )
602 wxLogNull nolog
; // Don't report errors here
603 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
608 printf("Using PrintWindow\n");
609 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
613 printf("Using WM_PRINT\n");
614 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
615 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
623 #include <wx/tipdlg.h>
626 class wxPyTipProvider
: public wxTipProvider
{
628 wxPyTipProvider(size_t currentTip
)
629 : wxTipProvider(currentTip
) {}
631 DEC_PYCALLBACK_STRING__pure(GetTip
);
632 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
636 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
637 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
640 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
642 void wxPyTimer::Notify() {
644 bool blocked
= wxPyBeginBlockThreads();
645 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
646 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
647 wxPyEndBlockThreads(blocked
);
651 void wxPyTimer::base_Notify() {
657 SWIGSTATICINLINE(PyObject
*)
658 SWIG_FromCharPtr(const char* cptr
)
660 size_t size
= cptr
? strlen(cptr
) : 0;
662 if (size
> INT_MAX
) {
663 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
664 SWIG_TypeQuery("char *"), 0);
666 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
675 SWIGSTATICINLINE(unsigned long)
676 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
677 unsigned long max_value
)
679 if (!PyErr_Occurred()) {
680 if (value
> max_value
) {
682 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
683 value
, type
, max_value
);
684 PyErr_SetObject(PyExc_OverflowError
, err
);
692 #if UINT_MAX != ULONG_MAX
693 SWIGSTATICINLINE(unsigned int)
694 SWIG_AsUnsignedInt(PyObject
*obj
)
696 return swig_numeric_cast(unsigned int,
697 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
698 "unsigned int", UINT_MAX
));
701 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
705 SWIGSTATICINLINE(int)
706 SWIG_CheckUnsignedInt(PyObject
* obj
)
708 SWIG_AsUnsignedInt(obj
);
709 if (PyErr_Occurred()) {
717 wxString
Log_TimeStamp(){
719 wxLog::TimeStamp(&msg
);
722 void wxLog_Destroy(wxLog
*self
){ delete self
; }
724 // A wxLog class that can be derived from in wxPython
725 class wxPyLog
: public wxLog
{
727 wxPyLog() : wxLog() {}
729 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
731 bool blocked
= wxPyBeginBlockThreads();
732 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
733 PyObject
* s
= wx2PyString(szString
);
734 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
737 wxPyEndBlockThreads(blocked
);
739 wxLog::DoLog(level
, szString
, t
);
742 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
744 bool blocked
= wxPyBeginBlockThreads();
745 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
746 PyObject
* s
= wx2PyString(szString
);
747 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
750 wxPyEndBlockThreads(blocked
);
752 wxLog::DoLogString(szString
, t
);
761 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
764 #include <wx/joystick.h>
767 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
768 // A C++ stub class for wxJoystick for platforms that don't have it.
769 class wxJoystick
: public wxObject
{
771 wxJoystick(int joystick
= wxJOYSTICK1
) {
772 bool blocked
= wxPyBeginBlockThreads();
773 PyErr_SetString(PyExc_NotImplementedError
,
774 "wxJoystick is not available on this platform.");
775 wxPyEndBlockThreads(blocked
);
777 wxPoint
GetPosition() { return wxPoint(-1,-1); }
778 int GetZPosition() { return -1; }
779 int GetButtonState() { return -1; }
780 int GetPOVPosition() { return -1; }
781 int GetPOVCTSPosition() { return -1; }
782 int GetRudderPosition() { return -1; }
783 int GetUPosition() { return -1; }
784 int GetVPosition() { return -1; }
785 int GetMovementThreshold() { return -1; }
786 void SetMovementThreshold(int threshold
) {}
788 bool IsOk(void) { return False
; }
789 int GetNumberJoysticks() { return -1; }
790 int GetManufacturerId() { return -1; }
791 int GetProductId() { return -1; }
792 wxString
GetProductName() { return ""; }
793 int GetXMin() { return -1; }
794 int GetYMin() { return -1; }
795 int GetZMin() { return -1; }
796 int GetXMax() { return -1; }
797 int GetYMax() { return -1; }
798 int GetZMax() { return -1; }
799 int GetNumberButtons() { return -1; }
800 int GetNumberAxes() { return -1; }
801 int GetMaxButtons() { return -1; }
802 int GetMaxAxes() { return -1; }
803 int GetPollingMin() { return -1; }
804 int GetPollingMax() { return -1; }
805 int GetRudderMin() { return -1; }
806 int GetRudderMax() { return -1; }
807 int GetUMin() { return -1; }
808 int GetUMax() { return -1; }
809 int GetVMin() { return -1; }
810 int GetVMax() { return -1; }
812 bool HasRudder() { return False
; }
813 bool HasZ() { return False
; }
814 bool HasU() { return False
; }
815 bool HasV() { return False
; }
816 bool HasPOV() { return False
; }
817 bool HasPOV4Dir() { return False
; }
818 bool HasPOVCTS() { return False
; }
820 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
821 bool ReleaseCapture() { return False
; }
826 #include <wx/sound.h>
830 // A C++ stub class for wxWave for platforms that don't have it.
831 class wxSound
: public wxObject
835 bool blocked
= wxPyBeginBlockThreads();
836 PyErr_SetString(PyExc_NotImplementedError
,
837 "wxSound is not available on this platform.");
838 wxPyEndBlockThreads(blocked
);
840 wxSound(const wxString
&, bool) {
841 bool blocked
= wxPyBeginBlockThreads();
842 PyErr_SetString(PyExc_NotImplementedError
,
843 "wxSound is not available on this platform.");
844 wxPyEndBlockThreads(blocked
);
846 wxSound(int, const wxByte
*) {
847 bool blocked
= wxPyBeginBlockThreads();
848 PyErr_SetString(PyExc_NotImplementedError
,
849 "wxSound is not available on this platform.");
850 wxPyEndBlockThreads(blocked
);
855 bool Create(const wxString
&, bool) { return false; }
856 bool Create(int, const wxByte
*) { return false; };
857 bool IsOk() { return false; };
858 bool Play(unsigned) const { return false; }
859 static bool Play(const wxString
&, unsigned) { return false; }
860 static void Stop() {}
866 #include <wx/mimetype.h>
868 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
870 if (self
->GetMimeType(&str
))
871 return wx2PyString(str
);
875 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
877 if (self
->GetMimeTypes(arr
))
878 return wxArrayString2PyList_helper(arr
);
882 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
884 if (self
->GetExtensions(arr
))
885 return wxArrayString2PyList_helper(arr
);
889 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
891 if (self
->GetIcon(&loc
))
892 return new wxIcon(loc
);
896 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
898 if (self
->GetIcon(&loc
)) {
899 wxString iconFile
= loc
.GetFileName();
902 iconIndex
= loc
.GetIndex();
904 // Make a tuple and put the values in it
905 bool blocked
= wxPyBeginBlockThreads();
906 PyObject
* tuple
= PyTuple_New(3);
907 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
908 wxT("wxIcon"), True
));
909 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
910 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
911 wxPyEndBlockThreads(blocked
);
917 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
919 if (self
->GetDescription(&str
))
920 return wx2PyString(str
);
924 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
926 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
927 return wx2PyString(str
);
931 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
933 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
934 return wx2PyString(str
);
938 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
940 wxArrayString commands
;
941 if (self
->GetAllCommands(&verbs
, &commands
,
942 wxFileType::MessageParameters(filename
, mimetype
))) {
943 bool blocked
= wxPyBeginBlockThreads();
944 PyObject
* tuple
= PyTuple_New(2);
945 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
946 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
947 wxPyEndBlockThreads(blocked
);
953 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
954 return wxFileType::ExpandCommand(command
,
955 wxFileType::MessageParameters(filename
, mimetype
));
957 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
959 self
->EnumAllFileTypes(arr
);
960 return wxArrayString2PyList_helper(arr
);
963 #include <wx/artprov.h>
965 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
966 static const wxString
wxPyART_MENU(wxART_MENU
);
967 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
968 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
969 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
970 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
971 static const wxString
wxPyART_OTHER(wxART_OTHER
);
972 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
973 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
974 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
975 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
976 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
977 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
978 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
979 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
980 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
981 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
982 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
983 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
984 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
985 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
986 static const wxString
wxPyART_PRINT(wxART_PRINT
);
987 static const wxString
wxPyART_HELP(wxART_HELP
);
988 static const wxString
wxPyART_TIP(wxART_TIP
);
989 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
990 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
991 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
992 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
993 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
994 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
995 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
996 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
997 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
998 static const wxString
wxPyART_ERROR(wxART_ERROR
);
999 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1000 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1001 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1002 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1003 // Python aware wxArtProvider
1004 class wxPyArtProvider
: public wxArtProvider
{
1007 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1008 const wxArtClient
& client
,
1009 const wxSize
& size
) {
1010 wxBitmap rval
= wxNullBitmap
;
1011 bool blocked
= wxPyBeginBlockThreads();
1012 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1013 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1017 s1
= wx2PyString(id
);
1018 s2
= wx2PyString(client
);
1019 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1024 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1029 wxPyEndBlockThreads(blocked
);
1036 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1040 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1041 PyObject
* ret
= PyTuple_New(3);
1043 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1044 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1045 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1050 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1055 cont
= self
->GetFirstGroup(value
, index
);
1056 return __EnumerationHelper(cont
, value
, index
);
1058 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1062 cont
= self
->GetNextGroup(value
, index
);
1063 return __EnumerationHelper(cont
, value
, index
);
1065 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1070 cont
= self
->GetFirstEntry(value
, index
);
1071 return __EnumerationHelper(cont
, value
, index
);
1073 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1077 cont
= self
->GetNextEntry(value
, index
);
1078 return __EnumerationHelper(cont
, value
, index
);
1080 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1082 self
->Read(key
, &rv
, defaultVal
);
1086 SWIGSTATICINLINE(double)
1087 SWIG_AsDouble(PyObject
*obj
)
1089 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
1091 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
1093 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
1095 if (PyErr_Occurred()) {
1097 PyErr_SetString(PyExc_TypeError
, "a double is expected");
1103 SWIGSTATICINLINE(int)
1104 SWIG_CheckDouble(PyObject
* obj
)
1107 if (PyErr_Occurred()) {
1115 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1117 self
->Read(key
, &rv
, defaultVal
);
1120 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1122 self
->Read(key
, &rv
, defaultVal
);
1126 #include <wx/datetime.h>
1129 static const wxString
wxPyDateFormatStr(wxT("%c"));
1130 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1132 #define LOCAL_TZ wxDateTime::Local
1135 #if UINT_MAX < LONG_MAX
1136 #define SWIG_FromUnsignedInt SWIG_FromLong
1138 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1141 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1142 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1143 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1144 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1145 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1146 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
< *other
) : False
; }
1147 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
<= *other
) : False
; }
1148 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
> *other
) : True
; }
1149 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
>= *other
) : True
; }
1150 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
== *other
) : False
; }
1151 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
!= *other
) : True
; }
1152 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1154 const wxChar
* _date
= date
;
1155 rv
= self
->ParseRfc822Date(_date
);
1156 if (rv
== NULL
) return -1;
1159 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1161 const wxChar
* _date
= date
;
1162 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1163 if (rv
== NULL
) return -1;
1166 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1168 const wxChar
* _datetime
= datetime
;
1169 rv
= self
->ParseDateTime(_datetime
);
1170 if (rv
== NULL
) return -1;
1171 return rv
- _datetime
;
1173 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1175 const wxChar
* _date
= date
;
1176 rv
= self
->ParseDate(_date
);
1177 if (rv
== NULL
) return -1;
1180 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1182 const wxChar
* _time
= time
;
1183 rv
= self
->ParseTime(_time
);
1184 if (rv
== NULL
) return -1;
1187 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1188 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1189 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1190 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1191 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1192 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1193 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1194 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1195 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1196 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1197 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1198 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1199 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1200 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1201 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1202 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1204 #include <wx/dataobj.h>
1206 // Create a new class for wxPython to use
1207 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1209 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1210 : wxDataObjectSimple(format
) {}
1212 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1213 bool GetDataHere(void *buf
) const;
1214 bool SetData(size_t len
, const void *buf
) const;
1218 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1220 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1221 // We need to get the data for this object and write it to buf. I think
1222 // the best way to do this for wxPython is to have the Python method
1223 // return either a string or None and then act appropriately with the
1227 bool blocked
= wxPyBeginBlockThreads();
1228 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1230 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1232 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1234 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1238 wxPyEndBlockThreads(blocked
);
1242 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1243 // For this one we simply need to make a string from buf and len
1244 // and send it to the Python method.
1246 bool blocked
= wxPyBeginBlockThreads();
1247 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1248 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1249 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1252 wxPyEndBlockThreads(blocked
);
1256 // Create a new class for wxPython to use
1257 class wxPyTextDataObject
: public wxTextDataObject
{
1259 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1260 : wxTextDataObject(text
) {}
1262 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1263 DEC_PYCALLBACK_STRING__const(GetText
);
1264 DEC_PYCALLBACK__STRING(SetText
);
1268 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1269 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1270 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1273 // Create a new class for wxPython to use
1274 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1276 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1277 : wxBitmapDataObject(bitmap
) {}
1279 wxBitmap
GetBitmap() const;
1280 void SetBitmap(const wxBitmap
& bitmap
);
1284 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1285 wxBitmap
* rval
= &wxNullBitmap
;
1286 bool blocked
= wxPyBeginBlockThreads();
1287 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1290 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1292 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1297 wxPyEndBlockThreads(blocked
);
1301 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1302 bool blocked
= wxPyBeginBlockThreads();
1303 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1304 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1305 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1308 wxPyEndBlockThreads(blocked
);
1311 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1312 if (PyString_Check(data
)) {
1313 // for Python we just call SetData here since we always need it to make a copy.
1314 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1317 // raise a TypeError if not a string
1318 PyErr_SetString(PyExc_TypeError
, "String expected.");
1321 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1322 if (PyString_Check(data
)) {
1323 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1326 // raise a TypeError if not a string
1327 PyErr_SetString(PyExc_TypeError
, "String expected.");
1331 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1332 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1335 #include <wx/metafile.h>
1338 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1341 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1342 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1343 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1344 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1345 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1348 class wxPyTextDropTarget
: public wxTextDropTarget
{
1350 wxPyTextDropTarget() {}
1352 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1354 DEC_PYCALLBACK__(OnLeave
);
1355 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1356 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1357 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1358 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1363 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1364 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1365 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1366 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1367 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1368 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1372 class wxPyFileDropTarget
: public wxFileDropTarget
{
1374 wxPyFileDropTarget() {}
1376 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1378 DEC_PYCALLBACK__(OnLeave
);
1379 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1380 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1381 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1382 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1387 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1388 const wxArrayString
& filenames
) {
1390 bool blocked
= wxPyBeginBlockThreads();
1391 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1392 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1393 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1396 wxPyEndBlockThreads(blocked
);
1402 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1403 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1404 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1405 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1406 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1411 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1413 #include "wx/display.h"
1415 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1416 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1417 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1418 PyObject
* pyList
= NULL
;
1419 wxArrayVideoModes arr
= self
->GetModes(mode
);
1420 bool blocked
= wxPyBeginBlockThreads();
1421 pyList
= PyList_New(0);
1422 for (int i
=0; i
< arr
.GetCount(); i
++) {
1423 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1424 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1425 PyList_Append(pyList
, pyObj
);
1427 wxPyEndBlockThreads(blocked
);
1433 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1434 PyObject
*resultobj
;
1437 PyObject
* obj0
= 0 ;
1439 (char *) "index", NULL
1442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1443 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1444 if (PyErr_Occurred()) SWIG_fail
;
1446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1447 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1449 wxPyEndAllowThreads(__tstate
);
1450 if (PyErr_Occurred()) SWIG_fail
;
1453 wxColour
* resultptr
;
1454 resultptr
= new wxColour((wxColour
&) result
);
1455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1463 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
*resultobj
;
1467 PyObject
* obj0
= 0 ;
1469 (char *) "index", NULL
1472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1473 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1474 if (PyErr_Occurred()) SWIG_fail
;
1476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1477 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1479 wxPyEndAllowThreads(__tstate
);
1480 if (PyErr_Occurred()) SWIG_fail
;
1484 resultptr
= new wxFont((wxFont
&) result
);
1485 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1493 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1494 PyObject
*resultobj
;
1497 PyObject
* obj0
= 0 ;
1499 (char *) "index", NULL
1502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1503 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1504 if (PyErr_Occurred()) SWIG_fail
;
1506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1507 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1509 wxPyEndAllowThreads(__tstate
);
1510 if (PyErr_Occurred()) SWIG_fail
;
1512 resultobj
= SWIG_FromInt((int)result
);
1519 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1520 PyObject
*resultobj
;
1523 PyObject
* obj0
= 0 ;
1525 (char *) "index", NULL
1528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1529 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1530 if (PyErr_Occurred()) SWIG_fail
;
1532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1533 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1535 wxPyEndAllowThreads(__tstate
);
1536 if (PyErr_Occurred()) SWIG_fail
;
1539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1547 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1548 PyObject
*resultobj
;
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1557 result
= (int)wxSystemSettings::GetScreenType();
1559 wxPyEndAllowThreads(__tstate
);
1560 if (PyErr_Occurred()) SWIG_fail
;
1562 resultobj
= SWIG_FromInt((int)result
);
1569 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1570 PyObject
*resultobj
;
1572 PyObject
* obj0
= 0 ;
1574 (char *) "screen", NULL
1577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1578 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1579 if (PyErr_Occurred()) SWIG_fail
;
1581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1582 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1584 wxPyEndAllowThreads(__tstate
);
1585 if (PyErr_Occurred()) SWIG_fail
;
1587 Py_INCREF(Py_None
); resultobj
= Py_None
;
1594 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1597 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1599 return Py_BuildValue((char *)"");
1601 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1602 PyObject
*resultobj
;
1603 wxSystemOptions
*result
;
1608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1611 result
= (wxSystemOptions
*)new wxSystemOptions();
1613 wxPyEndAllowThreads(__tstate
);
1614 if (PyErr_Occurred()) SWIG_fail
;
1616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1623 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1624 PyObject
*resultobj
;
1625 wxString
*arg1
= 0 ;
1626 wxString
*arg2
= 0 ;
1627 bool temp1
= False
;
1628 bool temp2
= False
;
1629 PyObject
* obj0
= 0 ;
1630 PyObject
* obj1
= 0 ;
1632 (char *) "name",(char *) "value", NULL
1635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1637 arg1
= wxString_in_helper(obj0
);
1638 if (arg1
== NULL
) SWIG_fail
;
1642 arg2
= wxString_in_helper(obj1
);
1643 if (arg2
== NULL
) SWIG_fail
;
1647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1648 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1650 wxPyEndAllowThreads(__tstate
);
1651 if (PyErr_Occurred()) SWIG_fail
;
1653 Py_INCREF(Py_None
); resultobj
= Py_None
;
1676 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1677 PyObject
*resultobj
;
1678 wxString
*arg1
= 0 ;
1680 bool temp1
= False
;
1681 PyObject
* obj0
= 0 ;
1682 PyObject
* obj1
= 0 ;
1684 (char *) "name",(char *) "value", NULL
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1689 arg1
= wxString_in_helper(obj0
);
1690 if (arg1
== NULL
) SWIG_fail
;
1693 arg2
= (int) SWIG_AsInt(obj1
);
1694 if (PyErr_Occurred()) SWIG_fail
;
1696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1697 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1699 wxPyEndAllowThreads(__tstate
);
1700 if (PyErr_Occurred()) SWIG_fail
;
1702 Py_INCREF(Py_None
); resultobj
= Py_None
;
1717 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1718 PyObject
*resultobj
;
1719 wxString
*arg1
= 0 ;
1721 bool temp1
= False
;
1722 PyObject
* obj0
= 0 ;
1724 (char *) "name", NULL
1727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1729 arg1
= wxString_in_helper(obj0
);
1730 if (arg1
== NULL
) SWIG_fail
;
1734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1735 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1737 wxPyEndAllowThreads(__tstate
);
1738 if (PyErr_Occurred()) SWIG_fail
;
1742 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1744 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1761 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1762 PyObject
*resultobj
;
1763 wxString
*arg1
= 0 ;
1765 bool temp1
= False
;
1766 PyObject
* obj0
= 0 ;
1768 (char *) "name", NULL
1771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1773 arg1
= wxString_in_helper(obj0
);
1774 if (arg1
== NULL
) SWIG_fail
;
1778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1779 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1781 wxPyEndAllowThreads(__tstate
);
1782 if (PyErr_Occurred()) SWIG_fail
;
1784 resultobj
= SWIG_FromInt((int)result
);
1799 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1800 PyObject
*resultobj
;
1801 wxString
*arg1
= 0 ;
1803 bool temp1
= False
;
1804 PyObject
* obj0
= 0 ;
1806 (char *) "name", NULL
1809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1811 arg1
= wxString_in_helper(obj0
);
1812 if (arg1
== NULL
) SWIG_fail
;
1816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1817 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1819 wxPyEndAllowThreads(__tstate
);
1820 if (PyErr_Occurred()) SWIG_fail
;
1823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1839 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1842 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1844 return Py_BuildValue((char *)"");
1846 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1847 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1852 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1857 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1859 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1866 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
1867 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1872 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1877 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1879 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1886 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
1887 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1892 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1897 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1899 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1906 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
*resultobj
;
1913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1916 result
= (long)wxNewId();
1918 wxPyEndAllowThreads(__tstate
);
1919 if (PyErr_Occurred()) SWIG_fail
;
1921 resultobj
= SWIG_FromLong((long)result
);
1928 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
*resultobj
;
1931 PyObject
* obj0
= 0 ;
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
1937 arg1
= (long) SWIG_AsLong(obj0
);
1938 if (PyErr_Occurred()) SWIG_fail
;
1940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1943 wxPyEndAllowThreads(__tstate
);
1944 if (PyErr_Occurred()) SWIG_fail
;
1946 Py_INCREF(Py_None
); resultobj
= Py_None
;
1953 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1954 PyObject
*resultobj
;
1960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1963 result
= (long)wxGetCurrentId();
1965 wxPyEndAllowThreads(__tstate
);
1966 if (PyErr_Occurred()) SWIG_fail
;
1968 resultobj
= SWIG_FromLong((long)result
);
1975 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1976 PyObject
*resultobj
;
1981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
1983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1986 wxPyEndAllowThreads(__tstate
);
1987 if (PyErr_Occurred()) SWIG_fail
;
1989 Py_INCREF(Py_None
); resultobj
= Py_None
;
1996 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1997 PyObject
*resultobj
;
2002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2007 wxPyEndAllowThreads(__tstate
);
2008 if (PyErr_Occurred()) SWIG_fail
;
2010 Py_INCREF(Py_None
); resultobj
= Py_None
;
2017 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
*resultobj
;
2019 bool arg1
= (bool) True
;
2021 PyObject
* obj0
= 0 ;
2023 (char *) "resetTimer", NULL
2026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2028 arg1
= (bool) SWIG_AsBool(obj0
);
2029 if (PyErr_Occurred()) SWIG_fail
;
2032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2033 result
= (long)wxGetElapsedTime(arg1
);
2035 wxPyEndAllowThreads(__tstate
);
2036 if (PyErr_Occurred()) SWIG_fail
;
2038 resultobj
= SWIG_FromLong((long)result
);
2045 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2046 PyObject
*resultobj
;
2047 int *arg1
= (int *) 0 ;
2048 int *arg2
= (int *) 0 ;
2057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2060 wxGetMousePosition(arg1
,arg2
);
2062 wxPyEndAllowThreads(__tstate
);
2063 if (PyErr_Occurred()) SWIG_fail
;
2065 Py_INCREF(Py_None
); resultobj
= Py_None
;
2067 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2068 resultobj
= t_output_helper(resultobj
,o
);
2071 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2072 resultobj
= t_output_helper(resultobj
,o
);
2080 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2081 PyObject
*resultobj
;
2087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2090 result
= (bool)wxIsBusy();
2092 wxPyEndAllowThreads(__tstate
);
2093 if (PyErr_Occurred()) SWIG_fail
;
2096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2104 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2105 PyObject
*resultobj
;
2111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2116 wxPyEndAllowThreads(__tstate
);
2117 if (PyErr_Occurred()) SWIG_fail
;
2121 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2123 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2132 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
*resultobj
;
2134 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2135 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2137 bool temp1
= False
;
2138 PyObject
* obj0
= 0 ;
2140 (char *) "command", NULL
2143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2146 arg1
= wxString_in_helper(obj0
);
2147 if (arg1
== NULL
) SWIG_fail
;
2152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2153 result
= (bool)wxShell((wxString
const &)*arg1
);
2155 wxPyEndAllowThreads(__tstate
);
2156 if (PyErr_Occurred()) SWIG_fail
;
2159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2175 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2176 PyObject
*resultobj
;
2181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2186 wxPyEndAllowThreads(__tstate
);
2187 if (PyErr_Occurred()) SWIG_fail
;
2189 Py_INCREF(Py_None
); resultobj
= Py_None
;
2196 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
*resultobj
;
2198 int *arg1
= (int *) 0 ;
2199 int *arg2
= (int *) 0 ;
2209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2212 result
= (int)wxGetOsVersion(arg1
,arg2
);
2214 wxPyEndAllowThreads(__tstate
);
2215 if (PyErr_Occurred()) SWIG_fail
;
2217 resultobj
= SWIG_FromInt((int)result
);
2219 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2220 resultobj
= t_output_helper(resultobj
,o
);
2223 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2224 resultobj
= t_output_helper(resultobj
,o
);
2232 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2233 PyObject
*resultobj
;
2239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2242 result
= wxGetOsDescription();
2244 wxPyEndAllowThreads(__tstate
);
2245 if (PyErr_Occurred()) SWIG_fail
;
2249 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2251 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2260 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2261 PyObject
*resultobj
;
2267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2270 result
= (long)wxGetFreeMemory();
2272 wxPyEndAllowThreads(__tstate
);
2273 if (PyErr_Occurred()) SWIG_fail
;
2275 resultobj
= SWIG_FromLong((long)result
);
2282 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2283 PyObject
*resultobj
;
2286 PyObject
* obj0
= 0 ;
2288 (char *) "wFlags", NULL
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2292 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2293 if (PyErr_Occurred()) SWIG_fail
;
2295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2296 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2298 wxPyEndAllowThreads(__tstate
);
2299 if (PyErr_Occurred()) SWIG_fail
;
2302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2310 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2311 PyObject
*resultobj
;
2313 PyObject
* obj0
= 0 ;
2315 (char *) "secs", NULL
2318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2319 arg1
= (int) SWIG_AsInt(obj0
);
2320 if (PyErr_Occurred()) SWIG_fail
;
2322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2325 wxPyEndAllowThreads(__tstate
);
2326 if (PyErr_Occurred()) SWIG_fail
;
2328 Py_INCREF(Py_None
); resultobj
= Py_None
;
2335 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2336 PyObject
*resultobj
;
2337 unsigned long arg1
;
2338 PyObject
* obj0
= 0 ;
2340 (char *) "milliseconds", NULL
2343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2344 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2345 if (PyErr_Occurred()) SWIG_fail
;
2347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2350 wxPyEndAllowThreads(__tstate
);
2351 if (PyErr_Occurred()) SWIG_fail
;
2353 Py_INCREF(Py_None
); resultobj
= Py_None
;
2360 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2361 PyObject
*resultobj
;
2363 PyObject
* obj0
= 0 ;
2365 (char *) "enable", NULL
2368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2369 arg1
= (bool) SWIG_AsBool(obj0
);
2370 if (PyErr_Occurred()) SWIG_fail
;
2372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2373 wxEnableTopLevelWindows(arg1
);
2375 wxPyEndAllowThreads(__tstate
);
2376 if (PyErr_Occurred()) SWIG_fail
;
2378 Py_INCREF(Py_None
); resultobj
= Py_None
;
2385 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
*resultobj
;
2387 wxString
*arg1
= 0 ;
2389 bool temp1
= False
;
2390 PyObject
* obj0
= 0 ;
2395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2397 arg1
= wxString_in_helper(obj0
);
2398 if (arg1
== NULL
) SWIG_fail
;
2402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2403 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2405 wxPyEndAllowThreads(__tstate
);
2406 if (PyErr_Occurred()) SWIG_fail
;
2410 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2412 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2429 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2430 PyObject
*resultobj
;
2436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2439 result
= wxGetEmailAddress();
2441 wxPyEndAllowThreads(__tstate
);
2442 if (PyErr_Occurred()) SWIG_fail
;
2446 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2448 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2457 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2458 PyObject
*resultobj
;
2464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2467 result
= wxGetHostName();
2469 wxPyEndAllowThreads(__tstate
);
2470 if (PyErr_Occurred()) SWIG_fail
;
2474 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2476 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2485 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2486 PyObject
*resultobj
;
2492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2495 result
= wxGetFullHostName();
2497 wxPyEndAllowThreads(__tstate
);
2498 if (PyErr_Occurred()) SWIG_fail
;
2502 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2504 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2513 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
*resultobj
;
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2523 result
= wxGetUserId();
2525 wxPyEndAllowThreads(__tstate
);
2526 if (PyErr_Occurred()) SWIG_fail
;
2530 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2532 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2541 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2542 PyObject
*resultobj
;
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2551 result
= wxGetUserName();
2553 wxPyEndAllowThreads(__tstate
);
2554 if (PyErr_Occurred()) SWIG_fail
;
2558 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2560 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2569 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2570 PyObject
*resultobj
;
2576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2579 result
= wxGetHomeDir();
2581 wxPyEndAllowThreads(__tstate
);
2582 if (PyErr_Occurred()) SWIG_fail
;
2586 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2588 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2597 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2598 PyObject
*resultobj
;
2599 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2600 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2602 bool temp1
= False
;
2603 PyObject
* obj0
= 0 ;
2605 (char *) "user", NULL
2608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2611 arg1
= wxString_in_helper(obj0
);
2612 if (arg1
== NULL
) SWIG_fail
;
2617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2618 result
= wxGetUserHome((wxString
const &)*arg1
);
2620 wxPyEndAllowThreads(__tstate
);
2621 if (PyErr_Occurred()) SWIG_fail
;
2625 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2627 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2644 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2645 PyObject
*resultobj
;
2646 unsigned long result
;
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2654 result
= (unsigned long)wxGetProcessId();
2656 wxPyEndAllowThreads(__tstate
);
2657 if (PyErr_Occurred()) SWIG_fail
;
2659 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2666 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
*resultobj
;
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2677 wxPyEndAllowThreads(__tstate
);
2678 if (PyErr_Occurred()) SWIG_fail
;
2680 Py_INCREF(Py_None
); resultobj
= Py_None
;
2687 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2688 PyObject
*resultobj
;
2689 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2690 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2691 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2692 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2693 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2694 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2695 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2696 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2697 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2698 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2699 int arg6
= (int) 0 ;
2700 wxWindow
*arg7
= (wxWindow
*) NULL
;
2701 int arg8
= (int) -1 ;
2702 int arg9
= (int) -1 ;
2704 bool temp1
= False
;
2705 bool temp2
= False
;
2706 bool temp3
= False
;
2707 bool temp4
= False
;
2708 bool temp5
= False
;
2709 PyObject
* obj0
= 0 ;
2710 PyObject
* obj1
= 0 ;
2711 PyObject
* obj2
= 0 ;
2712 PyObject
* obj3
= 0 ;
2713 PyObject
* obj4
= 0 ;
2714 PyObject
* obj5
= 0 ;
2715 PyObject
* obj6
= 0 ;
2716 PyObject
* obj7
= 0 ;
2717 PyObject
* obj8
= 0 ;
2719 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2725 arg1
= wxString_in_helper(obj0
);
2726 if (arg1
== NULL
) SWIG_fail
;
2732 arg2
= wxString_in_helper(obj1
);
2733 if (arg2
== NULL
) SWIG_fail
;
2739 arg3
= wxString_in_helper(obj2
);
2740 if (arg3
== NULL
) SWIG_fail
;
2746 arg4
= wxString_in_helper(obj3
);
2747 if (arg4
== NULL
) SWIG_fail
;
2753 arg5
= wxString_in_helper(obj4
);
2754 if (arg5
== NULL
) SWIG_fail
;
2759 arg6
= (int) SWIG_AsInt(obj5
);
2760 if (PyErr_Occurred()) SWIG_fail
;
2763 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2767 arg8
= (int) SWIG_AsInt(obj7
);
2768 if (PyErr_Occurred()) SWIG_fail
;
2771 arg9
= (int) SWIG_AsInt(obj8
);
2772 if (PyErr_Occurred()) SWIG_fail
;
2775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2776 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2778 wxPyEndAllowThreads(__tstate
);
2779 if (PyErr_Occurred()) SWIG_fail
;
2783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2834 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2835 PyObject
*resultobj
;
2836 wxString
*arg1
= 0 ;
2837 wxString
*arg2
= 0 ;
2838 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2839 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2840 wxWindow
*arg4
= (wxWindow
*) NULL
;
2842 bool temp1
= False
;
2843 bool temp2
= False
;
2844 bool temp3
= False
;
2845 PyObject
* obj0
= 0 ;
2846 PyObject
* obj1
= 0 ;
2847 PyObject
* obj2
= 0 ;
2848 PyObject
* obj3
= 0 ;
2850 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2855 arg1
= wxString_in_helper(obj0
);
2856 if (arg1
== NULL
) SWIG_fail
;
2860 arg2
= wxString_in_helper(obj1
);
2861 if (arg2
== NULL
) SWIG_fail
;
2866 arg3
= wxString_in_helper(obj2
);
2867 if (arg3
== NULL
) SWIG_fail
;
2872 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2877 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2879 wxPyEndAllowThreads(__tstate
);
2880 if (PyErr_Occurred()) SWIG_fail
;
2884 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2886 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2919 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2920 PyObject
*resultobj
;
2921 wxString
*arg1
= 0 ;
2922 wxString
*arg2
= 0 ;
2923 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2924 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2925 wxWindow
*arg4
= (wxWindow
*) NULL
;
2927 bool temp1
= False
;
2928 bool temp2
= False
;
2929 bool temp3
= False
;
2930 PyObject
* obj0
= 0 ;
2931 PyObject
* obj1
= 0 ;
2932 PyObject
* obj2
= 0 ;
2933 PyObject
* obj3
= 0 ;
2935 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2940 arg1
= wxString_in_helper(obj0
);
2941 if (arg1
== NULL
) SWIG_fail
;
2945 arg2
= wxString_in_helper(obj1
);
2946 if (arg2
== NULL
) SWIG_fail
;
2951 arg3
= wxString_in_helper(obj2
);
2952 if (arg3
== NULL
) SWIG_fail
;
2957 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2962 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2964 wxPyEndAllowThreads(__tstate
);
2965 if (PyErr_Occurred()) SWIG_fail
;
2969 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2971 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3004 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3005 PyObject
*resultobj
;
3006 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3007 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3008 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3009 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3010 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3011 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3012 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3013 wxWindow
*arg5
= (wxWindow
*) NULL
;
3015 bool temp1
= False
;
3016 bool temp2
= False
;
3018 PyObject
* obj0
= 0 ;
3019 PyObject
* obj1
= 0 ;
3020 PyObject
* obj2
= 0 ;
3021 PyObject
* obj3
= 0 ;
3022 PyObject
* obj4
= 0 ;
3024 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3030 arg1
= wxString_in_helper(obj0
);
3031 if (arg1
== NULL
) SWIG_fail
;
3037 arg2
= wxString_in_helper(obj1
);
3038 if (arg2
== NULL
) SWIG_fail
;
3043 arg3
= (long) SWIG_AsLong(obj2
);
3044 if (PyErr_Occurred()) SWIG_fail
;
3049 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3053 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3058 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3060 wxPyEndAllowThreads(__tstate
);
3061 if (PyErr_Occurred()) SWIG_fail
;
3065 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3067 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3092 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3093 PyObject
*resultobj
;
3094 wxString
*arg1
= 0 ;
3095 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3096 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3097 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3098 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3099 wxWindow
*arg4
= (wxWindow
*) NULL
;
3100 int arg5
= (int) -1 ;
3101 int arg6
= (int) -1 ;
3102 bool arg7
= (bool) True
;
3104 bool temp1
= False
;
3105 bool temp2
= False
;
3106 bool temp3
= False
;
3107 PyObject
* obj0
= 0 ;
3108 PyObject
* obj1
= 0 ;
3109 PyObject
* obj2
= 0 ;
3110 PyObject
* obj3
= 0 ;
3111 PyObject
* obj4
= 0 ;
3112 PyObject
* obj5
= 0 ;
3113 PyObject
* obj6
= 0 ;
3115 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3120 arg1
= wxString_in_helper(obj0
);
3121 if (arg1
== NULL
) SWIG_fail
;
3126 arg2
= wxString_in_helper(obj1
);
3127 if (arg2
== NULL
) SWIG_fail
;
3133 arg3
= wxString_in_helper(obj2
);
3134 if (arg3
== NULL
) SWIG_fail
;
3139 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3143 arg5
= (int) SWIG_AsInt(obj4
);
3144 if (PyErr_Occurred()) SWIG_fail
;
3147 arg6
= (int) SWIG_AsInt(obj5
);
3148 if (PyErr_Occurred()) SWIG_fail
;
3151 arg7
= (bool) SWIG_AsBool(obj6
);
3152 if (PyErr_Occurred()) SWIG_fail
;
3155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3156 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3158 wxPyEndAllowThreads(__tstate
);
3159 if (PyErr_Occurred()) SWIG_fail
;
3163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3198 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3199 PyObject
*resultobj
;
3200 wxString
*arg1
= 0 ;
3201 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3202 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3203 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3204 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3205 wxWindow
*arg4
= (wxWindow
*) NULL
;
3207 bool temp1
= False
;
3208 bool temp2
= False
;
3209 bool temp3
= False
;
3210 PyObject
* obj0
= 0 ;
3211 PyObject
* obj1
= 0 ;
3212 PyObject
* obj2
= 0 ;
3213 PyObject
* obj3
= 0 ;
3215 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3220 arg1
= wxString_in_helper(obj0
);
3221 if (arg1
== NULL
) SWIG_fail
;
3226 arg2
= wxString_in_helper(obj1
);
3227 if (arg2
== NULL
) SWIG_fail
;
3233 arg3
= wxString_in_helper(obj2
);
3234 if (arg3
== NULL
) SWIG_fail
;
3239 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3244 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3246 wxPyEndAllowThreads(__tstate
);
3247 if (PyErr_Occurred()) SWIG_fail
;
3251 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3253 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3286 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
*resultobj
;
3288 wxString
*arg1
= 0 ;
3289 wxString
*arg2
= 0 ;
3291 wxString
*arg4
= (wxString
*) 0 ;
3292 wxWindow
*arg5
= (wxWindow
*) NULL
;
3293 int arg6
= (int) -1 ;
3294 int arg7
= (int) -1 ;
3295 bool arg8
= (bool) True
;
3296 int arg9
= (int) 150 ;
3297 int arg10
= (int) 200 ;
3299 bool temp1
= False
;
3300 bool temp2
= False
;
3301 PyObject
* obj0
= 0 ;
3302 PyObject
* obj1
= 0 ;
3303 PyObject
* obj2
= 0 ;
3304 PyObject
* obj3
= 0 ;
3305 PyObject
* obj4
= 0 ;
3306 PyObject
* obj5
= 0 ;
3307 PyObject
* obj6
= 0 ;
3308 PyObject
* obj7
= 0 ;
3309 PyObject
* obj8
= 0 ;
3311 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3316 arg1
= wxString_in_helper(obj0
);
3317 if (arg1
== NULL
) SWIG_fail
;
3321 arg2
= wxString_in_helper(obj1
);
3322 if (arg2
== NULL
) SWIG_fail
;
3326 arg3
= PyList_Size(obj2
);
3327 arg4
= wxString_LIST_helper(obj2
);
3328 if (arg4
== NULL
) SWIG_fail
;
3331 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3335 arg6
= (int) SWIG_AsInt(obj4
);
3336 if (PyErr_Occurred()) SWIG_fail
;
3339 arg7
= (int) SWIG_AsInt(obj5
);
3340 if (PyErr_Occurred()) SWIG_fail
;
3343 arg8
= (bool) SWIG_AsBool(obj6
);
3344 if (PyErr_Occurred()) SWIG_fail
;
3347 arg9
= (int) SWIG_AsInt(obj7
);
3348 if (PyErr_Occurred()) SWIG_fail
;
3351 arg10
= (int) SWIG_AsInt(obj8
);
3352 if (PyErr_Occurred()) SWIG_fail
;
3355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3356 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3358 wxPyEndAllowThreads(__tstate
);
3359 if (PyErr_Occurred()) SWIG_fail
;
3363 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3365 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3377 if (arg4
) delete [] arg4
;
3390 if (arg4
) delete [] arg4
;
3396 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3397 PyObject
*resultobj
;
3398 wxString
*arg1
= 0 ;
3399 wxString
*arg2
= 0 ;
3401 wxString
*arg4
= (wxString
*) 0 ;
3402 wxWindow
*arg5
= (wxWindow
*) NULL
;
3403 int arg6
= (int) -1 ;
3404 int arg7
= (int) -1 ;
3405 bool arg8
= (bool) True
;
3406 int arg9
= (int) 150 ;
3407 int arg10
= (int) 200 ;
3409 bool temp1
= False
;
3410 bool temp2
= False
;
3411 PyObject
* obj0
= 0 ;
3412 PyObject
* obj1
= 0 ;
3413 PyObject
* obj2
= 0 ;
3414 PyObject
* obj3
= 0 ;
3415 PyObject
* obj4
= 0 ;
3416 PyObject
* obj5
= 0 ;
3417 PyObject
* obj6
= 0 ;
3418 PyObject
* obj7
= 0 ;
3419 PyObject
* obj8
= 0 ;
3421 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3426 arg1
= wxString_in_helper(obj0
);
3427 if (arg1
== NULL
) SWIG_fail
;
3431 arg2
= wxString_in_helper(obj1
);
3432 if (arg2
== NULL
) SWIG_fail
;
3436 arg3
= PyList_Size(obj2
);
3437 arg4
= wxString_LIST_helper(obj2
);
3438 if (arg4
== NULL
) SWIG_fail
;
3441 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3445 arg6
= (int) SWIG_AsInt(obj4
);
3446 if (PyErr_Occurred()) SWIG_fail
;
3449 arg7
= (int) SWIG_AsInt(obj5
);
3450 if (PyErr_Occurred()) SWIG_fail
;
3453 arg8
= (bool) SWIG_AsBool(obj6
);
3454 if (PyErr_Occurred()) SWIG_fail
;
3457 arg9
= (int) SWIG_AsInt(obj7
);
3458 if (PyErr_Occurred()) SWIG_fail
;
3461 arg10
= (int) SWIG_AsInt(obj8
);
3462 if (PyErr_Occurred()) SWIG_fail
;
3465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3466 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3468 wxPyEndAllowThreads(__tstate
);
3469 if (PyErr_Occurred()) SWIG_fail
;
3471 resultobj
= SWIG_FromInt((int)result
);
3481 if (arg4
) delete [] arg4
;
3494 if (arg4
) delete [] arg4
;
3500 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3501 PyObject
*resultobj
;
3502 wxString
*arg1
= 0 ;
3503 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3504 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3505 int arg3
= (int) wxOK
|wxCENTRE
;
3506 wxWindow
*arg4
= (wxWindow
*) NULL
;
3507 int arg5
= (int) -1 ;
3508 int arg6
= (int) -1 ;
3510 bool temp1
= False
;
3511 bool temp2
= False
;
3512 PyObject
* obj0
= 0 ;
3513 PyObject
* obj1
= 0 ;
3514 PyObject
* obj2
= 0 ;
3515 PyObject
* obj3
= 0 ;
3516 PyObject
* obj4
= 0 ;
3517 PyObject
* obj5
= 0 ;
3519 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3524 arg1
= wxString_in_helper(obj0
);
3525 if (arg1
== NULL
) SWIG_fail
;
3530 arg2
= wxString_in_helper(obj1
);
3531 if (arg2
== NULL
) SWIG_fail
;
3536 arg3
= (int) SWIG_AsInt(obj2
);
3537 if (PyErr_Occurred()) SWIG_fail
;
3540 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3544 arg5
= (int) SWIG_AsInt(obj4
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3548 arg6
= (int) SWIG_AsInt(obj5
);
3549 if (PyErr_Occurred()) SWIG_fail
;
3552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3553 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3555 wxPyEndAllowThreads(__tstate
);
3556 if (PyErr_Occurred()) SWIG_fail
;
3558 resultobj
= SWIG_FromInt((int)result
);
3581 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
*resultobj
;
3583 wxString
*arg1
= 0 ;
3584 wxString
*arg2
= 0 ;
3585 wxString
*arg3
= 0 ;
3587 long arg5
= (long) 0 ;
3588 long arg6
= (long) 100 ;
3589 wxWindow
*arg7
= (wxWindow
*) NULL
;
3590 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3591 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3593 bool temp1
= False
;
3594 bool temp2
= False
;
3595 bool temp3
= False
;
3597 PyObject
* obj0
= 0 ;
3598 PyObject
* obj1
= 0 ;
3599 PyObject
* obj2
= 0 ;
3600 PyObject
* obj3
= 0 ;
3601 PyObject
* obj4
= 0 ;
3602 PyObject
* obj5
= 0 ;
3603 PyObject
* obj6
= 0 ;
3604 PyObject
* obj7
= 0 ;
3606 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3611 arg1
= wxString_in_helper(obj0
);
3612 if (arg1
== NULL
) SWIG_fail
;
3616 arg2
= wxString_in_helper(obj1
);
3617 if (arg2
== NULL
) SWIG_fail
;
3621 arg3
= wxString_in_helper(obj2
);
3622 if (arg3
== NULL
) SWIG_fail
;
3625 arg4
= (long) SWIG_AsLong(obj3
);
3626 if (PyErr_Occurred()) SWIG_fail
;
3628 arg5
= (long) SWIG_AsLong(obj4
);
3629 if (PyErr_Occurred()) SWIG_fail
;
3632 arg6
= (long) SWIG_AsLong(obj5
);
3633 if (PyErr_Occurred()) SWIG_fail
;
3636 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3642 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3647 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3649 wxPyEndAllowThreads(__tstate
);
3650 if (PyErr_Occurred()) SWIG_fail
;
3652 resultobj
= SWIG_FromLong((long)result
);
3683 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3684 PyObject
*resultobj
;
3690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3693 result
= (bool)wxColourDisplay();
3695 wxPyEndAllowThreads(__tstate
);
3696 if (PyErr_Occurred()) SWIG_fail
;
3699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3707 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
*resultobj
;
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3717 result
= (int)wxDisplayDepth();
3719 wxPyEndAllowThreads(__tstate
);
3720 if (PyErr_Occurred()) SWIG_fail
;
3722 resultobj
= SWIG_FromInt((int)result
);
3729 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3730 PyObject
*resultobj
;
3736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3739 result
= (int)wxGetDisplayDepth();
3741 wxPyEndAllowThreads(__tstate
);
3742 if (PyErr_Occurred()) SWIG_fail
;
3744 resultobj
= SWIG_FromInt((int)result
);
3751 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3752 PyObject
*resultobj
;
3753 int *arg1
= (int *) 0 ;
3754 int *arg2
= (int *) 0 ;
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3766 wxDisplaySize(arg1
,arg2
);
3768 wxPyEndAllowThreads(__tstate
);
3769 if (PyErr_Occurred()) SWIG_fail
;
3771 Py_INCREF(Py_None
); resultobj
= Py_None
;
3773 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3774 resultobj
= t_output_helper(resultobj
,o
);
3777 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3778 resultobj
= t_output_helper(resultobj
,o
);
3786 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
*resultobj
;
3793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3796 result
= wxGetDisplaySize();
3798 wxPyEndAllowThreads(__tstate
);
3799 if (PyErr_Occurred()) SWIG_fail
;
3803 resultptr
= new wxSize((wxSize
&) result
);
3804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3812 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
*resultobj
;
3814 int *arg1
= (int *) 0 ;
3815 int *arg2
= (int *) 0 ;
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3827 wxDisplaySizeMM(arg1
,arg2
);
3829 wxPyEndAllowThreads(__tstate
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3832 Py_INCREF(Py_None
); resultobj
= Py_None
;
3834 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3835 resultobj
= t_output_helper(resultobj
,o
);
3838 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3839 resultobj
= t_output_helper(resultobj
,o
);
3847 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3848 PyObject
*resultobj
;
3854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3857 result
= wxGetDisplaySizeMM();
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3864 resultptr
= new wxSize((wxSize
&) result
);
3865 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3873 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
*resultobj
;
3875 int *arg1
= (int *) 0 ;
3876 int *arg2
= (int *) 0 ;
3877 int *arg3
= (int *) 0 ;
3878 int *arg4
= (int *) 0 ;
3891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3894 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3896 wxPyEndAllowThreads(__tstate
);
3897 if (PyErr_Occurred()) SWIG_fail
;
3899 Py_INCREF(Py_None
); resultobj
= Py_None
;
3901 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3902 resultobj
= t_output_helper(resultobj
,o
);
3905 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3906 resultobj
= t_output_helper(resultobj
,o
);
3909 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3910 resultobj
= t_output_helper(resultobj
,o
);
3913 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3914 resultobj
= t_output_helper(resultobj
,o
);
3922 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
*resultobj
;
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 result
= wxGetClientDisplayRect();
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3939 resultptr
= new wxRect((wxRect
&) result
);
3940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3948 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3949 PyObject
*resultobj
;
3950 wxCursor
*arg1
= 0 ;
3951 PyObject
* obj0
= 0 ;
3953 (char *) "cursor", NULL
3956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
3958 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3961 PyErr_SetString(PyExc_TypeError
,"null reference");
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3971 Py_INCREF(Py_None
); resultobj
= Py_None
;
3978 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
*resultobj
;
3980 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3981 PyObject
* obj0
= 0 ;
3983 (char *) "cursor", NULL
3986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
3988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
3989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3993 wxBeginBusyCursor(arg1
);
3995 wxPyEndAllowThreads(__tstate
);
3996 if (PyErr_Occurred()) SWIG_fail
;
3998 Py_INCREF(Py_None
); resultobj
= Py_None
;
4005 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
*resultobj
;
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4015 result
= (wxWindow
*)wxGetActiveWindow();
4017 wxPyEndAllowThreads(__tstate
);
4018 if (PyErr_Occurred()) SWIG_fail
;
4021 resultobj
= wxPyMake_wxObject(result
);
4029 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4030 PyObject
*resultobj
;
4034 PyObject
* obj0
= 0 ;
4039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4042 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4046 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4048 wxPyEndAllowThreads(__tstate
);
4049 if (PyErr_Occurred()) SWIG_fail
;
4052 resultobj
= wxPyMake_wxObject(result
);
4060 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4061 PyObject
*resultobj
;
4065 PyObject
* obj0
= 0 ;
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4073 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4077 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4079 wxPyEndAllowThreads(__tstate
);
4080 if (PyErr_Occurred()) SWIG_fail
;
4083 resultobj
= wxPyMake_wxObject(result
);
4091 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4092 PyObject
*resultobj
;
4093 wxWindow
*arg1
= (wxWindow
*) 0 ;
4095 PyObject
* obj0
= 0 ;
4097 (char *) "win", NULL
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4105 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4107 wxPyEndAllowThreads(__tstate
);
4108 if (PyErr_Occurred()) SWIG_fail
;
4111 resultobj
= wxPyMake_wxObject(result
);
4119 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4120 PyObject
*resultobj
;
4123 PyObject
* obj0
= 0 ;
4125 (char *) "key", NULL
4128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4129 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4130 if (PyErr_Occurred()) SWIG_fail
;
4132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4133 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4135 wxPyEndAllowThreads(__tstate
);
4136 if (PyErr_Occurred()) SWIG_fail
;
4139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4147 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
*resultobj
;
4153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4156 wxWakeUpMainThread();
4158 wxPyEndAllowThreads(__tstate
);
4159 if (PyErr_Occurred()) SWIG_fail
;
4161 Py_INCREF(Py_None
); resultobj
= Py_None
;
4168 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4169 PyObject
*resultobj
;
4174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4179 wxPyEndAllowThreads(__tstate
);
4180 if (PyErr_Occurred()) SWIG_fail
;
4182 Py_INCREF(Py_None
); resultobj
= Py_None
;
4189 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
;
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4200 wxPyEndAllowThreads(__tstate
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4203 Py_INCREF(Py_None
); resultobj
= Py_None
;
4210 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
*resultobj
;
4212 wxMutexGuiLocker
*result
;
4217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4232 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
;
4234 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4235 PyObject
* obj0
= 0 ;
4237 (char *) "self", NULL
4240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4247 wxPyEndAllowThreads(__tstate
);
4248 if (PyErr_Occurred()) SWIG_fail
;
4250 Py_INCREF(Py_None
); resultobj
= Py_None
;
4257 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4260 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4262 return Py_BuildValue((char *)"");
4264 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
*resultobj
;
4271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4274 result
= (bool)wxThread_IsMain();
4276 wxPyEndAllowThreads(__tstate
);
4277 if (PyErr_Occurred()) SWIG_fail
;
4280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4288 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4289 PyObject
*resultobj
;
4290 wxString
*arg1
= 0 ;
4292 bool temp1
= False
;
4293 PyObject
* obj0
= 0 ;
4295 (char *) "tip", NULL
4298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4300 arg1
= wxString_in_helper(obj0
);
4301 if (arg1
== NULL
) SWIG_fail
;
4305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4312 resultobj
= wxPyMake_wxObject(result
);
4328 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4329 PyObject
*resultobj
;
4330 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4331 wxString
*arg2
= 0 ;
4332 bool temp2
= False
;
4333 PyObject
* obj0
= 0 ;
4334 PyObject
* obj1
= 0 ;
4336 (char *) "self",(char *) "tip", NULL
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4343 arg2
= wxString_in_helper(obj1
);
4344 if (arg2
== NULL
) SWIG_fail
;
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 (arg1
)->SetTip((wxString
const &)*arg2
);
4351 wxPyEndAllowThreads(__tstate
);
4352 if (PyErr_Occurred()) SWIG_fail
;
4354 Py_INCREF(Py_None
); resultobj
= Py_None
;
4369 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
*resultobj
;
4371 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4373 PyObject
* obj0
= 0 ;
4375 (char *) "self", NULL
4378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 result
= (arg1
)->GetTip();
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4390 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4392 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4401 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4402 PyObject
*resultobj
;
4403 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4405 PyObject
* obj0
= 0 ;
4407 (char *) "self", NULL
4410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 result
= (wxWindow
*)(arg1
)->GetWindow();
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4421 resultobj
= wxPyMake_wxObject(result
);
4429 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4430 PyObject
*resultobj
;
4432 PyObject
* obj0
= 0 ;
4434 (char *) "flag", NULL
4437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4438 arg1
= (bool) SWIG_AsBool(obj0
);
4439 if (PyErr_Occurred()) SWIG_fail
;
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4442 wxToolTip::Enable(arg1
);
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4447 Py_INCREF(Py_None
); resultobj
= Py_None
;
4454 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
*resultobj
;
4457 PyObject
* obj0
= 0 ;
4459 (char *) "milliseconds", NULL
4462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4463 arg1
= (long) SWIG_AsLong(obj0
);
4464 if (PyErr_Occurred()) SWIG_fail
;
4466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 wxToolTip::SetDelay(arg1
);
4469 wxPyEndAllowThreads(__tstate
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4472 Py_INCREF(Py_None
); resultobj
= Py_None
;
4479 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4481 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4482 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4484 return Py_BuildValue((char *)"");
4486 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
*resultobj
;
4488 wxWindow
*arg1
= (wxWindow
*) 0 ;
4492 PyObject
* obj0
= 0 ;
4493 PyObject
* obj1
= 0 ;
4495 (char *) "window",(char *) "size", NULL
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4503 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4509 wxPyEndAllowThreads(__tstate
);
4510 if (PyErr_Occurred()) SWIG_fail
;
4512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4519 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4520 PyObject
*resultobj
;
4521 wxCaret
*arg1
= (wxCaret
*) 0 ;
4522 PyObject
* obj0
= 0 ;
4524 (char *) "self", NULL
4527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 wxPyEndAllowThreads(__tstate
);
4535 if (PyErr_Occurred()) SWIG_fail
;
4537 Py_INCREF(Py_None
); resultobj
= Py_None
;
4544 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
*resultobj
;
4546 wxCaret
*arg1
= (wxCaret
*) 0 ;
4548 PyObject
* obj0
= 0 ;
4550 (char *) "self", NULL
4553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 result
= (bool)(arg1
)->IsOk();
4560 wxPyEndAllowThreads(__tstate
);
4561 if (PyErr_Occurred()) SWIG_fail
;
4564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4572 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
;
4574 wxCaret
*arg1
= (wxCaret
*) 0 ;
4576 PyObject
* obj0
= 0 ;
4578 (char *) "self", NULL
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4586 result
= (bool)(arg1
)->IsVisible();
4588 wxPyEndAllowThreads(__tstate
);
4589 if (PyErr_Occurred()) SWIG_fail
;
4592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4600 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4601 PyObject
*resultobj
;
4602 wxCaret
*arg1
= (wxCaret
*) 0 ;
4604 PyObject
* obj0
= 0 ;
4606 (char *) "self", NULL
4609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4614 result
= (arg1
)->GetPosition();
4616 wxPyEndAllowThreads(__tstate
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4620 wxPoint
* resultptr
;
4621 resultptr
= new wxPoint((wxPoint
&) result
);
4622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4630 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
*resultobj
;
4632 wxCaret
*arg1
= (wxCaret
*) 0 ;
4633 int *arg2
= (int *) 0 ;
4634 int *arg3
= (int *) 0 ;
4637 PyObject
* obj0
= 0 ;
4639 (char *) "self", NULL
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 (arg1
)->GetPosition(arg2
,arg3
);
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4654 Py_INCREF(Py_None
); resultobj
= Py_None
;
4656 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4657 resultobj
= t_output_helper(resultobj
,o
);
4660 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4661 resultobj
= t_output_helper(resultobj
,o
);
4669 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4670 PyObject
*resultobj
;
4671 wxCaret
*arg1
= (wxCaret
*) 0 ;
4673 PyObject
* obj0
= 0 ;
4675 (char *) "self", NULL
4678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4683 result
= (arg1
)->GetSize();
4685 wxPyEndAllowThreads(__tstate
);
4686 if (PyErr_Occurred()) SWIG_fail
;
4690 resultptr
= new wxSize((wxSize
&) result
);
4691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4699 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
*resultobj
;
4701 wxCaret
*arg1
= (wxCaret
*) 0 ;
4702 int *arg2
= (int *) 0 ;
4703 int *arg3
= (int *) 0 ;
4706 PyObject
* obj0
= 0 ;
4708 (char *) "self", NULL
4713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 (arg1
)->GetSize(arg2
,arg3
);
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4723 Py_INCREF(Py_None
); resultobj
= Py_None
;
4725 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4726 resultobj
= t_output_helper(resultobj
,o
);
4729 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4730 resultobj
= t_output_helper(resultobj
,o
);
4738 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
*resultobj
;
4740 wxCaret
*arg1
= (wxCaret
*) 0 ;
4742 PyObject
* obj0
= 0 ;
4744 (char *) "self", NULL
4747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 result
= (wxWindow
*)(arg1
)->GetWindow();
4754 wxPyEndAllowThreads(__tstate
);
4755 if (PyErr_Occurred()) SWIG_fail
;
4758 resultobj
= wxPyMake_wxObject(result
);
4766 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4767 PyObject
*resultobj
;
4768 wxCaret
*arg1
= (wxCaret
*) 0 ;
4771 PyObject
* obj0
= 0 ;
4772 PyObject
* obj1
= 0 ;
4773 PyObject
* obj2
= 0 ;
4775 (char *) "self",(char *) "x",(char *) "y", NULL
4778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4781 arg2
= (int) SWIG_AsInt(obj1
);
4782 if (PyErr_Occurred()) SWIG_fail
;
4783 arg3
= (int) SWIG_AsInt(obj2
);
4784 if (PyErr_Occurred()) SWIG_fail
;
4786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4787 (arg1
)->Move(arg2
,arg3
);
4789 wxPyEndAllowThreads(__tstate
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4792 Py_INCREF(Py_None
); resultobj
= Py_None
;
4799 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
*resultobj
;
4801 wxCaret
*arg1
= (wxCaret
*) 0 ;
4804 PyObject
* obj0
= 0 ;
4805 PyObject
* obj1
= 0 ;
4807 (char *) "self",(char *) "pt", NULL
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4815 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4819 (arg1
)->Move((wxPoint
const &)*arg2
);
4821 wxPyEndAllowThreads(__tstate
);
4822 if (PyErr_Occurred()) SWIG_fail
;
4824 Py_INCREF(Py_None
); resultobj
= Py_None
;
4831 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4832 PyObject
*resultobj
;
4833 wxCaret
*arg1
= (wxCaret
*) 0 ;
4836 PyObject
* obj0
= 0 ;
4837 PyObject
* obj1
= 0 ;
4838 PyObject
* obj2
= 0 ;
4840 (char *) "self",(char *) "width",(char *) "height", NULL
4843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4846 arg2
= (int) SWIG_AsInt(obj1
);
4847 if (PyErr_Occurred()) SWIG_fail
;
4848 arg3
= (int) SWIG_AsInt(obj2
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 (arg1
)->SetSize(arg2
,arg3
);
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4857 Py_INCREF(Py_None
); resultobj
= Py_None
;
4864 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
*resultobj
;
4866 wxCaret
*arg1
= (wxCaret
*) 0 ;
4869 PyObject
* obj0
= 0 ;
4870 PyObject
* obj1
= 0 ;
4872 (char *) "self",(char *) "size", NULL
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4880 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4884 (arg1
)->SetSize((wxSize
const &)*arg2
);
4886 wxPyEndAllowThreads(__tstate
);
4887 if (PyErr_Occurred()) SWIG_fail
;
4889 Py_INCREF(Py_None
); resultobj
= Py_None
;
4896 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
*resultobj
;
4898 wxCaret
*arg1
= (wxCaret
*) 0 ;
4899 int arg2
= (int) True
;
4900 PyObject
* obj0
= 0 ;
4901 PyObject
* obj1
= 0 ;
4903 (char *) "self",(char *) "show", NULL
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4910 arg2
= (int) SWIG_AsInt(obj1
);
4911 if (PyErr_Occurred()) SWIG_fail
;
4914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4920 Py_INCREF(Py_None
); resultobj
= Py_None
;
4927 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
;
4929 wxCaret
*arg1
= (wxCaret
*) 0 ;
4930 PyObject
* obj0
= 0 ;
4932 (char *) "self", NULL
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4942 wxPyEndAllowThreads(__tstate
);
4943 if (PyErr_Occurred()) SWIG_fail
;
4945 Py_INCREF(Py_None
); resultobj
= Py_None
;
4952 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
4954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4955 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4957 return Py_BuildValue((char *)"");
4959 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
*resultobj
;
4966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4969 result
= (int)wxCaret_GetBlinkTime();
4971 wxPyEndAllowThreads(__tstate
);
4972 if (PyErr_Occurred()) SWIG_fail
;
4974 resultobj
= SWIG_FromInt((int)result
);
4981 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4982 PyObject
*resultobj
;
4984 PyObject
* obj0
= 0 ;
4986 (char *) "milliseconds", NULL
4989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
4990 arg1
= (int) SWIG_AsInt(obj0
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4994 wxCaret_SetBlinkTime(arg1
);
4996 wxPyEndAllowThreads(__tstate
);
4997 if (PyErr_Occurred()) SWIG_fail
;
4999 Py_INCREF(Py_None
); resultobj
= Py_None
;
5006 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5007 PyObject
*resultobj
;
5008 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5009 wxBusyCursor
*result
;
5010 PyObject
* obj0
= 0 ;
5012 (char *) "cursor", NULL
5015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5022 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5024 wxPyEndAllowThreads(__tstate
);
5025 if (PyErr_Occurred()) SWIG_fail
;
5027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5034 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5035 PyObject
*resultobj
;
5036 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5037 PyObject
* obj0
= 0 ;
5039 (char *) "self", NULL
5042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 wxPyEndAllowThreads(__tstate
);
5050 if (PyErr_Occurred()) SWIG_fail
;
5052 Py_INCREF(Py_None
); resultobj
= Py_None
;
5059 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5062 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5064 return Py_BuildValue((char *)"");
5066 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5067 PyObject
*resultobj
;
5068 wxWindow
*arg1
= (wxWindow
*) NULL
;
5069 wxWindowDisabler
*result
;
5070 PyObject
* obj0
= 0 ;
5072 (char *) "winToSkip", NULL
5075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5094 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5095 PyObject
*resultobj
;
5096 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5097 PyObject
* obj0
= 0 ;
5099 (char *) "self", NULL
5102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) SWIG_fail
;
5112 Py_INCREF(Py_None
); resultobj
= Py_None
;
5119 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5122 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5124 return Py_BuildValue((char *)"");
5126 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5127 PyObject
*resultobj
;
5128 wxString
*arg1
= 0 ;
5130 bool temp1
= False
;
5131 PyObject
* obj0
= 0 ;
5133 (char *) "message", NULL
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5138 arg1
= wxString_in_helper(obj0
);
5139 if (arg1
== NULL
) SWIG_fail
;
5143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5144 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5146 wxPyEndAllowThreads(__tstate
);
5147 if (PyErr_Occurred()) SWIG_fail
;
5149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5164 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
*resultobj
;
5166 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5167 PyObject
* obj0
= 0 ;
5169 (char *) "self", NULL
5172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5179 wxPyEndAllowThreads(__tstate
);
5180 if (PyErr_Occurred()) SWIG_fail
;
5182 Py_INCREF(Py_None
); resultobj
= Py_None
;
5189 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5192 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5194 return Py_BuildValue((char *)"");
5196 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
*resultobj
;
5198 wxStopWatch
*result
;
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 result
= (wxStopWatch
*)new wxStopWatch();
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5218 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5219 PyObject
*resultobj
;
5220 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5221 long arg2
= (long) 0 ;
5222 PyObject
* obj0
= 0 ;
5223 PyObject
* obj1
= 0 ;
5225 (char *) "self",(char *) "t0", NULL
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5232 arg2
= (long) SWIG_AsLong(obj1
);
5233 if (PyErr_Occurred()) SWIG_fail
;
5236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5237 (arg1
)->Start(arg2
);
5239 wxPyEndAllowThreads(__tstate
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5242 Py_INCREF(Py_None
); resultobj
= Py_None
;
5249 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
*resultobj
;
5251 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5252 PyObject
* obj0
= 0 ;
5254 (char *) "self", NULL
5257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5267 Py_INCREF(Py_None
); resultobj
= Py_None
;
5274 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5275 PyObject
*resultobj
;
5276 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5277 PyObject
* obj0
= 0 ;
5279 (char *) "self", NULL
5282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5289 wxPyEndAllowThreads(__tstate
);
5290 if (PyErr_Occurred()) SWIG_fail
;
5292 Py_INCREF(Py_None
); resultobj
= Py_None
;
5299 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5300 PyObject
*resultobj
;
5301 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5303 PyObject
* obj0
= 0 ;
5305 (char *) "self", NULL
5308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5313 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5315 wxPyEndAllowThreads(__tstate
);
5316 if (PyErr_Occurred()) SWIG_fail
;
5318 resultobj
= SWIG_FromLong((long)result
);
5325 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5328 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5330 return Py_BuildValue((char *)"");
5332 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
*resultobj
;
5334 int arg1
= (int) 9 ;
5335 wxFileHistory
*result
;
5336 PyObject
* obj0
= 0 ;
5338 (char *) "maxFiles", NULL
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5343 arg1
= (int) SWIG_AsInt(obj0
);
5344 if (PyErr_Occurred()) SWIG_fail
;
5347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5348 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) SWIG_fail
;
5353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5360 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
*resultobj
;
5362 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5363 PyObject
* obj0
= 0 ;
5365 (char *) "self", NULL
5368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5375 wxPyEndAllowThreads(__tstate
);
5376 if (PyErr_Occurred()) SWIG_fail
;
5378 Py_INCREF(Py_None
); resultobj
= Py_None
;
5385 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5386 PyObject
*resultobj
;
5387 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5388 wxString
*arg2
= 0 ;
5389 bool temp2
= False
;
5390 PyObject
* obj0
= 0 ;
5391 PyObject
* obj1
= 0 ;
5393 (char *) "self",(char *) "file", NULL
5396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5400 arg2
= wxString_in_helper(obj1
);
5401 if (arg2
== NULL
) SWIG_fail
;
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5411 Py_INCREF(Py_None
); resultobj
= Py_None
;
5426 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5427 PyObject
*resultobj
;
5428 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5430 PyObject
* obj0
= 0 ;
5431 PyObject
* obj1
= 0 ;
5433 (char *) "self",(char *) "i", NULL
5436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5439 arg2
= (int) SWIG_AsInt(obj1
);
5440 if (PyErr_Occurred()) SWIG_fail
;
5442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5443 (arg1
)->RemoveFileFromHistory(arg2
);
5445 wxPyEndAllowThreads(__tstate
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5448 Py_INCREF(Py_None
); resultobj
= Py_None
;
5455 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5456 PyObject
*resultobj
;
5457 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5459 PyObject
* obj0
= 0 ;
5461 (char *) "self", NULL
5464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5474 resultobj
= SWIG_FromInt((int)result
);
5481 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
*resultobj
;
5483 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5484 wxMenu
*arg2
= (wxMenu
*) 0 ;
5485 PyObject
* obj0
= 0 ;
5486 PyObject
* obj1
= 0 ;
5488 (char *) "self",(char *) "menu", NULL
5491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5498 (arg1
)->UseMenu(arg2
);
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5503 Py_INCREF(Py_None
); resultobj
= Py_None
;
5510 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
;
5512 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5513 wxMenu
*arg2
= (wxMenu
*) 0 ;
5514 PyObject
* obj0
= 0 ;
5515 PyObject
* obj1
= 0 ;
5517 (char *) "self",(char *) "menu", NULL
5520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5523 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5527 (arg1
)->RemoveMenu(arg2
);
5529 wxPyEndAllowThreads(__tstate
);
5530 if (PyErr_Occurred()) SWIG_fail
;
5532 Py_INCREF(Py_None
); resultobj
= Py_None
;
5539 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5540 PyObject
*resultobj
;
5541 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5542 wxConfigBase
*arg2
= 0 ;
5543 PyObject
* obj0
= 0 ;
5544 PyObject
* obj1
= 0 ;
5546 (char *) "self",(char *) "config", NULL
5549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5553 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5556 PyErr_SetString(PyExc_TypeError
,"null reference");
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 (arg1
)->Load(*arg2
);
5563 wxPyEndAllowThreads(__tstate
);
5564 if (PyErr_Occurred()) SWIG_fail
;
5566 Py_INCREF(Py_None
); resultobj
= Py_None
;
5573 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
*resultobj
;
5575 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5576 wxConfigBase
*arg2
= 0 ;
5577 PyObject
* obj0
= 0 ;
5578 PyObject
* obj1
= 0 ;
5580 (char *) "self",(char *) "config", NULL
5583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5587 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5590 PyErr_SetString(PyExc_TypeError
,"null reference");
5594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5595 (arg1
)->Save(*arg2
);
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5600 Py_INCREF(Py_None
); resultobj
= Py_None
;
5607 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
*resultobj
;
5609 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5610 PyObject
* obj0
= 0 ;
5612 (char *) "self", NULL
5615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5620 (arg1
)->AddFilesToMenu();
5622 wxPyEndAllowThreads(__tstate
);
5623 if (PyErr_Occurred()) SWIG_fail
;
5625 Py_INCREF(Py_None
); resultobj
= Py_None
;
5632 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5633 PyObject
*resultobj
;
5634 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5635 wxMenu
*arg2
= (wxMenu
*) 0 ;
5636 PyObject
* obj0
= 0 ;
5637 PyObject
* obj1
= 0 ;
5639 (char *) "self",(char *) "menu", NULL
5642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5645 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 (arg1
)->AddFilesToMenu(arg2
);
5651 wxPyEndAllowThreads(__tstate
);
5652 if (PyErr_Occurred()) SWIG_fail
;
5654 Py_INCREF(Py_None
); resultobj
= Py_None
;
5661 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5662 PyObject
*resultobj
;
5663 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5666 PyObject
* obj0
= 0 ;
5667 PyObject
* obj1
= 0 ;
5669 (char *) "self",(char *) "i", NULL
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5675 arg2
= (int) SWIG_AsInt(obj1
);
5676 if (PyErr_Occurred()) SWIG_fail
;
5678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5679 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5681 wxPyEndAllowThreads(__tstate
);
5682 if (PyErr_Occurred()) SWIG_fail
;
5686 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5688 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5697 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
*resultobj
;
5699 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5701 PyObject
* obj0
= 0 ;
5703 (char *) "self", NULL
5706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5716 resultobj
= SWIG_FromInt((int)result
);
5723 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5726 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5728 return Py_BuildValue((char *)"");
5730 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5731 PyObject
*resultobj
;
5732 wxString
*arg1
= 0 ;
5733 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5734 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5735 wxSingleInstanceChecker
*result
;
5736 bool temp1
= False
;
5737 bool temp2
= False
;
5738 PyObject
* obj0
= 0 ;
5739 PyObject
* obj1
= 0 ;
5741 (char *) "name",(char *) "path", NULL
5744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5746 arg1
= wxString_in_helper(obj0
);
5747 if (arg1
== NULL
) SWIG_fail
;
5752 arg2
= wxString_in_helper(obj1
);
5753 if (arg2
== NULL
) SWIG_fail
;
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5787 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5788 PyObject
*resultobj
;
5789 wxSingleInstanceChecker
*result
;
5794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5809 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
*resultobj
;
5811 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5812 PyObject
* obj0
= 0 ;
5814 (char *) "self", NULL
5817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5827 Py_INCREF(Py_None
); resultobj
= Py_None
;
5834 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
*resultobj
;
5836 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5837 wxString
*arg2
= 0 ;
5838 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5839 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5841 bool temp2
= False
;
5842 bool temp3
= False
;
5843 PyObject
* obj0
= 0 ;
5844 PyObject
* obj1
= 0 ;
5845 PyObject
* obj2
= 0 ;
5847 (char *) "self",(char *) "name",(char *) "path", NULL
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5854 arg2
= wxString_in_helper(obj1
);
5855 if (arg2
== NULL
) SWIG_fail
;
5860 arg3
= wxString_in_helper(obj2
);
5861 if (arg3
== NULL
) SWIG_fail
;
5866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5867 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5869 wxPyEndAllowThreads(__tstate
);
5870 if (PyErr_Occurred()) SWIG_fail
;
5873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5897 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5898 PyObject
*resultobj
;
5899 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5901 PyObject
* obj0
= 0 ;
5903 (char *) "self", NULL
5906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5925 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5927 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5928 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5930 return Py_BuildValue((char *)"");
5932 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
*resultobj
;
5934 wxWindow
*arg1
= (wxWindow
*) 0 ;
5937 PyObject
* obj0
= 0 ;
5938 PyObject
* obj1
= 0 ;
5939 PyObject
* obj2
= 0 ;
5941 (char *) "window",(char *) "dc",(char *) "method", NULL
5944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5947 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5948 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5951 PyErr_SetString(PyExc_TypeError
,"null reference");
5954 arg3
= (int) SWIG_AsInt(obj2
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5958 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5963 Py_INCREF(Py_None
); resultobj
= Py_None
;
5970 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5971 PyObject
*resultobj
;
5972 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5973 PyObject
* obj0
= 0 ;
5975 (char *) "self", NULL
5978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
5979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
5980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5988 Py_INCREF(Py_None
); resultobj
= Py_None
;
5995 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5996 PyObject
*resultobj
;
5997 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5999 PyObject
* obj0
= 0 ;
6001 (char *) "self", NULL
6004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 result
= (arg1
)->GetTip();
6011 wxPyEndAllowThreads(__tstate
);
6012 if (PyErr_Occurred()) SWIG_fail
;
6016 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6018 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6027 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6028 PyObject
*resultobj
;
6029 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6031 PyObject
* obj0
= 0 ;
6033 (char *) "self", NULL
6036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6041 result
= (size_t)(arg1
)->GetCurrentTip();
6043 wxPyEndAllowThreads(__tstate
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6046 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6053 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6054 PyObject
*resultobj
;
6055 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6056 wxString
*arg2
= 0 ;
6058 bool temp2
= False
;
6059 PyObject
* obj0
= 0 ;
6060 PyObject
* obj1
= 0 ;
6062 (char *) "self",(char *) "tip", NULL
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6069 arg2
= wxString_in_helper(obj1
);
6070 if (arg2
== NULL
) SWIG_fail
;
6074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6075 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6077 wxPyEndAllowThreads(__tstate
);
6078 if (PyErr_Occurred()) SWIG_fail
;
6082 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6084 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6101 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6104 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6106 return Py_BuildValue((char *)"");
6108 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6109 PyObject
*resultobj
;
6111 wxPyTipProvider
*result
;
6112 PyObject
* obj0
= 0 ;
6114 (char *) "currentTip", NULL
6117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6118 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6122 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6134 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
*resultobj
;
6136 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6137 PyObject
*arg2
= (PyObject
*) 0 ;
6138 PyObject
*arg3
= (PyObject
*) 0 ;
6139 PyObject
* obj0
= 0 ;
6140 PyObject
* obj1
= 0 ;
6141 PyObject
* obj2
= 0 ;
6143 (char *) "self",(char *) "self",(char *) "_class", NULL
6146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6153 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6155 wxPyEndAllowThreads(__tstate
);
6156 if (PyErr_Occurred()) SWIG_fail
;
6158 Py_INCREF(Py_None
); resultobj
= Py_None
;
6165 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6168 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6170 return Py_BuildValue((char *)"");
6172 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
*resultobj
;
6174 wxWindow
*arg1
= (wxWindow
*) 0 ;
6175 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6176 bool arg3
= (bool) True
;
6178 PyObject
* obj0
= 0 ;
6179 PyObject
* obj1
= 0 ;
6180 PyObject
* obj2
= 0 ;
6182 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6188 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6191 arg3
= (bool) SWIG_AsBool(obj2
);
6192 if (PyErr_Occurred()) SWIG_fail
;
6195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6196 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6198 wxPyEndAllowThreads(__tstate
);
6199 if (PyErr_Occurred()) SWIG_fail
;
6202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6210 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
*resultobj
;
6212 wxString
*arg1
= 0 ;
6214 wxTipProvider
*result
;
6215 bool temp1
= False
;
6216 PyObject
* obj0
= 0 ;
6217 PyObject
* obj1
= 0 ;
6219 (char *) "filename",(char *) "currentTip", NULL
6222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6224 arg1
= wxString_in_helper(obj0
);
6225 if (arg1
== NULL
) SWIG_fail
;
6228 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6229 if (PyErr_Occurred()) SWIG_fail
;
6231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6232 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6234 wxPyEndAllowThreads(__tstate
);
6235 if (PyErr_Occurred()) SWIG_fail
;
6237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6252 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
*resultobj
;
6254 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6255 int arg2
= (int) -1 ;
6257 PyObject
* obj0
= 0 ;
6258 PyObject
* obj1
= 0 ;
6260 (char *) "owner",(char *) "id", NULL
6263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6269 arg2
= (int) SWIG_AsInt(obj1
);
6270 if (PyErr_Occurred()) SWIG_fail
;
6273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6274 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6276 wxPyEndAllowThreads(__tstate
);
6277 if (PyErr_Occurred()) SWIG_fail
;
6279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6286 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6287 PyObject
*resultobj
;
6288 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6289 PyObject
* obj0
= 0 ;
6291 (char *) "self", NULL
6294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6301 wxPyEndAllowThreads(__tstate
);
6302 if (PyErr_Occurred()) SWIG_fail
;
6304 Py_INCREF(Py_None
); resultobj
= Py_None
;
6311 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6312 PyObject
*resultobj
;
6313 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6314 PyObject
*arg2
= (PyObject
*) 0 ;
6315 PyObject
*arg3
= (PyObject
*) 0 ;
6316 int arg4
= (int) 1 ;
6317 PyObject
* obj0
= 0 ;
6318 PyObject
* obj1
= 0 ;
6319 PyObject
* obj2
= 0 ;
6320 PyObject
* obj3
= 0 ;
6322 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6331 arg4
= (int) SWIG_AsInt(obj3
);
6332 if (PyErr_Occurred()) SWIG_fail
;
6335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6336 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6338 wxPyEndAllowThreads(__tstate
);
6339 if (PyErr_Occurred()) SWIG_fail
;
6341 Py_INCREF(Py_None
); resultobj
= Py_None
;
6348 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6349 PyObject
*resultobj
;
6350 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6351 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6352 int arg3
= (int) -1 ;
6353 PyObject
* obj0
= 0 ;
6354 PyObject
* obj1
= 0 ;
6355 PyObject
* obj2
= 0 ;
6357 (char *) "self",(char *) "owner",(char *) "id", NULL
6360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6363 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6366 arg3
= (int) SWIG_AsInt(obj2
);
6367 if (PyErr_Occurred()) SWIG_fail
;
6370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6371 (arg1
)->SetOwner(arg2
,arg3
);
6373 wxPyEndAllowThreads(__tstate
);
6374 if (PyErr_Occurred()) SWIG_fail
;
6376 Py_INCREF(Py_None
); resultobj
= Py_None
;
6383 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6384 PyObject
*resultobj
;
6385 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6386 int arg2
= (int) -1 ;
6387 bool arg3
= (bool) False
;
6389 PyObject
* obj0
= 0 ;
6390 PyObject
* obj1
= 0 ;
6391 PyObject
* obj2
= 0 ;
6393 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6400 arg2
= (int) SWIG_AsInt(obj1
);
6401 if (PyErr_Occurred()) SWIG_fail
;
6404 arg3
= (bool) SWIG_AsBool(obj2
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6409 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6411 wxPyEndAllowThreads(__tstate
);
6412 if (PyErr_Occurred()) SWIG_fail
;
6415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6423 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
*resultobj
;
6425 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6426 PyObject
* obj0
= 0 ;
6428 (char *) "self", NULL
6431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6438 wxPyEndAllowThreads(__tstate
);
6439 if (PyErr_Occurred()) SWIG_fail
;
6441 Py_INCREF(Py_None
); resultobj
= Py_None
;
6448 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6449 PyObject
*resultobj
;
6450 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6452 PyObject
* obj0
= 0 ;
6454 (char *) "self", NULL
6457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6462 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6464 wxPyEndAllowThreads(__tstate
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6476 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
*resultobj
;
6478 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6480 PyObject
* obj0
= 0 ;
6482 (char *) "self", NULL
6485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6495 resultobj
= SWIG_FromInt((int)result
);
6502 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
*resultobj
;
6504 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6506 PyObject
* obj0
= 0 ;
6508 (char *) "self", NULL
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6518 wxPyEndAllowThreads(__tstate
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6530 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
*resultobj
;
6532 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6534 PyObject
* obj0
= 0 ;
6536 (char *) "self", NULL
6539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6546 wxPyEndAllowThreads(__tstate
);
6547 if (PyErr_Occurred()) SWIG_fail
;
6549 resultobj
= SWIG_FromInt((int)result
);
6556 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6559 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6561 return Py_BuildValue((char *)"");
6563 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
*resultobj
;
6565 int arg1
= (int) 0 ;
6566 int arg2
= (int) 0 ;
6567 wxTimerEvent
*result
;
6568 PyObject
* obj0
= 0 ;
6569 PyObject
* obj1
= 0 ;
6571 (char *) "timerid",(char *) "interval", NULL
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6576 arg1
= (int) SWIG_AsInt(obj0
);
6577 if (PyErr_Occurred()) SWIG_fail
;
6580 arg2
= (int) SWIG_AsInt(obj1
);
6581 if (PyErr_Occurred()) SWIG_fail
;
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6587 wxPyEndAllowThreads(__tstate
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6597 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
*resultobj
;
6599 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6601 PyObject
* obj0
= 0 ;
6603 (char *) "self", NULL
6606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6611 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6616 resultobj
= SWIG_FromInt((int)result
);
6623 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6626 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6628 return Py_BuildValue((char *)"");
6630 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6631 PyObject
*resultobj
;
6633 wxTimerRunner
*result
;
6634 PyObject
* obj0
= 0 ;
6636 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6638 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6641 PyErr_SetString(PyExc_TypeError
,"null reference");
6645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6646 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6648 wxPyEndAllowThreads(__tstate
);
6649 if (PyErr_Occurred()) SWIG_fail
;
6651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6658 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6659 PyObject
*resultobj
;
6662 bool arg3
= (bool) False
;
6663 wxTimerRunner
*result
;
6664 PyObject
* obj0
= 0 ;
6665 PyObject
* obj1
= 0 ;
6666 PyObject
* obj2
= 0 ;
6668 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6670 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6673 PyErr_SetString(PyExc_TypeError
,"null reference");
6676 arg2
= (int) SWIG_AsInt(obj1
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6679 arg3
= (bool) SWIG_AsBool(obj2
);
6680 if (PyErr_Occurred()) SWIG_fail
;
6683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6684 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6686 wxPyEndAllowThreads(__tstate
);
6687 if (PyErr_Occurred()) SWIG_fail
;
6689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6696 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6701 argc
= PyObject_Length(args
);
6702 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6703 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6709 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6717 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6720 if ((argc
>= 2) && (argc
<= 3)) {
6724 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6732 _v
= SWIG_CheckInt(argv
[1]);
6735 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6737 _v
= SWIG_CheckBool(argv
[2]);
6739 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6745 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6750 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
*resultobj
;
6752 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6753 PyObject
* obj0
= 0 ;
6755 (char *) "self", NULL
6758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 wxPyEndAllowThreads(__tstate
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6768 Py_INCREF(Py_None
); resultobj
= Py_None
;
6775 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
*resultobj
;
6777 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6779 bool arg3
= (bool) False
;
6780 PyObject
* obj0
= 0 ;
6781 PyObject
* obj1
= 0 ;
6782 PyObject
* obj2
= 0 ;
6784 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6790 arg2
= (int) SWIG_AsInt(obj1
);
6791 if (PyErr_Occurred()) SWIG_fail
;
6793 arg3
= (bool) SWIG_AsBool(obj2
);
6794 if (PyErr_Occurred()) SWIG_fail
;
6797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6798 (arg1
)->Start(arg2
,arg3
);
6800 wxPyEndAllowThreads(__tstate
);
6801 if (PyErr_Occurred()) SWIG_fail
;
6803 Py_INCREF(Py_None
); resultobj
= Py_None
;
6810 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6813 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6815 return Py_BuildValue((char *)"");
6817 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
*resultobj
;
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6827 result
= (wxLog
*)new wxLog();
6829 wxPyEndAllowThreads(__tstate
);
6830 if (PyErr_Occurred()) SWIG_fail
;
6832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
6839 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
*resultobj
;
6846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6849 result
= (bool)wxLog::IsEnabled();
6851 wxPyEndAllowThreads(__tstate
);
6852 if (PyErr_Occurred()) SWIG_fail
;
6855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6863 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6864 PyObject
*resultobj
;
6865 bool arg1
= (bool) True
;
6867 PyObject
* obj0
= 0 ;
6869 (char *) "doIt", NULL
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6874 arg1
= (bool) SWIG_AsBool(obj0
);
6875 if (PyErr_Occurred()) SWIG_fail
;
6878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6879 result
= (bool)wxLog::EnableLogging(arg1
);
6881 wxPyEndAllowThreads(__tstate
);
6882 if (PyErr_Occurred()) SWIG_fail
;
6885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6893 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6894 PyObject
*resultobj
;
6896 wxChar
*arg2
= (wxChar
*) 0 ;
6898 PyObject
* obj0
= 0 ;
6899 PyObject
* obj1
= 0 ;
6900 PyObject
* obj2
= 0 ;
6902 (char *) "level",(char *) "szString",(char *) "t", NULL
6905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6906 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
6907 if (PyErr_Occurred()) SWIG_fail
;
6908 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
6909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6910 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6914 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6916 wxPyEndAllowThreads(__tstate
);
6917 if (PyErr_Occurred()) SWIG_fail
;
6919 Py_INCREF(Py_None
); resultobj
= Py_None
;
6926 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6927 PyObject
*resultobj
;
6928 wxLog
*arg1
= (wxLog
*) 0 ;
6929 PyObject
* obj0
= 0 ;
6931 (char *) "self", NULL
6934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
6936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6941 wxPyEndAllowThreads(__tstate
);
6942 if (PyErr_Occurred()) SWIG_fail
;
6944 Py_INCREF(Py_None
); resultobj
= Py_None
;
6951 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6952 PyObject
*resultobj
;
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6960 wxLog::FlushActive();
6962 wxPyEndAllowThreads(__tstate
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6965 Py_INCREF(Py_None
); resultobj
= Py_None
;
6972 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
*resultobj
;
6979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
6981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6982 result
= (wxLog
*)wxLog::GetActiveTarget();
6984 wxPyEndAllowThreads(__tstate
);
6985 if (PyErr_Occurred()) SWIG_fail
;
6987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
6994 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6995 PyObject
*resultobj
;
6996 wxLog
*arg1
= (wxLog
*) 0 ;
6998 PyObject
* obj0
= 0 ;
7000 (char *) "pLogger", NULL
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7008 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7010 wxPyEndAllowThreads(__tstate
);
7011 if (PyErr_Occurred()) SWIG_fail
;
7013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7020 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
*resultobj
;
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 Py_INCREF(Py_None
); resultobj
= Py_None
;
7041 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
;
7047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7052 wxPyEndAllowThreads(__tstate
);
7053 if (PyErr_Occurred()) SWIG_fail
;
7055 Py_INCREF(Py_None
); resultobj
= Py_None
;
7062 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7063 PyObject
*resultobj
;
7064 bool arg1
= (bool) True
;
7065 PyObject
* obj0
= 0 ;
7067 (char *) "bVerbose", NULL
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7072 arg1
= (bool) SWIG_AsBool(obj0
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7077 wxLog::SetVerbose(arg1
);
7079 wxPyEndAllowThreads(__tstate
);
7080 if (PyErr_Occurred()) SWIG_fail
;
7082 Py_INCREF(Py_None
); resultobj
= Py_None
;
7089 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
*resultobj
;
7092 PyObject
* obj0
= 0 ;
7094 (char *) "logLevel", NULL
7097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7098 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7102 wxLog::SetLogLevel(arg1
);
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7107 Py_INCREF(Py_None
); resultobj
= Py_None
;
7114 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
*resultobj
;
7120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7123 wxLog::DontCreateOnDemand();
7125 wxPyEndAllowThreads(__tstate
);
7126 if (PyErr_Occurred()) SWIG_fail
;
7128 Py_INCREF(Py_None
); resultobj
= Py_None
;
7135 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
*resultobj
;
7138 PyObject
* obj0
= 0 ;
7140 (char *) "ulMask", NULL
7143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7144 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7145 if (PyErr_Occurred()) SWIG_fail
;
7147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7148 wxLog::SetTraceMask(arg1
);
7150 wxPyEndAllowThreads(__tstate
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7153 Py_INCREF(Py_None
); resultobj
= Py_None
;
7160 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7161 PyObject
*resultobj
;
7162 wxString
*arg1
= 0 ;
7163 bool temp1
= False
;
7164 PyObject
* obj0
= 0 ;
7166 (char *) "str", NULL
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7171 arg1
= wxString_in_helper(obj0
);
7172 if (arg1
== NULL
) SWIG_fail
;
7176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 wxLog::AddTraceMask((wxString
const &)*arg1
);
7179 wxPyEndAllowThreads(__tstate
);
7180 if (PyErr_Occurred()) SWIG_fail
;
7182 Py_INCREF(Py_None
); resultobj
= Py_None
;
7197 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
*resultobj
;
7199 wxString
*arg1
= 0 ;
7200 bool temp1
= False
;
7201 PyObject
* obj0
= 0 ;
7203 (char *) "str", NULL
7206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7208 arg1
= wxString_in_helper(obj0
);
7209 if (arg1
== NULL
) SWIG_fail
;
7213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7214 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7216 wxPyEndAllowThreads(__tstate
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7219 Py_INCREF(Py_None
); resultobj
= Py_None
;
7234 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7235 PyObject
*resultobj
;
7240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7243 wxLog::ClearTraceMasks();
7245 wxPyEndAllowThreads(__tstate
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7248 Py_INCREF(Py_None
); resultobj
= Py_None
;
7255 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
*resultobj
;
7257 wxArrayString
*result
;
7262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7266 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7267 result
= (wxArrayString
*) &_result_ref
;
7270 wxPyEndAllowThreads(__tstate
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7274 resultobj
= wxArrayString2PyList_helper(*result
);
7282 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7283 PyObject
*resultobj
;
7284 wxChar
*arg1
= (wxChar
*) 0 ;
7285 PyObject
* obj0
= 0 ;
7290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7295 wxLog::SetTimestamp((wxChar
const *)arg1
);
7297 wxPyEndAllowThreads(__tstate
);
7298 if (PyErr_Occurred()) SWIG_fail
;
7300 Py_INCREF(Py_None
); resultobj
= Py_None
;
7307 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
*resultobj
;
7314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 result
= (bool)wxLog::GetVerbose();
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7331 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
*resultobj
;
7338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 result
= (wxTraceMask
)wxLog::GetTraceMask();
7343 wxPyEndAllowThreads(__tstate
);
7344 if (PyErr_Occurred()) SWIG_fail
;
7346 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7353 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7354 PyObject
*resultobj
;
7355 wxChar
*arg1
= (wxChar
*) 0 ;
7357 PyObject
* obj0
= 0 ;
7359 (char *) "mask", NULL
7362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7381 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
*resultobj
;
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7391 result
= (wxLogLevel
)wxLog::GetLogLevel();
7393 wxPyEndAllowThreads(__tstate
);
7394 if (PyErr_Occurred()) SWIG_fail
;
7396 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7403 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7404 PyObject
*resultobj
;
7410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 result
= (wxChar
*)wxLog::GetTimestamp();
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7425 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7426 PyObject
*resultobj
;
7432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7435 result
= Log_TimeStamp();
7437 wxPyEndAllowThreads(__tstate
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7442 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7444 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7453 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
;
7455 wxLog
*arg1
= (wxLog
*) 0 ;
7456 PyObject
* obj0
= 0 ;
7458 (char *) "self", NULL
7461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7466 wxLog_Destroy(arg1
);
7468 wxPyEndAllowThreads(__tstate
);
7469 if (PyErr_Occurred()) SWIG_fail
;
7471 Py_INCREF(Py_None
); resultobj
= Py_None
;
7478 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7481 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7483 return Py_BuildValue((char *)"");
7485 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
*resultobj
;
7487 wxLogStderr
*result
;
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7495 result
= (wxLogStderr
*)new wxLogStderr();
7497 wxPyEndAllowThreads(__tstate
);
7498 if (PyErr_Occurred()) SWIG_fail
;
7500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7507 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7510 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7512 return Py_BuildValue((char *)"");
7514 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
*resultobj
;
7516 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7517 wxLogTextCtrl
*result
;
7518 PyObject
* obj0
= 0 ;
7520 (char *) "pTextCtrl", NULL
7523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7528 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7530 wxPyEndAllowThreads(__tstate
);
7531 if (PyErr_Occurred()) SWIG_fail
;
7533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7540 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7543 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7545 return Py_BuildValue((char *)"");
7547 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7548 PyObject
*resultobj
;
7554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7557 result
= (wxLogGui
*)new wxLogGui();
7559 wxPyEndAllowThreads(__tstate
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7569 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7572 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7574 return Py_BuildValue((char *)"");
7576 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
*resultobj
;
7578 wxFrame
*arg1
= (wxFrame
*) 0 ;
7579 wxString
*arg2
= 0 ;
7580 bool arg3
= (bool) True
;
7581 bool arg4
= (bool) True
;
7582 wxLogWindow
*result
;
7583 bool temp2
= False
;
7584 PyObject
* obj0
= 0 ;
7585 PyObject
* obj1
= 0 ;
7586 PyObject
* obj2
= 0 ;
7587 PyObject
* obj3
= 0 ;
7589 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7596 arg2
= wxString_in_helper(obj1
);
7597 if (arg2
== NULL
) SWIG_fail
;
7601 arg3
= (bool) SWIG_AsBool(obj2
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7605 arg4
= (bool) SWIG_AsBool(obj3
);
7606 if (PyErr_Occurred()) SWIG_fail
;
7609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7610 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7612 wxPyEndAllowThreads(__tstate
);
7613 if (PyErr_Occurred()) SWIG_fail
;
7615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7630 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7631 PyObject
*resultobj
;
7632 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7633 bool arg2
= (bool) True
;
7634 PyObject
* obj0
= 0 ;
7635 PyObject
* obj1
= 0 ;
7637 (char *) "self",(char *) "bShow", NULL
7640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7644 arg2
= (bool) SWIG_AsBool(obj1
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7651 wxPyEndAllowThreads(__tstate
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7654 Py_INCREF(Py_None
); resultobj
= Py_None
;
7661 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
*resultobj
;
7663 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7665 PyObject
* obj0
= 0 ;
7667 (char *) "self", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7681 resultobj
= wxPyMake_wxObject(result
);
7689 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
*resultobj
;
7691 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7693 PyObject
* obj0
= 0 ;
7695 (char *) "self", NULL
7698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7703 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7715 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
*resultobj
;
7717 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7719 PyObject
* obj0
= 0 ;
7721 (char *) "self", NULL
7724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7743 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7744 PyObject
*resultobj
;
7745 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7747 PyObject
* obj0
= 0 ;
7748 PyObject
* obj1
= 0 ;
7750 (char *) "self",(char *) "bDoPass", NULL
7753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7756 arg2
= (bool) SWIG_AsBool(obj1
);
7757 if (PyErr_Occurred()) SWIG_fail
;
7759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7760 (arg1
)->PassMessages(arg2
);
7762 wxPyEndAllowThreads(__tstate
);
7763 if (PyErr_Occurred()) SWIG_fail
;
7765 Py_INCREF(Py_None
); resultobj
= Py_None
;
7772 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7775 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7777 return Py_BuildValue((char *)"");
7779 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
*resultobj
;
7781 wxLog
*arg1
= (wxLog
*) 0 ;
7783 PyObject
* obj0
= 0 ;
7785 (char *) "logger", NULL
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 result
= (wxLogChain
*)new wxLogChain(arg1
);
7795 wxPyEndAllowThreads(__tstate
);
7796 if (PyErr_Occurred()) SWIG_fail
;
7798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
7805 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7806 PyObject
*resultobj
;
7807 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7808 wxLog
*arg2
= (wxLog
*) 0 ;
7809 PyObject
* obj0
= 0 ;
7810 PyObject
* obj1
= 0 ;
7812 (char *) "self",(char *) "logger", NULL
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
7819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7822 (arg1
)->SetLog(arg2
);
7824 wxPyEndAllowThreads(__tstate
);
7825 if (PyErr_Occurred()) SWIG_fail
;
7827 Py_INCREF(Py_None
); resultobj
= Py_None
;
7834 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
*resultobj
;
7836 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7838 PyObject
* obj0
= 0 ;
7839 PyObject
* obj1
= 0 ;
7841 (char *) "self",(char *) "bDoPass", NULL
7844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7847 arg2
= (bool) SWIG_AsBool(obj1
);
7848 if (PyErr_Occurred()) SWIG_fail
;
7850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7851 (arg1
)->PassMessages(arg2
);
7853 wxPyEndAllowThreads(__tstate
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7856 Py_INCREF(Py_None
); resultobj
= Py_None
;
7863 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7864 PyObject
*resultobj
;
7865 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7867 PyObject
* obj0
= 0 ;
7869 (char *) "self", NULL
7872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 result
= (bool)(arg1
)->IsPassingMessages();
7879 wxPyEndAllowThreads(__tstate
);
7880 if (PyErr_Occurred()) SWIG_fail
;
7883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7891 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7892 PyObject
*resultobj
;
7893 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7895 PyObject
* obj0
= 0 ;
7897 (char *) "self", NULL
7900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 result
= (wxLog
*)(arg1
)->GetOldLog();
7907 wxPyEndAllowThreads(__tstate
);
7908 if (PyErr_Occurred()) SWIG_fail
;
7910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7917 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
7919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7920 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7922 return Py_BuildValue((char *)"");
7924 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7925 PyObject
*resultobj
;
7926 unsigned long result
;
7931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7934 result
= (unsigned long)wxSysErrorCode();
7936 wxPyEndAllowThreads(__tstate
);
7937 if (PyErr_Occurred()) SWIG_fail
;
7939 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7946 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7947 PyObject
*resultobj
;
7948 unsigned long arg1
= (unsigned long) 0 ;
7950 PyObject
* obj0
= 0 ;
7952 (char *) "nErrCode", NULL
7955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7957 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
7958 if (PyErr_Occurred()) SWIG_fail
;
7961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7962 result
= wxSysErrorMsg(arg1
);
7964 wxPyEndAllowThreads(__tstate
);
7965 if (PyErr_Occurred()) SWIG_fail
;
7969 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7971 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7980 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7981 PyObject
*resultobj
;
7982 wxString
*arg1
= 0 ;
7983 bool temp1
= False
;
7984 PyObject
* obj0
= 0 ;
7986 (char *) "msg", NULL
7989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
7991 arg1
= wxString_in_helper(obj0
);
7992 if (arg1
== NULL
) SWIG_fail
;
7996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7997 wxLogFatalError((wxString
const &)*arg1
);
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8002 Py_INCREF(Py_None
); resultobj
= Py_None
;
8017 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8018 PyObject
*resultobj
;
8019 wxString
*arg1
= 0 ;
8020 bool temp1
= False
;
8021 PyObject
* obj0
= 0 ;
8023 (char *) "msg", NULL
8026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8028 arg1
= wxString_in_helper(obj0
);
8029 if (arg1
== NULL
) SWIG_fail
;
8033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8034 wxLogError((wxString
const &)*arg1
);
8036 wxPyEndAllowThreads(__tstate
);
8037 if (PyErr_Occurred()) SWIG_fail
;
8039 Py_INCREF(Py_None
); resultobj
= Py_None
;
8054 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8055 PyObject
*resultobj
;
8056 wxString
*arg1
= 0 ;
8057 bool temp1
= False
;
8058 PyObject
* obj0
= 0 ;
8060 (char *) "msg", NULL
8063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8065 arg1
= wxString_in_helper(obj0
);
8066 if (arg1
== NULL
) SWIG_fail
;
8070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8071 wxLogWarning((wxString
const &)*arg1
);
8073 wxPyEndAllowThreads(__tstate
);
8074 if (PyErr_Occurred()) SWIG_fail
;
8076 Py_INCREF(Py_None
); resultobj
= Py_None
;
8091 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8092 PyObject
*resultobj
;
8093 wxString
*arg1
= 0 ;
8094 bool temp1
= False
;
8095 PyObject
* obj0
= 0 ;
8097 (char *) "msg", NULL
8100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8102 arg1
= wxString_in_helper(obj0
);
8103 if (arg1
== NULL
) SWIG_fail
;
8107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8108 wxLogMessage((wxString
const &)*arg1
);
8110 wxPyEndAllowThreads(__tstate
);
8111 if (PyErr_Occurred()) SWIG_fail
;
8113 Py_INCREF(Py_None
); resultobj
= Py_None
;
8128 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8129 PyObject
*resultobj
;
8130 wxString
*arg1
= 0 ;
8131 bool temp1
= False
;
8132 PyObject
* obj0
= 0 ;
8134 (char *) "msg", NULL
8137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8139 arg1
= wxString_in_helper(obj0
);
8140 if (arg1
== NULL
) SWIG_fail
;
8144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8145 wxLogInfo((wxString
const &)*arg1
);
8147 wxPyEndAllowThreads(__tstate
);
8148 if (PyErr_Occurred()) SWIG_fail
;
8150 Py_INCREF(Py_None
); resultobj
= Py_None
;
8165 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8166 PyObject
*resultobj
;
8167 wxString
*arg1
= 0 ;
8168 bool temp1
= False
;
8169 PyObject
* obj0
= 0 ;
8171 (char *) "msg", NULL
8174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8176 arg1
= wxString_in_helper(obj0
);
8177 if (arg1
== NULL
) SWIG_fail
;
8181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8182 wxLogDebug((wxString
const &)*arg1
);
8184 wxPyEndAllowThreads(__tstate
);
8185 if (PyErr_Occurred()) SWIG_fail
;
8187 Py_INCREF(Py_None
); resultobj
= Py_None
;
8202 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8203 PyObject
*resultobj
;
8204 wxString
*arg1
= 0 ;
8205 bool temp1
= False
;
8206 PyObject
* obj0
= 0 ;
8208 (char *) "msg", NULL
8211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8213 arg1
= wxString_in_helper(obj0
);
8214 if (arg1
== NULL
) SWIG_fail
;
8218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8219 wxLogVerbose((wxString
const &)*arg1
);
8221 wxPyEndAllowThreads(__tstate
);
8222 if (PyErr_Occurred()) SWIG_fail
;
8224 Py_INCREF(Py_None
); resultobj
= Py_None
;
8239 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8240 PyObject
*resultobj
;
8241 wxString
*arg1
= 0 ;
8242 bool temp1
= False
;
8243 PyObject
* obj0
= 0 ;
8245 (char *) "msg", NULL
8248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8250 arg1
= wxString_in_helper(obj0
);
8251 if (arg1
== NULL
) SWIG_fail
;
8255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8256 wxLogStatus((wxString
const &)*arg1
);
8258 wxPyEndAllowThreads(__tstate
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8261 Py_INCREF(Py_None
); resultobj
= Py_None
;
8276 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8277 PyObject
*resultobj
;
8278 wxFrame
*arg1
= (wxFrame
*) 0 ;
8279 wxString
*arg2
= 0 ;
8280 bool temp2
= False
;
8281 PyObject
* obj0
= 0 ;
8282 PyObject
* obj1
= 0 ;
8284 (char *) "pFrame",(char *) "msg", NULL
8287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8291 arg2
= wxString_in_helper(obj1
);
8292 if (arg2
== NULL
) SWIG_fail
;
8296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8297 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8299 wxPyEndAllowThreads(__tstate
);
8300 if (PyErr_Occurred()) SWIG_fail
;
8302 Py_INCREF(Py_None
); resultobj
= Py_None
;
8317 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8318 PyObject
*resultobj
;
8319 wxString
*arg1
= 0 ;
8320 bool temp1
= False
;
8321 PyObject
* obj0
= 0 ;
8323 (char *) "msg", NULL
8326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8328 arg1
= wxString_in_helper(obj0
);
8329 if (arg1
== NULL
) SWIG_fail
;
8333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8334 wxLogSysError((wxString
const &)*arg1
);
8336 wxPyEndAllowThreads(__tstate
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8339 Py_INCREF(Py_None
); resultobj
= Py_None
;
8354 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8355 PyObject
*resultobj
;
8356 unsigned long arg1
;
8357 wxString
*arg2
= 0 ;
8358 bool temp2
= False
;
8359 PyObject
* obj0
= 0 ;
8360 PyObject
* obj1
= 0 ;
8362 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8363 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8366 arg2
= wxString_in_helper(obj1
);
8367 if (arg2
== NULL
) SWIG_fail
;
8371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8372 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8374 wxPyEndAllowThreads(__tstate
);
8375 if (PyErr_Occurred()) SWIG_fail
;
8377 Py_INCREF(Py_None
); resultobj
= Py_None
;
8392 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8393 PyObject
*resultobj
;
8394 wxString
*arg1
= 0 ;
8395 wxString
*arg2
= 0 ;
8396 bool temp1
= False
;
8397 bool temp2
= False
;
8398 PyObject
* obj0
= 0 ;
8399 PyObject
* obj1
= 0 ;
8401 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8403 arg1
= wxString_in_helper(obj0
);
8404 if (arg1
== NULL
) SWIG_fail
;
8408 arg2
= wxString_in_helper(obj1
);
8409 if (arg2
== NULL
) SWIG_fail
;
8413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8414 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8416 wxPyEndAllowThreads(__tstate
);
8417 if (PyErr_Occurred()) SWIG_fail
;
8419 Py_INCREF(Py_None
); resultobj
= Py_None
;
8442 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8447 argc
= PyObject_Length(args
);
8448 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8449 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8454 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8458 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8461 return _wrap_LogTrace__SWIG_1(self
,args
);
8467 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8470 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8473 return _wrap_LogTrace__SWIG_0(self
,args
);
8478 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8483 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8484 PyObject
*resultobj
;
8485 unsigned long arg1
;
8486 wxString
*arg2
= 0 ;
8487 bool temp2
= False
;
8488 PyObject
* obj0
= 0 ;
8489 PyObject
* obj1
= 0 ;
8491 (char *) "level",(char *) "msg", NULL
8494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8495 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8496 if (PyErr_Occurred()) SWIG_fail
;
8498 arg2
= wxString_in_helper(obj1
);
8499 if (arg2
== NULL
) SWIG_fail
;
8503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8504 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8506 wxPyEndAllowThreads(__tstate
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8509 Py_INCREF(Py_None
); resultobj
= Py_None
;
8524 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8525 PyObject
*resultobj
;
8526 wxString
*arg1
= 0 ;
8527 wxString
*arg2
= 0 ;
8528 bool temp1
= False
;
8529 bool temp2
= False
;
8530 PyObject
* obj0
= 0 ;
8531 PyObject
* obj1
= 0 ;
8533 (char *) "title",(char *) "text", NULL
8536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8538 arg1
= wxString_in_helper(obj0
);
8539 if (arg1
== NULL
) SWIG_fail
;
8543 arg2
= wxString_in_helper(obj1
);
8544 if (arg2
== NULL
) SWIG_fail
;
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8554 Py_INCREF(Py_None
); resultobj
= Py_None
;
8577 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8578 PyObject
*resultobj
;
8584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8587 result
= (wxLogNull
*)new wxLogNull();
8589 wxPyEndAllowThreads(__tstate
);
8590 if (PyErr_Occurred()) SWIG_fail
;
8592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8599 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8600 PyObject
*resultobj
;
8601 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8602 PyObject
* obj0
= 0 ;
8604 (char *) "self", NULL
8607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8617 Py_INCREF(Py_None
); resultobj
= Py_None
;
8624 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8627 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8629 return Py_BuildValue((char *)"");
8631 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8632 PyObject
*resultobj
;
8638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8641 result
= (wxPyLog
*)new wxPyLog();
8643 wxPyEndAllowThreads(__tstate
);
8644 if (PyErr_Occurred()) SWIG_fail
;
8646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8653 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8654 PyObject
*resultobj
;
8655 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8656 PyObject
*arg2
= (PyObject
*) 0 ;
8657 PyObject
*arg3
= (PyObject
*) 0 ;
8658 PyObject
* obj0
= 0 ;
8659 PyObject
* obj1
= 0 ;
8660 PyObject
* obj2
= 0 ;
8662 (char *) "self",(char *) "self",(char *) "_class", NULL
8665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8672 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8674 wxPyEndAllowThreads(__tstate
);
8675 if (PyErr_Occurred()) SWIG_fail
;
8677 Py_INCREF(Py_None
); resultobj
= Py_None
;
8684 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8687 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8689 return Py_BuildValue((char *)"");
8691 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8692 PyObject
*resultobj
;
8694 int arg2
= (int) wxSIGTERM
;
8696 PyObject
* obj0
= 0 ;
8697 PyObject
* obj1
= 0 ;
8699 (char *) "pid",(char *) "sig", NULL
8702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8703 arg1
= (int) SWIG_AsInt(obj0
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8706 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8707 if (PyErr_Occurred()) SWIG_fail
;
8710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8711 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8713 wxPyEndAllowThreads(__tstate
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8716 resultobj
= SWIG_FromInt((int)result
);
8723 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8724 PyObject
*resultobj
;
8727 PyObject
* obj0
= 0 ;
8729 (char *) "pid", NULL
8732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8733 arg1
= (int) SWIG_AsInt(obj0
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 result
= (bool)wxPyProcess::Exists(arg1
);
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8751 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
*resultobj
;
8753 wxString
*arg1
= 0 ;
8754 int arg2
= (int) wxEXEC_ASYNC
;
8755 wxPyProcess
*result
;
8756 bool temp1
= False
;
8757 PyObject
* obj0
= 0 ;
8758 PyObject
* obj1
= 0 ;
8760 (char *) "cmd",(char *) "flags", NULL
8763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8765 arg1
= wxString_in_helper(obj0
);
8766 if (arg1
== NULL
) SWIG_fail
;
8770 arg2
= (int) SWIG_AsInt(obj1
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
8795 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
*resultobj
;
8797 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8798 int arg2
= (int) -1 ;
8799 wxPyProcess
*result
;
8800 PyObject
* obj0
= 0 ;
8801 PyObject
* obj1
= 0 ;
8803 (char *) "parent",(char *) "id", NULL
8806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
8809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8812 arg2
= (int) SWIG_AsInt(obj1
);
8813 if (PyErr_Occurred()) SWIG_fail
;
8816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8817 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8819 wxPyEndAllowThreads(__tstate
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
8829 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
;
8831 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8832 PyObject
*arg2
= (PyObject
*) 0 ;
8833 PyObject
*arg3
= (PyObject
*) 0 ;
8834 PyObject
* obj0
= 0 ;
8835 PyObject
* obj1
= 0 ;
8836 PyObject
* obj2
= 0 ;
8838 (char *) "self",(char *) "self",(char *) "_class", NULL
8841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8848 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8850 wxPyEndAllowThreads(__tstate
);
8851 if (PyErr_Occurred()) SWIG_fail
;
8853 Py_INCREF(Py_None
); resultobj
= Py_None
;
8860 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8861 PyObject
*resultobj
;
8862 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8865 PyObject
* obj0
= 0 ;
8866 PyObject
* obj1
= 0 ;
8867 PyObject
* obj2
= 0 ;
8869 (char *) "self",(char *) "pid",(char *) "status", NULL
8872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8875 arg2
= (int) SWIG_AsInt(obj1
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8877 arg3
= (int) SWIG_AsInt(obj2
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8881 (arg1
)->base_OnTerminate(arg2
,arg3
);
8883 wxPyEndAllowThreads(__tstate
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8886 Py_INCREF(Py_None
); resultobj
= Py_None
;
8893 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
*resultobj
;
8895 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8896 PyObject
* obj0
= 0 ;
8898 (char *) "self", NULL
8901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8908 wxPyEndAllowThreads(__tstate
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8911 Py_INCREF(Py_None
); resultobj
= Py_None
;
8918 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8919 PyObject
*resultobj
;
8920 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8922 PyObject
* obj0
= 0 ;
8924 (char *) "self", NULL
8927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 result
= (bool)(arg1
)->IsRedirected();
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8946 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8947 PyObject
*resultobj
;
8948 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8949 PyObject
* obj0
= 0 ;
8951 (char *) "self", NULL
8954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
8955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8961 wxPyEndAllowThreads(__tstate
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8964 Py_INCREF(Py_None
); resultobj
= Py_None
;
8971 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8972 PyObject
*resultobj
;
8973 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8974 wxInputStream
*result
;
8975 PyObject
* obj0
= 0 ;
8977 (char *) "self", NULL
8980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
8981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8985 result
= (wxInputStream
*)(arg1
)->GetInputStream();
8987 wxPyEndAllowThreads(__tstate
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8991 wxPyInputStream
* _ptr
= NULL
;
8994 _ptr
= new wxPyInputStream(result
);
8996 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9004 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9005 PyObject
*resultobj
;
9006 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9007 wxInputStream
*result
;
9008 PyObject
* obj0
= 0 ;
9010 (char *) "self", NULL
9013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9018 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9020 wxPyEndAllowThreads(__tstate
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9024 wxPyInputStream
* _ptr
= NULL
;
9027 _ptr
= new wxPyInputStream(result
);
9029 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9037 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9038 PyObject
*resultobj
;
9039 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9040 wxOutputStream
*result
;
9041 PyObject
* obj0
= 0 ;
9043 (char *) "self", NULL
9046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9051 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9053 wxPyEndAllowThreads(__tstate
);
9054 if (PyErr_Occurred()) SWIG_fail
;
9056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9063 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9064 PyObject
*resultobj
;
9065 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9066 PyObject
* obj0
= 0 ;
9068 (char *) "self", NULL
9071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9076 (arg1
)->CloseOutput();
9078 wxPyEndAllowThreads(__tstate
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9081 Py_INCREF(Py_None
); resultobj
= Py_None
;
9088 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9089 PyObject
*resultobj
;
9090 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9092 PyObject
* obj0
= 0 ;
9094 (char *) "self", NULL
9097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9116 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9117 PyObject
*resultobj
;
9118 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9120 PyObject
* obj0
= 0 ;
9122 (char *) "self", NULL
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9144 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
;
9146 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9148 PyObject
* obj0
= 0 ;
9150 (char *) "self", NULL
9153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9158 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9172 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9174 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9175 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9177 return Py_BuildValue((char *)"");
9179 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9180 PyObject
*resultobj
;
9181 int arg1
= (int) 0 ;
9182 int arg2
= (int) 0 ;
9183 int arg3
= (int) 0 ;
9184 wxProcessEvent
*result
;
9185 PyObject
* obj0
= 0 ;
9186 PyObject
* obj1
= 0 ;
9187 PyObject
* obj2
= 0 ;
9189 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9194 arg1
= (int) SWIG_AsInt(obj0
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9198 arg2
= (int) SWIG_AsInt(obj1
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9202 arg3
= (int) SWIG_AsInt(obj2
);
9203 if (PyErr_Occurred()) SWIG_fail
;
9206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9207 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9209 wxPyEndAllowThreads(__tstate
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9219 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9220 PyObject
*resultobj
;
9221 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9223 PyObject
* obj0
= 0 ;
9225 (char *) "self", NULL
9228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 result
= (int)(arg1
)->GetPid();
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9238 resultobj
= SWIG_FromInt((int)result
);
9245 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9246 PyObject
*resultobj
;
9247 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9249 PyObject
* obj0
= 0 ;
9251 (char *) "self", NULL
9254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9259 result
= (int)(arg1
)->GetExitCode();
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9264 resultobj
= SWIG_FromInt((int)result
);
9271 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
;
9273 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9275 PyObject
* obj0
= 0 ;
9276 PyObject
* obj1
= 0 ;
9278 (char *) "self",(char *) "m_pid", NULL
9281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9284 arg2
= (int) SWIG_AsInt(obj1
);
9285 if (PyErr_Occurred()) SWIG_fail
;
9286 if (arg1
) (arg1
)->m_pid
= arg2
;
9288 Py_INCREF(Py_None
); resultobj
= Py_None
;
9295 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
;
9297 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9299 PyObject
* obj0
= 0 ;
9301 (char *) "self", NULL
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9307 result
= (int) ((arg1
)->m_pid
);
9309 resultobj
= SWIG_FromInt((int)result
);
9316 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9317 PyObject
*resultobj
;
9318 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9320 PyObject
* obj0
= 0 ;
9321 PyObject
* obj1
= 0 ;
9323 (char *) "self",(char *) "m_exitcode", NULL
9326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9329 arg2
= (int) SWIG_AsInt(obj1
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9331 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9333 Py_INCREF(Py_None
); resultobj
= Py_None
;
9340 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9341 PyObject
*resultobj
;
9342 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9344 PyObject
* obj0
= 0 ;
9346 (char *) "self", NULL
9349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9352 result
= (int) ((arg1
)->m_exitcode
);
9354 resultobj
= SWIG_FromInt((int)result
);
9361 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9364 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9366 return Py_BuildValue((char *)"");
9368 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9369 PyObject
*resultobj
;
9370 wxString
*arg1
= 0 ;
9371 int arg2
= (int) wxEXEC_ASYNC
;
9372 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9374 bool temp1
= False
;
9375 PyObject
* obj0
= 0 ;
9376 PyObject
* obj1
= 0 ;
9377 PyObject
* obj2
= 0 ;
9379 (char *) "command",(char *) "flags",(char *) "process", NULL
9382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9384 arg1
= wxString_in_helper(obj0
);
9385 if (arg1
== NULL
) SWIG_fail
;
9389 arg2
= (int) SWIG_AsInt(obj1
);
9390 if (PyErr_Occurred()) SWIG_fail
;
9393 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9398 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9400 wxPyEndAllowThreads(__tstate
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9403 resultobj
= SWIG_FromLong((long)result
);
9418 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9419 PyObject
*resultobj
;
9420 int arg1
= (int) wxJOYSTICK1
;
9422 PyObject
* obj0
= 0 ;
9424 (char *) "joystick", NULL
9427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9429 arg1
= (int) SWIG_AsInt(obj0
);
9430 if (PyErr_Occurred()) SWIG_fail
;
9433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9434 result
= (wxJoystick
*)new wxJoystick(arg1
);
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9446 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9447 PyObject
*resultobj
;
9448 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9449 PyObject
* obj0
= 0 ;
9451 (char *) "self", NULL
9454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 wxPyEndAllowThreads(__tstate
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9464 Py_INCREF(Py_None
); resultobj
= Py_None
;
9471 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9472 PyObject
*resultobj
;
9473 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9475 PyObject
* obj0
= 0 ;
9477 (char *) "self", NULL
9480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9485 result
= (arg1
)->GetPosition();
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9491 wxPoint
* resultptr
;
9492 resultptr
= new wxPoint((wxPoint
&) result
);
9493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9501 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9502 PyObject
*resultobj
;
9503 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9505 PyObject
* obj0
= 0 ;
9507 (char *) "self", NULL
9510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9515 result
= (int)(arg1
)->GetZPosition();
9517 wxPyEndAllowThreads(__tstate
);
9518 if (PyErr_Occurred()) SWIG_fail
;
9520 resultobj
= SWIG_FromInt((int)result
);
9527 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9528 PyObject
*resultobj
;
9529 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9531 PyObject
* obj0
= 0 ;
9533 (char *) "self", NULL
9536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9541 result
= (int)(arg1
)->GetButtonState();
9543 wxPyEndAllowThreads(__tstate
);
9544 if (PyErr_Occurred()) SWIG_fail
;
9546 resultobj
= SWIG_FromInt((int)result
);
9553 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9554 PyObject
*resultobj
;
9555 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9557 PyObject
* obj0
= 0 ;
9559 (char *) "self", NULL
9562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 result
= (int)(arg1
)->GetPOVPosition();
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) SWIG_fail
;
9572 resultobj
= SWIG_FromInt((int)result
);
9579 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9580 PyObject
*resultobj
;
9581 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9583 PyObject
* obj0
= 0 ;
9585 (char *) "self", NULL
9588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9593 result
= (int)(arg1
)->GetPOVCTSPosition();
9595 wxPyEndAllowThreads(__tstate
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9598 resultobj
= SWIG_FromInt((int)result
);
9605 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9606 PyObject
*resultobj
;
9607 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9609 PyObject
* obj0
= 0 ;
9611 (char *) "self", NULL
9614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9619 result
= (int)(arg1
)->GetRudderPosition();
9621 wxPyEndAllowThreads(__tstate
);
9622 if (PyErr_Occurred()) SWIG_fail
;
9624 resultobj
= SWIG_FromInt((int)result
);
9631 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9632 PyObject
*resultobj
;
9633 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9635 PyObject
* obj0
= 0 ;
9637 (char *) "self", NULL
9640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9645 result
= (int)(arg1
)->GetUPosition();
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9650 resultobj
= SWIG_FromInt((int)result
);
9657 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
*resultobj
;
9659 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9661 PyObject
* obj0
= 0 ;
9663 (char *) "self", NULL
9666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9671 result
= (int)(arg1
)->GetVPosition();
9673 wxPyEndAllowThreads(__tstate
);
9674 if (PyErr_Occurred()) SWIG_fail
;
9676 resultobj
= SWIG_FromInt((int)result
);
9683 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9684 PyObject
*resultobj
;
9685 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9687 PyObject
* obj0
= 0 ;
9689 (char *) "self", NULL
9692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9697 result
= (int)(arg1
)->GetMovementThreshold();
9699 wxPyEndAllowThreads(__tstate
);
9700 if (PyErr_Occurred()) SWIG_fail
;
9702 resultobj
= SWIG_FromInt((int)result
);
9709 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
*resultobj
;
9711 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9713 PyObject
* obj0
= 0 ;
9714 PyObject
* obj1
= 0 ;
9716 (char *) "self",(char *) "threshold", NULL
9719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9722 arg2
= (int) SWIG_AsInt(obj1
);
9723 if (PyErr_Occurred()) SWIG_fail
;
9725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9726 (arg1
)->SetMovementThreshold(arg2
);
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9731 Py_INCREF(Py_None
); resultobj
= Py_None
;
9738 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9739 PyObject
*resultobj
;
9740 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9742 PyObject
* obj0
= 0 ;
9744 (char *) "self", NULL
9747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9752 result
= (bool)(arg1
)->IsOk();
9754 wxPyEndAllowThreads(__tstate
);
9755 if (PyErr_Occurred()) SWIG_fail
;
9758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9766 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9767 PyObject
*resultobj
;
9768 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9770 PyObject
* obj0
= 0 ;
9772 (char *) "self", NULL
9775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9780 result
= (int)(arg1
)->GetNumberJoysticks();
9782 wxPyEndAllowThreads(__tstate
);
9783 if (PyErr_Occurred()) SWIG_fail
;
9785 resultobj
= SWIG_FromInt((int)result
);
9792 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9793 PyObject
*resultobj
;
9794 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9796 PyObject
* obj0
= 0 ;
9798 (char *) "self", NULL
9801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9806 result
= (int)(arg1
)->GetManufacturerId();
9808 wxPyEndAllowThreads(__tstate
);
9809 if (PyErr_Occurred()) SWIG_fail
;
9811 resultobj
= SWIG_FromInt((int)result
);
9818 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9819 PyObject
*resultobj
;
9820 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9822 PyObject
* obj0
= 0 ;
9824 (char *) "self", NULL
9827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9832 result
= (int)(arg1
)->GetProductId();
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9837 resultobj
= SWIG_FromInt((int)result
);
9844 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9845 PyObject
*resultobj
;
9846 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9848 PyObject
* obj0
= 0 ;
9850 (char *) "self", NULL
9853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9858 result
= (arg1
)->GetProductName();
9860 wxPyEndAllowThreads(__tstate
);
9861 if (PyErr_Occurred()) SWIG_fail
;
9865 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9867 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9876 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9877 PyObject
*resultobj
;
9878 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9880 PyObject
* obj0
= 0 ;
9882 (char *) "self", NULL
9885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9890 result
= (int)(arg1
)->GetXMin();
9892 wxPyEndAllowThreads(__tstate
);
9893 if (PyErr_Occurred()) SWIG_fail
;
9895 resultobj
= SWIG_FromInt((int)result
);
9902 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9903 PyObject
*resultobj
;
9904 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9906 PyObject
* obj0
= 0 ;
9908 (char *) "self", NULL
9911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9916 result
= (int)(arg1
)->GetYMin();
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9921 resultobj
= SWIG_FromInt((int)result
);
9928 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
*resultobj
;
9930 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9932 PyObject
* obj0
= 0 ;
9934 (char *) "self", NULL
9937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
9938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 result
= (int)(arg1
)->GetZMin();
9944 wxPyEndAllowThreads(__tstate
);
9945 if (PyErr_Occurred()) SWIG_fail
;
9947 resultobj
= SWIG_FromInt((int)result
);
9954 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9955 PyObject
*resultobj
;
9956 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9958 PyObject
* obj0
= 0 ;
9960 (char *) "self", NULL
9963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
9964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9968 result
= (int)(arg1
)->GetXMax();
9970 wxPyEndAllowThreads(__tstate
);
9971 if (PyErr_Occurred()) SWIG_fail
;
9973 resultobj
= SWIG_FromInt((int)result
);
9980 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9981 PyObject
*resultobj
;
9982 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9984 PyObject
* obj0
= 0 ;
9986 (char *) "self", NULL
9989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
9990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 result
= (int)(arg1
)->GetYMax();
9996 wxPyEndAllowThreads(__tstate
);
9997 if (PyErr_Occurred()) SWIG_fail
;
9999 resultobj
= SWIG_FromInt((int)result
);
10006 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10007 PyObject
*resultobj
;
10008 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10010 PyObject
* obj0
= 0 ;
10011 char *kwnames
[] = {
10012 (char *) "self", NULL
10015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10020 result
= (int)(arg1
)->GetZMax();
10022 wxPyEndAllowThreads(__tstate
);
10023 if (PyErr_Occurred()) SWIG_fail
;
10025 resultobj
= SWIG_FromInt((int)result
);
10032 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10033 PyObject
*resultobj
;
10034 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10036 PyObject
* obj0
= 0 ;
10037 char *kwnames
[] = {
10038 (char *) "self", NULL
10041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10046 result
= (int)(arg1
)->GetNumberButtons();
10048 wxPyEndAllowThreads(__tstate
);
10049 if (PyErr_Occurred()) SWIG_fail
;
10051 resultobj
= SWIG_FromInt((int)result
);
10058 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10059 PyObject
*resultobj
;
10060 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10062 PyObject
* obj0
= 0 ;
10063 char *kwnames
[] = {
10064 (char *) "self", NULL
10067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10072 result
= (int)(arg1
)->GetNumberAxes();
10074 wxPyEndAllowThreads(__tstate
);
10075 if (PyErr_Occurred()) SWIG_fail
;
10077 resultobj
= SWIG_FromInt((int)result
);
10084 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
*resultobj
;
10086 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10088 PyObject
* obj0
= 0 ;
10089 char *kwnames
[] = {
10090 (char *) "self", NULL
10093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10098 result
= (int)(arg1
)->GetMaxButtons();
10100 wxPyEndAllowThreads(__tstate
);
10101 if (PyErr_Occurred()) SWIG_fail
;
10103 resultobj
= SWIG_FromInt((int)result
);
10110 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10111 PyObject
*resultobj
;
10112 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10114 PyObject
* obj0
= 0 ;
10115 char *kwnames
[] = {
10116 (char *) "self", NULL
10119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10124 result
= (int)(arg1
)->GetMaxAxes();
10126 wxPyEndAllowThreads(__tstate
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10129 resultobj
= SWIG_FromInt((int)result
);
10136 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10137 PyObject
*resultobj
;
10138 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10140 PyObject
* obj0
= 0 ;
10141 char *kwnames
[] = {
10142 (char *) "self", NULL
10145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10150 result
= (int)(arg1
)->GetPollingMin();
10152 wxPyEndAllowThreads(__tstate
);
10153 if (PyErr_Occurred()) SWIG_fail
;
10155 resultobj
= SWIG_FromInt((int)result
);
10162 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10163 PyObject
*resultobj
;
10164 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10166 PyObject
* obj0
= 0 ;
10167 char *kwnames
[] = {
10168 (char *) "self", NULL
10171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10176 result
= (int)(arg1
)->GetPollingMax();
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10181 resultobj
= SWIG_FromInt((int)result
);
10188 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10189 PyObject
*resultobj
;
10190 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10192 PyObject
* obj0
= 0 ;
10193 char *kwnames
[] = {
10194 (char *) "self", NULL
10197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10202 result
= (int)(arg1
)->GetRudderMin();
10204 wxPyEndAllowThreads(__tstate
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10207 resultobj
= SWIG_FromInt((int)result
);
10214 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10215 PyObject
*resultobj
;
10216 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10218 PyObject
* obj0
= 0 ;
10219 char *kwnames
[] = {
10220 (char *) "self", NULL
10223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 result
= (int)(arg1
)->GetRudderMax();
10230 wxPyEndAllowThreads(__tstate
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10233 resultobj
= SWIG_FromInt((int)result
);
10240 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10241 PyObject
*resultobj
;
10242 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10244 PyObject
* obj0
= 0 ;
10245 char *kwnames
[] = {
10246 (char *) "self", NULL
10249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10254 result
= (int)(arg1
)->GetUMin();
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10259 resultobj
= SWIG_FromInt((int)result
);
10266 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10267 PyObject
*resultobj
;
10268 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10270 PyObject
* obj0
= 0 ;
10271 char *kwnames
[] = {
10272 (char *) "self", NULL
10275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10280 result
= (int)(arg1
)->GetUMax();
10282 wxPyEndAllowThreads(__tstate
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10285 resultobj
= SWIG_FromInt((int)result
);
10292 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10293 PyObject
*resultobj
;
10294 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10296 PyObject
* obj0
= 0 ;
10297 char *kwnames
[] = {
10298 (char *) "self", NULL
10301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10306 result
= (int)(arg1
)->GetVMin();
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10311 resultobj
= SWIG_FromInt((int)result
);
10318 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10319 PyObject
*resultobj
;
10320 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10322 PyObject
* obj0
= 0 ;
10323 char *kwnames
[] = {
10324 (char *) "self", NULL
10327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10332 result
= (int)(arg1
)->GetVMax();
10334 wxPyEndAllowThreads(__tstate
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10337 resultobj
= SWIG_FromInt((int)result
);
10344 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10345 PyObject
*resultobj
;
10346 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10348 PyObject
* obj0
= 0 ;
10349 char *kwnames
[] = {
10350 (char *) "self", NULL
10353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10358 result
= (bool)(arg1
)->HasRudder();
10360 wxPyEndAllowThreads(__tstate
);
10361 if (PyErr_Occurred()) SWIG_fail
;
10364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10372 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
*resultobj
;
10374 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10376 PyObject
* obj0
= 0 ;
10377 char *kwnames
[] = {
10378 (char *) "self", NULL
10381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10386 result
= (bool)(arg1
)->HasZ();
10388 wxPyEndAllowThreads(__tstate
);
10389 if (PyErr_Occurred()) SWIG_fail
;
10392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10400 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10401 PyObject
*resultobj
;
10402 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10404 PyObject
* obj0
= 0 ;
10405 char *kwnames
[] = {
10406 (char *) "self", NULL
10409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10414 result
= (bool)(arg1
)->HasU();
10416 wxPyEndAllowThreads(__tstate
);
10417 if (PyErr_Occurred()) SWIG_fail
;
10420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10428 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10429 PyObject
*resultobj
;
10430 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10432 PyObject
* obj0
= 0 ;
10433 char *kwnames
[] = {
10434 (char *) "self", NULL
10437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10442 result
= (bool)(arg1
)->HasV();
10444 wxPyEndAllowThreads(__tstate
);
10445 if (PyErr_Occurred()) SWIG_fail
;
10448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10456 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10457 PyObject
*resultobj
;
10458 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10460 PyObject
* obj0
= 0 ;
10461 char *kwnames
[] = {
10462 (char *) "self", NULL
10465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10470 result
= (bool)(arg1
)->HasPOV();
10472 wxPyEndAllowThreads(__tstate
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10484 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
*resultobj
;
10486 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10488 PyObject
* obj0
= 0 ;
10489 char *kwnames
[] = {
10490 (char *) "self", NULL
10493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10498 result
= (bool)(arg1
)->HasPOV4Dir();
10500 wxPyEndAllowThreads(__tstate
);
10501 if (PyErr_Occurred()) SWIG_fail
;
10504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10512 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10513 PyObject
*resultobj
;
10514 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10516 PyObject
* obj0
= 0 ;
10517 char *kwnames
[] = {
10518 (char *) "self", NULL
10521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10526 result
= (bool)(arg1
)->HasPOVCTS();
10528 wxPyEndAllowThreads(__tstate
);
10529 if (PyErr_Occurred()) SWIG_fail
;
10532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10540 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10541 PyObject
*resultobj
;
10542 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10543 wxWindow
*arg2
= (wxWindow
*) 0 ;
10544 int arg3
= (int) 0 ;
10546 PyObject
* obj0
= 0 ;
10547 PyObject
* obj1
= 0 ;
10548 PyObject
* obj2
= 0 ;
10549 char *kwnames
[] = {
10550 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10559 arg3
= (int) SWIG_AsInt(obj2
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10564 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10566 wxPyEndAllowThreads(__tstate
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10578 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10579 PyObject
*resultobj
;
10580 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10582 PyObject
* obj0
= 0 ;
10583 char *kwnames
[] = {
10584 (char *) "self", NULL
10587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10592 result
= (bool)(arg1
)->ReleaseCapture();
10594 wxPyEndAllowThreads(__tstate
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10606 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10609 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10611 return Py_BuildValue((char *)"");
10613 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
*resultobj
;
10615 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10616 wxPoint
*arg2
= (wxPoint
*) 0 ;
10617 PyObject
* obj0
= 0 ;
10618 PyObject
* obj1
= 0 ;
10619 char *kwnames
[] = {
10620 (char *) "self",(char *) "m_pos", NULL
10623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10626 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10628 if (arg1
) (arg1
)->m_pos
= *arg2
;
10630 Py_INCREF(Py_None
); resultobj
= Py_None
;
10637 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10638 PyObject
*resultobj
;
10639 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10641 PyObject
* obj0
= 0 ;
10642 char *kwnames
[] = {
10643 (char *) "self", NULL
10646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10649 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10658 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10659 PyObject
*resultobj
;
10660 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10662 PyObject
* obj0
= 0 ;
10663 PyObject
* obj1
= 0 ;
10664 char *kwnames
[] = {
10665 (char *) "self",(char *) "m_zPosition", NULL
10668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10671 arg2
= (int) SWIG_AsInt(obj1
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10673 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10675 Py_INCREF(Py_None
); resultobj
= Py_None
;
10682 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10683 PyObject
*resultobj
;
10684 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10686 PyObject
* obj0
= 0 ;
10687 char *kwnames
[] = {
10688 (char *) "self", NULL
10691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10694 result
= (int) ((arg1
)->m_zPosition
);
10696 resultobj
= SWIG_FromInt((int)result
);
10703 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10704 PyObject
*resultobj
;
10705 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10707 PyObject
* obj0
= 0 ;
10708 PyObject
* obj1
= 0 ;
10709 char *kwnames
[] = {
10710 (char *) "self",(char *) "m_buttonChange", NULL
10713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10716 arg2
= (int) SWIG_AsInt(obj1
);
10717 if (PyErr_Occurred()) SWIG_fail
;
10718 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10720 Py_INCREF(Py_None
); resultobj
= Py_None
;
10727 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
*resultobj
;
10729 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10731 PyObject
* obj0
= 0 ;
10732 char *kwnames
[] = {
10733 (char *) "self", NULL
10736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10739 result
= (int) ((arg1
)->m_buttonChange
);
10741 resultobj
= SWIG_FromInt((int)result
);
10748 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10749 PyObject
*resultobj
;
10750 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10752 PyObject
* obj0
= 0 ;
10753 PyObject
* obj1
= 0 ;
10754 char *kwnames
[] = {
10755 (char *) "self",(char *) "m_buttonState", NULL
10758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10761 arg2
= (int) SWIG_AsInt(obj1
);
10762 if (PyErr_Occurred()) SWIG_fail
;
10763 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10765 Py_INCREF(Py_None
); resultobj
= Py_None
;
10772 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10773 PyObject
*resultobj
;
10774 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10776 PyObject
* obj0
= 0 ;
10777 char *kwnames
[] = {
10778 (char *) "self", NULL
10781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10784 result
= (int) ((arg1
)->m_buttonState
);
10786 resultobj
= SWIG_FromInt((int)result
);
10793 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10794 PyObject
*resultobj
;
10795 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10797 PyObject
* obj0
= 0 ;
10798 PyObject
* obj1
= 0 ;
10799 char *kwnames
[] = {
10800 (char *) "self",(char *) "m_joyStick", NULL
10803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10806 arg2
= (int) SWIG_AsInt(obj1
);
10807 if (PyErr_Occurred()) SWIG_fail
;
10808 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10810 Py_INCREF(Py_None
); resultobj
= Py_None
;
10817 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
*resultobj
;
10819 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10821 PyObject
* obj0
= 0 ;
10822 char *kwnames
[] = {
10823 (char *) "self", NULL
10826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10829 result
= (int) ((arg1
)->m_joyStick
);
10831 resultobj
= SWIG_FromInt((int)result
);
10838 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10839 PyObject
*resultobj
;
10840 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10841 int arg2
= (int) 0 ;
10842 int arg3
= (int) wxJOYSTICK1
;
10843 int arg4
= (int) 0 ;
10844 wxJoystickEvent
*result
;
10845 PyObject
* obj0
= 0 ;
10846 PyObject
* obj1
= 0 ;
10847 PyObject
* obj2
= 0 ;
10848 PyObject
* obj3
= 0 ;
10849 char *kwnames
[] = {
10850 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10855 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10859 arg2
= (int) SWIG_AsInt(obj1
);
10860 if (PyErr_Occurred()) SWIG_fail
;
10863 arg3
= (int) SWIG_AsInt(obj2
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10867 arg4
= (int) SWIG_AsInt(obj3
);
10868 if (PyErr_Occurred()) SWIG_fail
;
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10874 wxPyEndAllowThreads(__tstate
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
10884 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10885 PyObject
*resultobj
;
10886 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10888 PyObject
* obj0
= 0 ;
10889 char *kwnames
[] = {
10890 (char *) "self", NULL
10893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10898 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10900 wxPyEndAllowThreads(__tstate
);
10901 if (PyErr_Occurred()) SWIG_fail
;
10904 wxPoint
* resultptr
;
10905 resultptr
= new wxPoint((wxPoint
&) result
);
10906 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10914 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10915 PyObject
*resultobj
;
10916 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10918 PyObject
* obj0
= 0 ;
10919 char *kwnames
[] = {
10920 (char *) "self", NULL
10923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
10924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10928 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
10930 wxPyEndAllowThreads(__tstate
);
10931 if (PyErr_Occurred()) SWIG_fail
;
10933 resultobj
= SWIG_FromInt((int)result
);
10940 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10941 PyObject
*resultobj
;
10942 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10944 PyObject
* obj0
= 0 ;
10945 char *kwnames
[] = {
10946 (char *) "self", NULL
10949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
10950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10954 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
10956 wxPyEndAllowThreads(__tstate
);
10957 if (PyErr_Occurred()) SWIG_fail
;
10959 resultobj
= SWIG_FromInt((int)result
);
10966 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10967 PyObject
*resultobj
;
10968 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10970 PyObject
* obj0
= 0 ;
10971 char *kwnames
[] = {
10972 (char *) "self", NULL
10975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
10976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
10982 wxPyEndAllowThreads(__tstate
);
10983 if (PyErr_Occurred()) SWIG_fail
;
10985 resultobj
= SWIG_FromInt((int)result
);
10992 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10993 PyObject
*resultobj
;
10994 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10996 PyObject
* obj0
= 0 ;
10997 char *kwnames
[] = {
10998 (char *) "self", NULL
11001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11006 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11008 wxPyEndAllowThreads(__tstate
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11011 resultobj
= SWIG_FromInt((int)result
);
11018 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11019 PyObject
*resultobj
;
11020 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11022 PyObject
* obj0
= 0 ;
11023 PyObject
* obj1
= 0 ;
11024 char *kwnames
[] = {
11025 (char *) "self",(char *) "stick", NULL
11028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11031 arg2
= (int) SWIG_AsInt(obj1
);
11032 if (PyErr_Occurred()) SWIG_fail
;
11034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11035 (arg1
)->SetJoystick(arg2
);
11037 wxPyEndAllowThreads(__tstate
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11040 Py_INCREF(Py_None
); resultobj
= Py_None
;
11047 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11048 PyObject
*resultobj
;
11049 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11051 PyObject
* obj0
= 0 ;
11052 PyObject
* obj1
= 0 ;
11053 char *kwnames
[] = {
11054 (char *) "self",(char *) "state", NULL
11057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11060 arg2
= (int) SWIG_AsInt(obj1
);
11061 if (PyErr_Occurred()) SWIG_fail
;
11063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11064 (arg1
)->SetButtonState(arg2
);
11066 wxPyEndAllowThreads(__tstate
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11069 Py_INCREF(Py_None
); resultobj
= Py_None
;
11076 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11077 PyObject
*resultobj
;
11078 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11080 PyObject
* obj0
= 0 ;
11081 PyObject
* obj1
= 0 ;
11082 char *kwnames
[] = {
11083 (char *) "self",(char *) "change", NULL
11086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11089 arg2
= (int) SWIG_AsInt(obj1
);
11090 if (PyErr_Occurred()) SWIG_fail
;
11092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11093 (arg1
)->SetButtonChange(arg2
);
11095 wxPyEndAllowThreads(__tstate
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11098 Py_INCREF(Py_None
); resultobj
= Py_None
;
11105 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11106 PyObject
*resultobj
;
11107 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11108 wxPoint
*arg2
= 0 ;
11110 PyObject
* obj0
= 0 ;
11111 PyObject
* obj1
= 0 ;
11112 char *kwnames
[] = {
11113 (char *) "self",(char *) "pos", NULL
11116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11121 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11125 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11127 wxPyEndAllowThreads(__tstate
);
11128 if (PyErr_Occurred()) SWIG_fail
;
11130 Py_INCREF(Py_None
); resultobj
= Py_None
;
11137 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11138 PyObject
*resultobj
;
11139 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11141 PyObject
* obj0
= 0 ;
11142 PyObject
* obj1
= 0 ;
11143 char *kwnames
[] = {
11144 (char *) "self",(char *) "zPos", NULL
11147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11150 arg2
= (int) SWIG_AsInt(obj1
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11154 (arg1
)->SetZPosition(arg2
);
11156 wxPyEndAllowThreads(__tstate
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11159 Py_INCREF(Py_None
); resultobj
= Py_None
;
11166 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11167 PyObject
*resultobj
;
11168 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11170 PyObject
* obj0
= 0 ;
11171 char *kwnames
[] = {
11172 (char *) "self", NULL
11175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11180 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11182 wxPyEndAllowThreads(__tstate
);
11183 if (PyErr_Occurred()) SWIG_fail
;
11186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11194 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11195 PyObject
*resultobj
;
11196 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11198 PyObject
* obj0
= 0 ;
11199 char *kwnames
[] = {
11200 (char *) "self", NULL
11203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11210 wxPyEndAllowThreads(__tstate
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11222 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11223 PyObject
*resultobj
;
11224 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11226 PyObject
* obj0
= 0 ;
11227 char *kwnames
[] = {
11228 (char *) "self", NULL
11231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11238 wxPyEndAllowThreads(__tstate
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11250 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11251 PyObject
*resultobj
;
11252 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11253 int arg2
= (int) wxJOY_BUTTON_ANY
;
11255 PyObject
* obj0
= 0 ;
11256 PyObject
* obj1
= 0 ;
11257 char *kwnames
[] = {
11258 (char *) "self",(char *) "but", NULL
11261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11265 arg2
= (int) SWIG_AsInt(obj1
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11272 wxPyEndAllowThreads(__tstate
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11284 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11285 PyObject
*resultobj
;
11286 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11287 int arg2
= (int) wxJOY_BUTTON_ANY
;
11289 PyObject
* obj0
= 0 ;
11290 PyObject
* obj1
= 0 ;
11291 char *kwnames
[] = {
11292 (char *) "self",(char *) "but", NULL
11295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11299 arg2
= (int) SWIG_AsInt(obj1
);
11300 if (PyErr_Occurred()) SWIG_fail
;
11303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11304 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11306 wxPyEndAllowThreads(__tstate
);
11307 if (PyErr_Occurred()) SWIG_fail
;
11310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11318 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11319 PyObject
*resultobj
;
11320 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11321 int arg2
= (int) wxJOY_BUTTON_ANY
;
11323 PyObject
* obj0
= 0 ;
11324 PyObject
* obj1
= 0 ;
11325 char *kwnames
[] = {
11326 (char *) "self",(char *) "but", NULL
11329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11333 arg2
= (int) SWIG_AsInt(obj1
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11338 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11340 wxPyEndAllowThreads(__tstate
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11352 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11355 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11357 return Py_BuildValue((char *)"");
11359 static PyObject
*_wrap_new_Sound__SWIG_0(PyObject
*self
, PyObject
*args
) {
11360 PyObject
*resultobj
;
11363 if(!PyArg_ParseTuple(args
,(char *)":new_Sound")) goto fail
;
11365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11366 result
= (wxSound
*)new wxSound();
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11378 static PyObject
*_wrap_new_Sound__SWIG_1(PyObject
*self
, PyObject
*args
) {
11379 PyObject
*resultobj
;
11380 wxString
*arg1
= 0 ;
11381 bool arg2
= (bool) false ;
11383 bool temp1
= False
;
11384 PyObject
* obj0
= 0 ;
11385 PyObject
* obj1
= 0 ;
11387 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_Sound",&obj0
,&obj1
)) goto fail
;
11389 arg1
= wxString_in_helper(obj0
);
11390 if (arg1
== NULL
) SWIG_fail
;
11394 arg2
= (bool) SWIG_AsBool(obj1
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11399 result
= (wxSound
*)new wxSound((wxString
const &)*arg1
,arg2
);
11401 wxPyEndAllowThreads(__tstate
);
11402 if (PyErr_Occurred()) SWIG_fail
;
11404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11419 static PyObject
*_wrap_new_Sound__SWIG_2(PyObject
*self
, PyObject
*args
) {
11420 PyObject
*resultobj
;
11422 wxByte
*arg2
= (wxByte
*) 0 ;
11424 PyObject
* obj0
= 0 ;
11425 PyObject
* obj1
= 0 ;
11427 if(!PyArg_ParseTuple(args
,(char *)"OO:new_Sound",&obj0
,&obj1
)) goto fail
;
11428 arg1
= (int) SWIG_AsInt(obj0
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11430 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxByte
,
11431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11434 result
= (wxSound
*)new wxSound(arg1
,(wxByte
const *)arg2
);
11436 wxPyEndAllowThreads(__tstate
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11446 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
) {
11451 argc
= PyObject_Length(args
);
11452 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11453 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11456 return _wrap_new_Sound__SWIG_0(self
,args
);
11458 if ((argc
>= 1) && (argc
<= 2)) {
11461 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11465 return _wrap_new_Sound__SWIG_1(self
,args
);
11467 _v
= SWIG_CheckBool(argv
[1]);
11469 return _wrap_new_Sound__SWIG_1(self
,args
);
11475 _v
= SWIG_CheckInt(argv
[0]);
11479 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11487 return _wrap_new_Sound__SWIG_2(self
,args
);
11492 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Sound'");
11497 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11498 PyObject
*resultobj
;
11499 wxSound
*arg1
= (wxSound
*) 0 ;
11500 PyObject
* obj0
= 0 ;
11501 char *kwnames
[] = {
11502 (char *) "self", NULL
11505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11512 wxPyEndAllowThreads(__tstate
);
11513 if (PyErr_Occurred()) SWIG_fail
;
11515 Py_INCREF(Py_None
); resultobj
= Py_None
;
11522 static PyObject
*_wrap_Sound_Create__SWIG_0(PyObject
*self
, PyObject
*args
) {
11523 PyObject
*resultobj
;
11524 wxSound
*arg1
= (wxSound
*) 0 ;
11525 wxString
*arg2
= 0 ;
11526 bool arg3
= (bool) false ;
11528 bool temp2
= False
;
11529 PyObject
* obj0
= 0 ;
11530 PyObject
* obj1
= 0 ;
11531 PyObject
* obj2
= 0 ;
11533 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11537 arg2
= wxString_in_helper(obj1
);
11538 if (arg2
== NULL
) SWIG_fail
;
11542 arg3
= (bool) SWIG_AsBool(obj2
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11547 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,arg3
);
11549 wxPyEndAllowThreads(__tstate
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11569 static PyObject
*_wrap_Sound_Create__SWIG_1(PyObject
*self
, PyObject
*args
) {
11570 PyObject
*resultobj
;
11571 wxSound
*arg1
= (wxSound
*) 0 ;
11573 wxByte
*arg3
= (wxByte
*) 0 ;
11575 PyObject
* obj0
= 0 ;
11576 PyObject
* obj1
= 0 ;
11577 PyObject
* obj2
= 0 ;
11579 if(!PyArg_ParseTuple(args
,(char *)"OOO:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11582 arg2
= (int) SWIG_AsInt(obj1
);
11583 if (PyErr_Occurred()) SWIG_fail
;
11584 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxByte
,
11585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11588 result
= (bool)(arg1
)->Create(arg2
,(wxByte
const *)arg3
);
11590 wxPyEndAllowThreads(__tstate
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11602 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
) {
11607 argc
= PyObject_Length(args
);
11608 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
11609 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11611 if ((argc
>= 2) && (argc
<= 3)) {
11615 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11624 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11628 return _wrap_Sound_Create__SWIG_0(self
,args
);
11630 _v
= SWIG_CheckBool(argv
[2]);
11632 return _wrap_Sound_Create__SWIG_0(self
,args
);
11641 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11649 _v
= SWIG_CheckInt(argv
[1]);
11653 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11661 return _wrap_Sound_Create__SWIG_1(self
,args
);
11667 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Sound_Create'");
11672 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11673 PyObject
*resultobj
;
11674 wxSound
*arg1
= (wxSound
*) 0 ;
11676 PyObject
* obj0
= 0 ;
11677 char *kwnames
[] = {
11678 (char *) "self", NULL
11681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11686 result
= (bool)(arg1
)->IsOk();
11688 wxPyEndAllowThreads(__tstate
);
11689 if (PyErr_Occurred()) SWIG_fail
;
11692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11700 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
) {
11701 PyObject
*resultobj
;
11702 wxSound
*arg1
= (wxSound
*) 0 ;
11703 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11705 PyObject
* obj0
= 0 ;
11706 PyObject
* obj1
= 0 ;
11708 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_Play",&obj0
,&obj1
)) goto fail
;
11709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11712 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11717 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11719 wxPyEndAllowThreads(__tstate
);
11720 if (PyErr_Occurred()) SWIG_fail
;
11723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11731 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
) {
11732 PyObject
*resultobj
;
11733 wxString
*arg1
= 0 ;
11734 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11736 bool temp1
= False
;
11737 PyObject
* obj0
= 0 ;
11738 PyObject
* obj1
= 0 ;
11740 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_PlaySound",&obj0
,&obj1
)) goto fail
;
11742 arg1
= wxString_in_helper(obj0
);
11743 if (arg1
== NULL
) SWIG_fail
;
11747 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11752 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11754 wxPyEndAllowThreads(__tstate
);
11755 if (PyErr_Occurred()) SWIG_fail
;
11758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11774 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11775 PyObject
*resultobj
;
11776 char *kwnames
[] = {
11780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11788 Py_INCREF(Py_None
); resultobj
= Py_None
;
11795 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11798 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11800 return Py_BuildValue((char *)"");
11802 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11803 PyObject
*resultobj
;
11804 wxString
*arg1
= 0 ;
11805 wxString
*arg2
= 0 ;
11806 wxString
*arg3
= 0 ;
11807 wxString
*arg4
= 0 ;
11808 wxFileTypeInfo
*result
;
11809 bool temp1
= False
;
11810 bool temp2
= False
;
11811 bool temp3
= False
;
11812 bool temp4
= False
;
11813 PyObject
* obj0
= 0 ;
11814 PyObject
* obj1
= 0 ;
11815 PyObject
* obj2
= 0 ;
11816 PyObject
* obj3
= 0 ;
11817 char *kwnames
[] = {
11818 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11823 arg1
= wxString_in_helper(obj0
);
11824 if (arg1
== NULL
) SWIG_fail
;
11828 arg2
= wxString_in_helper(obj1
);
11829 if (arg2
== NULL
) SWIG_fail
;
11833 arg3
= wxString_in_helper(obj2
);
11834 if (arg3
== NULL
) SWIG_fail
;
11838 arg4
= wxString_in_helper(obj3
);
11839 if (arg4
== NULL
) SWIG_fail
;
11843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11844 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11846 wxPyEndAllowThreads(__tstate
);
11847 if (PyErr_Occurred()) SWIG_fail
;
11849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11888 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11889 PyObject
*resultobj
;
11890 wxArrayString
*arg1
= 0 ;
11891 wxFileTypeInfo
*result
;
11892 bool temp1
= False
;
11893 PyObject
* obj0
= 0 ;
11894 char *kwnames
[] = {
11895 (char *) "sArray", NULL
11898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11900 if (! PySequence_Check(obj0
)) {
11901 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11904 arg1
= new wxArrayString
;
11906 int i
, len
=PySequence_Length(obj0
);
11907 for (i
=0; i
<len
; i
++) {
11908 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11910 PyObject
* str
= PyObject_Unicode(item
);
11912 PyObject
* str
= PyObject_Str(item
);
11914 arg1
->Add(Py2wxString(str
));
11920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11921 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11923 wxPyEndAllowThreads(__tstate
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11928 if (temp1
) delete arg1
;
11933 if (temp1
) delete arg1
;
11939 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11940 PyObject
*resultobj
;
11941 wxFileTypeInfo
*result
;
11942 char *kwnames
[] = {
11946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11949 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11951 wxPyEndAllowThreads(__tstate
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11961 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11962 PyObject
*resultobj
;
11963 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11965 PyObject
* obj0
= 0 ;
11966 char *kwnames
[] = {
11967 (char *) "self", NULL
11970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
11971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11975 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11989 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11990 PyObject
*resultobj
;
11991 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11992 wxString
*arg2
= 0 ;
11993 int arg3
= (int) 0 ;
11994 bool temp2
= False
;
11995 PyObject
* obj0
= 0 ;
11996 PyObject
* obj1
= 0 ;
11997 PyObject
* obj2
= 0 ;
11998 char *kwnames
[] = {
11999 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12006 arg2
= wxString_in_helper(obj1
);
12007 if (arg2
== NULL
) SWIG_fail
;
12011 arg3
= (int) SWIG_AsInt(obj2
);
12012 if (PyErr_Occurred()) SWIG_fail
;
12015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12016 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12018 wxPyEndAllowThreads(__tstate
);
12019 if (PyErr_Occurred()) SWIG_fail
;
12021 Py_INCREF(Py_None
); resultobj
= Py_None
;
12036 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12037 PyObject
*resultobj
;
12038 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12039 wxString
*arg2
= 0 ;
12040 bool temp2
= False
;
12041 PyObject
* obj0
= 0 ;
12042 PyObject
* obj1
= 0 ;
12043 char *kwnames
[] = {
12044 (char *) "self",(char *) "shortDesc", NULL
12047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12051 arg2
= wxString_in_helper(obj1
);
12052 if (arg2
== NULL
) SWIG_fail
;
12056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12057 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12059 wxPyEndAllowThreads(__tstate
);
12060 if (PyErr_Occurred()) SWIG_fail
;
12062 Py_INCREF(Py_None
); resultobj
= Py_None
;
12077 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12078 PyObject
*resultobj
;
12079 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12081 PyObject
* obj0
= 0 ;
12082 char *kwnames
[] = {
12083 (char *) "self", NULL
12086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12092 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12093 result
= (wxString
*) &_result_ref
;
12096 wxPyEndAllowThreads(__tstate
);
12097 if (PyErr_Occurred()) SWIG_fail
;
12101 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12103 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12112 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12113 PyObject
*resultobj
;
12114 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12116 PyObject
* obj0
= 0 ;
12117 char *kwnames
[] = {
12118 (char *) "self", NULL
12121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12127 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12128 result
= (wxString
*) &_result_ref
;
12131 wxPyEndAllowThreads(__tstate
);
12132 if (PyErr_Occurred()) SWIG_fail
;
12136 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12138 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12147 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12148 PyObject
*resultobj
;
12149 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12151 PyObject
* obj0
= 0 ;
12152 char *kwnames
[] = {
12153 (char *) "self", NULL
12156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12162 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12163 result
= (wxString
*) &_result_ref
;
12166 wxPyEndAllowThreads(__tstate
);
12167 if (PyErr_Occurred()) SWIG_fail
;
12171 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12173 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12182 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12183 PyObject
*resultobj
;
12184 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12186 PyObject
* obj0
= 0 ;
12187 char *kwnames
[] = {
12188 (char *) "self", NULL
12191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12197 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12198 result
= (wxString
*) &_result_ref
;
12201 wxPyEndAllowThreads(__tstate
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12206 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12208 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12217 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12218 PyObject
*resultobj
;
12219 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12221 PyObject
* obj0
= 0 ;
12222 char *kwnames
[] = {
12223 (char *) "self", NULL
12226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12232 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12233 result
= (wxString
*) &_result_ref
;
12236 wxPyEndAllowThreads(__tstate
);
12237 if (PyErr_Occurred()) SWIG_fail
;
12241 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12243 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12252 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12253 PyObject
*resultobj
;
12254 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12255 wxArrayString
*result
;
12256 PyObject
* obj0
= 0 ;
12257 char *kwnames
[] = {
12258 (char *) "self", NULL
12261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12267 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12268 result
= (wxArrayString
*) &_result_ref
;
12271 wxPyEndAllowThreads(__tstate
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12275 resultobj
= wxArrayString2PyList_helper(*result
);
12283 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12284 PyObject
*resultobj
;
12285 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12287 PyObject
* obj0
= 0 ;
12288 char *kwnames
[] = {
12289 (char *) "self", NULL
12292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12297 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12299 wxPyEndAllowThreads(__tstate
);
12300 if (PyErr_Occurred()) SWIG_fail
;
12302 resultobj
= SWIG_FromInt((int)result
);
12309 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12310 PyObject
*resultobj
;
12311 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12313 PyObject
* obj0
= 0 ;
12314 char *kwnames
[] = {
12315 (char *) "self", NULL
12318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12324 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12325 result
= (wxString
*) &_result_ref
;
12328 wxPyEndAllowThreads(__tstate
);
12329 if (PyErr_Occurred()) SWIG_fail
;
12333 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12335 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12344 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12345 PyObject
*resultobj
;
12346 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12348 PyObject
* obj0
= 0 ;
12349 char *kwnames
[] = {
12350 (char *) "self", NULL
12353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12358 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12360 wxPyEndAllowThreads(__tstate
);
12361 if (PyErr_Occurred()) SWIG_fail
;
12363 resultobj
= SWIG_FromInt((int)result
);
12370 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12373 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12375 return Py_BuildValue((char *)"");
12377 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12378 PyObject
*resultobj
;
12379 wxFileTypeInfo
*arg1
= 0 ;
12380 wxFileType
*result
;
12381 PyObject
* obj0
= 0 ;
12382 char *kwnames
[] = {
12383 (char *) "ftInfo", NULL
12386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12388 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12390 if (arg1
== NULL
) {
12391 PyErr_SetString(PyExc_TypeError
,"null reference");
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12398 wxPyEndAllowThreads(__tstate
);
12399 if (PyErr_Occurred()) SWIG_fail
;
12401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12408 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12409 PyObject
*resultobj
;
12410 wxFileType
*arg1
= (wxFileType
*) 0 ;
12411 PyObject
* obj0
= 0 ;
12412 char *kwnames
[] = {
12413 (char *) "self", NULL
12416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 Py_INCREF(Py_None
); resultobj
= Py_None
;
12433 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
;
12435 wxFileType
*arg1
= (wxFileType
*) 0 ;
12437 PyObject
* obj0
= 0 ;
12438 char *kwnames
[] = {
12439 (char *) "self", NULL
12442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12447 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12449 wxPyEndAllowThreads(__tstate
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12452 resultobj
= result
;
12459 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12460 PyObject
*resultobj
;
12461 wxFileType
*arg1
= (wxFileType
*) 0 ;
12463 PyObject
* obj0
= 0 ;
12464 char *kwnames
[] = {
12465 (char *) "self", NULL
12468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12473 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12475 wxPyEndAllowThreads(__tstate
);
12476 if (PyErr_Occurred()) SWIG_fail
;
12478 resultobj
= result
;
12485 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12486 PyObject
*resultobj
;
12487 wxFileType
*arg1
= (wxFileType
*) 0 ;
12489 PyObject
* obj0
= 0 ;
12490 char *kwnames
[] = {
12491 (char *) "self", NULL
12494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12499 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12501 wxPyEndAllowThreads(__tstate
);
12502 if (PyErr_Occurred()) SWIG_fail
;
12504 resultobj
= result
;
12511 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12512 PyObject
*resultobj
;
12513 wxFileType
*arg1
= (wxFileType
*) 0 ;
12515 PyObject
* obj0
= 0 ;
12516 char *kwnames
[] = {
12517 (char *) "self", NULL
12520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12537 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12538 PyObject
*resultobj
;
12539 wxFileType
*arg1
= (wxFileType
*) 0 ;
12541 PyObject
* obj0
= 0 ;
12542 char *kwnames
[] = {
12543 (char *) "self", NULL
12546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12551 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12553 wxPyEndAllowThreads(__tstate
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12556 resultobj
= result
;
12563 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12564 PyObject
*resultobj
;
12565 wxFileType
*arg1
= (wxFileType
*) 0 ;
12567 PyObject
* obj0
= 0 ;
12568 char *kwnames
[] = {
12569 (char *) "self", NULL
12572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12577 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12579 wxPyEndAllowThreads(__tstate
);
12580 if (PyErr_Occurred()) SWIG_fail
;
12582 resultobj
= result
;
12589 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12590 PyObject
*resultobj
;
12591 wxFileType
*arg1
= (wxFileType
*) 0 ;
12592 wxString
*arg2
= 0 ;
12593 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12594 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12596 bool temp2
= False
;
12597 bool temp3
= False
;
12598 PyObject
* obj0
= 0 ;
12599 PyObject
* obj1
= 0 ;
12600 PyObject
* obj2
= 0 ;
12601 char *kwnames
[] = {
12602 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12609 arg2
= wxString_in_helper(obj1
);
12610 if (arg2
== NULL
) SWIG_fail
;
12615 arg3
= wxString_in_helper(obj2
);
12616 if (arg3
== NULL
) SWIG_fail
;
12621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12622 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12624 wxPyEndAllowThreads(__tstate
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12627 resultobj
= result
;
12650 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
*resultobj
;
12652 wxFileType
*arg1
= (wxFileType
*) 0 ;
12653 wxString
*arg2
= 0 ;
12654 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12655 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12657 bool temp2
= False
;
12658 bool temp3
= False
;
12659 PyObject
* obj0
= 0 ;
12660 PyObject
* obj1
= 0 ;
12661 PyObject
* obj2
= 0 ;
12662 char *kwnames
[] = {
12663 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12670 arg2
= wxString_in_helper(obj1
);
12671 if (arg2
== NULL
) SWIG_fail
;
12676 arg3
= wxString_in_helper(obj2
);
12677 if (arg3
== NULL
) SWIG_fail
;
12682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12683 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12685 wxPyEndAllowThreads(__tstate
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12688 resultobj
= result
;
12711 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12712 PyObject
*resultobj
;
12713 wxFileType
*arg1
= (wxFileType
*) 0 ;
12714 wxString
*arg2
= 0 ;
12715 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12716 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12718 bool temp2
= False
;
12719 bool temp3
= False
;
12720 PyObject
* obj0
= 0 ;
12721 PyObject
* obj1
= 0 ;
12722 PyObject
* obj2
= 0 ;
12723 char *kwnames
[] = {
12724 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12731 arg2
= wxString_in_helper(obj1
);
12732 if (arg2
== NULL
) SWIG_fail
;
12737 arg3
= wxString_in_helper(obj2
);
12738 if (arg3
== NULL
) SWIG_fail
;
12743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12749 resultobj
= result
;
12772 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12773 PyObject
*resultobj
;
12774 wxFileType
*arg1
= (wxFileType
*) 0 ;
12775 wxString
*arg2
= 0 ;
12776 wxString
*arg3
= 0 ;
12777 bool arg4
= (bool) True
;
12779 bool temp2
= False
;
12780 bool temp3
= False
;
12781 PyObject
* obj0
= 0 ;
12782 PyObject
* obj1
= 0 ;
12783 PyObject
* obj2
= 0 ;
12784 PyObject
* obj3
= 0 ;
12785 char *kwnames
[] = {
12786 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12793 arg2
= wxString_in_helper(obj1
);
12794 if (arg2
== NULL
) SWIG_fail
;
12798 arg3
= wxString_in_helper(obj2
);
12799 if (arg3
== NULL
) SWIG_fail
;
12803 arg4
= (bool) SWIG_AsBool(obj3
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12808 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12810 wxPyEndAllowThreads(__tstate
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12838 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12839 PyObject
*resultobj
;
12840 wxFileType
*arg1
= (wxFileType
*) 0 ;
12841 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12842 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12843 int arg3
= (int) 0 ;
12845 bool temp2
= False
;
12846 PyObject
* obj0
= 0 ;
12847 PyObject
* obj1
= 0 ;
12848 PyObject
* obj2
= 0 ;
12849 char *kwnames
[] = {
12850 (char *) "self",(char *) "cmd",(char *) "index", NULL
12853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12858 arg2
= wxString_in_helper(obj1
);
12859 if (arg2
== NULL
) SWIG_fail
;
12864 arg3
= (int) SWIG_AsInt(obj2
);
12865 if (PyErr_Occurred()) SWIG_fail
;
12868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12869 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12871 wxPyEndAllowThreads(__tstate
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12891 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
;
12893 wxFileType
*arg1
= (wxFileType
*) 0 ;
12895 PyObject
* obj0
= 0 ;
12896 char *kwnames
[] = {
12897 (char *) "self", NULL
12900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12905 result
= (bool)(arg1
)->Unassociate();
12907 wxPyEndAllowThreads(__tstate
);
12908 if (PyErr_Occurred()) SWIG_fail
;
12911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12919 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12920 PyObject
*resultobj
;
12921 wxString
*arg1
= 0 ;
12922 wxString
*arg2
= 0 ;
12923 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12924 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12926 bool temp1
= False
;
12927 bool temp2
= False
;
12928 bool temp3
= False
;
12929 PyObject
* obj0
= 0 ;
12930 PyObject
* obj1
= 0 ;
12931 PyObject
* obj2
= 0 ;
12932 char *kwnames
[] = {
12933 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12938 arg1
= wxString_in_helper(obj0
);
12939 if (arg1
== NULL
) SWIG_fail
;
12943 arg2
= wxString_in_helper(obj1
);
12944 if (arg2
== NULL
) SWIG_fail
;
12949 arg3
= wxString_in_helper(obj2
);
12950 if (arg3
== NULL
) SWIG_fail
;
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12956 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12958 wxPyEndAllowThreads(__tstate
);
12959 if (PyErr_Occurred()) SWIG_fail
;
12963 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12965 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12998 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
13000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13001 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13003 return Py_BuildValue((char *)"");
13005 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
13006 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13011 static PyObject
*_wrap_TheMimeTypesManager_get() {
13014 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13019 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13020 PyObject
*resultobj
;
13021 wxString
*arg1
= 0 ;
13022 wxString
*arg2
= 0 ;
13024 bool temp1
= False
;
13025 bool temp2
= False
;
13026 PyObject
* obj0
= 0 ;
13027 PyObject
* obj1
= 0 ;
13028 char *kwnames
[] = {
13029 (char *) "mimeType",(char *) "wildcard", NULL
13032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13034 arg1
= wxString_in_helper(obj0
);
13035 if (arg1
== NULL
) SWIG_fail
;
13039 arg2
= wxString_in_helper(obj1
);
13040 if (arg2
== NULL
) SWIG_fail
;
13044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13045 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13047 wxPyEndAllowThreads(__tstate
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13075 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13076 PyObject
*resultobj
;
13077 wxMimeTypesManager
*result
;
13078 char *kwnames
[] = {
13082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13085 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13087 wxPyEndAllowThreads(__tstate
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13097 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13098 PyObject
*resultobj
;
13099 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13100 int arg2
= (int) wxMAILCAP_ALL
;
13101 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13102 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13103 bool temp3
= False
;
13104 PyObject
* obj0
= 0 ;
13105 PyObject
* obj1
= 0 ;
13106 PyObject
* obj2
= 0 ;
13107 char *kwnames
[] = {
13108 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13115 arg2
= (int) SWIG_AsInt(obj1
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13120 arg3
= wxString_in_helper(obj2
);
13121 if (arg3
== NULL
) SWIG_fail
;
13126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13127 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13129 wxPyEndAllowThreads(__tstate
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13132 Py_INCREF(Py_None
); resultobj
= Py_None
;
13147 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13148 PyObject
*resultobj
;
13149 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13150 PyObject
* obj0
= 0 ;
13151 char *kwnames
[] = {
13152 (char *) "self", NULL
13155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13160 (arg1
)->ClearData();
13162 wxPyEndAllowThreads(__tstate
);
13163 if (PyErr_Occurred()) SWIG_fail
;
13165 Py_INCREF(Py_None
); resultobj
= Py_None
;
13172 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13173 PyObject
*resultobj
;
13174 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13175 wxString
*arg2
= 0 ;
13176 wxFileType
*result
;
13177 bool temp2
= False
;
13178 PyObject
* obj0
= 0 ;
13179 PyObject
* obj1
= 0 ;
13180 char *kwnames
[] = {
13181 (char *) "self",(char *) "ext", NULL
13184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13188 arg2
= wxString_in_helper(obj1
);
13189 if (arg2
== NULL
) SWIG_fail
;
13193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13194 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13196 wxPyEndAllowThreads(__tstate
);
13197 if (PyErr_Occurred()) SWIG_fail
;
13199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13214 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13215 PyObject
*resultobj
;
13216 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13217 wxString
*arg2
= 0 ;
13218 wxFileType
*result
;
13219 bool temp2
= False
;
13220 PyObject
* obj0
= 0 ;
13221 PyObject
* obj1
= 0 ;
13222 char *kwnames
[] = {
13223 (char *) "self",(char *) "mimeType", NULL
13226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13230 arg2
= wxString_in_helper(obj1
);
13231 if (arg2
== NULL
) SWIG_fail
;
13235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13236 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13238 wxPyEndAllowThreads(__tstate
);
13239 if (PyErr_Occurred()) SWIG_fail
;
13241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13256 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13257 PyObject
*resultobj
;
13258 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13259 wxString
*arg2
= 0 ;
13260 bool arg3
= (bool) False
;
13262 bool temp2
= False
;
13263 PyObject
* obj0
= 0 ;
13264 PyObject
* obj1
= 0 ;
13265 PyObject
* obj2
= 0 ;
13266 char *kwnames
[] = {
13267 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13274 arg2
= wxString_in_helper(obj1
);
13275 if (arg2
== NULL
) SWIG_fail
;
13279 arg3
= (bool) SWIG_AsBool(obj2
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13284 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13286 wxPyEndAllowThreads(__tstate
);
13287 if (PyErr_Occurred()) SWIG_fail
;
13290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13306 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13307 PyObject
*resultobj
;
13308 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13309 wxString
*arg2
= 0 ;
13311 bool temp2
= False
;
13312 PyObject
* obj0
= 0 ;
13313 PyObject
* obj1
= 0 ;
13314 char *kwnames
[] = {
13315 (char *) "self",(char *) "filename", NULL
13318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13322 arg2
= wxString_in_helper(obj1
);
13323 if (arg2
== NULL
) SWIG_fail
;
13327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13328 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13330 wxPyEndAllowThreads(__tstate
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13350 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13351 PyObject
*resultobj
;
13352 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13354 PyObject
* obj0
= 0 ;
13355 char *kwnames
[] = {
13356 (char *) "self", NULL
13359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13366 wxPyEndAllowThreads(__tstate
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13369 resultobj
= result
;
13376 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13377 PyObject
*resultobj
;
13378 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13379 wxFileTypeInfo
*arg2
= 0 ;
13380 PyObject
* obj0
= 0 ;
13381 PyObject
* obj1
= 0 ;
13382 char *kwnames
[] = {
13383 (char *) "self",(char *) "ft", NULL
13386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13390 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13392 if (arg2
== NULL
) {
13393 PyErr_SetString(PyExc_TypeError
,"null reference");
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13403 Py_INCREF(Py_None
); resultobj
= Py_None
;
13410 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13411 PyObject
*resultobj
;
13412 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13413 wxFileTypeInfo
*arg2
= 0 ;
13414 wxFileType
*result
;
13415 PyObject
* obj0
= 0 ;
13416 PyObject
* obj1
= 0 ;
13417 char *kwnames
[] = {
13418 (char *) "self",(char *) "ftInfo", NULL
13421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13425 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13427 if (arg2
== NULL
) {
13428 PyErr_SetString(PyExc_TypeError
,"null reference");
13432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13433 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13435 wxPyEndAllowThreads(__tstate
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13445 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13446 PyObject
*resultobj
;
13447 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13448 wxFileType
*arg2
= (wxFileType
*) 0 ;
13450 PyObject
* obj0
= 0 ;
13451 PyObject
* obj1
= 0 ;
13452 char *kwnames
[] = {
13453 (char *) "self",(char *) "ft", NULL
13456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13459 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13463 result
= (bool)(arg1
)->Unassociate(arg2
);
13465 wxPyEndAllowThreads(__tstate
);
13466 if (PyErr_Occurred()) SWIG_fail
;
13469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13477 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13478 PyObject
*resultobj
;
13479 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13480 PyObject
* obj0
= 0 ;
13481 char *kwnames
[] = {
13482 (char *) "self", NULL
13485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 wxPyEndAllowThreads(__tstate
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13495 Py_INCREF(Py_None
); resultobj
= Py_None
;
13502 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13505 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13507 return Py_BuildValue((char *)"");
13509 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13510 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13515 static PyObject
*_wrap_ART_TOOLBAR_get() {
13520 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13522 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13529 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13530 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13535 static PyObject
*_wrap_ART_MENU_get() {
13540 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13542 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13549 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13550 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13555 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13560 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13562 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13569 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13570 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13575 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13580 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13582 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13589 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13590 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13595 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13600 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13602 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13609 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13610 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13615 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13620 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13622 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13629 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13630 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13635 static PyObject
*_wrap_ART_OTHER_get() {
13640 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13642 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13649 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13650 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13655 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13660 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13662 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13669 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13670 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13675 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13680 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13682 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13689 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13690 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13695 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13700 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13702 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13709 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13710 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13715 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13720 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13722 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13729 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13730 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13735 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13740 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13742 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13749 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13750 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13755 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13760 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13762 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13769 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13770 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13775 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13780 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13782 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13789 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13790 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13795 static PyObject
*_wrap_ART_GO_BACK_get() {
13800 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13802 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13809 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13810 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13815 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13820 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13822 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13829 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13830 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13835 static PyObject
*_wrap_ART_GO_UP_get() {
13840 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13842 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13849 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13850 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13855 static PyObject
*_wrap_ART_GO_DOWN_get() {
13860 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13862 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13869 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
13870 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13875 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13880 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13882 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13889 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
13890 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13895 static PyObject
*_wrap_ART_GO_HOME_get() {
13900 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13902 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13909 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
13910 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13915 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13920 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13922 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13929 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
13930 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13935 static PyObject
*_wrap_ART_PRINT_get() {
13940 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13942 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13949 static int _wrap_ART_HELP_set(PyObject
*_val
) {
13950 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13955 static PyObject
*_wrap_ART_HELP_get() {
13960 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13962 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13969 static int _wrap_ART_TIP_set(PyObject
*_val
) {
13970 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
13975 static PyObject
*_wrap_ART_TIP_get() {
13980 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13982 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13989 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
13990 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
13995 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14000 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14002 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14009 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
14010 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14015 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14020 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14022 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14029 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
14030 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14035 static PyObject
*_wrap_ART_NEW_DIR_get() {
14040 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14042 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14049 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14050 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14055 static PyObject
*_wrap_ART_FOLDER_get() {
14060 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14062 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14069 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14070 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14075 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14080 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14082 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14089 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14090 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14095 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14100 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14102 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14109 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14110 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14115 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14120 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14122 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14129 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14130 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14135 static PyObject
*_wrap_ART_TICK_MARK_get() {
14140 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14142 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14149 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14150 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14155 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14160 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14162 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14169 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14170 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14175 static PyObject
*_wrap_ART_ERROR_get() {
14180 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14182 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14189 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14190 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14195 static PyObject
*_wrap_ART_QUESTION_get() {
14200 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14202 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14209 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14210 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14215 static PyObject
*_wrap_ART_WARNING_get() {
14220 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14222 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14229 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14230 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14235 static PyObject
*_wrap_ART_INFORMATION_get() {
14240 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14242 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14249 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14250 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14255 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14260 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14262 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14269 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14270 PyObject
*resultobj
;
14271 wxPyArtProvider
*result
;
14272 char *kwnames
[] = {
14276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14279 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14281 wxPyEndAllowThreads(__tstate
);
14282 if (PyErr_Occurred()) SWIG_fail
;
14284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14291 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14292 PyObject
*resultobj
;
14293 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14294 PyObject
*arg2
= (PyObject
*) 0 ;
14295 PyObject
*arg3
= (PyObject
*) 0 ;
14296 PyObject
* obj0
= 0 ;
14297 PyObject
* obj1
= 0 ;
14298 PyObject
* obj2
= 0 ;
14299 char *kwnames
[] = {
14300 (char *) "self",(char *) "self",(char *) "_class", NULL
14303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14310 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14312 wxPyEndAllowThreads(__tstate
);
14313 if (PyErr_Occurred()) SWIG_fail
;
14315 Py_INCREF(Py_None
); resultobj
= Py_None
;
14322 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14323 PyObject
*resultobj
;
14324 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14325 PyObject
* obj0
= 0 ;
14326 char *kwnames
[] = {
14327 (char *) "provider", NULL
14330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14335 wxPyArtProvider::PushProvider(arg1
);
14337 wxPyEndAllowThreads(__tstate
);
14338 if (PyErr_Occurred()) SWIG_fail
;
14340 Py_INCREF(Py_None
); resultobj
= Py_None
;
14347 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14348 PyObject
*resultobj
;
14350 char *kwnames
[] = {
14354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14357 result
= (bool)wxPyArtProvider::PopProvider();
14359 wxPyEndAllowThreads(__tstate
);
14360 if (PyErr_Occurred()) SWIG_fail
;
14363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14371 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14372 PyObject
*resultobj
;
14373 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14375 PyObject
* obj0
= 0 ;
14376 char *kwnames
[] = {
14377 (char *) "provider", NULL
14380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14385 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14387 wxPyEndAllowThreads(__tstate
);
14388 if (PyErr_Occurred()) SWIG_fail
;
14391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14399 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14400 PyObject
*resultobj
;
14401 wxString
*arg1
= 0 ;
14402 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14403 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14404 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14405 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14407 bool temp1
= False
;
14408 bool temp2
= False
;
14410 PyObject
* obj0
= 0 ;
14411 PyObject
* obj1
= 0 ;
14412 PyObject
* obj2
= 0 ;
14413 char *kwnames
[] = {
14414 (char *) "id",(char *) "client",(char *) "size", NULL
14417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14419 arg1
= wxString_in_helper(obj0
);
14420 if (arg1
== NULL
) SWIG_fail
;
14425 arg2
= wxString_in_helper(obj1
);
14426 if (arg2
== NULL
) SWIG_fail
;
14433 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14438 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14444 wxBitmap
* resultptr
;
14445 resultptr
= new wxBitmap((wxBitmap
&) result
);
14446 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14470 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14471 PyObject
*resultobj
;
14472 wxString
*arg1
= 0 ;
14473 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14474 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14475 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14476 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14478 bool temp1
= False
;
14479 bool temp2
= False
;
14481 PyObject
* obj0
= 0 ;
14482 PyObject
* obj1
= 0 ;
14483 PyObject
* obj2
= 0 ;
14484 char *kwnames
[] = {
14485 (char *) "id",(char *) "client",(char *) "size", NULL
14488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14490 arg1
= wxString_in_helper(obj0
);
14491 if (arg1
== NULL
) SWIG_fail
;
14496 arg2
= wxString_in_helper(obj1
);
14497 if (arg2
== NULL
) SWIG_fail
;
14504 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14509 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14511 wxPyEndAllowThreads(__tstate
);
14512 if (PyErr_Occurred()) SWIG_fail
;
14515 wxIcon
* resultptr
;
14516 resultptr
= new wxIcon((wxIcon
&) result
);
14517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14541 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14542 PyObject
*resultobj
;
14543 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14544 PyObject
* obj0
= 0 ;
14545 char *kwnames
[] = {
14546 (char *) "self", NULL
14549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14554 wxPyArtProvider_Destroy(arg1
);
14556 wxPyEndAllowThreads(__tstate
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14559 Py_INCREF(Py_None
); resultobj
= Py_None
;
14566 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14569 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14571 return Py_BuildValue((char *)"");
14573 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14574 PyObject
*resultobj
;
14575 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14576 PyObject
* obj0
= 0 ;
14577 char *kwnames
[] = {
14578 (char *) "self", NULL
14581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14591 Py_INCREF(Py_None
); resultobj
= Py_None
;
14598 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14599 PyObject
*resultobj
;
14600 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14601 wxConfigBase
*result
;
14602 PyObject
* obj0
= 0 ;
14603 char *kwnames
[] = {
14604 (char *) "config", NULL
14607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14612 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14614 wxPyEndAllowThreads(__tstate
);
14615 if (PyErr_Occurred()) SWIG_fail
;
14617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14624 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14625 PyObject
*resultobj
;
14626 bool arg1
= (bool) True
;
14627 wxConfigBase
*result
;
14628 PyObject
* obj0
= 0 ;
14629 char *kwnames
[] = {
14630 (char *) "createOnDemand", NULL
14633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14635 arg1
= (bool) SWIG_AsBool(obj0
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14640 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14642 wxPyEndAllowThreads(__tstate
);
14643 if (PyErr_Occurred()) SWIG_fail
;
14645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14652 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14653 PyObject
*resultobj
;
14654 wxConfigBase
*result
;
14655 char *kwnames
[] = {
14659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14662 result
= (wxConfigBase
*)wxConfigBase::Create();
14664 wxPyEndAllowThreads(__tstate
);
14665 if (PyErr_Occurred()) SWIG_fail
;
14667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14674 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14675 PyObject
*resultobj
;
14676 char *kwnames
[] = {
14680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14683 wxConfigBase::DontCreateOnDemand();
14685 wxPyEndAllowThreads(__tstate
);
14686 if (PyErr_Occurred()) SWIG_fail
;
14688 Py_INCREF(Py_None
); resultobj
= Py_None
;
14695 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14696 PyObject
*resultobj
;
14697 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14698 wxString
*arg2
= 0 ;
14699 bool temp2
= False
;
14700 PyObject
* obj0
= 0 ;
14701 PyObject
* obj1
= 0 ;
14702 char *kwnames
[] = {
14703 (char *) "self",(char *) "path", NULL
14706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14710 arg2
= wxString_in_helper(obj1
);
14711 if (arg2
== NULL
) SWIG_fail
;
14715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14716 (arg1
)->SetPath((wxString
const &)*arg2
);
14718 wxPyEndAllowThreads(__tstate
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14721 Py_INCREF(Py_None
); resultobj
= Py_None
;
14736 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14737 PyObject
*resultobj
;
14738 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14740 PyObject
* obj0
= 0 ;
14741 char *kwnames
[] = {
14742 (char *) "self", NULL
14745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14751 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14752 result
= (wxString
*) &_result_ref
;
14755 wxPyEndAllowThreads(__tstate
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14760 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14762 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14771 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14772 PyObject
*resultobj
;
14773 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14775 PyObject
* obj0
= 0 ;
14776 char *kwnames
[] = {
14777 (char *) "self", NULL
14780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14785 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14787 wxPyEndAllowThreads(__tstate
);
14788 if (PyErr_Occurred()) SWIG_fail
;
14790 resultobj
= result
;
14797 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14798 PyObject
*resultobj
;
14799 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14802 PyObject
* obj0
= 0 ;
14803 PyObject
* obj1
= 0 ;
14804 char *kwnames
[] = {
14805 (char *) "self",(char *) "index", NULL
14808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14811 arg2
= (long) SWIG_AsLong(obj1
);
14812 if (PyErr_Occurred()) SWIG_fail
;
14814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14815 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14817 wxPyEndAllowThreads(__tstate
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14820 resultobj
= result
;
14827 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14828 PyObject
*resultobj
;
14829 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14831 PyObject
* obj0
= 0 ;
14832 char *kwnames
[] = {
14833 (char *) "self", NULL
14836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14841 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14843 wxPyEndAllowThreads(__tstate
);
14844 if (PyErr_Occurred()) SWIG_fail
;
14846 resultobj
= result
;
14853 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14854 PyObject
*resultobj
;
14855 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14858 PyObject
* obj0
= 0 ;
14859 PyObject
* obj1
= 0 ;
14860 char *kwnames
[] = {
14861 (char *) "self",(char *) "index", NULL
14864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14867 arg2
= (long) SWIG_AsLong(obj1
);
14868 if (PyErr_Occurred()) SWIG_fail
;
14870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14871 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14873 wxPyEndAllowThreads(__tstate
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14876 resultobj
= result
;
14883 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14884 PyObject
*resultobj
;
14885 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14886 bool arg2
= (bool) False
;
14888 PyObject
* obj0
= 0 ;
14889 PyObject
* obj1
= 0 ;
14890 char *kwnames
[] = {
14891 (char *) "self",(char *) "recursive", NULL
14894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14898 arg2
= (bool) SWIG_AsBool(obj1
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14903 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14905 wxPyEndAllowThreads(__tstate
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14908 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14915 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14916 PyObject
*resultobj
;
14917 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14918 bool arg2
= (bool) False
;
14920 PyObject
* obj0
= 0 ;
14921 PyObject
* obj1
= 0 ;
14922 char *kwnames
[] = {
14923 (char *) "self",(char *) "recursive", NULL
14926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14930 arg2
= (bool) SWIG_AsBool(obj1
);
14931 if (PyErr_Occurred()) SWIG_fail
;
14934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14940 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14947 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14948 PyObject
*resultobj
;
14949 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14950 wxString
*arg2
= 0 ;
14952 bool temp2
= False
;
14953 PyObject
* obj0
= 0 ;
14954 PyObject
* obj1
= 0 ;
14955 char *kwnames
[] = {
14956 (char *) "self",(char *) "name", NULL
14959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14963 arg2
= wxString_in_helper(obj1
);
14964 if (arg2
== NULL
) SWIG_fail
;
14968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14969 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
14971 wxPyEndAllowThreads(__tstate
);
14972 if (PyErr_Occurred()) SWIG_fail
;
14975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14991 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14992 PyObject
*resultobj
;
14993 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14994 wxString
*arg2
= 0 ;
14996 bool temp2
= False
;
14997 PyObject
* obj0
= 0 ;
14998 PyObject
* obj1
= 0 ;
14999 char *kwnames
[] = {
15000 (char *) "self",(char *) "name", NULL
15003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15007 arg2
= wxString_in_helper(obj1
);
15008 if (arg2
== NULL
) SWIG_fail
;
15012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15013 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15035 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15036 PyObject
*resultobj
;
15037 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15038 wxString
*arg2
= 0 ;
15040 bool temp2
= False
;
15041 PyObject
* obj0
= 0 ;
15042 PyObject
* obj1
= 0 ;
15043 char *kwnames
[] = {
15044 (char *) "self",(char *) "name", NULL
15047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15051 arg2
= wxString_in_helper(obj1
);
15052 if (arg2
== NULL
) SWIG_fail
;
15056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15057 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15059 wxPyEndAllowThreads(__tstate
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15079 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15080 PyObject
*resultobj
;
15081 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15082 wxString
*arg2
= 0 ;
15084 bool temp2
= False
;
15085 PyObject
* obj0
= 0 ;
15086 PyObject
* obj1
= 0 ;
15087 char *kwnames
[] = {
15088 (char *) "self",(char *) "name", NULL
15091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15095 arg2
= wxString_in_helper(obj1
);
15096 if (arg2
== NULL
) SWIG_fail
;
15100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15101 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15103 wxPyEndAllowThreads(__tstate
);
15104 if (PyErr_Occurred()) SWIG_fail
;
15106 resultobj
= SWIG_FromInt((int)result
);
15121 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15122 PyObject
*resultobj
;
15123 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15124 wxString
*arg2
= 0 ;
15125 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15126 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15128 bool temp2
= False
;
15129 bool temp3
= False
;
15130 PyObject
* obj0
= 0 ;
15131 PyObject
* obj1
= 0 ;
15132 PyObject
* obj2
= 0 ;
15133 char *kwnames
[] = {
15134 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15141 arg2
= wxString_in_helper(obj1
);
15142 if (arg2
== NULL
) SWIG_fail
;
15147 arg3
= wxString_in_helper(obj2
);
15148 if (arg3
== NULL
) SWIG_fail
;
15153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15154 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15156 wxPyEndAllowThreads(__tstate
);
15157 if (PyErr_Occurred()) SWIG_fail
;
15161 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15163 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15188 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15189 PyObject
*resultobj
;
15190 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15191 wxString
*arg2
= 0 ;
15192 long arg3
= (long) 0 ;
15194 bool temp2
= False
;
15195 PyObject
* obj0
= 0 ;
15196 PyObject
* obj1
= 0 ;
15197 PyObject
* obj2
= 0 ;
15198 char *kwnames
[] = {
15199 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15206 arg2
= wxString_in_helper(obj1
);
15207 if (arg2
== NULL
) SWIG_fail
;
15211 arg3
= (long) SWIG_AsLong(obj2
);
15212 if (PyErr_Occurred()) SWIG_fail
;
15215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15216 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15218 wxPyEndAllowThreads(__tstate
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15221 resultobj
= SWIG_FromLong((long)result
);
15236 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
;
15238 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15239 wxString
*arg2
= 0 ;
15240 double arg3
= (double) 0.0 ;
15242 bool temp2
= False
;
15243 PyObject
* obj0
= 0 ;
15244 PyObject
* obj1
= 0 ;
15245 PyObject
* obj2
= 0 ;
15246 char *kwnames
[] = {
15247 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15254 arg2
= wxString_in_helper(obj1
);
15255 if (arg2
== NULL
) SWIG_fail
;
15259 arg3
= (double) SWIG_AsDouble(obj2
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15269 resultobj
= SWIG_FromDouble((double)result
);
15284 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15285 PyObject
*resultobj
;
15286 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15287 wxString
*arg2
= 0 ;
15288 bool arg3
= (bool) False
;
15290 bool temp2
= False
;
15291 PyObject
* obj0
= 0 ;
15292 PyObject
* obj1
= 0 ;
15293 PyObject
* obj2
= 0 ;
15294 char *kwnames
[] = {
15295 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15302 arg2
= wxString_in_helper(obj1
);
15303 if (arg2
== NULL
) SWIG_fail
;
15307 arg3
= (bool) SWIG_AsBool(obj2
);
15308 if (PyErr_Occurred()) SWIG_fail
;
15311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15312 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15314 wxPyEndAllowThreads(__tstate
);
15315 if (PyErr_Occurred()) SWIG_fail
;
15318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15334 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15335 PyObject
*resultobj
;
15336 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15337 wxString
*arg2
= 0 ;
15338 wxString
*arg3
= 0 ;
15340 bool temp2
= False
;
15341 bool temp3
= False
;
15342 PyObject
* obj0
= 0 ;
15343 PyObject
* obj1
= 0 ;
15344 PyObject
* obj2
= 0 ;
15345 char *kwnames
[] = {
15346 (char *) "self",(char *) "key",(char *) "value", NULL
15349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15353 arg2
= wxString_in_helper(obj1
);
15354 if (arg2
== NULL
) SWIG_fail
;
15358 arg3
= wxString_in_helper(obj2
);
15359 if (arg3
== NULL
) SWIG_fail
;
15363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15364 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15366 wxPyEndAllowThreads(__tstate
);
15367 if (PyErr_Occurred()) SWIG_fail
;
15370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15394 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15395 PyObject
*resultobj
;
15396 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15397 wxString
*arg2
= 0 ;
15400 bool temp2
= False
;
15401 PyObject
* obj0
= 0 ;
15402 PyObject
* obj1
= 0 ;
15403 PyObject
* obj2
= 0 ;
15404 char *kwnames
[] = {
15405 (char *) "self",(char *) "key",(char *) "value", NULL
15408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15412 arg2
= wxString_in_helper(obj1
);
15413 if (arg2
== NULL
) SWIG_fail
;
15416 arg3
= (long) SWIG_AsLong(obj2
);
15417 if (PyErr_Occurred()) SWIG_fail
;
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15420 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15422 wxPyEndAllowThreads(__tstate
);
15423 if (PyErr_Occurred()) SWIG_fail
;
15426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15442 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15443 PyObject
*resultobj
;
15444 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15445 wxString
*arg2
= 0 ;
15448 bool temp2
= False
;
15449 PyObject
* obj0
= 0 ;
15450 PyObject
* obj1
= 0 ;
15451 PyObject
* obj2
= 0 ;
15452 char *kwnames
[] = {
15453 (char *) "self",(char *) "key",(char *) "value", NULL
15456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15460 arg2
= wxString_in_helper(obj1
);
15461 if (arg2
== NULL
) SWIG_fail
;
15464 arg3
= (double) SWIG_AsDouble(obj2
);
15465 if (PyErr_Occurred()) SWIG_fail
;
15467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15468 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15470 wxPyEndAllowThreads(__tstate
);
15471 if (PyErr_Occurred()) SWIG_fail
;
15474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15490 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15491 PyObject
*resultobj
;
15492 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15493 wxString
*arg2
= 0 ;
15496 bool temp2
= False
;
15497 PyObject
* obj0
= 0 ;
15498 PyObject
* obj1
= 0 ;
15499 PyObject
* obj2
= 0 ;
15500 char *kwnames
[] = {
15501 (char *) "self",(char *) "key",(char *) "value", NULL
15504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15508 arg2
= wxString_in_helper(obj1
);
15509 if (arg2
== NULL
) SWIG_fail
;
15512 arg3
= (bool) SWIG_AsBool(obj2
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15516 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15518 wxPyEndAllowThreads(__tstate
);
15519 if (PyErr_Occurred()) SWIG_fail
;
15522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15538 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15539 PyObject
*resultobj
;
15540 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15541 bool arg2
= (bool) False
;
15543 PyObject
* obj0
= 0 ;
15544 PyObject
* obj1
= 0 ;
15545 char *kwnames
[] = {
15546 (char *) "self",(char *) "currentOnly", NULL
15549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15553 arg2
= (bool) SWIG_AsBool(obj1
);
15554 if (PyErr_Occurred()) SWIG_fail
;
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 result
= (bool)(arg1
)->Flush(arg2
);
15560 wxPyEndAllowThreads(__tstate
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15572 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15573 PyObject
*resultobj
;
15574 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15575 wxString
*arg2
= 0 ;
15576 wxString
*arg3
= 0 ;
15578 bool temp2
= False
;
15579 bool temp3
= False
;
15580 PyObject
* obj0
= 0 ;
15581 PyObject
* obj1
= 0 ;
15582 PyObject
* obj2
= 0 ;
15583 char *kwnames
[] = {
15584 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15591 arg2
= wxString_in_helper(obj1
);
15592 if (arg2
== NULL
) SWIG_fail
;
15596 arg3
= wxString_in_helper(obj2
);
15597 if (arg3
== NULL
) SWIG_fail
;
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15602 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15604 wxPyEndAllowThreads(__tstate
);
15605 if (PyErr_Occurred()) SWIG_fail
;
15608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15632 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15633 PyObject
*resultobj
;
15634 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15635 wxString
*arg2
= 0 ;
15636 wxString
*arg3
= 0 ;
15638 bool temp2
= False
;
15639 bool temp3
= False
;
15640 PyObject
* obj0
= 0 ;
15641 PyObject
* obj1
= 0 ;
15642 PyObject
* obj2
= 0 ;
15643 char *kwnames
[] = {
15644 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15651 arg2
= wxString_in_helper(obj1
);
15652 if (arg2
== NULL
) SWIG_fail
;
15656 arg3
= wxString_in_helper(obj2
);
15657 if (arg3
== NULL
) SWIG_fail
;
15661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15662 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15664 wxPyEndAllowThreads(__tstate
);
15665 if (PyErr_Occurred()) SWIG_fail
;
15668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15692 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15693 PyObject
*resultobj
;
15694 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15695 wxString
*arg2
= 0 ;
15696 bool arg3
= (bool) True
;
15698 bool temp2
= False
;
15699 PyObject
* obj0
= 0 ;
15700 PyObject
* obj1
= 0 ;
15701 PyObject
* obj2
= 0 ;
15702 char *kwnames
[] = {
15703 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15710 arg2
= wxString_in_helper(obj1
);
15711 if (arg2
== NULL
) SWIG_fail
;
15715 arg3
= (bool) SWIG_AsBool(obj2
);
15716 if (PyErr_Occurred()) SWIG_fail
;
15719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15720 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15722 wxPyEndAllowThreads(__tstate
);
15723 if (PyErr_Occurred()) SWIG_fail
;
15726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15742 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15743 PyObject
*resultobj
;
15744 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15745 wxString
*arg2
= 0 ;
15747 bool temp2
= False
;
15748 PyObject
* obj0
= 0 ;
15749 PyObject
* obj1
= 0 ;
15750 char *kwnames
[] = {
15751 (char *) "self",(char *) "key", NULL
15754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15758 arg2
= wxString_in_helper(obj1
);
15759 if (arg2
== NULL
) SWIG_fail
;
15763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15764 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15766 wxPyEndAllowThreads(__tstate
);
15767 if (PyErr_Occurred()) SWIG_fail
;
15770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15786 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15787 PyObject
*resultobj
;
15788 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15790 PyObject
* obj0
= 0 ;
15791 char *kwnames
[] = {
15792 (char *) "self", NULL
15795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15800 result
= (bool)(arg1
)->DeleteAll();
15802 wxPyEndAllowThreads(__tstate
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15814 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15815 PyObject
*resultobj
;
15816 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15817 bool arg2
= (bool) True
;
15818 PyObject
* obj0
= 0 ;
15819 PyObject
* obj1
= 0 ;
15820 char *kwnames
[] = {
15821 (char *) "self",(char *) "doIt", NULL
15824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15828 arg2
= (bool) SWIG_AsBool(obj1
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15833 (arg1
)->SetExpandEnvVars(arg2
);
15835 wxPyEndAllowThreads(__tstate
);
15836 if (PyErr_Occurred()) SWIG_fail
;
15838 Py_INCREF(Py_None
); resultobj
= Py_None
;
15845 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15846 PyObject
*resultobj
;
15847 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15849 PyObject
* obj0
= 0 ;
15850 char *kwnames
[] = {
15851 (char *) "self", NULL
15854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15859 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15861 wxPyEndAllowThreads(__tstate
);
15862 if (PyErr_Occurred()) SWIG_fail
;
15865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15873 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15874 PyObject
*resultobj
;
15875 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15876 bool arg2
= (bool) True
;
15877 PyObject
* obj0
= 0 ;
15878 PyObject
* obj1
= 0 ;
15879 char *kwnames
[] = {
15880 (char *) "self",(char *) "doIt", NULL
15883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15887 arg2
= (bool) SWIG_AsBool(obj1
);
15888 if (PyErr_Occurred()) SWIG_fail
;
15891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15892 (arg1
)->SetRecordDefaults(arg2
);
15894 wxPyEndAllowThreads(__tstate
);
15895 if (PyErr_Occurred()) SWIG_fail
;
15897 Py_INCREF(Py_None
); resultobj
= Py_None
;
15904 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15905 PyObject
*resultobj
;
15906 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15908 PyObject
* obj0
= 0 ;
15909 char *kwnames
[] = {
15910 (char *) "self", NULL
15913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15918 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15920 wxPyEndAllowThreads(__tstate
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15932 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15933 PyObject
*resultobj
;
15934 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15935 wxString
*arg2
= 0 ;
15937 bool temp2
= False
;
15938 PyObject
* obj0
= 0 ;
15939 PyObject
* obj1
= 0 ;
15940 char *kwnames
[] = {
15941 (char *) "self",(char *) "str", NULL
15944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15948 arg2
= wxString_in_helper(obj1
);
15949 if (arg2
== NULL
) SWIG_fail
;
15953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15954 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15956 wxPyEndAllowThreads(__tstate
);
15957 if (PyErr_Occurred()) SWIG_fail
;
15961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15980 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15981 PyObject
*resultobj
;
15982 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15984 PyObject
* obj0
= 0 ;
15985 char *kwnames
[] = {
15986 (char *) "self", NULL
15989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
15990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15994 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
15996 wxPyEndAllowThreads(__tstate
);
15997 if (PyErr_Occurred()) SWIG_fail
;
16001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16012 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16013 PyObject
*resultobj
;
16014 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16016 PyObject
* obj0
= 0 ;
16017 char *kwnames
[] = {
16018 (char *) "self", NULL
16021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16026 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16028 wxPyEndAllowThreads(__tstate
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16044 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16045 PyObject
*resultobj
;
16046 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16047 wxString
*arg2
= 0 ;
16048 bool temp2
= False
;
16049 PyObject
* obj0
= 0 ;
16050 PyObject
* obj1
= 0 ;
16051 char *kwnames
[] = {
16052 (char *) "self",(char *) "appName", NULL
16055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16059 arg2
= wxString_in_helper(obj1
);
16060 if (arg2
== NULL
) SWIG_fail
;
16064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16065 (arg1
)->SetAppName((wxString
const &)*arg2
);
16067 wxPyEndAllowThreads(__tstate
);
16068 if (PyErr_Occurred()) SWIG_fail
;
16070 Py_INCREF(Py_None
); resultobj
= Py_None
;
16085 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16086 PyObject
*resultobj
;
16087 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16088 wxString
*arg2
= 0 ;
16089 bool temp2
= False
;
16090 PyObject
* obj0
= 0 ;
16091 PyObject
* obj1
= 0 ;
16092 char *kwnames
[] = {
16093 (char *) "self",(char *) "vendorName", NULL
16096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16100 arg2
= wxString_in_helper(obj1
);
16101 if (arg2
== NULL
) SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16111 Py_INCREF(Py_None
); resultobj
= Py_None
;
16126 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16127 PyObject
*resultobj
;
16128 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16130 PyObject
* obj0
= 0 ;
16131 PyObject
* obj1
= 0 ;
16132 char *kwnames
[] = {
16133 (char *) "self",(char *) "style", NULL
16136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16139 arg2
= (long) SWIG_AsLong(obj1
);
16140 if (PyErr_Occurred()) SWIG_fail
;
16142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16143 (arg1
)->SetStyle(arg2
);
16145 wxPyEndAllowThreads(__tstate
);
16146 if (PyErr_Occurred()) SWIG_fail
;
16148 Py_INCREF(Py_None
); resultobj
= Py_None
;
16155 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16156 PyObject
*resultobj
;
16157 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16159 PyObject
* obj0
= 0 ;
16160 char *kwnames
[] = {
16161 (char *) "self", NULL
16164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16169 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16171 wxPyEndAllowThreads(__tstate
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16174 resultobj
= SWIG_FromLong((long)result
);
16181 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16184 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16186 return Py_BuildValue((char *)"");
16188 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16189 PyObject
*resultobj
;
16190 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16191 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16192 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16193 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16194 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16195 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16196 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16197 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16198 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16200 bool temp1
= False
;
16201 bool temp2
= False
;
16202 bool temp3
= False
;
16203 bool temp4
= False
;
16204 PyObject
* obj0
= 0 ;
16205 PyObject
* obj1
= 0 ;
16206 PyObject
* obj2
= 0 ;
16207 PyObject
* obj3
= 0 ;
16208 PyObject
* obj4
= 0 ;
16209 char *kwnames
[] = {
16210 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16216 arg1
= wxString_in_helper(obj0
);
16217 if (arg1
== NULL
) SWIG_fail
;
16223 arg2
= wxString_in_helper(obj1
);
16224 if (arg2
== NULL
) SWIG_fail
;
16230 arg3
= wxString_in_helper(obj2
);
16231 if (arg3
== NULL
) SWIG_fail
;
16237 arg4
= wxString_in_helper(obj3
);
16238 if (arg4
== NULL
) SWIG_fail
;
16243 arg5
= (long) SWIG_AsLong(obj4
);
16244 if (PyErr_Occurred()) SWIG_fail
;
16247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16248 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16250 wxPyEndAllowThreads(__tstate
);
16251 if (PyErr_Occurred()) SWIG_fail
;
16253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16292 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16293 PyObject
*resultobj
;
16294 wxConfig
*arg1
= (wxConfig
*) 0 ;
16295 PyObject
* obj0
= 0 ;
16296 char *kwnames
[] = {
16297 (char *) "self", NULL
16300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16307 wxPyEndAllowThreads(__tstate
);
16308 if (PyErr_Occurred()) SWIG_fail
;
16310 Py_INCREF(Py_None
); resultobj
= Py_None
;
16317 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16319 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16320 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16322 return Py_BuildValue((char *)"");
16324 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16325 PyObject
*resultobj
;
16326 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16327 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16328 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16329 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16330 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16331 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16332 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16333 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16334 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16335 wxFileConfig
*result
;
16336 bool temp1
= False
;
16337 bool temp2
= False
;
16338 bool temp3
= False
;
16339 bool temp4
= False
;
16340 PyObject
* obj0
= 0 ;
16341 PyObject
* obj1
= 0 ;
16342 PyObject
* obj2
= 0 ;
16343 PyObject
* obj3
= 0 ;
16344 PyObject
* obj4
= 0 ;
16345 char *kwnames
[] = {
16346 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16352 arg1
= wxString_in_helper(obj0
);
16353 if (arg1
== NULL
) SWIG_fail
;
16359 arg2
= wxString_in_helper(obj1
);
16360 if (arg2
== NULL
) SWIG_fail
;
16366 arg3
= wxString_in_helper(obj2
);
16367 if (arg3
== NULL
) SWIG_fail
;
16373 arg4
= wxString_in_helper(obj3
);
16374 if (arg4
== NULL
) SWIG_fail
;
16379 arg5
= (long) SWIG_AsLong(obj4
);
16380 if (PyErr_Occurred()) SWIG_fail
;
16383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16384 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16386 wxPyEndAllowThreads(__tstate
);
16387 if (PyErr_Occurred()) SWIG_fail
;
16389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16428 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16429 PyObject
*resultobj
;
16430 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16431 PyObject
* obj0
= 0 ;
16432 char *kwnames
[] = {
16433 (char *) "self", NULL
16436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16443 wxPyEndAllowThreads(__tstate
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16446 Py_INCREF(Py_None
); resultobj
= Py_None
;
16453 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16455 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16456 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16458 return Py_BuildValue((char *)"");
16460 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16461 PyObject
*resultobj
;
16462 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16463 wxString
*arg2
= 0 ;
16464 wxConfigPathChanger
*result
;
16465 bool temp2
= False
;
16466 PyObject
* obj0
= 0 ;
16467 PyObject
* obj1
= 0 ;
16468 char *kwnames
[] = {
16469 (char *) "config",(char *) "entry", NULL
16472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16476 arg2
= wxString_in_helper(obj1
);
16477 if (arg2
== NULL
) SWIG_fail
;
16481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16482 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16502 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16503 PyObject
*resultobj
;
16504 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16505 PyObject
* obj0
= 0 ;
16506 char *kwnames
[] = {
16507 (char *) "self", NULL
16510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16517 wxPyEndAllowThreads(__tstate
);
16518 if (PyErr_Occurred()) SWIG_fail
;
16520 Py_INCREF(Py_None
); resultobj
= Py_None
;
16527 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16528 PyObject
*resultobj
;
16529 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16531 PyObject
* obj0
= 0 ;
16532 char *kwnames
[] = {
16533 (char *) "self", NULL
16536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16542 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16543 result
= (wxString
*) &_result_ref
;
16546 wxPyEndAllowThreads(__tstate
);
16547 if (PyErr_Occurred()) SWIG_fail
;
16551 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16553 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16562 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16564 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16565 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16567 return Py_BuildValue((char *)"");
16569 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16570 PyObject
*resultobj
;
16571 wxString
*arg1
= 0 ;
16573 bool temp1
= False
;
16574 PyObject
* obj0
= 0 ;
16575 char *kwnames
[] = {
16576 (char *) "sz", NULL
16579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16581 arg1
= wxString_in_helper(obj0
);
16582 if (arg1
== NULL
) SWIG_fail
;
16586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16587 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16589 wxPyEndAllowThreads(__tstate
);
16590 if (PyErr_Occurred()) SWIG_fail
;
16594 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16596 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16613 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16614 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16619 static PyObject
*_wrap_DateFormatStr_get() {
16624 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16626 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16633 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16634 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16639 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16644 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16646 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16653 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16654 PyObject
*resultobj
;
16656 PyObject
* obj0
= 0 ;
16657 char *kwnames
[] = {
16658 (char *) "country", NULL
16661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16662 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16663 if (PyErr_Occurred()) SWIG_fail
;
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16671 Py_INCREF(Py_None
); resultobj
= Py_None
;
16678 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16679 PyObject
*resultobj
;
16681 char *kwnames
[] = {
16685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16688 result
= (int)wxDateTime::GetCountry();
16690 wxPyEndAllowThreads(__tstate
);
16691 if (PyErr_Occurred()) SWIG_fail
;
16693 resultobj
= SWIG_FromInt((int)result
);
16700 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16701 PyObject
*resultobj
;
16702 int arg1
= (int) wxDateTime::Country_Default
;
16704 PyObject
* obj0
= 0 ;
16705 char *kwnames
[] = {
16706 (char *) "country", NULL
16709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16711 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16712 if (PyErr_Occurred()) SWIG_fail
;
16715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16716 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16718 wxPyEndAllowThreads(__tstate
);
16719 if (PyErr_Occurred()) SWIG_fail
;
16722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16730 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16731 PyObject
*resultobj
;
16732 int arg1
= (int) wxDateTime::Gregorian
;
16734 PyObject
* obj0
= 0 ;
16735 char *kwnames
[] = {
16736 (char *) "cal", NULL
16739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16741 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16742 if (PyErr_Occurred()) SWIG_fail
;
16745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16746 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16748 wxPyEndAllowThreads(__tstate
);
16749 if (PyErr_Occurred()) SWIG_fail
;
16751 resultobj
= SWIG_FromInt((int)result
);
16758 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16759 PyObject
*resultobj
;
16762 PyObject
* obj0
= 0 ;
16763 char *kwnames
[] = {
16764 (char *) "year", NULL
16767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16768 arg1
= (int) SWIG_AsInt(obj0
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16772 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16774 wxPyEndAllowThreads(__tstate
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16777 resultobj
= SWIG_FromInt((int)result
);
16784 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16785 PyObject
*resultobj
;
16786 int arg1
= (int) wxDateTime::Gregorian
;
16788 PyObject
* obj0
= 0 ;
16789 char *kwnames
[] = {
16790 (char *) "cal", NULL
16793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16795 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16796 if (PyErr_Occurred()) SWIG_fail
;
16799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16800 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16802 wxPyEndAllowThreads(__tstate
);
16803 if (PyErr_Occurred()) SWIG_fail
;
16805 resultobj
= SWIG_FromInt((int)result
);
16812 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16813 PyObject
*resultobj
;
16814 int arg1
= (int) wxDateTime::Inv_Year
;
16815 int arg2
= (int) wxDateTime::Gregorian
;
16817 PyObject
* obj0
= 0 ;
16818 PyObject
* obj1
= 0 ;
16819 char *kwnames
[] = {
16820 (char *) "year",(char *) "cal", NULL
16823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16825 arg1
= (int) SWIG_AsInt(obj0
);
16826 if (PyErr_Occurred()) SWIG_fail
;
16829 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16834 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16836 wxPyEndAllowThreads(__tstate
);
16837 if (PyErr_Occurred()) SWIG_fail
;
16840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16848 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16849 PyObject
*resultobj
;
16850 int arg1
= (int) wxDateTime::Inv_Year
;
16852 PyObject
* obj0
= 0 ;
16853 char *kwnames
[] = {
16854 (char *) "year", NULL
16857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16859 arg1
= (int) SWIG_AsInt(obj0
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16864 result
= (int)wxDateTime::GetCentury(arg1
);
16866 wxPyEndAllowThreads(__tstate
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16869 resultobj
= SWIG_FromInt((int)result
);
16876 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16877 PyObject
*resultobj
;
16879 int arg2
= (int) wxDateTime::Gregorian
;
16881 PyObject
* obj0
= 0 ;
16882 PyObject
* obj1
= 0 ;
16883 char *kwnames
[] = {
16884 (char *) "year",(char *) "cal", NULL
16887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16888 arg1
= (int) SWIG_AsInt(obj0
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16891 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16896 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16898 wxPyEndAllowThreads(__tstate
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16901 resultobj
= SWIG_FromInt((int)result
);
16908 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16909 PyObject
*resultobj
;
16911 int arg2
= (int) wxDateTime::Inv_Year
;
16912 int arg3
= (int) wxDateTime::Gregorian
;
16914 PyObject
* obj0
= 0 ;
16915 PyObject
* obj1
= 0 ;
16916 PyObject
* obj2
= 0 ;
16917 char *kwnames
[] = {
16918 (char *) "month",(char *) "year",(char *) "cal", NULL
16921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16922 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16923 if (PyErr_Occurred()) SWIG_fail
;
16925 arg2
= (int) SWIG_AsInt(obj1
);
16926 if (PyErr_Occurred()) SWIG_fail
;
16929 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16934 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16936 wxPyEndAllowThreads(__tstate
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16939 resultobj
= SWIG_FromInt((int)result
);
16946 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16947 PyObject
*resultobj
;
16949 int arg2
= (int) wxDateTime::Name_Full
;
16951 PyObject
* obj0
= 0 ;
16952 PyObject
* obj1
= 0 ;
16953 char *kwnames
[] = {
16954 (char *) "month",(char *) "flags", NULL
16957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16958 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16961 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16966 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16968 wxPyEndAllowThreads(__tstate
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16973 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16975 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16984 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16985 PyObject
*resultobj
;
16987 int arg2
= (int) wxDateTime::Name_Full
;
16989 PyObject
* obj0
= 0 ;
16990 PyObject
* obj1
= 0 ;
16991 char *kwnames
[] = {
16992 (char *) "weekday",(char *) "flags", NULL
16995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
16996 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
16997 if (PyErr_Occurred()) SWIG_fail
;
16999 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17000 if (PyErr_Occurred()) SWIG_fail
;
17003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17004 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17006 wxPyEndAllowThreads(__tstate
);
17007 if (PyErr_Occurred()) SWIG_fail
;
17011 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17013 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17022 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17023 PyObject
*resultobj
;
17024 wxString
*arg1
= (wxString
*) 0 ;
17025 wxString
*arg2
= (wxString
*) 0 ;
17026 bool temp1
= False
;
17027 bool temp2
= False
;
17028 PyObject
* obj0
= 0 ;
17029 PyObject
* obj1
= 0 ;
17030 char *kwnames
[] = {
17031 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17036 arg1
= wxString_in_helper(obj0
);
17037 if (arg1
== NULL
) SWIG_fail
;
17041 arg2
= wxString_in_helper(obj1
);
17042 if (arg2
== NULL
) SWIG_fail
;
17046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17047 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17049 wxPyEndAllowThreads(__tstate
);
17050 if (PyErr_Occurred()) SWIG_fail
;
17052 Py_INCREF(Py_None
); resultobj
= Py_None
;
17075 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17076 PyObject
*resultobj
;
17077 int arg1
= (int) wxDateTime::Inv_Year
;
17078 int arg2
= (int) wxDateTime::Country_Default
;
17080 PyObject
* obj0
= 0 ;
17081 PyObject
* obj1
= 0 ;
17082 char *kwnames
[] = {
17083 (char *) "year",(char *) "country", NULL
17086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17088 arg1
= (int) SWIG_AsInt(obj0
);
17089 if (PyErr_Occurred()) SWIG_fail
;
17092 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17097 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17099 wxPyEndAllowThreads(__tstate
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17111 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17112 PyObject
*resultobj
;
17113 int arg1
= (int) wxDateTime::Inv_Year
;
17114 int arg2
= (int) wxDateTime::Country_Default
;
17116 PyObject
* obj0
= 0 ;
17117 PyObject
* obj1
= 0 ;
17118 char *kwnames
[] = {
17119 (char *) "year",(char *) "country", NULL
17122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17124 arg1
= (int) SWIG_AsInt(obj0
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17128 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17133 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17135 wxPyEndAllowThreads(__tstate
);
17136 if (PyErr_Occurred()) SWIG_fail
;
17139 wxDateTime
* resultptr
;
17140 resultptr
= new wxDateTime((wxDateTime
&) result
);
17141 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17149 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17150 PyObject
*resultobj
;
17151 int arg1
= (int) wxDateTime::Inv_Year
;
17152 int arg2
= (int) wxDateTime::Country_Default
;
17154 PyObject
* obj0
= 0 ;
17155 PyObject
* obj1
= 0 ;
17156 char *kwnames
[] = {
17157 (char *) "year",(char *) "country", NULL
17160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17162 arg1
= (int) SWIG_AsInt(obj0
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17166 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17167 if (PyErr_Occurred()) SWIG_fail
;
17170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17171 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17173 wxPyEndAllowThreads(__tstate
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17177 wxDateTime
* resultptr
;
17178 resultptr
= new wxDateTime((wxDateTime
&) result
);
17179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17187 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
;
17190 char *kwnames
[] = {
17194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17197 result
= wxDateTime::Now();
17199 wxPyEndAllowThreads(__tstate
);
17200 if (PyErr_Occurred()) SWIG_fail
;
17203 wxDateTime
* resultptr
;
17204 resultptr
= new wxDateTime((wxDateTime
&) result
);
17205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17213 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17214 PyObject
*resultobj
;
17216 char *kwnames
[] = {
17220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17223 result
= wxDateTime::UNow();
17225 wxPyEndAllowThreads(__tstate
);
17226 if (PyErr_Occurred()) SWIG_fail
;
17229 wxDateTime
* resultptr
;
17230 resultptr
= new wxDateTime((wxDateTime
&) result
);
17231 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17239 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17240 PyObject
*resultobj
;
17242 char *kwnames
[] = {
17246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17249 result
= wxDateTime::Today();
17251 wxPyEndAllowThreads(__tstate
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17255 wxDateTime
* resultptr
;
17256 resultptr
= new wxDateTime((wxDateTime
&) result
);
17257 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17265 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17266 PyObject
*resultobj
;
17267 wxDateTime
*result
;
17268 char *kwnames
[] = {
17272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17275 result
= (wxDateTime
*)new wxDateTime();
17277 wxPyEndAllowThreads(__tstate
);
17278 if (PyErr_Occurred()) SWIG_fail
;
17280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17287 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17288 PyObject
*resultobj
;
17290 wxDateTime
*result
;
17291 PyObject
* obj0
= 0 ;
17292 char *kwnames
[] = {
17293 (char *) "timet", NULL
17296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17297 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17298 if (PyErr_Occurred()) SWIG_fail
;
17300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17301 result
= (wxDateTime
*)new wxDateTime(arg1
);
17303 wxPyEndAllowThreads(__tstate
);
17304 if (PyErr_Occurred()) SWIG_fail
;
17306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17313 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17314 PyObject
*resultobj
;
17316 wxDateTime
*result
;
17317 PyObject
* obj0
= 0 ;
17318 char *kwnames
[] = {
17319 (char *) "jdn", NULL
17322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17323 arg1
= (double) SWIG_AsDouble(obj0
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17327 result
= (wxDateTime
*)new wxDateTime(arg1
);
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17339 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17340 PyObject
*resultobj
;
17342 int arg2
= (int) 0 ;
17343 int arg3
= (int) 0 ;
17344 int arg4
= (int) 0 ;
17345 wxDateTime
*result
;
17346 PyObject
* obj0
= 0 ;
17347 PyObject
* obj1
= 0 ;
17348 PyObject
* obj2
= 0 ;
17349 PyObject
* obj3
= 0 ;
17350 char *kwnames
[] = {
17351 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17355 arg1
= (int) SWIG_AsInt(obj0
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17358 arg2
= (int) SWIG_AsInt(obj1
);
17359 if (PyErr_Occurred()) SWIG_fail
;
17362 arg3
= (int) SWIG_AsInt(obj2
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17366 arg4
= (int) SWIG_AsInt(obj3
);
17367 if (PyErr_Occurred()) SWIG_fail
;
17370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17371 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17373 wxPyEndAllowThreads(__tstate
);
17374 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17383 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17384 PyObject
*resultobj
;
17386 int arg2
= (int) wxDateTime::Inv_Month
;
17387 int arg3
= (int) wxDateTime::Inv_Year
;
17388 int arg4
= (int) 0 ;
17389 int arg5
= (int) 0 ;
17390 int arg6
= (int) 0 ;
17391 int arg7
= (int) 0 ;
17392 wxDateTime
*result
;
17393 PyObject
* obj0
= 0 ;
17394 PyObject
* obj1
= 0 ;
17395 PyObject
* obj2
= 0 ;
17396 PyObject
* obj3
= 0 ;
17397 PyObject
* obj4
= 0 ;
17398 PyObject
* obj5
= 0 ;
17399 PyObject
* obj6
= 0 ;
17400 char *kwnames
[] = {
17401 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17405 arg1
= (int) SWIG_AsInt(obj0
);
17406 if (PyErr_Occurred()) SWIG_fail
;
17408 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17409 if (PyErr_Occurred()) SWIG_fail
;
17412 arg3
= (int) SWIG_AsInt(obj2
);
17413 if (PyErr_Occurred()) SWIG_fail
;
17416 arg4
= (int) SWIG_AsInt(obj3
);
17417 if (PyErr_Occurred()) SWIG_fail
;
17420 arg5
= (int) SWIG_AsInt(obj4
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17424 arg6
= (int) SWIG_AsInt(obj5
);
17425 if (PyErr_Occurred()) SWIG_fail
;
17428 arg7
= (int) SWIG_AsInt(obj6
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17445 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17446 PyObject
*resultobj
;
17447 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17448 PyObject
* obj0
= 0 ;
17449 char *kwnames
[] = {
17450 (char *) "self", NULL
17453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17460 wxPyEndAllowThreads(__tstate
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17463 Py_INCREF(Py_None
); resultobj
= Py_None
;
17470 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17471 PyObject
*resultobj
;
17472 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17473 wxDateTime
*result
;
17474 PyObject
* obj0
= 0 ;
17475 char *kwnames
[] = {
17476 (char *) "self", NULL
17479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17486 result
= (wxDateTime
*) &_result_ref
;
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17499 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
;
17501 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17503 wxDateTime
*result
;
17504 PyObject
* obj0
= 0 ;
17505 PyObject
* obj1
= 0 ;
17506 char *kwnames
[] = {
17507 (char *) "self",(char *) "timet", NULL
17510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17513 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17514 if (PyErr_Occurred()) SWIG_fail
;
17516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17518 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17519 result
= (wxDateTime
*) &_result_ref
;
17522 wxPyEndAllowThreads(__tstate
);
17523 if (PyErr_Occurred()) SWIG_fail
;
17525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17532 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17533 PyObject
*resultobj
;
17534 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17536 wxDateTime
*result
;
17537 PyObject
* obj0
= 0 ;
17538 PyObject
* obj1
= 0 ;
17539 char *kwnames
[] = {
17540 (char *) "self",(char *) "jdn", NULL
17543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17546 arg2
= (double) SWIG_AsDouble(obj1
);
17547 if (PyErr_Occurred()) SWIG_fail
;
17549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17551 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17552 result
= (wxDateTime
*) &_result_ref
;
17555 wxPyEndAllowThreads(__tstate
);
17556 if (PyErr_Occurred()) SWIG_fail
;
17558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17565 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17566 PyObject
*resultobj
;
17567 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17569 int arg3
= (int) 0 ;
17570 int arg4
= (int) 0 ;
17571 int arg5
= (int) 0 ;
17572 wxDateTime
*result
;
17573 PyObject
* obj0
= 0 ;
17574 PyObject
* obj1
= 0 ;
17575 PyObject
* obj2
= 0 ;
17576 PyObject
* obj3
= 0 ;
17577 PyObject
* obj4
= 0 ;
17578 char *kwnames
[] = {
17579 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17585 arg2
= (int) SWIG_AsInt(obj1
);
17586 if (PyErr_Occurred()) SWIG_fail
;
17588 arg3
= (int) SWIG_AsInt(obj2
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17592 arg4
= (int) SWIG_AsInt(obj3
);
17593 if (PyErr_Occurred()) SWIG_fail
;
17596 arg5
= (int) SWIG_AsInt(obj4
);
17597 if (PyErr_Occurred()) SWIG_fail
;
17600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17602 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17603 result
= (wxDateTime
*) &_result_ref
;
17606 wxPyEndAllowThreads(__tstate
);
17607 if (PyErr_Occurred()) SWIG_fail
;
17609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17616 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17617 PyObject
*resultobj
;
17618 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17620 int arg3
= (int) wxDateTime::Inv_Month
;
17621 int arg4
= (int) wxDateTime::Inv_Year
;
17622 int arg5
= (int) 0 ;
17623 int arg6
= (int) 0 ;
17624 int arg7
= (int) 0 ;
17625 int arg8
= (int) 0 ;
17626 wxDateTime
*result
;
17627 PyObject
* obj0
= 0 ;
17628 PyObject
* obj1
= 0 ;
17629 PyObject
* obj2
= 0 ;
17630 PyObject
* obj3
= 0 ;
17631 PyObject
* obj4
= 0 ;
17632 PyObject
* obj5
= 0 ;
17633 PyObject
* obj6
= 0 ;
17634 PyObject
* obj7
= 0 ;
17635 char *kwnames
[] = {
17636 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17642 arg2
= (int) SWIG_AsInt(obj1
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17645 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17646 if (PyErr_Occurred()) SWIG_fail
;
17649 arg4
= (int) SWIG_AsInt(obj3
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17653 arg5
= (int) SWIG_AsInt(obj4
);
17654 if (PyErr_Occurred()) SWIG_fail
;
17657 arg6
= (int) SWIG_AsInt(obj5
);
17658 if (PyErr_Occurred()) SWIG_fail
;
17661 arg7
= (int) SWIG_AsInt(obj6
);
17662 if (PyErr_Occurred()) SWIG_fail
;
17665 arg8
= (int) SWIG_AsInt(obj7
);
17666 if (PyErr_Occurred()) SWIG_fail
;
17669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17671 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17672 result
= (wxDateTime
*) &_result_ref
;
17675 wxPyEndAllowThreads(__tstate
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17685 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17686 PyObject
*resultobj
;
17687 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17688 wxDateTime
*result
;
17689 PyObject
* obj0
= 0 ;
17690 char *kwnames
[] = {
17691 (char *) "self", NULL
17694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17700 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17701 result
= (wxDateTime
*) &_result_ref
;
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17714 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17715 PyObject
*resultobj
;
17716 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17718 wxDateTime
*result
;
17719 PyObject
* obj0
= 0 ;
17720 PyObject
* obj1
= 0 ;
17721 char *kwnames
[] = {
17722 (char *) "self",(char *) "year", NULL
17725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17728 arg2
= (int) SWIG_AsInt(obj1
);
17729 if (PyErr_Occurred()) SWIG_fail
;
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17733 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17734 result
= (wxDateTime
*) &_result_ref
;
17737 wxPyEndAllowThreads(__tstate
);
17738 if (PyErr_Occurred()) SWIG_fail
;
17740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17747 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17748 PyObject
*resultobj
;
17749 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17751 wxDateTime
*result
;
17752 PyObject
* obj0
= 0 ;
17753 PyObject
* obj1
= 0 ;
17754 char *kwnames
[] = {
17755 (char *) "self",(char *) "month", NULL
17758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17761 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17762 if (PyErr_Occurred()) SWIG_fail
;
17764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17766 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17767 result
= (wxDateTime
*) &_result_ref
;
17770 wxPyEndAllowThreads(__tstate
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17780 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17781 PyObject
*resultobj
;
17782 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17784 wxDateTime
*result
;
17785 PyObject
* obj0
= 0 ;
17786 PyObject
* obj1
= 0 ;
17787 char *kwnames
[] = {
17788 (char *) "self",(char *) "day", NULL
17791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17794 arg2
= (int) SWIG_AsInt(obj1
);
17795 if (PyErr_Occurred()) SWIG_fail
;
17797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17799 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17800 result
= (wxDateTime
*) &_result_ref
;
17803 wxPyEndAllowThreads(__tstate
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17813 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17814 PyObject
*resultobj
;
17815 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17817 wxDateTime
*result
;
17818 PyObject
* obj0
= 0 ;
17819 PyObject
* obj1
= 0 ;
17820 char *kwnames
[] = {
17821 (char *) "self",(char *) "hour", NULL
17824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17827 arg2
= (int) SWIG_AsInt(obj1
);
17828 if (PyErr_Occurred()) SWIG_fail
;
17830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17832 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17833 result
= (wxDateTime
*) &_result_ref
;
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17846 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17847 PyObject
*resultobj
;
17848 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17850 wxDateTime
*result
;
17851 PyObject
* obj0
= 0 ;
17852 PyObject
* obj1
= 0 ;
17853 char *kwnames
[] = {
17854 (char *) "self",(char *) "minute", NULL
17857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17860 arg2
= (int) SWIG_AsInt(obj1
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17865 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17866 result
= (wxDateTime
*) &_result_ref
;
17869 wxPyEndAllowThreads(__tstate
);
17870 if (PyErr_Occurred()) SWIG_fail
;
17872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17879 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17880 PyObject
*resultobj
;
17881 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17883 wxDateTime
*result
;
17884 PyObject
* obj0
= 0 ;
17885 PyObject
* obj1
= 0 ;
17886 char *kwnames
[] = {
17887 (char *) "self",(char *) "second", NULL
17890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17893 arg2
= (int) SWIG_AsInt(obj1
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17898 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17899 result
= (wxDateTime
*) &_result_ref
;
17902 wxPyEndAllowThreads(__tstate
);
17903 if (PyErr_Occurred()) SWIG_fail
;
17905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17912 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17913 PyObject
*resultobj
;
17914 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17916 wxDateTime
*result
;
17917 PyObject
* obj0
= 0 ;
17918 PyObject
* obj1
= 0 ;
17919 char *kwnames
[] = {
17920 (char *) "self",(char *) "millisecond", NULL
17923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17926 arg2
= (int) SWIG_AsInt(obj1
);
17927 if (PyErr_Occurred()) SWIG_fail
;
17929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17931 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17932 result
= (wxDateTime
*) &_result_ref
;
17935 wxPyEndAllowThreads(__tstate
);
17936 if (PyErr_Occurred()) SWIG_fail
;
17938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17945 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17946 PyObject
*resultobj
;
17947 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17949 int arg3
= (int) wxDateTime::Monday_First
;
17950 wxDateTime
*result
;
17951 PyObject
* obj0
= 0 ;
17952 PyObject
* obj1
= 0 ;
17953 PyObject
* obj2
= 0 ;
17954 char *kwnames
[] = {
17955 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17961 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17964 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17970 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17971 result
= (wxDateTime
*) &_result_ref
;
17974 wxPyEndAllowThreads(__tstate
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17984 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17985 PyObject
*resultobj
;
17986 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17988 int arg3
= (int) wxDateTime::Monday_First
;
17990 PyObject
* obj0
= 0 ;
17991 PyObject
* obj1
= 0 ;
17992 PyObject
* obj2
= 0 ;
17993 char *kwnames
[] = {
17994 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18000 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18001 if (PyErr_Occurred()) SWIG_fail
;
18003 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18004 if (PyErr_Occurred()) SWIG_fail
;
18007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18008 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18010 wxPyEndAllowThreads(__tstate
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18014 wxDateTime
* resultptr
;
18015 resultptr
= new wxDateTime((wxDateTime
&) result
);
18016 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18024 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18025 PyObject
*resultobj
;
18026 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18028 wxDateTime
*result
;
18029 PyObject
* obj0
= 0 ;
18030 PyObject
* obj1
= 0 ;
18031 char *kwnames
[] = {
18032 (char *) "self",(char *) "weekday", NULL
18035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18038 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18043 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18044 result
= (wxDateTime
*) &_result_ref
;
18047 wxPyEndAllowThreads(__tstate
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18057 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18058 PyObject
*resultobj
;
18059 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18062 PyObject
* obj0
= 0 ;
18063 PyObject
* obj1
= 0 ;
18064 char *kwnames
[] = {
18065 (char *) "self",(char *) "weekday", NULL
18068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18071 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18072 if (PyErr_Occurred()) SWIG_fail
;
18074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18077 wxPyEndAllowThreads(__tstate
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18081 wxDateTime
* resultptr
;
18082 resultptr
= new wxDateTime((wxDateTime
&) result
);
18083 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18091 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
;
18093 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18095 wxDateTime
*result
;
18096 PyObject
* obj0
= 0 ;
18097 PyObject
* obj1
= 0 ;
18098 char *kwnames
[] = {
18099 (char *) "self",(char *) "weekday", NULL
18102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18105 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18106 if (PyErr_Occurred()) SWIG_fail
;
18108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18110 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18111 result
= (wxDateTime
*) &_result_ref
;
18114 wxPyEndAllowThreads(__tstate
);
18115 if (PyErr_Occurred()) SWIG_fail
;
18117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18124 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18125 PyObject
*resultobj
;
18126 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18129 PyObject
* obj0
= 0 ;
18130 PyObject
* obj1
= 0 ;
18131 char *kwnames
[] = {
18132 (char *) "self",(char *) "weekday", NULL
18135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18138 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18142 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18144 wxPyEndAllowThreads(__tstate
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18148 wxDateTime
* resultptr
;
18149 resultptr
= new wxDateTime((wxDateTime
&) result
);
18150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18158 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18159 PyObject
*resultobj
;
18160 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18162 int arg3
= (int) 1 ;
18163 int arg4
= (int) wxDateTime::Inv_Month
;
18164 int arg5
= (int) wxDateTime::Inv_Year
;
18166 PyObject
* obj0
= 0 ;
18167 PyObject
* obj1
= 0 ;
18168 PyObject
* obj2
= 0 ;
18169 PyObject
* obj3
= 0 ;
18170 PyObject
* obj4
= 0 ;
18171 char *kwnames
[] = {
18172 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18178 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18181 arg3
= (int) SWIG_AsInt(obj2
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18185 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18186 if (PyErr_Occurred()) SWIG_fail
;
18189 arg5
= (int) SWIG_AsInt(obj4
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18194 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18196 wxPyEndAllowThreads(__tstate
);
18197 if (PyErr_Occurred()) SWIG_fail
;
18200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18208 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18209 PyObject
*resultobj
;
18210 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18212 int arg3
= (int) wxDateTime::Inv_Month
;
18213 int arg4
= (int) wxDateTime::Inv_Year
;
18215 PyObject
* obj0
= 0 ;
18216 PyObject
* obj1
= 0 ;
18217 PyObject
* obj2
= 0 ;
18218 PyObject
* obj3
= 0 ;
18219 char *kwnames
[] = {
18220 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18226 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18227 if (PyErr_Occurred()) SWIG_fail
;
18229 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18233 arg4
= (int) SWIG_AsInt(obj3
);
18234 if (PyErr_Occurred()) SWIG_fail
;
18237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18238 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18240 wxPyEndAllowThreads(__tstate
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18252 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18253 PyObject
*resultobj
;
18254 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18256 int arg3
= (int) wxDateTime::Inv_Month
;
18257 int arg4
= (int) wxDateTime::Inv_Year
;
18259 PyObject
* obj0
= 0 ;
18260 PyObject
* obj1
= 0 ;
18261 PyObject
* obj2
= 0 ;
18262 PyObject
* obj3
= 0 ;
18263 char *kwnames
[] = {
18264 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18270 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18271 if (PyErr_Occurred()) SWIG_fail
;
18273 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18277 arg4
= (int) SWIG_AsInt(obj3
);
18278 if (PyErr_Occurred()) SWIG_fail
;
18281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18282 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18284 wxPyEndAllowThreads(__tstate
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18288 wxDateTime
* resultptr
;
18289 resultptr
= new wxDateTime((wxDateTime
&) result
);
18290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18298 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18299 PyObject
*resultobj
;
18300 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18302 int arg3
= (int) wxDateTime::Mon
;
18303 int arg4
= (int) wxDateTime::Monday_First
;
18305 PyObject
* obj0
= 0 ;
18306 PyObject
* obj1
= 0 ;
18307 PyObject
* obj2
= 0 ;
18308 PyObject
* obj3
= 0 ;
18309 char *kwnames
[] = {
18310 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18316 arg2
= (int) SWIG_AsInt(obj1
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18319 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18323 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18324 if (PyErr_Occurred()) SWIG_fail
;
18327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18328 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18330 wxPyEndAllowThreads(__tstate
);
18331 if (PyErr_Occurred()) SWIG_fail
;
18334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18342 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18343 PyObject
*resultobj
;
18344 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18346 int arg3
= (int) wxDateTime::Mon
;
18347 int arg4
= (int) wxDateTime::Monday_First
;
18349 PyObject
* obj0
= 0 ;
18350 PyObject
* obj1
= 0 ;
18351 PyObject
* obj2
= 0 ;
18352 PyObject
* obj3
= 0 ;
18353 char *kwnames
[] = {
18354 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18360 arg2
= (int) SWIG_AsInt(obj1
);
18361 if (PyErr_Occurred()) SWIG_fail
;
18363 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18367 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18368 if (PyErr_Occurred()) SWIG_fail
;
18371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18372 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18374 wxPyEndAllowThreads(__tstate
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18378 wxDateTime
* resultptr
;
18379 resultptr
= new wxDateTime((wxDateTime
&) result
);
18380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18388 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18389 PyObject
*resultobj
;
18390 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18391 int arg2
= (int) wxDateTime::Inv_Month
;
18392 int arg3
= (int) wxDateTime::Inv_Year
;
18393 wxDateTime
*result
;
18394 PyObject
* obj0
= 0 ;
18395 PyObject
* obj1
= 0 ;
18396 PyObject
* obj2
= 0 ;
18397 char *kwnames
[] = {
18398 (char *) "self",(char *) "month",(char *) "year", NULL
18401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18405 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18406 if (PyErr_Occurred()) SWIG_fail
;
18409 arg3
= (int) SWIG_AsInt(obj2
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18415 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18416 result
= (wxDateTime
*) &_result_ref
;
18419 wxPyEndAllowThreads(__tstate
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18429 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18430 PyObject
*resultobj
;
18431 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18432 int arg2
= (int) wxDateTime::Inv_Month
;
18433 int arg3
= (int) wxDateTime::Inv_Year
;
18435 PyObject
* obj0
= 0 ;
18436 PyObject
* obj1
= 0 ;
18437 PyObject
* obj2
= 0 ;
18438 char *kwnames
[] = {
18439 (char *) "self",(char *) "month",(char *) "year", NULL
18442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18446 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18450 arg3
= (int) SWIG_AsInt(obj2
);
18451 if (PyErr_Occurred()) SWIG_fail
;
18454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18455 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18457 wxPyEndAllowThreads(__tstate
);
18458 if (PyErr_Occurred()) SWIG_fail
;
18461 wxDateTime
* resultptr
;
18462 resultptr
= new wxDateTime((wxDateTime
&) result
);
18463 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18471 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18472 PyObject
*resultobj
;
18473 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18475 wxDateTime
*result
;
18476 PyObject
* obj0
= 0 ;
18477 PyObject
* obj1
= 0 ;
18478 char *kwnames
[] = {
18479 (char *) "self",(char *) "yday", NULL
18482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18485 arg2
= (int) SWIG_AsInt(obj1
);
18486 if (PyErr_Occurred()) SWIG_fail
;
18488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18490 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18491 result
= (wxDateTime
*) &_result_ref
;
18494 wxPyEndAllowThreads(__tstate
);
18495 if (PyErr_Occurred()) SWIG_fail
;
18497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18504 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18505 PyObject
*resultobj
;
18506 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18509 PyObject
* obj0
= 0 ;
18510 PyObject
* obj1
= 0 ;
18511 char *kwnames
[] = {
18512 (char *) "self",(char *) "yday", NULL
18515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18518 arg2
= (int) SWIG_AsInt(obj1
);
18519 if (PyErr_Occurred()) SWIG_fail
;
18521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18522 result
= (arg1
)->GetYearDay(arg2
);
18524 wxPyEndAllowThreads(__tstate
);
18525 if (PyErr_Occurred()) SWIG_fail
;
18528 wxDateTime
* resultptr
;
18529 resultptr
= new wxDateTime((wxDateTime
&) result
);
18530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18538 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18539 PyObject
*resultobj
;
18540 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18542 PyObject
* obj0
= 0 ;
18543 char *kwnames
[] = {
18544 (char *) "self", NULL
18547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18552 result
= (double)(arg1
)->GetJulianDayNumber();
18554 wxPyEndAllowThreads(__tstate
);
18555 if (PyErr_Occurred()) SWIG_fail
;
18557 resultobj
= SWIG_FromDouble((double)result
);
18564 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18565 PyObject
*resultobj
;
18566 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18568 PyObject
* obj0
= 0 ;
18569 char *kwnames
[] = {
18570 (char *) "self", NULL
18573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18578 result
= (double)(arg1
)->GetJDN();
18580 wxPyEndAllowThreads(__tstate
);
18581 if (PyErr_Occurred()) SWIG_fail
;
18583 resultobj
= SWIG_FromDouble((double)result
);
18590 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18591 PyObject
*resultobj
;
18592 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18594 PyObject
* obj0
= 0 ;
18595 char *kwnames
[] = {
18596 (char *) "self", NULL
18599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18604 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18606 wxPyEndAllowThreads(__tstate
);
18607 if (PyErr_Occurred()) SWIG_fail
;
18609 resultobj
= SWIG_FromDouble((double)result
);
18616 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18617 PyObject
*resultobj
;
18618 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18620 PyObject
* obj0
= 0 ;
18621 char *kwnames
[] = {
18622 (char *) "self", NULL
18625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18630 result
= (double)(arg1
)->GetMJD();
18632 wxPyEndAllowThreads(__tstate
);
18633 if (PyErr_Occurred()) SWIG_fail
;
18635 resultobj
= SWIG_FromDouble((double)result
);
18642 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18643 PyObject
*resultobj
;
18644 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18646 PyObject
* obj0
= 0 ;
18647 char *kwnames
[] = {
18648 (char *) "self", NULL
18651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 result
= (double)(arg1
)->GetRataDie();
18658 wxPyEndAllowThreads(__tstate
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18661 resultobj
= SWIG_FromDouble((double)result
);
18668 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18669 PyObject
*resultobj
;
18670 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18671 wxDateTime::TimeZone
*arg2
= 0 ;
18672 bool arg3
= (bool) False
;
18674 bool temp2
= False
;
18675 PyObject
* obj0
= 0 ;
18676 PyObject
* obj1
= 0 ;
18677 PyObject
* obj2
= 0 ;
18678 char *kwnames
[] = {
18679 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18686 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18690 arg3
= (bool) SWIG_AsBool(obj2
);
18691 if (PyErr_Occurred()) SWIG_fail
;
18694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18695 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18697 wxPyEndAllowThreads(__tstate
);
18698 if (PyErr_Occurred()) SWIG_fail
;
18701 wxDateTime
* resultptr
;
18702 resultptr
= new wxDateTime((wxDateTime
&) result
);
18703 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18706 if (temp2
) delete arg2
;
18711 if (temp2
) delete arg2
;
18717 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18718 PyObject
*resultobj
;
18719 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18720 wxDateTime::TimeZone
*arg2
= 0 ;
18721 bool arg3
= (bool) False
;
18722 wxDateTime
*result
;
18723 bool temp2
= False
;
18724 PyObject
* obj0
= 0 ;
18725 PyObject
* obj1
= 0 ;
18726 PyObject
* obj2
= 0 ;
18727 char *kwnames
[] = {
18728 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18735 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18739 arg3
= (bool) SWIG_AsBool(obj2
);
18740 if (PyErr_Occurred()) SWIG_fail
;
18743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18745 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18746 result
= (wxDateTime
*) &_result_ref
;
18749 wxPyEndAllowThreads(__tstate
);
18750 if (PyErr_Occurred()) SWIG_fail
;
18752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18754 if (temp2
) delete arg2
;
18759 if (temp2
) delete arg2
;
18765 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18766 PyObject
*resultobj
;
18767 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18768 bool arg2
= (bool) False
;
18770 PyObject
* obj0
= 0 ;
18771 PyObject
* obj1
= 0 ;
18772 char *kwnames
[] = {
18773 (char *) "self",(char *) "noDST", NULL
18776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18780 arg2
= (bool) SWIG_AsBool(obj1
);
18781 if (PyErr_Occurred()) SWIG_fail
;
18784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18785 result
= (arg1
)->ToGMT(arg2
);
18787 wxPyEndAllowThreads(__tstate
);
18788 if (PyErr_Occurred()) SWIG_fail
;
18791 wxDateTime
* resultptr
;
18792 resultptr
= new wxDateTime((wxDateTime
&) result
);
18793 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18801 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18802 PyObject
*resultobj
;
18803 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18804 bool arg2
= (bool) False
;
18805 wxDateTime
*result
;
18806 PyObject
* obj0
= 0 ;
18807 PyObject
* obj1
= 0 ;
18808 char *kwnames
[] = {
18809 (char *) "self",(char *) "noDST", NULL
18812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18816 arg2
= (bool) SWIG_AsBool(obj1
);
18817 if (PyErr_Occurred()) SWIG_fail
;
18820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18822 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18823 result
= (wxDateTime
*) &_result_ref
;
18826 wxPyEndAllowThreads(__tstate
);
18827 if (PyErr_Occurred()) SWIG_fail
;
18829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18836 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18837 PyObject
*resultobj
;
18838 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18839 int arg2
= (int) wxDateTime::Country_Default
;
18841 PyObject
* obj0
= 0 ;
18842 PyObject
* obj1
= 0 ;
18843 char *kwnames
[] = {
18844 (char *) "self",(char *) "country", NULL
18847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18851 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18852 if (PyErr_Occurred()) SWIG_fail
;
18855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18856 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18861 resultobj
= SWIG_FromInt((int)result
);
18868 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18869 PyObject
*resultobj
;
18870 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18872 PyObject
* obj0
= 0 ;
18873 char *kwnames
[] = {
18874 (char *) "self", NULL
18877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18882 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18884 wxPyEndAllowThreads(__tstate
);
18885 if (PyErr_Occurred()) SWIG_fail
;
18888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18896 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18897 PyObject
*resultobj
;
18898 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18900 PyObject
* obj0
= 0 ;
18901 char *kwnames
[] = {
18902 (char *) "self", NULL
18905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18910 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18912 wxPyEndAllowThreads(__tstate
);
18913 if (PyErr_Occurred()) SWIG_fail
;
18915 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
18922 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18923 PyObject
*resultobj
;
18924 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18925 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18926 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18928 bool temp2
= False
;
18929 PyObject
* obj0
= 0 ;
18930 PyObject
* obj1
= 0 ;
18931 char *kwnames
[] = {
18932 (char *) "self",(char *) "tz", NULL
18935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18940 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18946 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18948 wxPyEndAllowThreads(__tstate
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18951 resultobj
= SWIG_FromInt((int)result
);
18953 if (temp2
) delete arg2
;
18958 if (temp2
) delete arg2
;
18964 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18965 PyObject
*resultobj
;
18966 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18967 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18968 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18970 bool temp2
= False
;
18971 PyObject
* obj0
= 0 ;
18972 PyObject
* obj1
= 0 ;
18973 char *kwnames
[] = {
18974 (char *) "self",(char *) "tz", NULL
18977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18982 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18988 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
18990 wxPyEndAllowThreads(__tstate
);
18991 if (PyErr_Occurred()) SWIG_fail
;
18993 resultobj
= SWIG_FromInt((int)result
);
18995 if (temp2
) delete arg2
;
19000 if (temp2
) delete arg2
;
19006 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19007 PyObject
*resultobj
;
19008 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19009 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19010 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19012 bool temp2
= False
;
19013 PyObject
* obj0
= 0 ;
19014 PyObject
* obj1
= 0 ;
19015 char *kwnames
[] = {
19016 (char *) "self",(char *) "tz", NULL
19019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19024 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19030 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19032 wxPyEndAllowThreads(__tstate
);
19033 if (PyErr_Occurred()) SWIG_fail
;
19035 resultobj
= SWIG_FromInt((int)result
);
19037 if (temp2
) delete arg2
;
19042 if (temp2
) delete arg2
;
19048 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19049 PyObject
*resultobj
;
19050 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19051 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19052 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19054 bool temp2
= False
;
19055 PyObject
* obj0
= 0 ;
19056 PyObject
* obj1
= 0 ;
19057 char *kwnames
[] = {
19058 (char *) "self",(char *) "tz", NULL
19061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19066 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19072 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19074 wxPyEndAllowThreads(__tstate
);
19075 if (PyErr_Occurred()) SWIG_fail
;
19077 resultobj
= SWIG_FromInt((int)result
);
19079 if (temp2
) delete arg2
;
19084 if (temp2
) delete arg2
;
19090 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19091 PyObject
*resultobj
;
19092 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19093 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19094 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19096 bool temp2
= False
;
19097 PyObject
* obj0
= 0 ;
19098 PyObject
* obj1
= 0 ;
19099 char *kwnames
[] = {
19100 (char *) "self",(char *) "tz", NULL
19103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19108 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19114 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19116 wxPyEndAllowThreads(__tstate
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19119 resultobj
= SWIG_FromInt((int)result
);
19121 if (temp2
) delete arg2
;
19126 if (temp2
) delete arg2
;
19132 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19133 PyObject
*resultobj
;
19134 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19135 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19136 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19138 bool temp2
= False
;
19139 PyObject
* obj0
= 0 ;
19140 PyObject
* obj1
= 0 ;
19141 char *kwnames
[] = {
19142 (char *) "self",(char *) "tz", NULL
19145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19150 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19156 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19158 wxPyEndAllowThreads(__tstate
);
19159 if (PyErr_Occurred()) SWIG_fail
;
19161 resultobj
= SWIG_FromInt((int)result
);
19163 if (temp2
) delete arg2
;
19168 if (temp2
) delete arg2
;
19174 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19175 PyObject
*resultobj
;
19176 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19177 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19178 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19180 bool temp2
= False
;
19181 PyObject
* obj0
= 0 ;
19182 PyObject
* obj1
= 0 ;
19183 char *kwnames
[] = {
19184 (char *) "self",(char *) "tz", NULL
19187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19192 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19198 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19200 wxPyEndAllowThreads(__tstate
);
19201 if (PyErr_Occurred()) SWIG_fail
;
19203 resultobj
= SWIG_FromInt((int)result
);
19205 if (temp2
) delete arg2
;
19210 if (temp2
) delete arg2
;
19216 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19217 PyObject
*resultobj
;
19218 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19219 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19220 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19222 bool temp2
= False
;
19223 PyObject
* obj0
= 0 ;
19224 PyObject
* obj1
= 0 ;
19225 char *kwnames
[] = {
19226 (char *) "self",(char *) "tz", NULL
19229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19234 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19240 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19242 wxPyEndAllowThreads(__tstate
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19245 resultobj
= SWIG_FromInt((int)result
);
19247 if (temp2
) delete arg2
;
19252 if (temp2
) delete arg2
;
19258 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19259 PyObject
*resultobj
;
19260 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19261 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19262 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19264 bool temp2
= False
;
19265 PyObject
* obj0
= 0 ;
19266 PyObject
* obj1
= 0 ;
19267 char *kwnames
[] = {
19268 (char *) "self",(char *) "tz", NULL
19271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19276 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19282 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19284 wxPyEndAllowThreads(__tstate
);
19285 if (PyErr_Occurred()) SWIG_fail
;
19287 resultobj
= SWIG_FromInt((int)result
);
19289 if (temp2
) delete arg2
;
19294 if (temp2
) delete arg2
;
19300 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19301 PyObject
*resultobj
;
19302 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19303 int arg2
= (int) wxDateTime::Monday_First
;
19304 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19305 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19307 bool temp3
= False
;
19308 PyObject
* obj0
= 0 ;
19309 PyObject
* obj1
= 0 ;
19310 PyObject
* obj2
= 0 ;
19311 char *kwnames
[] = {
19312 (char *) "self",(char *) "flags",(char *) "tz", NULL
19315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19319 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19320 if (PyErr_Occurred()) SWIG_fail
;
19324 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19330 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19332 wxPyEndAllowThreads(__tstate
);
19333 if (PyErr_Occurred()) SWIG_fail
;
19335 resultobj
= SWIG_FromInt((int)result
);
19337 if (temp3
) delete arg3
;
19342 if (temp3
) delete arg3
;
19348 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19349 PyObject
*resultobj
;
19350 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19351 int arg2
= (int) wxDateTime::Monday_First
;
19352 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19353 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19355 bool temp3
= False
;
19356 PyObject
* obj0
= 0 ;
19357 PyObject
* obj1
= 0 ;
19358 PyObject
* obj2
= 0 ;
19359 char *kwnames
[] = {
19360 (char *) "self",(char *) "flags",(char *) "tz", NULL
19363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19367 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19372 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19378 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19380 wxPyEndAllowThreads(__tstate
);
19381 if (PyErr_Occurred()) SWIG_fail
;
19383 resultobj
= SWIG_FromInt((int)result
);
19385 if (temp3
) delete arg3
;
19390 if (temp3
) delete arg3
;
19396 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19397 PyObject
*resultobj
;
19398 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19399 int arg2
= (int) wxDateTime::Country_Default
;
19401 PyObject
* obj0
= 0 ;
19402 PyObject
* obj1
= 0 ;
19403 char *kwnames
[] = {
19404 (char *) "self",(char *) "country", NULL
19407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19411 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19412 if (PyErr_Occurred()) SWIG_fail
;
19415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19416 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19418 wxPyEndAllowThreads(__tstate
);
19419 if (PyErr_Occurred()) SWIG_fail
;
19422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19430 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19431 PyObject
*resultobj
;
19432 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19433 wxDateTime
*arg2
= 0 ;
19435 PyObject
* obj0
= 0 ;
19436 PyObject
* obj1
= 0 ;
19437 char *kwnames
[] = {
19438 (char *) "self",(char *) "datetime", NULL
19441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19444 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19445 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19447 if (arg2
== NULL
) {
19448 PyErr_SetString(PyExc_TypeError
,"null reference");
19452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19453 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19455 wxPyEndAllowThreads(__tstate
);
19456 if (PyErr_Occurred()) SWIG_fail
;
19459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19467 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19468 PyObject
*resultobj
;
19469 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19470 wxDateTime
*arg2
= 0 ;
19472 PyObject
* obj0
= 0 ;
19473 PyObject
* obj1
= 0 ;
19474 char *kwnames
[] = {
19475 (char *) "self",(char *) "datetime", NULL
19478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19482 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19484 if (arg2
== NULL
) {
19485 PyErr_SetString(PyExc_TypeError
,"null reference");
19489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19490 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19492 wxPyEndAllowThreads(__tstate
);
19493 if (PyErr_Occurred()) SWIG_fail
;
19496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19504 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19505 PyObject
*resultobj
;
19506 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19507 wxDateTime
*arg2
= 0 ;
19509 PyObject
* obj0
= 0 ;
19510 PyObject
* obj1
= 0 ;
19511 char *kwnames
[] = {
19512 (char *) "self",(char *) "datetime", NULL
19515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19521 if (arg2
== NULL
) {
19522 PyErr_SetString(PyExc_TypeError
,"null reference");
19526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19527 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19529 wxPyEndAllowThreads(__tstate
);
19530 if (PyErr_Occurred()) SWIG_fail
;
19533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19541 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19542 PyObject
*resultobj
;
19543 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19544 wxDateTime
*arg2
= 0 ;
19545 wxDateTime
*arg3
= 0 ;
19547 PyObject
* obj0
= 0 ;
19548 PyObject
* obj1
= 0 ;
19549 PyObject
* obj2
= 0 ;
19550 char *kwnames
[] = {
19551 (char *) "self",(char *) "t1",(char *) "t2", NULL
19554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19558 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19560 if (arg2
== NULL
) {
19561 PyErr_SetString(PyExc_TypeError
,"null reference");
19564 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19565 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19567 if (arg3
== NULL
) {
19568 PyErr_SetString(PyExc_TypeError
,"null reference");
19572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19573 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19587 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19588 PyObject
*resultobj
;
19589 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19590 wxDateTime
*arg2
= 0 ;
19591 wxDateTime
*arg3
= 0 ;
19593 PyObject
* obj0
= 0 ;
19594 PyObject
* obj1
= 0 ;
19595 PyObject
* obj2
= 0 ;
19596 char *kwnames
[] = {
19597 (char *) "self",(char *) "t1",(char *) "t2", NULL
19600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19604 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19606 if (arg2
== NULL
) {
19607 PyErr_SetString(PyExc_TypeError
,"null reference");
19610 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19611 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19613 if (arg3
== NULL
) {
19614 PyErr_SetString(PyExc_TypeError
,"null reference");
19618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19619 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19621 wxPyEndAllowThreads(__tstate
);
19622 if (PyErr_Occurred()) SWIG_fail
;
19625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19633 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19634 PyObject
*resultobj
;
19635 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19636 wxDateTime
*arg2
= 0 ;
19638 PyObject
* obj0
= 0 ;
19639 PyObject
* obj1
= 0 ;
19640 char *kwnames
[] = {
19641 (char *) "self",(char *) "dt", NULL
19644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19648 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19650 if (arg2
== NULL
) {
19651 PyErr_SetString(PyExc_TypeError
,"null reference");
19655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19656 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19658 wxPyEndAllowThreads(__tstate
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19670 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19671 PyObject
*resultobj
;
19672 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19673 wxDateTime
*arg2
= 0 ;
19675 PyObject
* obj0
= 0 ;
19676 PyObject
* obj1
= 0 ;
19677 char *kwnames
[] = {
19678 (char *) "self",(char *) "dt", NULL
19681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19685 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19687 if (arg2
== NULL
) {
19688 PyErr_SetString(PyExc_TypeError
,"null reference");
19692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19693 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19695 wxPyEndAllowThreads(__tstate
);
19696 if (PyErr_Occurred()) SWIG_fail
;
19699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19707 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19708 PyObject
*resultobj
;
19709 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19710 wxDateTime
*arg2
= 0 ;
19711 wxTimeSpan
*arg3
= 0 ;
19713 PyObject
* obj0
= 0 ;
19714 PyObject
* obj1
= 0 ;
19715 PyObject
* obj2
= 0 ;
19716 char *kwnames
[] = {
19717 (char *) "self",(char *) "dt",(char *) "ts", NULL
19720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19724 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19726 if (arg2
== NULL
) {
19727 PyErr_SetString(PyExc_TypeError
,"null reference");
19730 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19731 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19733 if (arg3
== NULL
) {
19734 PyErr_SetString(PyExc_TypeError
,"null reference");
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19739 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19753 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
;
19755 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19756 wxTimeSpan
*arg2
= 0 ;
19757 wxDateTime
*result
;
19758 PyObject
* obj0
= 0 ;
19759 PyObject
* obj1
= 0 ;
19760 char *kwnames
[] = {
19761 (char *) "self",(char *) "diff", NULL
19764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19768 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19770 if (arg2
== NULL
) {
19771 PyErr_SetString(PyExc_TypeError
,"null reference");
19775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19777 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19778 result
= (wxDateTime
*) &_result_ref
;
19781 wxPyEndAllowThreads(__tstate
);
19782 if (PyErr_Occurred()) SWIG_fail
;
19784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19791 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19792 PyObject
*resultobj
;
19793 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19794 wxDateSpan
*arg2
= 0 ;
19795 wxDateTime
*result
;
19796 PyObject
* obj0
= 0 ;
19797 PyObject
* obj1
= 0 ;
19798 char *kwnames
[] = {
19799 (char *) "self",(char *) "diff", NULL
19802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19805 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19806 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19808 if (arg2
== NULL
) {
19809 PyErr_SetString(PyExc_TypeError
,"null reference");
19813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19815 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19816 result
= (wxDateTime
*) &_result_ref
;
19819 wxPyEndAllowThreads(__tstate
);
19820 if (PyErr_Occurred()) SWIG_fail
;
19822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19829 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19830 PyObject
*resultobj
;
19831 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19832 wxTimeSpan
*arg2
= 0 ;
19833 wxDateTime
*result
;
19834 PyObject
* obj0
= 0 ;
19835 PyObject
* obj1
= 0 ;
19836 char *kwnames
[] = {
19837 (char *) "self",(char *) "diff", NULL
19840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19846 if (arg2
== NULL
) {
19847 PyErr_SetString(PyExc_TypeError
,"null reference");
19851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19853 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19854 result
= (wxDateTime
*) &_result_ref
;
19857 wxPyEndAllowThreads(__tstate
);
19858 if (PyErr_Occurred()) SWIG_fail
;
19860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19867 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19868 PyObject
*resultobj
;
19869 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19870 wxDateSpan
*arg2
= 0 ;
19871 wxDateTime
*result
;
19872 PyObject
* obj0
= 0 ;
19873 PyObject
* obj1
= 0 ;
19874 char *kwnames
[] = {
19875 (char *) "self",(char *) "diff", NULL
19878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19881 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19882 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19884 if (arg2
== NULL
) {
19885 PyErr_SetString(PyExc_TypeError
,"null reference");
19889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19891 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19892 result
= (wxDateTime
*) &_result_ref
;
19895 wxPyEndAllowThreads(__tstate
);
19896 if (PyErr_Occurred()) SWIG_fail
;
19898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19905 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19906 PyObject
*resultobj
;
19907 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19908 wxDateTime
*arg2
= 0 ;
19910 PyObject
* obj0
= 0 ;
19911 PyObject
* obj1
= 0 ;
19912 char *kwnames
[] = {
19913 (char *) "self",(char *) "dt", NULL
19916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19919 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19920 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19922 if (arg2
== NULL
) {
19923 PyErr_SetString(PyExc_TypeError
,"null reference");
19927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19928 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19934 wxTimeSpan
* resultptr
;
19935 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19936 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
19944 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
19945 PyObject
*resultobj
;
19946 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19947 wxTimeSpan
*arg2
= 0 ;
19948 wxDateTime
*result
;
19949 PyObject
* obj0
= 0 ;
19950 PyObject
* obj1
= 0 ;
19952 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19955 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19956 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19958 if (arg2
== NULL
) {
19959 PyErr_SetString(PyExc_TypeError
,"null reference");
19963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19965 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19966 result
= (wxDateTime
*) &_result_ref
;
19969 wxPyEndAllowThreads(__tstate
);
19970 if (PyErr_Occurred()) SWIG_fail
;
19972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19979 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
19980 PyObject
*resultobj
;
19981 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19982 wxDateSpan
*arg2
= 0 ;
19983 wxDateTime
*result
;
19984 PyObject
* obj0
= 0 ;
19985 PyObject
* obj1
= 0 ;
19987 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19991 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19993 if (arg2
== NULL
) {
19994 PyErr_SetString(PyExc_TypeError
,"null reference");
19998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20000 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20001 result
= (wxDateTime
*) &_result_ref
;
20004 wxPyEndAllowThreads(__tstate
);
20005 if (PyErr_Occurred()) SWIG_fail
;
20007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20014 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20019 argc
= PyObject_Length(args
);
20020 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20021 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20027 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20037 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20045 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20053 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20063 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20071 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20076 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20081 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20082 PyObject
*resultobj
;
20083 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20084 wxTimeSpan
*arg2
= 0 ;
20085 wxDateTime
*result
;
20086 PyObject
* obj0
= 0 ;
20087 PyObject
* obj1
= 0 ;
20089 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20093 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20095 if (arg2
== NULL
) {
20096 PyErr_SetString(PyExc_TypeError
,"null reference");
20100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20102 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20103 result
= (wxDateTime
*) &_result_ref
;
20106 wxPyEndAllowThreads(__tstate
);
20107 if (PyErr_Occurred()) SWIG_fail
;
20109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20116 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20117 PyObject
*resultobj
;
20118 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20119 wxDateSpan
*arg2
= 0 ;
20120 wxDateTime
*result
;
20121 PyObject
* obj0
= 0 ;
20122 PyObject
* obj1
= 0 ;
20124 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20128 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20130 if (arg2
== NULL
) {
20131 PyErr_SetString(PyExc_TypeError
,"null reference");
20135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20137 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20138 result
= (wxDateTime
*) &_result_ref
;
20141 wxPyEndAllowThreads(__tstate
);
20142 if (PyErr_Occurred()) SWIG_fail
;
20144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20151 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20156 argc
= PyObject_Length(args
);
20157 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20158 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20164 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20174 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20182 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20190 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20200 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20208 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20213 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20218 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20219 PyObject
*resultobj
;
20220 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20221 wxTimeSpan
*arg2
= 0 ;
20223 PyObject
* obj0
= 0 ;
20224 PyObject
* obj1
= 0 ;
20226 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20230 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20232 if (arg2
== NULL
) {
20233 PyErr_SetString(PyExc_TypeError
,"null reference");
20237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20238 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20240 wxPyEndAllowThreads(__tstate
);
20241 if (PyErr_Occurred()) SWIG_fail
;
20244 wxDateTime
* resultptr
;
20245 resultptr
= new wxDateTime((wxDateTime
&) result
);
20246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20254 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20255 PyObject
*resultobj
;
20256 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20257 wxDateSpan
*arg2
= 0 ;
20259 PyObject
* obj0
= 0 ;
20260 PyObject
* obj1
= 0 ;
20262 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20265 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20266 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20268 if (arg2
== NULL
) {
20269 PyErr_SetString(PyExc_TypeError
,"null reference");
20273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20274 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20276 wxPyEndAllowThreads(__tstate
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20280 wxDateTime
* resultptr
;
20281 resultptr
= new wxDateTime((wxDateTime
&) result
);
20282 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20290 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20295 argc
= PyObject_Length(args
);
20296 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20297 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20303 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20313 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20321 return _wrap_DateTime___add____SWIG_0(self
,args
);
20329 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20339 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20347 return _wrap_DateTime___add____SWIG_1(self
,args
);
20352 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20357 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20358 PyObject
*resultobj
;
20359 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20360 wxDateTime
*arg2
= 0 ;
20362 PyObject
* obj0
= 0 ;
20363 PyObject
* obj1
= 0 ;
20365 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20368 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20369 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20371 if (arg2
== NULL
) {
20372 PyErr_SetString(PyExc_TypeError
,"null reference");
20376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20377 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20379 wxPyEndAllowThreads(__tstate
);
20380 if (PyErr_Occurred()) SWIG_fail
;
20383 wxTimeSpan
* resultptr
;
20384 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20385 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20393 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20394 PyObject
*resultobj
;
20395 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20396 wxTimeSpan
*arg2
= 0 ;
20398 PyObject
* obj0
= 0 ;
20399 PyObject
* obj1
= 0 ;
20401 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20405 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20407 if (arg2
== NULL
) {
20408 PyErr_SetString(PyExc_TypeError
,"null reference");
20412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20413 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20415 wxPyEndAllowThreads(__tstate
);
20416 if (PyErr_Occurred()) SWIG_fail
;
20419 wxDateTime
* resultptr
;
20420 resultptr
= new wxDateTime((wxDateTime
&) result
);
20421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20429 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20430 PyObject
*resultobj
;
20431 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20432 wxDateSpan
*arg2
= 0 ;
20434 PyObject
* obj0
= 0 ;
20435 PyObject
* obj1
= 0 ;
20437 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20441 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20443 if (arg2
== NULL
) {
20444 PyErr_SetString(PyExc_TypeError
,"null reference");
20448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20449 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20451 wxPyEndAllowThreads(__tstate
);
20452 if (PyErr_Occurred()) SWIG_fail
;
20455 wxDateTime
* resultptr
;
20456 resultptr
= new wxDateTime((wxDateTime
&) result
);
20457 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20465 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20470 argc
= PyObject_Length(args
);
20471 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20472 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20478 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20488 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20496 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20504 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20514 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20522 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20530 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20540 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20548 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20553 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20558 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20559 PyObject
*resultobj
;
20560 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20561 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20563 PyObject
* obj0
= 0 ;
20564 PyObject
* obj1
= 0 ;
20566 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20573 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20575 wxPyEndAllowThreads(__tstate
);
20576 if (PyErr_Occurred()) SWIG_fail
;
20579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20587 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20588 PyObject
*resultobj
;
20589 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20590 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20592 PyObject
* obj0
= 0 ;
20593 PyObject
* obj1
= 0 ;
20595 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20602 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20604 wxPyEndAllowThreads(__tstate
);
20605 if (PyErr_Occurred()) SWIG_fail
;
20608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20616 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20617 PyObject
*resultobj
;
20618 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20619 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20621 PyObject
* obj0
= 0 ;
20622 PyObject
* obj1
= 0 ;
20624 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20631 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20633 wxPyEndAllowThreads(__tstate
);
20634 if (PyErr_Occurred()) SWIG_fail
;
20637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20645 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20646 PyObject
*resultobj
;
20647 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20648 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20650 PyObject
* obj0
= 0 ;
20651 PyObject
* obj1
= 0 ;
20653 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20656 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20660 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20662 wxPyEndAllowThreads(__tstate
);
20663 if (PyErr_Occurred()) SWIG_fail
;
20666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20674 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20675 PyObject
*resultobj
;
20676 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20677 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20679 PyObject
* obj0
= 0 ;
20680 PyObject
* obj1
= 0 ;
20682 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20689 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20691 wxPyEndAllowThreads(__tstate
);
20692 if (PyErr_Occurred()) SWIG_fail
;
20695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20703 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20704 PyObject
*resultobj
;
20705 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20706 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20708 PyObject
* obj0
= 0 ;
20709 PyObject
* obj1
= 0 ;
20711 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20714 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20718 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20720 wxPyEndAllowThreads(__tstate
);
20721 if (PyErr_Occurred()) SWIG_fail
;
20724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20732 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20733 PyObject
*resultobj
;
20734 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20735 wxString
*arg2
= 0 ;
20737 bool temp2
= False
;
20738 PyObject
* obj0
= 0 ;
20739 PyObject
* obj1
= 0 ;
20740 char *kwnames
[] = {
20741 (char *) "self",(char *) "date", NULL
20744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20748 arg2
= wxString_in_helper(obj1
);
20749 if (arg2
== NULL
) SWIG_fail
;
20753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20754 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20756 wxPyEndAllowThreads(__tstate
);
20757 if (PyErr_Occurred()) SWIG_fail
;
20759 resultobj
= SWIG_FromInt((int)result
);
20774 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20775 PyObject
*resultobj
;
20776 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20777 wxString
*arg2
= 0 ;
20778 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20779 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20780 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20781 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20783 bool temp2
= False
;
20784 bool temp3
= False
;
20785 PyObject
* obj0
= 0 ;
20786 PyObject
* obj1
= 0 ;
20787 PyObject
* obj2
= 0 ;
20788 PyObject
* obj3
= 0 ;
20789 char *kwnames
[] = {
20790 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20797 arg2
= wxString_in_helper(obj1
);
20798 if (arg2
== NULL
) SWIG_fail
;
20803 arg3
= wxString_in_helper(obj2
);
20804 if (arg3
== NULL
) SWIG_fail
;
20809 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20810 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20812 if (arg4
== NULL
) {
20813 PyErr_SetString(PyExc_TypeError
,"null reference");
20818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20819 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20821 wxPyEndAllowThreads(__tstate
);
20822 if (PyErr_Occurred()) SWIG_fail
;
20824 resultobj
= SWIG_FromInt((int)result
);
20847 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20848 PyObject
*resultobj
;
20849 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20850 wxString
*arg2
= 0 ;
20852 bool temp2
= False
;
20853 PyObject
* obj0
= 0 ;
20854 PyObject
* obj1
= 0 ;
20855 char *kwnames
[] = {
20856 (char *) "self",(char *) "datetime", NULL
20859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20863 arg2
= wxString_in_helper(obj1
);
20864 if (arg2
== NULL
) SWIG_fail
;
20868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20869 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20871 wxPyEndAllowThreads(__tstate
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20874 resultobj
= SWIG_FromInt((int)result
);
20889 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20890 PyObject
*resultobj
;
20891 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20892 wxString
*arg2
= 0 ;
20894 bool temp2
= False
;
20895 PyObject
* obj0
= 0 ;
20896 PyObject
* obj1
= 0 ;
20897 char *kwnames
[] = {
20898 (char *) "self",(char *) "date", NULL
20901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20905 arg2
= wxString_in_helper(obj1
);
20906 if (arg2
== NULL
) SWIG_fail
;
20910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20911 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20913 wxPyEndAllowThreads(__tstate
);
20914 if (PyErr_Occurred()) SWIG_fail
;
20916 resultobj
= SWIG_FromInt((int)result
);
20931 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20932 PyObject
*resultobj
;
20933 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20934 wxString
*arg2
= 0 ;
20936 bool temp2
= False
;
20937 PyObject
* obj0
= 0 ;
20938 PyObject
* obj1
= 0 ;
20939 char *kwnames
[] = {
20940 (char *) "self",(char *) "time", NULL
20943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20947 arg2
= wxString_in_helper(obj1
);
20948 if (arg2
== NULL
) SWIG_fail
;
20952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20953 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20955 wxPyEndAllowThreads(__tstate
);
20956 if (PyErr_Occurred()) SWIG_fail
;
20958 resultobj
= SWIG_FromInt((int)result
);
20973 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20974 PyObject
*resultobj
;
20975 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20976 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
20977 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20978 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20979 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20981 bool temp2
= False
;
20982 bool temp3
= False
;
20983 PyObject
* obj0
= 0 ;
20984 PyObject
* obj1
= 0 ;
20985 PyObject
* obj2
= 0 ;
20986 char *kwnames
[] = {
20987 (char *) "self",(char *) "format",(char *) "tz", NULL
20990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20995 arg2
= wxString_in_helper(obj1
);
20996 if (arg2
== NULL
) SWIG_fail
;
21002 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21008 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21010 wxPyEndAllowThreads(__tstate
);
21011 if (PyErr_Occurred()) SWIG_fail
;
21015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21025 if (temp3
) delete arg3
;
21034 if (temp3
) delete arg3
;
21040 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21041 PyObject
*resultobj
;
21042 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21044 PyObject
* obj0
= 0 ;
21045 char *kwnames
[] = {
21046 (char *) "self", NULL
21049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21054 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21056 wxPyEndAllowThreads(__tstate
);
21057 if (PyErr_Occurred()) SWIG_fail
;
21061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21072 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21073 PyObject
*resultobj
;
21074 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21076 PyObject
* obj0
= 0 ;
21077 char *kwnames
[] = {
21078 (char *) "self", NULL
21081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21086 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21088 wxPyEndAllowThreads(__tstate
);
21089 if (PyErr_Occurred()) SWIG_fail
;
21093 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21095 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21104 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21105 PyObject
*resultobj
;
21106 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21108 PyObject
* obj0
= 0 ;
21109 char *kwnames
[] = {
21110 (char *) "self", NULL
21113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21118 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21120 wxPyEndAllowThreads(__tstate
);
21121 if (PyErr_Occurred()) SWIG_fail
;
21125 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21127 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21136 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21137 PyObject
*resultobj
;
21138 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21140 PyObject
* obj0
= 0 ;
21141 char *kwnames
[] = {
21142 (char *) "self", NULL
21145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21150 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21152 wxPyEndAllowThreads(__tstate
);
21153 if (PyErr_Occurred()) SWIG_fail
;
21157 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21159 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21168 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21170 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21171 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21173 return Py_BuildValue((char *)"");
21175 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21176 PyObject
*resultobj
;
21179 PyObject
* obj0
= 0 ;
21180 char *kwnames
[] = {
21181 (char *) "sec", NULL
21184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21185 arg1
= (long) SWIG_AsLong(obj0
);
21186 if (PyErr_Occurred()) SWIG_fail
;
21188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21189 result
= wxTimeSpan::Seconds(arg1
);
21191 wxPyEndAllowThreads(__tstate
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21195 wxTimeSpan
* resultptr
;
21196 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21197 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21205 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21206 PyObject
*resultobj
;
21208 char *kwnames
[] = {
21212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21215 result
= wxTimeSpan::Second();
21217 wxPyEndAllowThreads(__tstate
);
21218 if (PyErr_Occurred()) SWIG_fail
;
21221 wxTimeSpan
* resultptr
;
21222 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21223 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21231 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21232 PyObject
*resultobj
;
21235 PyObject
* obj0
= 0 ;
21236 char *kwnames
[] = {
21237 (char *) "min", NULL
21240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21241 arg1
= (long) SWIG_AsLong(obj0
);
21242 if (PyErr_Occurred()) SWIG_fail
;
21244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21245 result
= wxTimeSpan::Minutes(arg1
);
21247 wxPyEndAllowThreads(__tstate
);
21248 if (PyErr_Occurred()) SWIG_fail
;
21251 wxTimeSpan
* resultptr
;
21252 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21261 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21262 PyObject
*resultobj
;
21264 char *kwnames
[] = {
21268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21271 result
= wxTimeSpan::Minute();
21273 wxPyEndAllowThreads(__tstate
);
21274 if (PyErr_Occurred()) SWIG_fail
;
21277 wxTimeSpan
* resultptr
;
21278 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21287 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21288 PyObject
*resultobj
;
21291 PyObject
* obj0
= 0 ;
21292 char *kwnames
[] = {
21293 (char *) "hours", NULL
21296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21297 arg1
= (long) SWIG_AsLong(obj0
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21301 result
= wxTimeSpan::Hours(arg1
);
21303 wxPyEndAllowThreads(__tstate
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21307 wxTimeSpan
* resultptr
;
21308 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21309 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21317 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21318 PyObject
*resultobj
;
21320 char *kwnames
[] = {
21324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21327 result
= wxTimeSpan::Hour();
21329 wxPyEndAllowThreads(__tstate
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21333 wxTimeSpan
* resultptr
;
21334 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21335 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21343 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21344 PyObject
*resultobj
;
21347 PyObject
* obj0
= 0 ;
21348 char *kwnames
[] = {
21349 (char *) "days", NULL
21352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21353 arg1
= (long) SWIG_AsLong(obj0
);
21354 if (PyErr_Occurred()) SWIG_fail
;
21356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21357 result
= wxTimeSpan::Days(arg1
);
21359 wxPyEndAllowThreads(__tstate
);
21360 if (PyErr_Occurred()) SWIG_fail
;
21363 wxTimeSpan
* resultptr
;
21364 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21365 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21373 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21374 PyObject
*resultobj
;
21376 char *kwnames
[] = {
21380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21383 result
= wxTimeSpan::Day();
21385 wxPyEndAllowThreads(__tstate
);
21386 if (PyErr_Occurred()) SWIG_fail
;
21389 wxTimeSpan
* resultptr
;
21390 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21391 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21399 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21400 PyObject
*resultobj
;
21403 PyObject
* obj0
= 0 ;
21404 char *kwnames
[] = {
21405 (char *) "days", NULL
21408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21409 arg1
= (long) SWIG_AsLong(obj0
);
21410 if (PyErr_Occurred()) SWIG_fail
;
21412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21413 result
= wxTimeSpan::Weeks(arg1
);
21415 wxPyEndAllowThreads(__tstate
);
21416 if (PyErr_Occurred()) SWIG_fail
;
21419 wxTimeSpan
* resultptr
;
21420 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21429 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21430 PyObject
*resultobj
;
21432 char *kwnames
[] = {
21436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21439 result
= wxTimeSpan::Week();
21441 wxPyEndAllowThreads(__tstate
);
21442 if (PyErr_Occurred()) SWIG_fail
;
21445 wxTimeSpan
* resultptr
;
21446 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21455 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21456 PyObject
*resultobj
;
21457 long arg1
= (long) 0 ;
21458 long arg2
= (long) 0 ;
21459 long arg3
= (long) 0 ;
21460 long arg4
= (long) 0 ;
21461 wxTimeSpan
*result
;
21462 PyObject
* obj0
= 0 ;
21463 PyObject
* obj1
= 0 ;
21464 PyObject
* obj2
= 0 ;
21465 PyObject
* obj3
= 0 ;
21466 char *kwnames
[] = {
21467 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21472 arg1
= (long) SWIG_AsLong(obj0
);
21473 if (PyErr_Occurred()) SWIG_fail
;
21476 arg2
= (long) SWIG_AsLong(obj1
);
21477 if (PyErr_Occurred()) SWIG_fail
;
21480 arg3
= (long) SWIG_AsLong(obj2
);
21481 if (PyErr_Occurred()) SWIG_fail
;
21484 arg4
= (long) SWIG_AsLong(obj3
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21489 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21491 wxPyEndAllowThreads(__tstate
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21501 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21502 PyObject
*resultobj
;
21503 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21504 PyObject
* obj0
= 0 ;
21505 char *kwnames
[] = {
21506 (char *) "self", NULL
21509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21516 wxPyEndAllowThreads(__tstate
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21519 Py_INCREF(Py_None
); resultobj
= Py_None
;
21526 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21527 PyObject
*resultobj
;
21528 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21529 wxTimeSpan
*arg2
= 0 ;
21530 wxTimeSpan
*result
;
21531 PyObject
* obj0
= 0 ;
21532 PyObject
* obj1
= 0 ;
21533 char *kwnames
[] = {
21534 (char *) "self",(char *) "diff", NULL
21537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21540 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21541 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21543 if (arg2
== NULL
) {
21544 PyErr_SetString(PyExc_TypeError
,"null reference");
21548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21550 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21551 result
= (wxTimeSpan
*) &_result_ref
;
21554 wxPyEndAllowThreads(__tstate
);
21555 if (PyErr_Occurred()) SWIG_fail
;
21557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21564 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21565 PyObject
*resultobj
;
21566 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21567 wxTimeSpan
*arg2
= 0 ;
21568 wxTimeSpan
*result
;
21569 PyObject
* obj0
= 0 ;
21570 PyObject
* obj1
= 0 ;
21571 char *kwnames
[] = {
21572 (char *) "self",(char *) "diff", NULL
21575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21581 if (arg2
== NULL
) {
21582 PyErr_SetString(PyExc_TypeError
,"null reference");
21586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21588 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21589 result
= (wxTimeSpan
*) &_result_ref
;
21592 wxPyEndAllowThreads(__tstate
);
21593 if (PyErr_Occurred()) SWIG_fail
;
21595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21602 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21603 PyObject
*resultobj
;
21604 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21606 wxTimeSpan
*result
;
21607 PyObject
* obj0
= 0 ;
21608 PyObject
* obj1
= 0 ;
21609 char *kwnames
[] = {
21610 (char *) "self",(char *) "n", NULL
21613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21616 arg2
= (int) SWIG_AsInt(obj1
);
21617 if (PyErr_Occurred()) SWIG_fail
;
21619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21621 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21622 result
= (wxTimeSpan
*) &_result_ref
;
21625 wxPyEndAllowThreads(__tstate
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21635 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21636 PyObject
*resultobj
;
21637 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21638 wxTimeSpan
*result
;
21639 PyObject
* obj0
= 0 ;
21640 char *kwnames
[] = {
21641 (char *) "self", NULL
21644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21650 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21651 result
= (wxTimeSpan
*) &_result_ref
;
21654 wxPyEndAllowThreads(__tstate
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21664 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21665 PyObject
*resultobj
;
21666 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21668 PyObject
* obj0
= 0 ;
21669 char *kwnames
[] = {
21670 (char *) "self", NULL
21673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21678 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21680 wxPyEndAllowThreads(__tstate
);
21681 if (PyErr_Occurred()) SWIG_fail
;
21684 wxTimeSpan
* resultptr
;
21685 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21686 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21694 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21695 PyObject
*resultobj
;
21696 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21697 wxTimeSpan
*arg2
= 0 ;
21698 wxTimeSpan
*result
;
21699 PyObject
* obj0
= 0 ;
21700 PyObject
* obj1
= 0 ;
21701 char *kwnames
[] = {
21702 (char *) "self",(char *) "diff", NULL
21705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21711 if (arg2
== NULL
) {
21712 PyErr_SetString(PyExc_TypeError
,"null reference");
21716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21718 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21719 result
= (wxTimeSpan
*) &_result_ref
;
21722 wxPyEndAllowThreads(__tstate
);
21723 if (PyErr_Occurred()) SWIG_fail
;
21725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21732 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21733 PyObject
*resultobj
;
21734 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21735 wxTimeSpan
*arg2
= 0 ;
21736 wxTimeSpan
*result
;
21737 PyObject
* obj0
= 0 ;
21738 PyObject
* obj1
= 0 ;
21739 char *kwnames
[] = {
21740 (char *) "self",(char *) "diff", NULL
21743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21747 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21749 if (arg2
== NULL
) {
21750 PyErr_SetString(PyExc_TypeError
,"null reference");
21754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21756 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21757 result
= (wxTimeSpan
*) &_result_ref
;
21760 wxPyEndAllowThreads(__tstate
);
21761 if (PyErr_Occurred()) SWIG_fail
;
21763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21770 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21771 PyObject
*resultobj
;
21772 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21774 wxTimeSpan
*result
;
21775 PyObject
* obj0
= 0 ;
21776 PyObject
* obj1
= 0 ;
21777 char *kwnames
[] = {
21778 (char *) "self",(char *) "n", NULL
21781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21784 arg2
= (int) SWIG_AsInt(obj1
);
21785 if (PyErr_Occurred()) SWIG_fail
;
21787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21789 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21790 result
= (wxTimeSpan
*) &_result_ref
;
21793 wxPyEndAllowThreads(__tstate
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21803 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21804 PyObject
*resultobj
;
21805 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21806 wxTimeSpan
*result
;
21807 PyObject
* obj0
= 0 ;
21808 char *kwnames
[] = {
21809 (char *) "self", NULL
21812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21818 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21819 result
= (wxTimeSpan
*) &_result_ref
;
21822 wxPyEndAllowThreads(__tstate
);
21823 if (PyErr_Occurred()) SWIG_fail
;
21825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21832 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21833 PyObject
*resultobj
;
21834 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21835 wxTimeSpan
*arg2
= 0 ;
21837 PyObject
* obj0
= 0 ;
21838 PyObject
* obj1
= 0 ;
21839 char *kwnames
[] = {
21840 (char *) "self",(char *) "other", NULL
21843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21847 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21849 if (arg2
== NULL
) {
21850 PyErr_SetString(PyExc_TypeError
,"null reference");
21854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21855 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21857 wxPyEndAllowThreads(__tstate
);
21858 if (PyErr_Occurred()) SWIG_fail
;
21861 wxTimeSpan
* resultptr
;
21862 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21863 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21871 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21872 PyObject
*resultobj
;
21873 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21874 wxTimeSpan
*arg2
= 0 ;
21876 PyObject
* obj0
= 0 ;
21877 PyObject
* obj1
= 0 ;
21878 char *kwnames
[] = {
21879 (char *) "self",(char *) "other", NULL
21882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21885 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21886 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21888 if (arg2
== NULL
) {
21889 PyErr_SetString(PyExc_TypeError
,"null reference");
21893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21894 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21896 wxPyEndAllowThreads(__tstate
);
21897 if (PyErr_Occurred()) SWIG_fail
;
21900 wxTimeSpan
* resultptr
;
21901 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21910 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
;
21912 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21915 PyObject
* obj0
= 0 ;
21916 PyObject
* obj1
= 0 ;
21917 char *kwnames
[] = {
21918 (char *) "self",(char *) "n", NULL
21921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21924 arg2
= (int) SWIG_AsInt(obj1
);
21925 if (PyErr_Occurred()) SWIG_fail
;
21927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21928 result
= wxTimeSpan___mul__(arg1
,arg2
);
21930 wxPyEndAllowThreads(__tstate
);
21931 if (PyErr_Occurred()) SWIG_fail
;
21934 wxTimeSpan
* resultptr
;
21935 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21936 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21944 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21945 PyObject
*resultobj
;
21946 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21949 PyObject
* obj0
= 0 ;
21950 PyObject
* obj1
= 0 ;
21951 char *kwnames
[] = {
21952 (char *) "self",(char *) "n", NULL
21955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21958 arg2
= (int) SWIG_AsInt(obj1
);
21959 if (PyErr_Occurred()) SWIG_fail
;
21961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21962 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21964 wxPyEndAllowThreads(__tstate
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21968 wxTimeSpan
* resultptr
;
21969 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21978 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21979 PyObject
*resultobj
;
21980 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21981 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21983 PyObject
* obj0
= 0 ;
21984 PyObject
* obj1
= 0 ;
21985 char *kwnames
[] = {
21986 (char *) "self",(char *) "other", NULL
21989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21992 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21996 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
21998 wxPyEndAllowThreads(__tstate
);
21999 if (PyErr_Occurred()) SWIG_fail
;
22002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22010 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22011 PyObject
*resultobj
;
22012 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22013 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22015 PyObject
* obj0
= 0 ;
22016 PyObject
* obj1
= 0 ;
22017 char *kwnames
[] = {
22018 (char *) "self",(char *) "other", NULL
22021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22030 wxPyEndAllowThreads(__tstate
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22042 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22043 PyObject
*resultobj
;
22044 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22045 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22047 PyObject
* obj0
= 0 ;
22048 PyObject
* obj1
= 0 ;
22049 char *kwnames
[] = {
22050 (char *) "self",(char *) "other", NULL
22053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22056 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22060 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22062 wxPyEndAllowThreads(__tstate
);
22063 if (PyErr_Occurred()) SWIG_fail
;
22066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22074 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22075 PyObject
*resultobj
;
22076 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22077 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22079 PyObject
* obj0
= 0 ;
22080 PyObject
* obj1
= 0 ;
22081 char *kwnames
[] = {
22082 (char *) "self",(char *) "other", NULL
22085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22088 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22092 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22094 wxPyEndAllowThreads(__tstate
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22106 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22107 PyObject
*resultobj
;
22108 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22109 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22111 PyObject
* obj0
= 0 ;
22112 PyObject
* obj1
= 0 ;
22113 char *kwnames
[] = {
22114 (char *) "self",(char *) "other", NULL
22117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22120 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22124 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22126 wxPyEndAllowThreads(__tstate
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22138 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22139 PyObject
*resultobj
;
22140 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22141 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22143 PyObject
* obj0
= 0 ;
22144 PyObject
* obj1
= 0 ;
22145 char *kwnames
[] = {
22146 (char *) "self",(char *) "other", NULL
22149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22152 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22156 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22158 wxPyEndAllowThreads(__tstate
);
22159 if (PyErr_Occurred()) SWIG_fail
;
22162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22170 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22171 PyObject
*resultobj
;
22172 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22174 PyObject
* obj0
= 0 ;
22175 char *kwnames
[] = {
22176 (char *) "self", NULL
22179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22184 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22186 wxPyEndAllowThreads(__tstate
);
22187 if (PyErr_Occurred()) SWIG_fail
;
22190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22198 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22199 PyObject
*resultobj
;
22200 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22202 PyObject
* obj0
= 0 ;
22203 char *kwnames
[] = {
22204 (char *) "self", NULL
22207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22212 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22214 wxPyEndAllowThreads(__tstate
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22226 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22227 PyObject
*resultobj
;
22228 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22230 PyObject
* obj0
= 0 ;
22231 char *kwnames
[] = {
22232 (char *) "self", NULL
22235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22240 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22242 wxPyEndAllowThreads(__tstate
);
22243 if (PyErr_Occurred()) SWIG_fail
;
22246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22254 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22255 PyObject
*resultobj
;
22256 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22257 wxTimeSpan
*arg2
= 0 ;
22259 PyObject
* obj0
= 0 ;
22260 PyObject
* obj1
= 0 ;
22261 char *kwnames
[] = {
22262 (char *) "self",(char *) "ts", NULL
22265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22269 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22271 if (arg2
== NULL
) {
22272 PyErr_SetString(PyExc_TypeError
,"null reference");
22276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22277 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22279 wxPyEndAllowThreads(__tstate
);
22280 if (PyErr_Occurred()) SWIG_fail
;
22283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22291 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22292 PyObject
*resultobj
;
22293 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22294 wxTimeSpan
*arg2
= 0 ;
22296 PyObject
* obj0
= 0 ;
22297 PyObject
* obj1
= 0 ;
22298 char *kwnames
[] = {
22299 (char *) "self",(char *) "ts", NULL
22302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22306 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22308 if (arg2
== NULL
) {
22309 PyErr_SetString(PyExc_TypeError
,"null reference");
22313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22314 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22316 wxPyEndAllowThreads(__tstate
);
22317 if (PyErr_Occurred()) SWIG_fail
;
22320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22328 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22329 PyObject
*resultobj
;
22330 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22331 wxTimeSpan
*arg2
= 0 ;
22333 PyObject
* obj0
= 0 ;
22334 PyObject
* obj1
= 0 ;
22335 char *kwnames
[] = {
22336 (char *) "self",(char *) "t", NULL
22339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22343 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22345 if (arg2
== NULL
) {
22346 PyErr_SetString(PyExc_TypeError
,"null reference");
22350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22351 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22353 wxPyEndAllowThreads(__tstate
);
22354 if (PyErr_Occurred()) SWIG_fail
;
22357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22365 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22366 PyObject
*resultobj
;
22367 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22369 PyObject
* obj0
= 0 ;
22370 char *kwnames
[] = {
22371 (char *) "self", NULL
22374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22379 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22381 wxPyEndAllowThreads(__tstate
);
22382 if (PyErr_Occurred()) SWIG_fail
;
22384 resultobj
= SWIG_FromInt((int)result
);
22391 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22392 PyObject
*resultobj
;
22393 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22395 PyObject
* obj0
= 0 ;
22396 char *kwnames
[] = {
22397 (char *) "self", NULL
22400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22405 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22407 wxPyEndAllowThreads(__tstate
);
22408 if (PyErr_Occurred()) SWIG_fail
;
22410 resultobj
= SWIG_FromInt((int)result
);
22417 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22418 PyObject
*resultobj
;
22419 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22421 PyObject
* obj0
= 0 ;
22422 char *kwnames
[] = {
22423 (char *) "self", NULL
22426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22431 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22433 wxPyEndAllowThreads(__tstate
);
22434 if (PyErr_Occurred()) SWIG_fail
;
22436 resultobj
= SWIG_FromInt((int)result
);
22443 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22444 PyObject
*resultobj
;
22445 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22447 PyObject
* obj0
= 0 ;
22448 char *kwnames
[] = {
22449 (char *) "self", NULL
22452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22457 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22459 wxPyEndAllowThreads(__tstate
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22462 resultobj
= SWIG_FromInt((int)result
);
22469 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22470 PyObject
*resultobj
;
22471 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22473 PyObject
* obj0
= 0 ;
22474 char *kwnames
[] = {
22475 (char *) "self", NULL
22478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22483 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22485 wxPyEndAllowThreads(__tstate
);
22486 if (PyErr_Occurred()) SWIG_fail
;
22489 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22490 hi
= PyLong_FromLong( (&result
)->GetHi() );
22491 lo
= PyLong_FromLong( (&result
)->GetLo() );
22492 shifter
= PyLong_FromLong(32);
22493 shifted
= PyNumber_Lshift(hi
, shifter
);
22494 resultobj
= PyNumber_Or(shifted
, lo
);
22497 Py_DECREF(shifter
);
22498 Py_DECREF(shifted
);
22506 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22507 PyObject
*resultobj
;
22508 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22510 PyObject
* obj0
= 0 ;
22511 char *kwnames
[] = {
22512 (char *) "self", NULL
22515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22520 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22522 wxPyEndAllowThreads(__tstate
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22526 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22527 hi
= PyLong_FromLong( (&result
)->GetHi() );
22528 lo
= PyLong_FromLong( (&result
)->GetLo() );
22529 shifter
= PyLong_FromLong(32);
22530 shifted
= PyNumber_Lshift(hi
, shifter
);
22531 resultobj
= PyNumber_Or(shifted
, lo
);
22534 Py_DECREF(shifter
);
22535 Py_DECREF(shifted
);
22543 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22544 PyObject
*resultobj
;
22545 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22546 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22547 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22549 bool temp2
= False
;
22550 PyObject
* obj0
= 0 ;
22551 PyObject
* obj1
= 0 ;
22552 char *kwnames
[] = {
22553 (char *) "self",(char *) "format", NULL
22556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22561 arg2
= wxString_in_helper(obj1
);
22562 if (arg2
== NULL
) SWIG_fail
;
22567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22568 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22570 wxPyEndAllowThreads(__tstate
);
22571 if (PyErr_Occurred()) SWIG_fail
;
22575 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22577 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22594 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22597 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22599 return Py_BuildValue((char *)"");
22601 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22602 PyObject
*resultobj
;
22603 int arg1
= (int) 0 ;
22604 int arg2
= (int) 0 ;
22605 int arg3
= (int) 0 ;
22606 int arg4
= (int) 0 ;
22607 wxDateSpan
*result
;
22608 PyObject
* obj0
= 0 ;
22609 PyObject
* obj1
= 0 ;
22610 PyObject
* obj2
= 0 ;
22611 PyObject
* obj3
= 0 ;
22612 char *kwnames
[] = {
22613 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22618 arg1
= (int) SWIG_AsInt(obj0
);
22619 if (PyErr_Occurred()) SWIG_fail
;
22622 arg2
= (int) SWIG_AsInt(obj1
);
22623 if (PyErr_Occurred()) SWIG_fail
;
22626 arg3
= (int) SWIG_AsInt(obj2
);
22627 if (PyErr_Occurred()) SWIG_fail
;
22630 arg4
= (int) SWIG_AsInt(obj3
);
22631 if (PyErr_Occurred()) SWIG_fail
;
22634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22635 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22637 wxPyEndAllowThreads(__tstate
);
22638 if (PyErr_Occurred()) SWIG_fail
;
22640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22647 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22648 PyObject
*resultobj
;
22649 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22650 PyObject
* obj0
= 0 ;
22651 char *kwnames
[] = {
22652 (char *) "self", NULL
22655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22662 wxPyEndAllowThreads(__tstate
);
22663 if (PyErr_Occurred()) SWIG_fail
;
22665 Py_INCREF(Py_None
); resultobj
= Py_None
;
22672 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22673 PyObject
*resultobj
;
22676 PyObject
* obj0
= 0 ;
22677 char *kwnames
[] = {
22678 (char *) "days", NULL
22681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22682 arg1
= (int) SWIG_AsInt(obj0
);
22683 if (PyErr_Occurred()) SWIG_fail
;
22685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 result
= wxDateSpan::Days(arg1
);
22688 wxPyEndAllowThreads(__tstate
);
22689 if (PyErr_Occurred()) SWIG_fail
;
22692 wxDateSpan
* resultptr
;
22693 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22702 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22703 PyObject
*resultobj
;
22705 char *kwnames
[] = {
22709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22712 result
= wxDateSpan::Day();
22714 wxPyEndAllowThreads(__tstate
);
22715 if (PyErr_Occurred()) SWIG_fail
;
22718 wxDateSpan
* resultptr
;
22719 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22720 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22728 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22729 PyObject
*resultobj
;
22732 PyObject
* obj0
= 0 ;
22733 char *kwnames
[] = {
22734 (char *) "weeks", NULL
22737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22738 arg1
= (int) SWIG_AsInt(obj0
);
22739 if (PyErr_Occurred()) SWIG_fail
;
22741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22742 result
= wxDateSpan::Weeks(arg1
);
22744 wxPyEndAllowThreads(__tstate
);
22745 if (PyErr_Occurred()) SWIG_fail
;
22748 wxDateSpan
* resultptr
;
22749 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22750 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22758 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22759 PyObject
*resultobj
;
22761 char *kwnames
[] = {
22765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22768 result
= wxDateSpan::Week();
22770 wxPyEndAllowThreads(__tstate
);
22771 if (PyErr_Occurred()) SWIG_fail
;
22774 wxDateSpan
* resultptr
;
22775 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22776 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22784 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22785 PyObject
*resultobj
;
22788 PyObject
* obj0
= 0 ;
22789 char *kwnames
[] = {
22790 (char *) "mon", NULL
22793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22794 arg1
= (int) SWIG_AsInt(obj0
);
22795 if (PyErr_Occurred()) SWIG_fail
;
22797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22798 result
= wxDateSpan::Months(arg1
);
22800 wxPyEndAllowThreads(__tstate
);
22801 if (PyErr_Occurred()) SWIG_fail
;
22804 wxDateSpan
* resultptr
;
22805 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22806 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22814 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22815 PyObject
*resultobj
;
22817 char *kwnames
[] = {
22821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22824 result
= wxDateSpan::Month();
22826 wxPyEndAllowThreads(__tstate
);
22827 if (PyErr_Occurred()) SWIG_fail
;
22830 wxDateSpan
* resultptr
;
22831 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22840 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22841 PyObject
*resultobj
;
22844 PyObject
* obj0
= 0 ;
22845 char *kwnames
[] = {
22846 (char *) "years", NULL
22849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22850 arg1
= (int) SWIG_AsInt(obj0
);
22851 if (PyErr_Occurred()) SWIG_fail
;
22853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22854 result
= wxDateSpan::Years(arg1
);
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22860 wxDateSpan
* resultptr
;
22861 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22862 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22870 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22871 PyObject
*resultobj
;
22873 char *kwnames
[] = {
22877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22880 result
= wxDateSpan::Year();
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22886 wxDateSpan
* resultptr
;
22887 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22896 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22897 PyObject
*resultobj
;
22898 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22900 wxDateSpan
*result
;
22901 PyObject
* obj0
= 0 ;
22902 PyObject
* obj1
= 0 ;
22903 char *kwnames
[] = {
22904 (char *) "self",(char *) "n", NULL
22907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22910 arg2
= (int) SWIG_AsInt(obj1
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22915 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22916 result
= (wxDateSpan
*) &_result_ref
;
22919 wxPyEndAllowThreads(__tstate
);
22920 if (PyErr_Occurred()) SWIG_fail
;
22922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22929 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22930 PyObject
*resultobj
;
22931 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22933 wxDateSpan
*result
;
22934 PyObject
* obj0
= 0 ;
22935 PyObject
* obj1
= 0 ;
22936 char *kwnames
[] = {
22937 (char *) "self",(char *) "n", NULL
22940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22943 arg2
= (int) SWIG_AsInt(obj1
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22948 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22949 result
= (wxDateSpan
*) &_result_ref
;
22952 wxPyEndAllowThreads(__tstate
);
22953 if (PyErr_Occurred()) SWIG_fail
;
22955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22962 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22963 PyObject
*resultobj
;
22964 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22966 wxDateSpan
*result
;
22967 PyObject
* obj0
= 0 ;
22968 PyObject
* obj1
= 0 ;
22969 char *kwnames
[] = {
22970 (char *) "self",(char *) "n", NULL
22973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
22974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22976 arg2
= (int) SWIG_AsInt(obj1
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
22982 result
= (wxDateSpan
*) &_result_ref
;
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22995 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22996 PyObject
*resultobj
;
22997 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22999 wxDateSpan
*result
;
23000 PyObject
* obj0
= 0 ;
23001 PyObject
* obj1
= 0 ;
23002 char *kwnames
[] = {
23003 (char *) "self",(char *) "n", NULL
23006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23009 arg2
= (int) SWIG_AsInt(obj1
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23014 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23015 result
= (wxDateSpan
*) &_result_ref
;
23018 wxPyEndAllowThreads(__tstate
);
23019 if (PyErr_Occurred()) SWIG_fail
;
23021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23028 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23029 PyObject
*resultobj
;
23030 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23032 PyObject
* obj0
= 0 ;
23033 char *kwnames
[] = {
23034 (char *) "self", NULL
23037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 resultobj
= SWIG_FromInt((int)result
);
23054 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23055 PyObject
*resultobj
;
23056 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23058 PyObject
* obj0
= 0 ;
23059 char *kwnames
[] = {
23060 (char *) "self", NULL
23063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23068 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23070 wxPyEndAllowThreads(__tstate
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23073 resultobj
= SWIG_FromInt((int)result
);
23080 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23081 PyObject
*resultobj
;
23082 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23084 PyObject
* obj0
= 0 ;
23085 char *kwnames
[] = {
23086 (char *) "self", NULL
23089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23094 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23096 wxPyEndAllowThreads(__tstate
);
23097 if (PyErr_Occurred()) SWIG_fail
;
23099 resultobj
= SWIG_FromInt((int)result
);
23106 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23107 PyObject
*resultobj
;
23108 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23110 PyObject
* obj0
= 0 ;
23111 char *kwnames
[] = {
23112 (char *) "self", NULL
23115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23125 resultobj
= SWIG_FromInt((int)result
);
23132 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23133 PyObject
*resultobj
;
23134 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23136 PyObject
* obj0
= 0 ;
23137 char *kwnames
[] = {
23138 (char *) "self", NULL
23141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23146 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23148 wxPyEndAllowThreads(__tstate
);
23149 if (PyErr_Occurred()) SWIG_fail
;
23151 resultobj
= SWIG_FromInt((int)result
);
23158 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23159 PyObject
*resultobj
;
23160 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23161 wxDateSpan
*arg2
= 0 ;
23162 wxDateSpan
*result
;
23163 PyObject
* obj0
= 0 ;
23164 PyObject
* obj1
= 0 ;
23165 char *kwnames
[] = {
23166 (char *) "self",(char *) "other", NULL
23169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23173 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23175 if (arg2
== NULL
) {
23176 PyErr_SetString(PyExc_TypeError
,"null reference");
23180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23182 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23183 result
= (wxDateSpan
*) &_result_ref
;
23186 wxPyEndAllowThreads(__tstate
);
23187 if (PyErr_Occurred()) SWIG_fail
;
23189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23196 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23197 PyObject
*resultobj
;
23198 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23199 wxDateSpan
*arg2
= 0 ;
23200 wxDateSpan
*result
;
23201 PyObject
* obj0
= 0 ;
23202 PyObject
* obj1
= 0 ;
23203 char *kwnames
[] = {
23204 (char *) "self",(char *) "other", NULL
23207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23210 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23211 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23213 if (arg2
== NULL
) {
23214 PyErr_SetString(PyExc_TypeError
,"null reference");
23218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23221 result
= (wxDateSpan
*) &_result_ref
;
23224 wxPyEndAllowThreads(__tstate
);
23225 if (PyErr_Occurred()) SWIG_fail
;
23227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23234 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23235 PyObject
*resultobj
;
23236 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23237 wxDateSpan
*result
;
23238 PyObject
* obj0
= 0 ;
23239 char *kwnames
[] = {
23240 (char *) "self", NULL
23243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23249 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23250 result
= (wxDateSpan
*) &_result_ref
;
23253 wxPyEndAllowThreads(__tstate
);
23254 if (PyErr_Occurred()) SWIG_fail
;
23256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23263 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23264 PyObject
*resultobj
;
23265 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23267 wxDateSpan
*result
;
23268 PyObject
* obj0
= 0 ;
23269 PyObject
* obj1
= 0 ;
23270 char *kwnames
[] = {
23271 (char *) "self",(char *) "factor", NULL
23274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23277 arg2
= (int) SWIG_AsInt(obj1
);
23278 if (PyErr_Occurred()) SWIG_fail
;
23280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23282 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23283 result
= (wxDateSpan
*) &_result_ref
;
23286 wxPyEndAllowThreads(__tstate
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23296 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23297 PyObject
*resultobj
;
23298 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23299 wxDateSpan
*arg2
= 0 ;
23300 wxDateSpan
*result
;
23301 PyObject
* obj0
= 0 ;
23302 PyObject
* obj1
= 0 ;
23303 char *kwnames
[] = {
23304 (char *) "self",(char *) "other", NULL
23307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23311 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23313 if (arg2
== NULL
) {
23314 PyErr_SetString(PyExc_TypeError
,"null reference");
23318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23320 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23321 result
= (wxDateSpan
*) &_result_ref
;
23324 wxPyEndAllowThreads(__tstate
);
23325 if (PyErr_Occurred()) SWIG_fail
;
23327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23334 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23335 PyObject
*resultobj
;
23336 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23337 wxDateSpan
*arg2
= 0 ;
23338 wxDateSpan
*result
;
23339 PyObject
* obj0
= 0 ;
23340 PyObject
* obj1
= 0 ;
23341 char *kwnames
[] = {
23342 (char *) "self",(char *) "other", NULL
23345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23349 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23351 if (arg2
== NULL
) {
23352 PyErr_SetString(PyExc_TypeError
,"null reference");
23356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23358 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23359 result
= (wxDateSpan
*) &_result_ref
;
23362 wxPyEndAllowThreads(__tstate
);
23363 if (PyErr_Occurred()) SWIG_fail
;
23365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23372 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23373 PyObject
*resultobj
;
23374 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23375 wxDateSpan
*result
;
23376 PyObject
* obj0
= 0 ;
23377 char *kwnames
[] = {
23378 (char *) "self", NULL
23381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23387 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23388 result
= (wxDateSpan
*) &_result_ref
;
23391 wxPyEndAllowThreads(__tstate
);
23392 if (PyErr_Occurred()) SWIG_fail
;
23394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23401 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
;
23403 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23405 wxDateSpan
*result
;
23406 PyObject
* obj0
= 0 ;
23407 PyObject
* obj1
= 0 ;
23408 char *kwnames
[] = {
23409 (char *) "self",(char *) "factor", NULL
23412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23415 arg2
= (int) SWIG_AsInt(obj1
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23420 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23421 result
= (wxDateSpan
*) &_result_ref
;
23424 wxPyEndAllowThreads(__tstate
);
23425 if (PyErr_Occurred()) SWIG_fail
;
23427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23434 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23435 PyObject
*resultobj
;
23436 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23437 wxDateSpan
*arg2
= 0 ;
23439 PyObject
* obj0
= 0 ;
23440 PyObject
* obj1
= 0 ;
23441 char *kwnames
[] = {
23442 (char *) "self",(char *) "other", NULL
23445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23448 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23449 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23451 if (arg2
== NULL
) {
23452 PyErr_SetString(PyExc_TypeError
,"null reference");
23456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23457 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23459 wxPyEndAllowThreads(__tstate
);
23460 if (PyErr_Occurred()) SWIG_fail
;
23463 wxDateSpan
* resultptr
;
23464 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23473 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23474 PyObject
*resultobj
;
23475 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23476 wxDateSpan
*arg2
= 0 ;
23478 PyObject
* obj0
= 0 ;
23479 PyObject
* obj1
= 0 ;
23480 char *kwnames
[] = {
23481 (char *) "self",(char *) "other", NULL
23484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23488 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23490 if (arg2
== NULL
) {
23491 PyErr_SetString(PyExc_TypeError
,"null reference");
23495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23496 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23498 wxPyEndAllowThreads(__tstate
);
23499 if (PyErr_Occurred()) SWIG_fail
;
23502 wxDateSpan
* resultptr
;
23503 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23504 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23512 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23513 PyObject
*resultobj
;
23514 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23517 PyObject
* obj0
= 0 ;
23518 PyObject
* obj1
= 0 ;
23519 char *kwnames
[] = {
23520 (char *) "self",(char *) "n", NULL
23523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23526 arg2
= (int) SWIG_AsInt(obj1
);
23527 if (PyErr_Occurred()) SWIG_fail
;
23529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23530 result
= wxDateSpan___mul__(arg1
,arg2
);
23532 wxPyEndAllowThreads(__tstate
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23536 wxDateSpan
* resultptr
;
23537 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23538 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23546 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23547 PyObject
*resultobj
;
23548 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23551 PyObject
* obj0
= 0 ;
23552 PyObject
* obj1
= 0 ;
23553 char *kwnames
[] = {
23554 (char *) "self",(char *) "n", NULL
23557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23560 arg2
= (int) SWIG_AsInt(obj1
);
23561 if (PyErr_Occurred()) SWIG_fail
;
23563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23564 result
= wxDateSpan___rmul__(arg1
,arg2
);
23566 wxPyEndAllowThreads(__tstate
);
23567 if (PyErr_Occurred()) SWIG_fail
;
23570 wxDateSpan
* resultptr
;
23571 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23580 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23581 PyObject
*resultobj
;
23582 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23583 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23585 PyObject
* obj0
= 0 ;
23586 PyObject
* obj1
= 0 ;
23587 char *kwnames
[] = {
23588 (char *) "self",(char *) "other", NULL
23591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23594 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23598 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23600 wxPyEndAllowThreads(__tstate
);
23601 if (PyErr_Occurred()) SWIG_fail
;
23604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23612 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23613 PyObject
*resultobj
;
23614 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23615 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23617 PyObject
* obj0
= 0 ;
23618 PyObject
* obj1
= 0 ;
23619 char *kwnames
[] = {
23620 (char *) "self",(char *) "other", NULL
23623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23626 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23630 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23632 wxPyEndAllowThreads(__tstate
);
23633 if (PyErr_Occurred()) SWIG_fail
;
23636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23644 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23647 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23649 return Py_BuildValue((char *)"");
23651 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23652 PyObject
*resultobj
;
23654 char *kwnames
[] = {
23658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23661 result
= (long)wxGetLocalTime();
23663 wxPyEndAllowThreads(__tstate
);
23664 if (PyErr_Occurred()) SWIG_fail
;
23666 resultobj
= SWIG_FromLong((long)result
);
23673 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23674 PyObject
*resultobj
;
23676 char *kwnames
[] = {
23680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23683 result
= (long)wxGetUTCTime();
23685 wxPyEndAllowThreads(__tstate
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23688 resultobj
= SWIG_FromLong((long)result
);
23695 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23696 PyObject
*resultobj
;
23698 char *kwnames
[] = {
23702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23705 result
= (long)wxGetCurrentTime();
23707 wxPyEndAllowThreads(__tstate
);
23708 if (PyErr_Occurred()) SWIG_fail
;
23710 resultobj
= SWIG_FromLong((long)result
);
23717 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23718 PyObject
*resultobj
;
23720 char *kwnames
[] = {
23724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23727 result
= wxGetLocalTimeMillis();
23729 wxPyEndAllowThreads(__tstate
);
23730 if (PyErr_Occurred()) SWIG_fail
;
23733 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23734 hi
= PyLong_FromLong( (&result
)->GetHi() );
23735 lo
= PyLong_FromLong( (&result
)->GetLo() );
23736 shifter
= PyLong_FromLong(32);
23737 shifted
= PyNumber_Lshift(hi
, shifter
);
23738 resultobj
= PyNumber_Or(shifted
, lo
);
23741 Py_DECREF(shifter
);
23742 Py_DECREF(shifted
);
23750 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23751 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23756 static PyObject
*_wrap_DefaultDateTime_get() {
23759 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23764 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23765 PyObject
*resultobj
;
23767 wxDataFormat
*result
;
23768 PyObject
* obj0
= 0 ;
23769 char *kwnames
[] = {
23770 (char *) "type", NULL
23773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23774 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23778 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23780 wxPyEndAllowThreads(__tstate
);
23781 if (PyErr_Occurred()) SWIG_fail
;
23783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23790 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23791 PyObject
*resultobj
;
23792 wxString
*arg1
= 0 ;
23793 wxDataFormat
*result
;
23794 bool temp1
= False
;
23795 PyObject
* obj0
= 0 ;
23796 char *kwnames
[] = {
23797 (char *) "format", NULL
23800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23802 arg1
= wxString_in_helper(obj0
);
23803 if (arg1
== NULL
) SWIG_fail
;
23807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23808 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23810 wxPyEndAllowThreads(__tstate
);
23811 if (PyErr_Occurred()) SWIG_fail
;
23813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23828 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23829 PyObject
*resultobj
;
23830 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23831 PyObject
* obj0
= 0 ;
23832 char *kwnames
[] = {
23833 (char *) "self", NULL
23836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23843 wxPyEndAllowThreads(__tstate
);
23844 if (PyErr_Occurred()) SWIG_fail
;
23846 Py_INCREF(Py_None
); resultobj
= Py_None
;
23853 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23854 PyObject
*resultobj
;
23855 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23858 PyObject
* obj0
= 0 ;
23859 PyObject
* obj1
= 0 ;
23861 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23864 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23865 if (PyErr_Occurred()) SWIG_fail
;
23867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23868 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23870 wxPyEndAllowThreads(__tstate
);
23871 if (PyErr_Occurred()) SWIG_fail
;
23874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23882 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23883 PyObject
*resultobj
;
23884 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23887 PyObject
* obj0
= 0 ;
23888 PyObject
* obj1
= 0 ;
23890 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23893 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23894 if (PyErr_Occurred()) SWIG_fail
;
23896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23897 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23899 wxPyEndAllowThreads(__tstate
);
23900 if (PyErr_Occurred()) SWIG_fail
;
23903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23911 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
23912 PyObject
*resultobj
;
23913 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23914 wxDataFormat
*arg2
= 0 ;
23916 PyObject
* obj0
= 0 ;
23917 PyObject
* obj1
= 0 ;
23919 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23923 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23925 if (arg2
== NULL
) {
23926 PyErr_SetString(PyExc_TypeError
,"null reference");
23930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23931 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23933 wxPyEndAllowThreads(__tstate
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23945 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23950 argc
= PyObject_Length(args
);
23951 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23952 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23958 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23968 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23976 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
23984 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23992 _v
= SWIG_CheckInt(argv
[1]);
23994 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
23999 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24004 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
24005 PyObject
*resultobj
;
24006 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24007 wxDataFormat
*arg2
= 0 ;
24009 PyObject
* obj0
= 0 ;
24010 PyObject
* obj1
= 0 ;
24012 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24018 if (arg2
== NULL
) {
24019 PyErr_SetString(PyExc_TypeError
,"null reference");
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24024 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24026 wxPyEndAllowThreads(__tstate
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24038 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24043 argc
= PyObject_Length(args
);
24044 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24045 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24051 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24061 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24069 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24077 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24085 _v
= SWIG_CheckInt(argv
[1]);
24087 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24092 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24097 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
;
24099 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24101 PyObject
* obj0
= 0 ;
24102 PyObject
* obj1
= 0 ;
24103 char *kwnames
[] = {
24104 (char *) "self",(char *) "format", NULL
24107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24110 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24111 if (PyErr_Occurred()) SWIG_fail
;
24113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24114 (arg1
)->SetType((wxDataFormatId
)arg2
);
24116 wxPyEndAllowThreads(__tstate
);
24117 if (PyErr_Occurred()) SWIG_fail
;
24119 Py_INCREF(Py_None
); resultobj
= Py_None
;
24126 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24127 PyObject
*resultobj
;
24128 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24130 PyObject
* obj0
= 0 ;
24131 char *kwnames
[] = {
24132 (char *) "self", NULL
24135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24140 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24142 wxPyEndAllowThreads(__tstate
);
24143 if (PyErr_Occurred()) SWIG_fail
;
24145 resultobj
= SWIG_FromInt((int)result
);
24152 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24153 PyObject
*resultobj
;
24154 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24156 PyObject
* obj0
= 0 ;
24157 char *kwnames
[] = {
24158 (char *) "self", NULL
24161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24166 result
= ((wxDataFormat
const *)arg1
)->GetId();
24168 wxPyEndAllowThreads(__tstate
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24173 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24175 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24184 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24185 PyObject
*resultobj
;
24186 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24187 wxString
*arg2
= 0 ;
24188 bool temp2
= False
;
24189 PyObject
* obj0
= 0 ;
24190 PyObject
* obj1
= 0 ;
24191 char *kwnames
[] = {
24192 (char *) "self",(char *) "format", NULL
24195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24199 arg2
= wxString_in_helper(obj1
);
24200 if (arg2
== NULL
) SWIG_fail
;
24204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24205 (arg1
)->SetId((wxString
const &)*arg2
);
24207 wxPyEndAllowThreads(__tstate
);
24208 if (PyErr_Occurred()) SWIG_fail
;
24210 Py_INCREF(Py_None
); resultobj
= Py_None
;
24225 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24228 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24230 return Py_BuildValue((char *)"");
24232 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24233 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24238 static PyObject
*_wrap_FormatInvalid_get() {
24241 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24246 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24247 PyObject
*resultobj
;
24248 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24249 PyObject
* obj0
= 0 ;
24250 char *kwnames
[] = {
24251 (char *) "self", NULL
24254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24261 wxPyEndAllowThreads(__tstate
);
24262 if (PyErr_Occurred()) SWIG_fail
;
24264 Py_INCREF(Py_None
); resultobj
= Py_None
;
24271 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24272 PyObject
*resultobj
;
24273 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24274 int arg2
= (int) wxDataObject::Get
;
24275 SwigValueWrapper
< wxDataFormat
> result
;
24276 PyObject
* obj0
= 0 ;
24277 PyObject
* obj1
= 0 ;
24278 char *kwnames
[] = {
24279 (char *) "self",(char *) "dir", NULL
24282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24286 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24287 if (PyErr_Occurred()) SWIG_fail
;
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24291 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24297 wxDataFormat
* resultptr
;
24298 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24299 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24307 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24308 PyObject
*resultobj
;
24309 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24310 int arg2
= (int) wxDataObject::Get
;
24312 PyObject
* obj0
= 0 ;
24313 PyObject
* obj1
= 0 ;
24314 char *kwnames
[] = {
24315 (char *) "self",(char *) "dir", NULL
24318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24322 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24323 if (PyErr_Occurred()) SWIG_fail
;
24326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24327 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24329 wxPyEndAllowThreads(__tstate
);
24330 if (PyErr_Occurred()) SWIG_fail
;
24332 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24339 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24340 PyObject
*resultobj
;
24341 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24342 wxDataFormat
*arg2
= 0 ;
24343 int arg3
= (int) wxDataObject::Get
;
24345 PyObject
* obj0
= 0 ;
24346 PyObject
* obj1
= 0 ;
24347 PyObject
* obj2
= 0 ;
24348 char *kwnames
[] = {
24349 (char *) "self",(char *) "format",(char *) "dir", NULL
24352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24356 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24358 if (arg2
== NULL
) {
24359 PyErr_SetString(PyExc_TypeError
,"null reference");
24363 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24364 if (PyErr_Occurred()) SWIG_fail
;
24367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24368 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24370 wxPyEndAllowThreads(__tstate
);
24371 if (PyErr_Occurred()) SWIG_fail
;
24374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24382 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24383 PyObject
*resultobj
;
24384 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24385 wxDataFormat
*arg2
= 0 ;
24387 PyObject
* obj0
= 0 ;
24388 PyObject
* obj1
= 0 ;
24389 char *kwnames
[] = {
24390 (char *) "self",(char *) "format", NULL
24393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24397 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24399 if (arg2
== NULL
) {
24400 PyErr_SetString(PyExc_TypeError
,"null reference");
24404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24405 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24407 wxPyEndAllowThreads(__tstate
);
24408 if (PyErr_Occurred()) SWIG_fail
;
24410 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24417 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24418 PyObject
*resultobj
;
24419 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24420 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
24421 int arg3
= (int) wxDataObject::Get
;
24422 PyObject
* obj0
= 0 ;
24423 PyObject
* obj1
= 0 ;
24424 PyObject
* obj2
= 0 ;
24425 char *kwnames
[] = {
24426 (char *) "self",(char *) "formats",(char *) "dir", NULL
24429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24432 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24435 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24436 if (PyErr_Occurred()) SWIG_fail
;
24439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24440 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
24442 wxPyEndAllowThreads(__tstate
);
24443 if (PyErr_Occurred()) SWIG_fail
;
24445 Py_INCREF(Py_None
); resultobj
= Py_None
;
24452 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24453 PyObject
*resultobj
;
24454 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24455 wxDataFormat
*arg2
= 0 ;
24456 void *arg3
= (void *) 0 ;
24458 PyObject
* obj0
= 0 ;
24459 PyObject
* obj1
= 0 ;
24460 PyObject
* obj2
= 0 ;
24461 char *kwnames
[] = {
24462 (char *) "self",(char *) "format",(char *) "buf", NULL
24465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24468 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24469 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24471 if (arg2
== NULL
) {
24472 PyErr_SetString(PyExc_TypeError
,"null reference");
24475 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24478 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
24480 wxPyEndAllowThreads(__tstate
);
24481 if (PyErr_Occurred()) SWIG_fail
;
24484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24492 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24493 PyObject
*resultobj
;
24494 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24495 wxDataFormat
*arg2
= 0 ;
24497 void *arg4
= (void *) 0 ;
24499 PyObject
* obj0
= 0 ;
24500 PyObject
* obj1
= 0 ;
24501 PyObject
* obj2
= 0 ;
24502 PyObject
* obj3
= 0 ;
24503 char *kwnames
[] = {
24504 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24511 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24513 if (arg2
== NULL
) {
24514 PyErr_SetString(PyExc_TypeError
,"null reference");
24517 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
24518 if (PyErr_Occurred()) SWIG_fail
;
24519 if ((SWIG_ConvertPtr(obj3
,&arg4
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24522 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
24524 wxPyEndAllowThreads(__tstate
);
24525 if (PyErr_Occurred()) SWIG_fail
;
24528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24536 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24539 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24541 return Py_BuildValue((char *)"");
24543 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24544 PyObject
*resultobj
;
24545 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24546 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24547 wxDataObjectSimple
*result
;
24548 PyObject
* obj0
= 0 ;
24549 char *kwnames
[] = {
24550 (char *) "format", NULL
24553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24556 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24558 if (arg1
== NULL
) {
24559 PyErr_SetString(PyExc_TypeError
,"null reference");
24564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24565 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24567 wxPyEndAllowThreads(__tstate
);
24568 if (PyErr_Occurred()) SWIG_fail
;
24570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24577 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24578 PyObject
*resultobj
;
24579 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24580 wxDataFormat
*result
;
24581 PyObject
* obj0
= 0 ;
24582 char *kwnames
[] = {
24583 (char *) "self", NULL
24586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24592 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24593 result
= (wxDataFormat
*) &_result_ref
;
24596 wxPyEndAllowThreads(__tstate
);
24597 if (PyErr_Occurred()) SWIG_fail
;
24599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24606 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24607 PyObject
*resultobj
;
24608 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24609 wxDataFormat
*arg2
= 0 ;
24610 PyObject
* obj0
= 0 ;
24611 PyObject
* obj1
= 0 ;
24612 char *kwnames
[] = {
24613 (char *) "self",(char *) "format", NULL
24616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24620 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24622 if (arg2
== NULL
) {
24623 PyErr_SetString(PyExc_TypeError
,"null reference");
24627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24628 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24630 wxPyEndAllowThreads(__tstate
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24633 Py_INCREF(Py_None
); resultobj
= Py_None
;
24640 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24643 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24645 return Py_BuildValue((char *)"");
24647 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24648 PyObject
*resultobj
;
24649 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24650 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24651 wxPyDataObjectSimple
*result
;
24652 PyObject
* obj0
= 0 ;
24653 char *kwnames
[] = {
24654 (char *) "format", NULL
24657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24660 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24662 if (arg1
== NULL
) {
24663 PyErr_SetString(PyExc_TypeError
,"null reference");
24668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24669 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24671 wxPyEndAllowThreads(__tstate
);
24672 if (PyErr_Occurred()) SWIG_fail
;
24674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24681 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24682 PyObject
*resultobj
;
24683 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24684 PyObject
*arg2
= (PyObject
*) 0 ;
24685 PyObject
*arg3
= (PyObject
*) 0 ;
24686 PyObject
* obj0
= 0 ;
24687 PyObject
* obj1
= 0 ;
24688 PyObject
* obj2
= 0 ;
24689 char *kwnames
[] = {
24690 (char *) "self",(char *) "self",(char *) "_class", NULL
24693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24700 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24702 wxPyEndAllowThreads(__tstate
);
24703 if (PyErr_Occurred()) SWIG_fail
;
24705 Py_INCREF(Py_None
); resultobj
= Py_None
;
24712 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24714 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24715 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24717 return Py_BuildValue((char *)"");
24719 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24720 PyObject
*resultobj
;
24721 wxDataObjectComposite
*result
;
24722 char *kwnames
[] = {
24726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24729 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24731 wxPyEndAllowThreads(__tstate
);
24732 if (PyErr_Occurred()) SWIG_fail
;
24734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24741 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24742 PyObject
*resultobj
;
24743 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24744 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24745 int arg3
= (int) False
;
24746 PyObject
* obj0
= 0 ;
24747 PyObject
* obj1
= 0 ;
24748 PyObject
* obj2
= 0 ;
24749 char *kwnames
[] = {
24750 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24757 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24759 arg3
= (int) SWIG_AsInt(obj2
);
24760 if (PyErr_Occurred()) SWIG_fail
;
24763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24764 (arg1
)->Add(arg2
,arg3
);
24766 wxPyEndAllowThreads(__tstate
);
24767 if (PyErr_Occurred()) SWIG_fail
;
24769 Py_INCREF(Py_None
); resultobj
= Py_None
;
24776 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24779 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24781 return Py_BuildValue((char *)"");
24783 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24784 PyObject
*resultobj
;
24785 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24786 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24787 wxTextDataObject
*result
;
24788 bool temp1
= False
;
24789 PyObject
* obj0
= 0 ;
24790 char *kwnames
[] = {
24791 (char *) "text", NULL
24794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24797 arg1
= wxString_in_helper(obj0
);
24798 if (arg1
== NULL
) SWIG_fail
;
24803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24804 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24806 wxPyEndAllowThreads(__tstate
);
24807 if (PyErr_Occurred()) SWIG_fail
;
24809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24824 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24825 PyObject
*resultobj
;
24826 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24828 PyObject
* obj0
= 0 ;
24829 char *kwnames
[] = {
24830 (char *) "self", NULL
24833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24838 result
= (size_t)(arg1
)->GetTextLength();
24840 wxPyEndAllowThreads(__tstate
);
24841 if (PyErr_Occurred()) SWIG_fail
;
24843 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24850 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24851 PyObject
*resultobj
;
24852 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24854 PyObject
* obj0
= 0 ;
24855 char *kwnames
[] = {
24856 (char *) "self", NULL
24859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24864 result
= (arg1
)->GetText();
24866 wxPyEndAllowThreads(__tstate
);
24867 if (PyErr_Occurred()) SWIG_fail
;
24871 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24873 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24882 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24883 PyObject
*resultobj
;
24884 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24885 wxString
*arg2
= 0 ;
24886 bool temp2
= False
;
24887 PyObject
* obj0
= 0 ;
24888 PyObject
* obj1
= 0 ;
24889 char *kwnames
[] = {
24890 (char *) "self",(char *) "text", NULL
24893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24897 arg2
= wxString_in_helper(obj1
);
24898 if (arg2
== NULL
) SWIG_fail
;
24902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24903 (arg1
)->SetText((wxString
const &)*arg2
);
24905 wxPyEndAllowThreads(__tstate
);
24906 if (PyErr_Occurred()) SWIG_fail
;
24908 Py_INCREF(Py_None
); resultobj
= Py_None
;
24923 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24926 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
24928 return Py_BuildValue((char *)"");
24930 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24931 PyObject
*resultobj
;
24932 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24933 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24934 wxPyTextDataObject
*result
;
24935 bool temp1
= False
;
24936 PyObject
* obj0
= 0 ;
24937 char *kwnames
[] = {
24938 (char *) "text", NULL
24941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
24944 arg1
= wxString_in_helper(obj0
);
24945 if (arg1
== NULL
) SWIG_fail
;
24950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24951 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
24953 wxPyEndAllowThreads(__tstate
);
24954 if (PyErr_Occurred()) SWIG_fail
;
24956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
24971 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24972 PyObject
*resultobj
;
24973 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
24974 PyObject
*arg2
= (PyObject
*) 0 ;
24975 PyObject
*arg3
= (PyObject
*) 0 ;
24976 PyObject
* obj0
= 0 ;
24977 PyObject
* obj1
= 0 ;
24978 PyObject
* obj2
= 0 ;
24979 char *kwnames
[] = {
24980 (char *) "self",(char *) "self",(char *) "_class", NULL
24983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
24985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24990 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24992 wxPyEndAllowThreads(__tstate
);
24993 if (PyErr_Occurred()) SWIG_fail
;
24995 Py_INCREF(Py_None
); resultobj
= Py_None
;
25002 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25005 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25007 return Py_BuildValue((char *)"");
25009 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25010 PyObject
*resultobj
;
25011 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25012 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25013 wxBitmapDataObject
*result
;
25014 PyObject
* obj0
= 0 ;
25015 char *kwnames
[] = {
25016 (char *) "bitmap", NULL
25019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25024 if (arg1
== NULL
) {
25025 PyErr_SetString(PyExc_TypeError
,"null reference");
25030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25031 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25033 wxPyEndAllowThreads(__tstate
);
25034 if (PyErr_Occurred()) SWIG_fail
;
25036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25043 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25044 PyObject
*resultobj
;
25045 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25047 PyObject
* obj0
= 0 ;
25048 char *kwnames
[] = {
25049 (char *) "self", NULL
25052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25057 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25059 wxPyEndAllowThreads(__tstate
);
25060 if (PyErr_Occurred()) SWIG_fail
;
25063 wxBitmap
* resultptr
;
25064 resultptr
= new wxBitmap((wxBitmap
&) result
);
25065 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25073 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25074 PyObject
*resultobj
;
25075 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25076 wxBitmap
*arg2
= 0 ;
25077 PyObject
* obj0
= 0 ;
25078 PyObject
* obj1
= 0 ;
25079 char *kwnames
[] = {
25080 (char *) "self",(char *) "bitmap", NULL
25083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25087 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25089 if (arg2
== NULL
) {
25090 PyErr_SetString(PyExc_TypeError
,"null reference");
25094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25095 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25097 wxPyEndAllowThreads(__tstate
);
25098 if (PyErr_Occurred()) SWIG_fail
;
25100 Py_INCREF(Py_None
); resultobj
= Py_None
;
25107 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25110 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25112 return Py_BuildValue((char *)"");
25114 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25115 PyObject
*resultobj
;
25116 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25117 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25118 wxPyBitmapDataObject
*result
;
25119 PyObject
* obj0
= 0 ;
25120 char *kwnames
[] = {
25121 (char *) "bitmap", NULL
25124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25127 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25129 if (arg1
== NULL
) {
25130 PyErr_SetString(PyExc_TypeError
,"null reference");
25135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25136 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25138 wxPyEndAllowThreads(__tstate
);
25139 if (PyErr_Occurred()) SWIG_fail
;
25141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25148 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25149 PyObject
*resultobj
;
25150 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25151 PyObject
*arg2
= (PyObject
*) 0 ;
25152 PyObject
*arg3
= (PyObject
*) 0 ;
25153 PyObject
* obj0
= 0 ;
25154 PyObject
* obj1
= 0 ;
25155 PyObject
* obj2
= 0 ;
25156 char *kwnames
[] = {
25157 (char *) "self",(char *) "self",(char *) "_class", NULL
25160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25167 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25169 wxPyEndAllowThreads(__tstate
);
25170 if (PyErr_Occurred()) SWIG_fail
;
25172 Py_INCREF(Py_None
); resultobj
= Py_None
;
25179 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25182 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25184 return Py_BuildValue((char *)"");
25186 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25187 PyObject
*resultobj
;
25188 wxFileDataObject
*result
;
25189 char *kwnames
[] = {
25193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25196 result
= (wxFileDataObject
*)new wxFileDataObject();
25198 wxPyEndAllowThreads(__tstate
);
25199 if (PyErr_Occurred()) SWIG_fail
;
25201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25208 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25209 PyObject
*resultobj
;
25210 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25211 wxArrayString
*result
;
25212 PyObject
* obj0
= 0 ;
25213 char *kwnames
[] = {
25214 (char *) "self", NULL
25217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25223 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25224 result
= (wxArrayString
*) &_result_ref
;
25227 wxPyEndAllowThreads(__tstate
);
25228 if (PyErr_Occurred()) SWIG_fail
;
25231 resultobj
= wxArrayString2PyList_helper(*result
);
25239 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25240 PyObject
*resultobj
;
25241 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25242 wxString
*arg2
= 0 ;
25243 bool temp2
= False
;
25244 PyObject
* obj0
= 0 ;
25245 PyObject
* obj1
= 0 ;
25246 char *kwnames
[] = {
25247 (char *) "self",(char *) "filename", NULL
25250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25254 arg2
= wxString_in_helper(obj1
);
25255 if (arg2
== NULL
) SWIG_fail
;
25259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25260 (arg1
)->AddFile((wxString
const &)*arg2
);
25262 wxPyEndAllowThreads(__tstate
);
25263 if (PyErr_Occurred()) SWIG_fail
;
25265 Py_INCREF(Py_None
); resultobj
= Py_None
;
25280 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25283 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25285 return Py_BuildValue((char *)"");
25287 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25288 PyObject
*resultobj
;
25289 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25290 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25291 wxCustomDataObject
*result
;
25292 PyObject
* obj0
= 0 ;
25293 char *kwnames
[] = {
25294 (char *) "format", NULL
25297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25300 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25302 if (arg1
== NULL
) {
25303 PyErr_SetString(PyExc_TypeError
,"null reference");
25308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25309 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25311 wxPyEndAllowThreads(__tstate
);
25312 if (PyErr_Occurred()) SWIG_fail
;
25314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25321 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25322 PyObject
*resultobj
;
25323 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25324 PyObject
*arg2
= (PyObject
*) 0 ;
25325 PyObject
* obj0
= 0 ;
25326 PyObject
* obj1
= 0 ;
25327 char *kwnames
[] = {
25328 (char *) "self",(char *) "data", NULL
25331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
25332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25337 wxCustomDataObject_TakeData(arg1
,arg2
);
25339 wxPyEndAllowThreads(__tstate
);
25340 if (PyErr_Occurred()) SWIG_fail
;
25342 Py_INCREF(Py_None
); resultobj
= Py_None
;
25349 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25350 PyObject
*resultobj
;
25351 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25352 PyObject
*arg2
= (PyObject
*) 0 ;
25354 PyObject
* obj0
= 0 ;
25355 PyObject
* obj1
= 0 ;
25356 char *kwnames
[] = {
25357 (char *) "self",(char *) "data", NULL
25360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25366 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25368 wxPyEndAllowThreads(__tstate
);
25369 if (PyErr_Occurred()) SWIG_fail
;
25372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25380 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25381 PyObject
*resultobj
;
25382 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25384 PyObject
* obj0
= 0 ;
25385 char *kwnames
[] = {
25386 (char *) "self", NULL
25389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25394 result
= (size_t)(arg1
)->GetSize();
25396 wxPyEndAllowThreads(__tstate
);
25397 if (PyErr_Occurred()) SWIG_fail
;
25399 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25406 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25407 PyObject
*resultobj
;
25408 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25410 PyObject
* obj0
= 0 ;
25411 char *kwnames
[] = {
25412 (char *) "self", NULL
25415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25420 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25422 wxPyEndAllowThreads(__tstate
);
25423 if (PyErr_Occurred()) SWIG_fail
;
25425 resultobj
= result
;
25432 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25435 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25437 return Py_BuildValue((char *)"");
25439 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25440 PyObject
*resultobj
;
25441 wxURLDataObject
*result
;
25442 char *kwnames
[] = {
25446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25449 result
= (wxURLDataObject
*)new wxURLDataObject();
25451 wxPyEndAllowThreads(__tstate
);
25452 if (PyErr_Occurred()) SWIG_fail
;
25454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25461 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25462 PyObject
*resultobj
;
25463 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25465 PyObject
* obj0
= 0 ;
25466 char *kwnames
[] = {
25467 (char *) "self", NULL
25470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25475 result
= (arg1
)->GetURL();
25477 wxPyEndAllowThreads(__tstate
);
25478 if (PyErr_Occurred()) SWIG_fail
;
25482 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25484 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25493 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25494 PyObject
*resultobj
;
25495 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25496 wxString
*arg2
= 0 ;
25497 bool temp2
= False
;
25498 PyObject
* obj0
= 0 ;
25499 PyObject
* obj1
= 0 ;
25500 char *kwnames
[] = {
25501 (char *) "self",(char *) "url", NULL
25504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25508 arg2
= wxString_in_helper(obj1
);
25509 if (arg2
== NULL
) SWIG_fail
;
25513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25514 (arg1
)->SetURL((wxString
const &)*arg2
);
25516 wxPyEndAllowThreads(__tstate
);
25517 if (PyErr_Occurred()) SWIG_fail
;
25519 Py_INCREF(Py_None
); resultobj
= Py_None
;
25534 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25537 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25539 return Py_BuildValue((char *)"");
25541 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25542 PyObject
*resultobj
;
25543 wxMetafileDataObject
*result
;
25544 char *kwnames
[] = {
25548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25551 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25553 wxPyEndAllowThreads(__tstate
);
25554 if (PyErr_Occurred()) SWIG_fail
;
25556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25563 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25564 PyObject
*resultobj
;
25565 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25566 wxMetafile
*arg2
= 0 ;
25567 PyObject
* obj0
= 0 ;
25568 PyObject
* obj1
= 0 ;
25569 char *kwnames
[] = {
25570 (char *) "self",(char *) "metafile", NULL
25573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
25577 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25579 if (arg2
== NULL
) {
25580 PyErr_SetString(PyExc_TypeError
,"null reference");
25584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25585 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25587 wxPyEndAllowThreads(__tstate
);
25588 if (PyErr_Occurred()) SWIG_fail
;
25590 Py_INCREF(Py_None
); resultobj
= Py_None
;
25597 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25598 PyObject
*resultobj
;
25599 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25601 PyObject
* obj0
= 0 ;
25602 char *kwnames
[] = {
25603 (char *) "self", NULL
25606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25611 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25613 wxPyEndAllowThreads(__tstate
);
25614 if (PyErr_Occurred()) SWIG_fail
;
25617 wxMetafile
* resultptr
;
25618 resultptr
= new wxMetafile((wxMetafile
&) result
);
25619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
25627 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25630 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25632 return Py_BuildValue((char *)"");
25634 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25635 PyObject
*resultobj
;
25638 PyObject
* obj0
= 0 ;
25639 char *kwnames
[] = {
25640 (char *) "res", NULL
25643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25644 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25645 if (PyErr_Occurred()) SWIG_fail
;
25647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25648 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25650 wxPyEndAllowThreads(__tstate
);
25651 if (PyErr_Occurred()) SWIG_fail
;
25654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25662 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25663 PyObject
*resultobj
;
25664 wxWindow
*arg1
= (wxWindow
*) 0 ;
25665 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25666 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25667 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25668 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25669 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25670 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25671 wxPyDropSource
*result
;
25672 PyObject
* obj0
= 0 ;
25673 PyObject
* obj1
= 0 ;
25674 PyObject
* obj2
= 0 ;
25675 PyObject
* obj3
= 0 ;
25676 char *kwnames
[] = {
25677 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25685 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25687 if (arg2
== NULL
) {
25688 PyErr_SetString(PyExc_TypeError
,"null reference");
25693 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25694 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25696 if (arg3
== NULL
) {
25697 PyErr_SetString(PyExc_TypeError
,"null reference");
25702 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
25703 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25705 if (arg4
== NULL
) {
25706 PyErr_SetString(PyExc_TypeError
,"null reference");
25711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25712 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25714 wxPyEndAllowThreads(__tstate
);
25715 if (PyErr_Occurred()) SWIG_fail
;
25717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25724 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25725 PyObject
*resultobj
;
25726 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25727 PyObject
*arg2
= (PyObject
*) 0 ;
25728 PyObject
*arg3
= (PyObject
*) 0 ;
25730 PyObject
* obj0
= 0 ;
25731 PyObject
* obj1
= 0 ;
25732 PyObject
* obj2
= 0 ;
25733 PyObject
* obj3
= 0 ;
25734 char *kwnames
[] = {
25735 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25743 arg4
= (int) SWIG_AsInt(obj3
);
25744 if (PyErr_Occurred()) SWIG_fail
;
25746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25747 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25749 wxPyEndAllowThreads(__tstate
);
25750 if (PyErr_Occurred()) SWIG_fail
;
25752 Py_INCREF(Py_None
); resultobj
= Py_None
;
25759 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25760 PyObject
*resultobj
;
25761 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25762 PyObject
* obj0
= 0 ;
25763 char *kwnames
[] = {
25764 (char *) "self", NULL
25767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25774 wxPyEndAllowThreads(__tstate
);
25775 if (PyErr_Occurred()) SWIG_fail
;
25777 Py_INCREF(Py_None
); resultobj
= Py_None
;
25784 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25785 PyObject
*resultobj
;
25786 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25787 wxDataObject
*arg2
= 0 ;
25788 PyObject
* obj0
= 0 ;
25789 PyObject
* obj1
= 0 ;
25790 char *kwnames
[] = {
25791 (char *) "self",(char *) "data", NULL
25794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25800 if (arg2
== NULL
) {
25801 PyErr_SetString(PyExc_TypeError
,"null reference");
25805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25806 (arg1
)->SetData(*arg2
);
25808 wxPyEndAllowThreads(__tstate
);
25809 if (PyErr_Occurred()) SWIG_fail
;
25811 Py_INCREF(Py_None
); resultobj
= Py_None
;
25818 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25819 PyObject
*resultobj
;
25820 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25821 wxDataObject
*result
;
25822 PyObject
* obj0
= 0 ;
25823 char *kwnames
[] = {
25824 (char *) "self", NULL
25827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25832 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25834 wxPyEndAllowThreads(__tstate
);
25835 if (PyErr_Occurred()) SWIG_fail
;
25837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25844 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25845 PyObject
*resultobj
;
25846 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25848 wxCursor
*arg3
= 0 ;
25849 PyObject
* obj0
= 0 ;
25850 PyObject
* obj1
= 0 ;
25851 PyObject
* obj2
= 0 ;
25852 char *kwnames
[] = {
25853 (char *) "self",(char *) "res",(char *) "cursor", NULL
25856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25859 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25860 if (PyErr_Occurred()) SWIG_fail
;
25861 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25862 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25864 if (arg3
== NULL
) {
25865 PyErr_SetString(PyExc_TypeError
,"null reference");
25869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25870 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25872 wxPyEndAllowThreads(__tstate
);
25873 if (PyErr_Occurred()) SWIG_fail
;
25875 Py_INCREF(Py_None
); resultobj
= Py_None
;
25882 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25883 PyObject
*resultobj
;
25884 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25885 int arg2
= (int) wxDrag_CopyOnly
;
25887 PyObject
* obj0
= 0 ;
25888 PyObject
* obj1
= 0 ;
25889 char *kwnames
[] = {
25890 (char *) "self",(char *) "flags", NULL
25893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25897 arg2
= (int) SWIG_AsInt(obj1
);
25898 if (PyErr_Occurred()) SWIG_fail
;
25901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25902 result
= (int)(arg1
)->DoDragDrop(arg2
);
25904 wxPyEndAllowThreads(__tstate
);
25905 if (PyErr_Occurred()) SWIG_fail
;
25907 resultobj
= SWIG_FromInt((int)result
);
25914 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25915 PyObject
*resultobj
;
25916 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25919 PyObject
* obj0
= 0 ;
25920 PyObject
* obj1
= 0 ;
25921 char *kwnames
[] = {
25922 (char *) "self",(char *) "effect", NULL
25925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25928 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25929 if (PyErr_Occurred()) SWIG_fail
;
25931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25932 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25934 wxPyEndAllowThreads(__tstate
);
25935 if (PyErr_Occurred()) SWIG_fail
;
25938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25946 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
25948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25949 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25951 return Py_BuildValue((char *)"");
25953 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25954 PyObject
*resultobj
;
25955 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25956 wxPyDropTarget
*result
;
25957 PyObject
* obj0
= 0 ;
25958 char *kwnames
[] = {
25959 (char *) "dataObject", NULL
25962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
25964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25965 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25969 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25971 wxPyEndAllowThreads(__tstate
);
25972 if (PyErr_Occurred()) SWIG_fail
;
25974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
25981 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25982 PyObject
*resultobj
;
25983 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25984 PyObject
*arg2
= (PyObject
*) 0 ;
25985 PyObject
*arg3
= (PyObject
*) 0 ;
25986 PyObject
* obj0
= 0 ;
25987 PyObject
* obj1
= 0 ;
25988 PyObject
* obj2
= 0 ;
25989 char *kwnames
[] = {
25990 (char *) "self",(char *) "self",(char *) "_class", NULL
25993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26000 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26002 wxPyEndAllowThreads(__tstate
);
26003 if (PyErr_Occurred()) SWIG_fail
;
26005 Py_INCREF(Py_None
); resultobj
= Py_None
;
26012 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26013 PyObject
*resultobj
;
26014 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26015 PyObject
* obj0
= 0 ;
26016 char *kwnames
[] = {
26017 (char *) "self", NULL
26020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26027 wxPyEndAllowThreads(__tstate
);
26028 if (PyErr_Occurred()) SWIG_fail
;
26030 Py_INCREF(Py_None
); resultobj
= Py_None
;
26037 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26038 PyObject
*resultobj
;
26039 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26040 wxDataObject
*result
;
26041 PyObject
* obj0
= 0 ;
26042 char *kwnames
[] = {
26043 (char *) "self", NULL
26046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26051 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26053 wxPyEndAllowThreads(__tstate
);
26054 if (PyErr_Occurred()) SWIG_fail
;
26056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26063 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26064 PyObject
*resultobj
;
26065 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26066 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26067 PyObject
* obj0
= 0 ;
26068 PyObject
* obj1
= 0 ;
26069 char *kwnames
[] = {
26070 (char *) "self",(char *) "dataObject", NULL
26073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26076 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26077 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26080 (arg1
)->SetDataObject(arg2
);
26082 wxPyEndAllowThreads(__tstate
);
26083 if (PyErr_Occurred()) SWIG_fail
;
26085 Py_INCREF(Py_None
); resultobj
= Py_None
;
26092 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26093 PyObject
*resultobj
;
26094 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26099 PyObject
* obj0
= 0 ;
26100 PyObject
* obj1
= 0 ;
26101 PyObject
* obj2
= 0 ;
26102 PyObject
* obj3
= 0 ;
26103 char *kwnames
[] = {
26104 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26110 arg2
= (int) SWIG_AsInt(obj1
);
26111 if (PyErr_Occurred()) SWIG_fail
;
26112 arg3
= (int) SWIG_AsInt(obj2
);
26113 if (PyErr_Occurred()) SWIG_fail
;
26114 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26115 if (PyErr_Occurred()) SWIG_fail
;
26117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26118 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26120 wxPyEndAllowThreads(__tstate
);
26121 if (PyErr_Occurred()) SWIG_fail
;
26123 resultobj
= SWIG_FromInt((int)result
);
26130 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26131 PyObject
*resultobj
;
26132 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26137 PyObject
* obj0
= 0 ;
26138 PyObject
* obj1
= 0 ;
26139 PyObject
* obj2
= 0 ;
26140 PyObject
* obj3
= 0 ;
26141 char *kwnames
[] = {
26142 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26148 arg2
= (int) SWIG_AsInt(obj1
);
26149 if (PyErr_Occurred()) SWIG_fail
;
26150 arg3
= (int) SWIG_AsInt(obj2
);
26151 if (PyErr_Occurred()) SWIG_fail
;
26152 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26153 if (PyErr_Occurred()) SWIG_fail
;
26155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26156 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26158 wxPyEndAllowThreads(__tstate
);
26159 if (PyErr_Occurred()) SWIG_fail
;
26161 resultobj
= SWIG_FromInt((int)result
);
26168 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26169 PyObject
*resultobj
;
26170 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26171 PyObject
* obj0
= 0 ;
26172 char *kwnames
[] = {
26173 (char *) "self", NULL
26176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26181 (arg1
)->base_OnLeave();
26183 wxPyEndAllowThreads(__tstate
);
26184 if (PyErr_Occurred()) SWIG_fail
;
26186 Py_INCREF(Py_None
); resultobj
= Py_None
;
26193 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26194 PyObject
*resultobj
;
26195 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26199 PyObject
* obj0
= 0 ;
26200 PyObject
* obj1
= 0 ;
26201 PyObject
* obj2
= 0 ;
26202 char *kwnames
[] = {
26203 (char *) "self",(char *) "x",(char *) "y", NULL
26206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26209 arg2
= (int) SWIG_AsInt(obj1
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26211 arg3
= (int) SWIG_AsInt(obj2
);
26212 if (PyErr_Occurred()) SWIG_fail
;
26214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26215 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26217 wxPyEndAllowThreads(__tstate
);
26218 if (PyErr_Occurred()) SWIG_fail
;
26221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26229 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26230 PyObject
*resultobj
;
26231 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26233 PyObject
* obj0
= 0 ;
26234 char *kwnames
[] = {
26235 (char *) "self", NULL
26238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26243 result
= (bool)(arg1
)->GetData();
26245 wxPyEndAllowThreads(__tstate
);
26246 if (PyErr_Occurred()) SWIG_fail
;
26249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26257 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26260 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26262 return Py_BuildValue((char *)"");
26264 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26265 PyObject
*resultobj
;
26266 wxPyTextDropTarget
*result
;
26267 char *kwnames
[] = {
26271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26274 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26276 wxPyEndAllowThreads(__tstate
);
26277 if (PyErr_Occurred()) SWIG_fail
;
26279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26286 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26287 PyObject
*resultobj
;
26288 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26289 PyObject
*arg2
= (PyObject
*) 0 ;
26290 PyObject
*arg3
= (PyObject
*) 0 ;
26291 PyObject
* obj0
= 0 ;
26292 PyObject
* obj1
= 0 ;
26293 PyObject
* obj2
= 0 ;
26294 char *kwnames
[] = {
26295 (char *) "self",(char *) "self",(char *) "_class", NULL
26298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26305 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26307 wxPyEndAllowThreads(__tstate
);
26308 if (PyErr_Occurred()) SWIG_fail
;
26310 Py_INCREF(Py_None
); resultobj
= Py_None
;
26317 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26318 PyObject
*resultobj
;
26319 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26324 PyObject
* obj0
= 0 ;
26325 PyObject
* obj1
= 0 ;
26326 PyObject
* obj2
= 0 ;
26327 PyObject
* obj3
= 0 ;
26328 char *kwnames
[] = {
26329 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26335 arg2
= (int) SWIG_AsInt(obj1
);
26336 if (PyErr_Occurred()) SWIG_fail
;
26337 arg3
= (int) SWIG_AsInt(obj2
);
26338 if (PyErr_Occurred()) SWIG_fail
;
26339 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26340 if (PyErr_Occurred()) SWIG_fail
;
26342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26343 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26345 wxPyEndAllowThreads(__tstate
);
26346 if (PyErr_Occurred()) SWIG_fail
;
26348 resultobj
= SWIG_FromInt((int)result
);
26355 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26356 PyObject
*resultobj
;
26357 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26362 PyObject
* obj0
= 0 ;
26363 PyObject
* obj1
= 0 ;
26364 PyObject
* obj2
= 0 ;
26365 PyObject
* obj3
= 0 ;
26366 char *kwnames
[] = {
26367 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26373 arg2
= (int) SWIG_AsInt(obj1
);
26374 if (PyErr_Occurred()) SWIG_fail
;
26375 arg3
= (int) SWIG_AsInt(obj2
);
26376 if (PyErr_Occurred()) SWIG_fail
;
26377 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26378 if (PyErr_Occurred()) SWIG_fail
;
26380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26381 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26383 wxPyEndAllowThreads(__tstate
);
26384 if (PyErr_Occurred()) SWIG_fail
;
26386 resultobj
= SWIG_FromInt((int)result
);
26393 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26394 PyObject
*resultobj
;
26395 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26396 PyObject
* obj0
= 0 ;
26397 char *kwnames
[] = {
26398 (char *) "self", NULL
26401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26406 (arg1
)->base_OnLeave();
26408 wxPyEndAllowThreads(__tstate
);
26409 if (PyErr_Occurred()) SWIG_fail
;
26411 Py_INCREF(Py_None
); resultobj
= Py_None
;
26418 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26419 PyObject
*resultobj
;
26420 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26424 PyObject
* obj0
= 0 ;
26425 PyObject
* obj1
= 0 ;
26426 PyObject
* obj2
= 0 ;
26427 char *kwnames
[] = {
26428 (char *) "self",(char *) "x",(char *) "y", NULL
26431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26434 arg2
= (int) SWIG_AsInt(obj1
);
26435 if (PyErr_Occurred()) SWIG_fail
;
26436 arg3
= (int) SWIG_AsInt(obj2
);
26437 if (PyErr_Occurred()) SWIG_fail
;
26439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26440 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26442 wxPyEndAllowThreads(__tstate
);
26443 if (PyErr_Occurred()) SWIG_fail
;
26446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26454 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26455 PyObject
*resultobj
;
26456 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26461 PyObject
* obj0
= 0 ;
26462 PyObject
* obj1
= 0 ;
26463 PyObject
* obj2
= 0 ;
26464 PyObject
* obj3
= 0 ;
26465 char *kwnames
[] = {
26466 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26472 arg2
= (int) SWIG_AsInt(obj1
);
26473 if (PyErr_Occurred()) SWIG_fail
;
26474 arg3
= (int) SWIG_AsInt(obj2
);
26475 if (PyErr_Occurred()) SWIG_fail
;
26476 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26477 if (PyErr_Occurred()) SWIG_fail
;
26479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26480 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26482 wxPyEndAllowThreads(__tstate
);
26483 if (PyErr_Occurred()) SWIG_fail
;
26485 resultobj
= SWIG_FromInt((int)result
);
26492 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26494 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26495 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26497 return Py_BuildValue((char *)"");
26499 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26500 PyObject
*resultobj
;
26501 wxPyFileDropTarget
*result
;
26502 char *kwnames
[] = {
26506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26509 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26511 wxPyEndAllowThreads(__tstate
);
26512 if (PyErr_Occurred()) SWIG_fail
;
26514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26521 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26522 PyObject
*resultobj
;
26523 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26524 PyObject
*arg2
= (PyObject
*) 0 ;
26525 PyObject
*arg3
= (PyObject
*) 0 ;
26526 PyObject
* obj0
= 0 ;
26527 PyObject
* obj1
= 0 ;
26528 PyObject
* obj2
= 0 ;
26529 char *kwnames
[] = {
26530 (char *) "self",(char *) "self",(char *) "_class", NULL
26533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26540 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26542 wxPyEndAllowThreads(__tstate
);
26543 if (PyErr_Occurred()) SWIG_fail
;
26545 Py_INCREF(Py_None
); resultobj
= Py_None
;
26552 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26553 PyObject
*resultobj
;
26554 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26559 PyObject
* obj0
= 0 ;
26560 PyObject
* obj1
= 0 ;
26561 PyObject
* obj2
= 0 ;
26562 PyObject
* obj3
= 0 ;
26563 char *kwnames
[] = {
26564 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26570 arg2
= (int) SWIG_AsInt(obj1
);
26571 if (PyErr_Occurred()) SWIG_fail
;
26572 arg3
= (int) SWIG_AsInt(obj2
);
26573 if (PyErr_Occurred()) SWIG_fail
;
26574 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26575 if (PyErr_Occurred()) SWIG_fail
;
26577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26578 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26580 wxPyEndAllowThreads(__tstate
);
26581 if (PyErr_Occurred()) SWIG_fail
;
26583 resultobj
= SWIG_FromInt((int)result
);
26590 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26591 PyObject
*resultobj
;
26592 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26597 PyObject
* obj0
= 0 ;
26598 PyObject
* obj1
= 0 ;
26599 PyObject
* obj2
= 0 ;
26600 PyObject
* obj3
= 0 ;
26601 char *kwnames
[] = {
26602 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26608 arg2
= (int) SWIG_AsInt(obj1
);
26609 if (PyErr_Occurred()) SWIG_fail
;
26610 arg3
= (int) SWIG_AsInt(obj2
);
26611 if (PyErr_Occurred()) SWIG_fail
;
26612 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26613 if (PyErr_Occurred()) SWIG_fail
;
26615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26616 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26618 wxPyEndAllowThreads(__tstate
);
26619 if (PyErr_Occurred()) SWIG_fail
;
26621 resultobj
= SWIG_FromInt((int)result
);
26628 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26629 PyObject
*resultobj
;
26630 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26631 PyObject
* obj0
= 0 ;
26632 char *kwnames
[] = {
26633 (char *) "self", NULL
26636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26641 (arg1
)->base_OnLeave();
26643 wxPyEndAllowThreads(__tstate
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26646 Py_INCREF(Py_None
); resultobj
= Py_None
;
26653 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26654 PyObject
*resultobj
;
26655 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26659 PyObject
* obj0
= 0 ;
26660 PyObject
* obj1
= 0 ;
26661 PyObject
* obj2
= 0 ;
26662 char *kwnames
[] = {
26663 (char *) "self",(char *) "x",(char *) "y", NULL
26666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26669 arg2
= (int) SWIG_AsInt(obj1
);
26670 if (PyErr_Occurred()) SWIG_fail
;
26671 arg3
= (int) SWIG_AsInt(obj2
);
26672 if (PyErr_Occurred()) SWIG_fail
;
26674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26675 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26677 wxPyEndAllowThreads(__tstate
);
26678 if (PyErr_Occurred()) SWIG_fail
;
26681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26689 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26690 PyObject
*resultobj
;
26691 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26696 PyObject
* obj0
= 0 ;
26697 PyObject
* obj1
= 0 ;
26698 PyObject
* obj2
= 0 ;
26699 PyObject
* obj3
= 0 ;
26700 char *kwnames
[] = {
26701 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26707 arg2
= (int) SWIG_AsInt(obj1
);
26708 if (PyErr_Occurred()) SWIG_fail
;
26709 arg3
= (int) SWIG_AsInt(obj2
);
26710 if (PyErr_Occurred()) SWIG_fail
;
26711 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26712 if (PyErr_Occurred()) SWIG_fail
;
26714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26715 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26717 wxPyEndAllowThreads(__tstate
);
26718 if (PyErr_Occurred()) SWIG_fail
;
26720 resultobj
= SWIG_FromInt((int)result
);
26727 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26730 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26732 return Py_BuildValue((char *)"");
26734 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26735 PyObject
*resultobj
;
26736 wxClipboard
*result
;
26737 char *kwnames
[] = {
26741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26744 result
= (wxClipboard
*)new wxClipboard();
26746 wxPyEndAllowThreads(__tstate
);
26747 if (PyErr_Occurred()) SWIG_fail
;
26749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26756 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26757 PyObject
*resultobj
;
26758 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26759 PyObject
* obj0
= 0 ;
26760 char *kwnames
[] = {
26761 (char *) "self", NULL
26764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26771 wxPyEndAllowThreads(__tstate
);
26772 if (PyErr_Occurred()) SWIG_fail
;
26774 Py_INCREF(Py_None
); resultobj
= Py_None
;
26781 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26782 PyObject
*resultobj
;
26783 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26785 PyObject
* obj0
= 0 ;
26786 char *kwnames
[] = {
26787 (char *) "self", NULL
26790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26795 result
= (bool)(arg1
)->Open();
26797 wxPyEndAllowThreads(__tstate
);
26798 if (PyErr_Occurred()) SWIG_fail
;
26801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26809 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26810 PyObject
*resultobj
;
26811 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26812 PyObject
* obj0
= 0 ;
26813 char *kwnames
[] = {
26814 (char *) "self", NULL
26817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26824 wxPyEndAllowThreads(__tstate
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26827 Py_INCREF(Py_None
); resultobj
= Py_None
;
26834 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26835 PyObject
*resultobj
;
26836 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26838 PyObject
* obj0
= 0 ;
26839 char *kwnames
[] = {
26840 (char *) "self", NULL
26843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26848 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26850 wxPyEndAllowThreads(__tstate
);
26851 if (PyErr_Occurred()) SWIG_fail
;
26854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26862 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26863 PyObject
*resultobj
;
26864 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26865 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26867 PyObject
* obj0
= 0 ;
26868 PyObject
* obj1
= 0 ;
26869 char *kwnames
[] = {
26870 (char *) "self",(char *) "data", NULL
26873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26876 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26877 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26880 result
= (bool)(arg1
)->AddData(arg2
);
26882 wxPyEndAllowThreads(__tstate
);
26883 if (PyErr_Occurred()) SWIG_fail
;
26886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26894 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26895 PyObject
*resultobj
;
26896 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26897 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26899 PyObject
* obj0
= 0 ;
26900 PyObject
* obj1
= 0 ;
26901 char *kwnames
[] = {
26902 (char *) "self",(char *) "data", NULL
26905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26908 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26909 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26912 result
= (bool)(arg1
)->SetData(arg2
);
26914 wxPyEndAllowThreads(__tstate
);
26915 if (PyErr_Occurred()) SWIG_fail
;
26918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26926 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26927 PyObject
*resultobj
;
26928 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26929 wxDataFormat
*arg2
= 0 ;
26931 PyObject
* obj0
= 0 ;
26932 PyObject
* obj1
= 0 ;
26933 char *kwnames
[] = {
26934 (char *) "self",(char *) "format", NULL
26937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
26941 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26943 if (arg2
== NULL
) {
26944 PyErr_SetString(PyExc_TypeError
,"null reference");
26948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26949 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26951 wxPyEndAllowThreads(__tstate
);
26952 if (PyErr_Occurred()) SWIG_fail
;
26955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26963 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26964 PyObject
*resultobj
;
26965 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26966 wxDataObject
*arg2
= 0 ;
26968 PyObject
* obj0
= 0 ;
26969 PyObject
* obj1
= 0 ;
26970 char *kwnames
[] = {
26971 (char *) "self",(char *) "data", NULL
26974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26977 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26978 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26980 if (arg2
== NULL
) {
26981 PyErr_SetString(PyExc_TypeError
,"null reference");
26985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26986 result
= (bool)(arg1
)->GetData(*arg2
);
26988 wxPyEndAllowThreads(__tstate
);
26989 if (PyErr_Occurred()) SWIG_fail
;
26992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27000 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27001 PyObject
*resultobj
;
27002 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27003 PyObject
* obj0
= 0 ;
27004 char *kwnames
[] = {
27005 (char *) "self", NULL
27008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27015 wxPyEndAllowThreads(__tstate
);
27016 if (PyErr_Occurred()) SWIG_fail
;
27018 Py_INCREF(Py_None
); resultobj
= Py_None
;
27025 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27026 PyObject
*resultobj
;
27027 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27029 PyObject
* obj0
= 0 ;
27030 char *kwnames
[] = {
27031 (char *) "self", NULL
27034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27039 result
= (bool)(arg1
)->Flush();
27041 wxPyEndAllowThreads(__tstate
);
27042 if (PyErr_Occurred()) SWIG_fail
;
27045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27053 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27054 PyObject
*resultobj
;
27055 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27056 bool arg2
= (bool) True
;
27057 PyObject
* obj0
= 0 ;
27058 PyObject
* obj1
= 0 ;
27059 char *kwnames
[] = {
27060 (char *) "self",(char *) "primary", NULL
27063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27067 arg2
= (bool) SWIG_AsBool(obj1
);
27068 if (PyErr_Occurred()) SWIG_fail
;
27071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27072 (arg1
)->UsePrimarySelection(arg2
);
27074 wxPyEndAllowThreads(__tstate
);
27075 if (PyErr_Occurred()) SWIG_fail
;
27077 Py_INCREF(Py_None
); resultobj
= Py_None
;
27084 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27087 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27089 return Py_BuildValue((char *)"");
27091 static int _wrap_TheClipboard_set(PyObject
*_val
) {
27092 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
27097 static PyObject
*_wrap_TheClipboard_get() {
27100 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
27105 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27106 PyObject
*resultobj
;
27107 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27108 wxClipboardLocker
*result
;
27109 PyObject
* obj0
= 0 ;
27110 char *kwnames
[] = {
27111 (char *) "clipboard", NULL
27114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27121 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27123 wxPyEndAllowThreads(__tstate
);
27124 if (PyErr_Occurred()) SWIG_fail
;
27126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27133 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27134 PyObject
*resultobj
;
27135 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27136 PyObject
* obj0
= 0 ;
27137 char *kwnames
[] = {
27138 (char *) "self", NULL
27141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27148 wxPyEndAllowThreads(__tstate
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27151 Py_INCREF(Py_None
); resultobj
= Py_None
;
27158 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27159 PyObject
*resultobj
;
27160 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27162 PyObject
* obj0
= 0 ;
27163 char *kwnames
[] = {
27164 (char *) "self", NULL
27167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27172 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27174 wxPyEndAllowThreads(__tstate
);
27175 if (PyErr_Occurred()) SWIG_fail
;
27178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27186 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27189 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27191 return Py_BuildValue((char *)"");
27193 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27194 PyObject
*resultobj
;
27195 int arg1
= (int) 0 ;
27196 int arg2
= (int) 0 ;
27197 int arg3
= (int) 0 ;
27198 int arg4
= (int) 0 ;
27199 wxVideoMode
*result
;
27200 PyObject
* obj0
= 0 ;
27201 PyObject
* obj1
= 0 ;
27202 PyObject
* obj2
= 0 ;
27203 PyObject
* obj3
= 0 ;
27204 char *kwnames
[] = {
27205 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27210 arg1
= (int) SWIG_AsInt(obj0
);
27211 if (PyErr_Occurred()) SWIG_fail
;
27214 arg2
= (int) SWIG_AsInt(obj1
);
27215 if (PyErr_Occurred()) SWIG_fail
;
27218 arg3
= (int) SWIG_AsInt(obj2
);
27219 if (PyErr_Occurred()) SWIG_fail
;
27222 arg4
= (int) SWIG_AsInt(obj3
);
27223 if (PyErr_Occurred()) SWIG_fail
;
27226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27227 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27229 wxPyEndAllowThreads(__tstate
);
27230 if (PyErr_Occurred()) SWIG_fail
;
27232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27239 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27240 PyObject
*resultobj
;
27241 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27242 PyObject
* obj0
= 0 ;
27243 char *kwnames
[] = {
27244 (char *) "self", NULL
27247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27254 wxPyEndAllowThreads(__tstate
);
27255 if (PyErr_Occurred()) SWIG_fail
;
27257 Py_INCREF(Py_None
); resultobj
= Py_None
;
27264 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27265 PyObject
*resultobj
;
27266 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27267 wxVideoMode
*arg2
= 0 ;
27269 PyObject
* obj0
= 0 ;
27270 PyObject
* obj1
= 0 ;
27271 char *kwnames
[] = {
27272 (char *) "self",(char *) "other", NULL
27275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27279 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27281 if (arg2
== NULL
) {
27282 PyErr_SetString(PyExc_TypeError
,"null reference");
27286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27287 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27289 wxPyEndAllowThreads(__tstate
);
27290 if (PyErr_Occurred()) SWIG_fail
;
27293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27301 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27302 PyObject
*resultobj
;
27303 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27305 PyObject
* obj0
= 0 ;
27306 char *kwnames
[] = {
27307 (char *) "self", NULL
27310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27315 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27317 wxPyEndAllowThreads(__tstate
);
27318 if (PyErr_Occurred()) SWIG_fail
;
27320 resultobj
= SWIG_FromInt((int)result
);
27327 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27328 PyObject
*resultobj
;
27329 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27331 PyObject
* obj0
= 0 ;
27332 char *kwnames
[] = {
27333 (char *) "self", NULL
27336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27341 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27343 wxPyEndAllowThreads(__tstate
);
27344 if (PyErr_Occurred()) SWIG_fail
;
27346 resultobj
= SWIG_FromInt((int)result
);
27353 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27354 PyObject
*resultobj
;
27355 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27357 PyObject
* obj0
= 0 ;
27358 char *kwnames
[] = {
27359 (char *) "self", NULL
27362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27367 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27369 wxPyEndAllowThreads(__tstate
);
27370 if (PyErr_Occurred()) SWIG_fail
;
27372 resultobj
= SWIG_FromInt((int)result
);
27379 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27380 PyObject
*resultobj
;
27381 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27383 PyObject
* obj0
= 0 ;
27384 char *kwnames
[] = {
27385 (char *) "self", NULL
27388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27393 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27395 wxPyEndAllowThreads(__tstate
);
27396 if (PyErr_Occurred()) SWIG_fail
;
27399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27407 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27408 PyObject
*resultobj
;
27409 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27410 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27412 PyObject
* obj0
= 0 ;
27413 PyObject
* obj1
= 0 ;
27414 char *kwnames
[] = {
27415 (char *) "self",(char *) "other", NULL
27418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27425 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27427 wxPyEndAllowThreads(__tstate
);
27428 if (PyErr_Occurred()) SWIG_fail
;
27431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27439 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27440 PyObject
*resultobj
;
27441 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27442 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27444 PyObject
* obj0
= 0 ;
27445 PyObject
* obj1
= 0 ;
27446 char *kwnames
[] = {
27447 (char *) "self",(char *) "other", NULL
27450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27457 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27459 wxPyEndAllowThreads(__tstate
);
27460 if (PyErr_Occurred()) SWIG_fail
;
27463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27471 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27472 PyObject
*resultobj
;
27473 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27475 PyObject
* obj0
= 0 ;
27476 PyObject
* obj1
= 0 ;
27477 char *kwnames
[] = {
27478 (char *) "self",(char *) "w", NULL
27481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27484 arg2
= (int) SWIG_AsInt(obj1
);
27485 if (PyErr_Occurred()) SWIG_fail
;
27486 if (arg1
) (arg1
)->w
= arg2
;
27488 Py_INCREF(Py_None
); resultobj
= Py_None
;
27495 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27496 PyObject
*resultobj
;
27497 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27499 PyObject
* obj0
= 0 ;
27500 char *kwnames
[] = {
27501 (char *) "self", NULL
27504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27507 result
= (int) ((arg1
)->w
);
27509 resultobj
= SWIG_FromInt((int)result
);
27516 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27517 PyObject
*resultobj
;
27518 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27520 PyObject
* obj0
= 0 ;
27521 PyObject
* obj1
= 0 ;
27522 char *kwnames
[] = {
27523 (char *) "self",(char *) "h", NULL
27526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27529 arg2
= (int) SWIG_AsInt(obj1
);
27530 if (PyErr_Occurred()) SWIG_fail
;
27531 if (arg1
) (arg1
)->h
= arg2
;
27533 Py_INCREF(Py_None
); resultobj
= Py_None
;
27540 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27541 PyObject
*resultobj
;
27542 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27544 PyObject
* obj0
= 0 ;
27545 char *kwnames
[] = {
27546 (char *) "self", NULL
27549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27552 result
= (int) ((arg1
)->h
);
27554 resultobj
= SWIG_FromInt((int)result
);
27561 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27562 PyObject
*resultobj
;
27563 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27565 PyObject
* obj0
= 0 ;
27566 PyObject
* obj1
= 0 ;
27567 char *kwnames
[] = {
27568 (char *) "self",(char *) "bpp", NULL
27571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27574 arg2
= (int) SWIG_AsInt(obj1
);
27575 if (PyErr_Occurred()) SWIG_fail
;
27576 if (arg1
) (arg1
)->bpp
= arg2
;
27578 Py_INCREF(Py_None
); resultobj
= Py_None
;
27585 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27586 PyObject
*resultobj
;
27587 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27589 PyObject
* obj0
= 0 ;
27590 char *kwnames
[] = {
27591 (char *) "self", NULL
27594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27597 result
= (int) ((arg1
)->bpp
);
27599 resultobj
= SWIG_FromInt((int)result
);
27606 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27607 PyObject
*resultobj
;
27608 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27610 PyObject
* obj0
= 0 ;
27611 PyObject
* obj1
= 0 ;
27612 char *kwnames
[] = {
27613 (char *) "self",(char *) "refresh", NULL
27616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27619 arg2
= (int) SWIG_AsInt(obj1
);
27620 if (PyErr_Occurred()) SWIG_fail
;
27621 if (arg1
) (arg1
)->refresh
= arg2
;
27623 Py_INCREF(Py_None
); resultobj
= Py_None
;
27630 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27631 PyObject
*resultobj
;
27632 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27634 PyObject
* obj0
= 0 ;
27635 char *kwnames
[] = {
27636 (char *) "self", NULL
27639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27642 result
= (int) ((arg1
)->refresh
);
27644 resultobj
= SWIG_FromInt((int)result
);
27651 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27654 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27656 return Py_BuildValue((char *)"");
27658 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27659 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27664 static PyObject
*_wrap_DefaultVideoMode_get() {
27667 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27672 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27673 PyObject
*resultobj
;
27674 size_t arg1
= (size_t) 0 ;
27676 PyObject
* obj0
= 0 ;
27677 char *kwnames
[] = {
27678 (char *) "index", NULL
27681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27683 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27684 if (PyErr_Occurred()) SWIG_fail
;
27687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27688 result
= (wxDisplay
*)new wxDisplay(arg1
);
27690 wxPyEndAllowThreads(__tstate
);
27691 if (PyErr_Occurred()) SWIG_fail
;
27693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27700 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27701 PyObject
*resultobj
;
27702 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27703 PyObject
* obj0
= 0 ;
27704 char *kwnames
[] = {
27705 (char *) "self", NULL
27708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27715 wxPyEndAllowThreads(__tstate
);
27716 if (PyErr_Occurred()) SWIG_fail
;
27718 Py_INCREF(Py_None
); resultobj
= Py_None
;
27725 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27726 PyObject
*resultobj
;
27728 char *kwnames
[] = {
27732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27735 result
= (size_t)wxDisplay::GetCount();
27737 wxPyEndAllowThreads(__tstate
);
27738 if (PyErr_Occurred()) SWIG_fail
;
27740 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27747 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27748 PyObject
*resultobj
;
27749 wxPoint
*arg1
= 0 ;
27752 PyObject
* obj0
= 0 ;
27753 char *kwnames
[] = {
27754 (char *) "pt", NULL
27757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27760 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27764 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27766 wxPyEndAllowThreads(__tstate
);
27767 if (PyErr_Occurred()) SWIG_fail
;
27769 resultobj
= SWIG_FromInt((int)result
);
27776 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27777 PyObject
*resultobj
;
27778 wxWindow
*arg1
= (wxWindow
*) 0 ;
27780 PyObject
* obj0
= 0 ;
27781 char *kwnames
[] = {
27782 (char *) "window", NULL
27785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27790 result
= (int)wxDisplay::GetFromWindow(arg1
);
27792 wxPyEndAllowThreads(__tstate
);
27793 if (PyErr_Occurred()) SWIG_fail
;
27795 resultobj
= SWIG_FromInt((int)result
);
27802 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27803 PyObject
*resultobj
;
27804 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27806 PyObject
* obj0
= 0 ;
27807 char *kwnames
[] = {
27808 (char *) "self", NULL
27811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27816 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27818 wxPyEndAllowThreads(__tstate
);
27819 if (PyErr_Occurred()) SWIG_fail
;
27822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27830 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27831 PyObject
*resultobj
;
27832 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27834 PyObject
* obj0
= 0 ;
27835 char *kwnames
[] = {
27836 (char *) "self", NULL
27839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
27840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27844 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
27846 wxPyEndAllowThreads(__tstate
);
27847 if (PyErr_Occurred()) SWIG_fail
;
27850 wxRect
* resultptr
;
27851 resultptr
= new wxRect((wxRect
&) result
);
27852 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
27860 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27861 PyObject
*resultobj
;
27862 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27864 PyObject
* obj0
= 0 ;
27865 char *kwnames
[] = {
27866 (char *) "self", NULL
27869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
27870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27874 result
= ((wxDisplay
const *)arg1
)->GetName();
27876 wxPyEndAllowThreads(__tstate
);
27877 if (PyErr_Occurred()) SWIG_fail
;
27881 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27883 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27892 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27893 PyObject
*resultobj
;
27894 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27896 PyObject
* obj0
= 0 ;
27897 char *kwnames
[] = {
27898 (char *) "self", NULL
27901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
27902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27906 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
27908 wxPyEndAllowThreads(__tstate
);
27909 if (PyErr_Occurred()) SWIG_fail
;
27912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27920 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27921 PyObject
*resultobj
;
27922 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27923 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27924 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27926 PyObject
* obj0
= 0 ;
27927 PyObject
* obj1
= 0 ;
27928 char *kwnames
[] = {
27929 (char *) "self",(char *) "mode", NULL
27932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
27933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27936 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27937 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27939 if (arg2
== NULL
) {
27940 PyErr_SetString(PyExc_TypeError
,"null reference");
27945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27946 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
27948 wxPyEndAllowThreads(__tstate
);
27949 if (PyErr_Occurred()) SWIG_fail
;
27951 resultobj
= result
;
27958 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27959 PyObject
*resultobj
;
27960 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27961 wxVideoMode result
;
27962 PyObject
* obj0
= 0 ;
27963 char *kwnames
[] = {
27964 (char *) "self", NULL
27967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
27968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27972 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
27974 wxPyEndAllowThreads(__tstate
);
27975 if (PyErr_Occurred()) SWIG_fail
;
27978 wxVideoMode
* resultptr
;
27979 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
27980 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
27988 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27989 PyObject
*resultobj
;
27990 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27991 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27992 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27994 PyObject
* obj0
= 0 ;
27995 PyObject
* obj1
= 0 ;
27996 char *kwnames
[] = {
27997 (char *) "self",(char *) "mode", NULL
28000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28004 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28005 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28007 if (arg2
== NULL
) {
28008 PyErr_SetString(PyExc_TypeError
,"null reference");
28013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28014 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28016 wxPyEndAllowThreads(__tstate
);
28017 if (PyErr_Occurred()) SWIG_fail
;
28020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28028 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28029 PyObject
*resultobj
;
28030 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28031 PyObject
* obj0
= 0 ;
28032 char *kwnames
[] = {
28033 (char *) "self", NULL
28036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28041 (arg1
)->ResetMode();
28043 wxPyEndAllowThreads(__tstate
);
28044 if (PyErr_Occurred()) SWIG_fail
;
28046 Py_INCREF(Py_None
); resultobj
= Py_None
;
28053 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
28055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28056 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28058 return Py_BuildValue((char *)"");
28060 static PyMethodDef SwigMethods
[] = {
28061 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
28062 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
28063 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
28064 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
28065 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28066 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28067 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
28068 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
28069 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
28070 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28071 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
28072 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28073 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
28074 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
28075 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
28076 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
28077 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28078 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28079 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28080 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28081 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28082 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28083 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28084 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28085 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28086 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28087 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28088 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28089 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28090 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28091 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
28092 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28093 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28094 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28095 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28096 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28097 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28098 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28099 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28100 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28101 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28102 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28103 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28104 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28105 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28106 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28107 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28108 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28109 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28110 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28111 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28112 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28113 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28114 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28115 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28116 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28117 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28118 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28119 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28120 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28121 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28122 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28123 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28124 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28125 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28126 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28127 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28128 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28129 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28130 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28131 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28132 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28133 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28134 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28135 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28136 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28137 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28138 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28139 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28140 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28141 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28142 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28143 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28144 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28145 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28146 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28147 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28148 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28149 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28150 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28151 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28152 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28153 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28154 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28155 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28156 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28157 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28158 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28159 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28160 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28161 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28162 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28163 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28164 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28165 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28166 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28167 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28168 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28169 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28170 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28171 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28172 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28173 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28174 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28175 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28176 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28177 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28178 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28179 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28180 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28181 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28182 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28183 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28184 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28185 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28186 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28187 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28188 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28189 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28190 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28191 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28192 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28193 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28194 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28195 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28196 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28197 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28198 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28199 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28200 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28201 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28202 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28203 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28204 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28205 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28206 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28207 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28208 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28209 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28210 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28211 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28212 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28213 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28214 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28215 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28216 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28217 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28218 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28219 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28220 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28221 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28222 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28223 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28224 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28225 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28226 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28227 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28228 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28229 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28230 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28231 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28232 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28233 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28234 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28235 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28236 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28237 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28238 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28239 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28240 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28241 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28242 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28243 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28244 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28245 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28246 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28247 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28248 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28249 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28250 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28251 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28252 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28253 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28254 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28255 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28256 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28257 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28258 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28259 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28260 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28261 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28262 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28263 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28264 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28265 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28266 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28267 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28268 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28269 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28270 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28271 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28272 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28273 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28274 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28275 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28276 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28277 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28278 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28279 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28280 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28281 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28283 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28284 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28285 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28286 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28287 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28289 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28290 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28291 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28292 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28293 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28294 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28295 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28296 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28297 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28298 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28299 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28300 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28301 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28305 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28309 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28310 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28315 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28317 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28320 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28321 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28323 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28324 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28326 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28328 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28329 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28330 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28332 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28334 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28337 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28339 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28341 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28342 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28344 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28345 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28346 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28347 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28349 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28351 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28352 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28354 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28355 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28356 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28357 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28363 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28372 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28375 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28378 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28385 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28387 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28389 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28391 { (char *)"new_Sound", _wrap_new_Sound
, METH_VARARGS
},
28392 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"Sound_Create", _wrap_Sound_Create
, METH_VARARGS
},
28394 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"Sound_Play", _wrap_Sound_Play
, METH_VARARGS
},
28396 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound
, METH_VARARGS
},
28397 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28398 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28399 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28400 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28402 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28403 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28405 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28411 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28415 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28422 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28428 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28431 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28438 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28445 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28454 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28458 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28460 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28464 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28468 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28497 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28500 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28503 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28507 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28513 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28522 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28525 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28526 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28529 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28532 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28557 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28558 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28559 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28565 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28577 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28599 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28600 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28601 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28602 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28603 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28604 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28605 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28606 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28607 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28608 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28609 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28611 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28612 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28613 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28614 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28619 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28621 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28622 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28623 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28624 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28625 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28626 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28627 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28628 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28629 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28630 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28631 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28632 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28633 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28638 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28642 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28645 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28656 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28657 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28662 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28663 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28664 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28666 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28670 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28676 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28678 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28679 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28680 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28681 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28682 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28683 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28684 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28685 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28686 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28687 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28688 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28689 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28693 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28697 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28698 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28701 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28706 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28707 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28711 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28712 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28713 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28714 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28717 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28718 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28719 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28721 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28725 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28727 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28728 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28729 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28731 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28732 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28734 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28735 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28736 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28737 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28738 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28739 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28740 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28741 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28742 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28743 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28744 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28746 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28748 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28750 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28753 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28754 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28756 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28757 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28758 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28760 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28761 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28762 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28763 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28764 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28765 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28766 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28767 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28768 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28769 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28770 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28771 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28773 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28774 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28775 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28776 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28777 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28778 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28779 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28780 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28781 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28782 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28783 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28784 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
28785 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28786 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28787 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28788 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28789 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28790 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28791 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28792 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
28793 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28794 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28795 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28796 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28797 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28798 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28799 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28800 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
28801 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28802 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28803 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
28804 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
28805 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
28806 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
28807 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28808 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28809 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28810 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
28811 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28812 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
28813 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
28814 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28815 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28816 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
28817 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
28818 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28819 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28820 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
28821 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
28822 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
28823 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
28824 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28825 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28826 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28827 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
28828 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
28829 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
28830 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
28831 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
28832 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
28833 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
28834 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
28835 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
28836 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
28837 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
28838 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28839 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
28840 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
28841 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28842 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
28843 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
28844 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
28845 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
28846 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
28847 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
28848 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
28849 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
28854 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28856 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28857 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28859 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28860 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28862 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28863 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28865 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28866 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28868 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28869 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28871 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28872 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28874 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
28875 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
28877 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28878 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28880 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28881 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28883 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28884 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28886 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28887 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28889 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
28890 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
28892 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28893 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28895 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28896 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28898 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28899 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28901 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28902 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28904 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28905 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28907 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28908 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28910 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28911 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28913 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28914 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28916 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28917 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28919 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28920 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28922 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28923 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28925 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28926 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28928 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28929 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28931 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28932 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28934 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28935 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28937 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28938 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28940 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28941 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28943 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28944 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28946 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
28947 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
28949 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28950 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28952 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28953 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28955 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28956 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28958 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28959 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28961 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28962 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28964 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28965 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28967 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28968 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28970 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
28971 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
28973 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
28974 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
28976 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
28977 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28979 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
28980 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28982 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
28983 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
28985 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
28986 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28988 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
28989 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
28991 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
28992 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
28994 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
28995 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28997 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
28998 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29000 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29001 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29003 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29004 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29006 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29007 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29009 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29010 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29012 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29013 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29015 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29016 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29018 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29019 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29021 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29022 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29024 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29025 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29027 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29028 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29030 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29031 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29033 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29034 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29036 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29037 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29039 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29040 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29042 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29043 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29045 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29046 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29048 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29049 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29051 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29052 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29054 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29055 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29057 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29058 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29060 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29061 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29063 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29064 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29066 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29067 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29069 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29070 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29072 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29073 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29075 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29076 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29078 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29079 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29081 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29082 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29084 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29085 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29087 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29088 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29090 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29091 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29093 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29094 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29096 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29097 return (void *)((wxObject
*) ((wxSizer
*) x
));
29099 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29100 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29102 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29103 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29105 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29106 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29108 static void *_p_wxEventTo_p_wxObject(void *x
) {
29109 return (void *)((wxObject
*) ((wxEvent
*) x
));
29111 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29112 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29114 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29115 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29117 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29118 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29120 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29121 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29123 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29124 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29126 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29127 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29129 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29130 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29132 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29133 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29135 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29136 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29138 static void *_p_wxControlTo_p_wxObject(void *x
) {
29139 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29141 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29142 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29144 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29145 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29147 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29148 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29150 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29151 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29153 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29154 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29156 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29157 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29159 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29160 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29162 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29163 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29165 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29166 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29168 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29169 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29171 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29172 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29174 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29175 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29177 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29178 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29180 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29181 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29183 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29184 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29186 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29187 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29189 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29190 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29192 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29193 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29195 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29196 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29198 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29199 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29201 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29202 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29204 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29205 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29207 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29208 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29210 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29211 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29213 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29214 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29216 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29217 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29219 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29220 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29222 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29223 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29225 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29226 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29228 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29229 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29231 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29232 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29234 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29235 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29237 static void *_p_wxImageTo_p_wxObject(void *x
) {
29238 return (void *)((wxObject
*) ((wxImage
*) x
));
29240 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29241 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29243 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29244 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29246 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29247 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29249 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29250 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29252 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29253 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29255 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29256 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29258 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29259 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29261 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29262 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29264 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29267 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29268 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29270 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29271 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29273 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29274 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29276 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29277 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29279 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29280 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29282 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29283 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29285 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29286 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29288 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29289 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29291 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29292 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29294 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29295 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29297 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29298 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29300 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29301 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29303 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29304 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29306 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29307 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29309 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29310 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29312 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29313 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29315 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29316 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29318 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29319 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29321 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29322 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29324 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29325 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29327 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29328 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29330 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29331 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29333 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29334 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29336 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29337 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29339 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29340 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29342 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29343 return (void *)((wxWindow
*) ((wxControl
*) x
));
29345 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29346 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29348 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29349 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29351 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29352 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29354 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29355 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29357 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}};
29358 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}};
29359 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}};
29360 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}};
29361 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}};
29362 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}};
29363 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}};
29364 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}};
29365 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}};
29366 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}};
29367 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}};
29368 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}};
29369 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}};
29370 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}};
29371 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}};
29372 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}};
29373 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}};
29374 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}};
29375 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}};
29376 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}};
29377 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}};
29378 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}};
29379 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}};
29380 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}};
29381 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}};
29382 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}};
29383 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}};
29384 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}};
29385 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}};
29386 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}};
29387 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}};
29388 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}};
29389 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}};
29390 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}};
29391 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}};
29392 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}};
29393 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}};
29394 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}};
29395 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}};
29396 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}};
29397 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}};
29398 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}};
29399 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}};
29400 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}};
29401 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}};
29402 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}};
29403 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}};
29404 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}};
29405 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}};
29406 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}};
29407 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}};
29408 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}};
29409 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}};
29410 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}};
29411 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}};
29412 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}};
29413 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}};
29414 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}};
29415 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}};
29416 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}};
29417 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}};
29418 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}};
29419 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}};
29420 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}};
29421 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}};
29422 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}};
29423 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}};
29424 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}};
29425 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}};
29426 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}};
29427 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}};
29428 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}};
29429 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}};
29430 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}};
29431 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}};
29432 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}};
29433 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}};
29434 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}};
29435 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}};
29436 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}};
29437 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}};
29438 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}};
29439 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}};
29440 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}};
29441 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}};
29442 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}};
29443 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}};
29445 static swig_type_info
*swig_types_initial
[] = {
29446 _swigt__p_wxLogChain
,
29447 _swigt__p_wxMutexGuiLocker
,
29448 _swigt__p_wxMetafile
,
29449 _swigt__p_wxFileHistory
,
29451 _swigt__p_wxDateTime__TimeZone
,
29454 _swigt__p_wxConfigBase
,
29455 _swigt__p_wxDisplay
,
29456 _swigt__p_wxFileType
,
29457 _swigt__p_wxLogGui
,
29459 _swigt__p_wxDataFormat
,
29460 _swigt__p_wxTimerEvent
,
29464 _swigt__p_wxClipboard
,
29465 _swigt__p_wxStopWatch
,
29467 _swigt__p_wxClipboardLocker
,
29469 _swigt__p_wxLogStderr
,
29470 _swigt__p_wxLogTextCtrl
,
29471 _swigt__p_wxTextCtrl
,
29472 _swigt__p_wxBusyCursor
,
29473 _swigt__p_wxPyTextDataObject
,
29474 _swigt__p_wxBitmapDataObject
,
29475 _swigt__p_wxTextDataObject
,
29476 _swigt__p_wxDataObject
,
29477 _swigt__p_wxPyBitmapDataObject
,
29478 _swigt__p_wxFileDataObject
,
29479 _swigt__p_wxCustomDataObject
,
29480 _swigt__p_wxURLDataObject
,
29481 _swigt__p_wxMetafileDataObject
,
29483 _swigt__p_wxTimerRunner
,
29484 _swigt__p_wxLogWindow
,
29485 _swigt__p_wxTimeSpan
,
29486 _swigt__p_wxArrayString
,
29487 _swigt__p_wxWindowDisabler
,
29488 _swigt__p_wxToolTip
,
29489 _swigt__p_wxDataObjectComposite
,
29490 _swigt__p_wxFileConfig
,
29491 _swigt__p_wxSystemSettings
,
29492 _swigt__p_wxVideoMode
,
29493 _swigt__p_wxPyDataObjectSimple
,
29494 _swigt__p_wxDataObjectSimple
,
29495 _swigt__p_wxEvtHandler
,
29498 _swigt__p_wxSingleInstanceChecker
,
29499 _swigt__p_wxFileTypeInfo
,
29502 _swigt__p_wxMimeTypesManager
,
29503 _swigt__p_wxPyArtProvider
,
29504 _swigt__p_wxPyTipProvider
,
29505 _swigt__p_wxTipProvider
,
29506 _swigt__p_wxJoystick
,
29507 _swigt__p_wxSystemOptions
,
29509 _swigt__p_wxJoystickEvent
,
29510 _swigt__p_wxCursor
,
29511 _swigt__p_wxObject
,
29512 _swigt__p_wxOutputStream
,
29513 _swigt__p_wxDateTime
,
29514 _swigt__p_wxPyDropSource
,
29515 _swigt__p_wxWindow
,
29516 _swigt__p_wxString
,
29517 _swigt__p_wxPyProcess
,
29518 _swigt__p_wxBitmap
,
29519 _swigt__p_wxConfig
,
29521 _swigt__p_wxBusyInfo
,
29522 _swigt__p_wxPyDropTarget
,
29523 _swigt__p_wxPyTextDropTarget
,
29524 _swigt__p_wxPyFileDropTarget
,
29525 _swigt__p_wxProcessEvent
,
29527 _swigt__p_wxLogNull
,
29528 _swigt__p_wxColour
,
29530 _swigt__p_wxConfigPathChanger
,
29531 _swigt__p_wxPyTimer
,
29532 _swigt__p_wxDateSpan
,
29537 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29539 static swig_const_info swig_const_table
[] = {
29540 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29541 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29542 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29543 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29544 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29554 SWIGEXPORT(void) SWIG_init(void) {
29555 static PyObject
*SWIG_globals
= 0;
29556 static int typeinit
= 0;
29559 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29560 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29561 d
= PyModule_GetDict(m
);
29564 for (i
= 0; swig_types_initial
[i
]; i
++) {
29565 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29569 SWIG_InstallConstants(d
,swig_const_table
);
29571 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29572 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29573 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29574 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29575 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29576 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29577 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29578 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29579 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29580 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29581 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29582 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29583 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29584 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29585 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29586 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29587 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29588 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29589 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29590 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29591 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29592 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29593 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29594 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29595 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29596 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29597 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29598 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29599 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29600 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29601 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29602 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29603 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29604 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29605 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29606 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29607 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29608 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29609 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29610 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29611 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29612 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29613 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29614 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29615 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29616 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29617 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29618 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29619 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29620 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29621 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29622 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29623 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29624 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29625 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29626 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29627 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29628 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29629 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29630 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29631 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29632 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29633 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29634 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29635 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29636 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29637 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29638 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29639 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29640 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29641 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29642 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29643 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29644 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29645 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29646 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29647 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29648 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29649 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29650 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29651 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29652 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29653 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29654 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29655 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29656 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29657 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29658 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29659 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29660 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29661 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29662 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29663 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29664 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29665 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29666 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29667 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29668 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29669 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29670 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29671 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29672 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29673 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29674 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29675 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29676 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29677 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29678 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29679 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29680 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29681 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29682 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29683 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29684 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29685 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29686 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29687 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29688 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29689 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29690 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29691 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29692 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29693 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29694 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29695 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29696 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29697 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29698 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29699 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29700 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29701 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29702 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29703 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29704 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29705 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29706 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29707 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29708 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29709 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29710 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29711 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29712 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29713 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29714 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29715 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29716 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29717 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29718 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29719 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29720 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29722 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29724 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29725 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29726 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29727 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29728 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29729 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29730 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29731 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29732 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29733 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29734 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29735 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29736 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29737 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29738 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29739 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29740 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29741 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29742 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29743 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29744 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29745 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29746 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29747 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29748 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29749 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29750 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29751 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29752 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29753 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29754 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29755 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29756 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29757 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29758 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29759 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29760 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29761 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29762 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29763 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29764 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29765 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29766 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29767 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29768 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29769 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29770 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29771 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29772 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29773 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29774 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29775 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29776 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29777 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29778 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29779 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29780 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29781 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29783 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29785 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29786 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29787 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29788 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29789 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29790 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29791 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29792 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29793 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29794 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29795 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29796 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29797 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29798 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29799 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29800 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29801 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29802 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29803 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29804 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29805 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29806 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29807 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29808 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29809 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29810 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29811 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29812 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29813 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29814 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29815 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29816 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29817 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29818 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
29819 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
29820 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
29821 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
29822 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
29823 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
29824 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
29825 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
29826 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
29827 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
29828 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
29829 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
29830 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
29831 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
29832 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
29833 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
29834 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
29835 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
29836 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
29837 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
29838 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
29839 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
29840 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
29841 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
29842 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
29843 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
29844 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
29845 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
29846 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
29847 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
29848 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
29849 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
29850 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
29851 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
29852 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
29853 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
29854 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
29855 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
29856 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
29857 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
29858 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
29859 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
29860 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
29861 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
29862 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
29863 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
29864 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
29865 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
29866 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
29867 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
29868 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
29869 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
29870 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
29871 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
29872 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
29873 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
29874 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
29875 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
29876 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
29877 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
29878 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
29879 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
29880 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
29881 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
29882 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
29883 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
29884 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
29885 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
29886 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
29887 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
29888 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
29889 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
29890 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
29891 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
29892 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
29893 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
29894 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
29895 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
29896 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
29897 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
29898 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
29899 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
29900 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
29901 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
29902 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
29903 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
29904 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
29905 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
29906 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
29907 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
29908 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
29909 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
29910 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
29911 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
29912 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
29913 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
29914 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
29915 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
29916 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
29917 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
29918 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
29919 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
29920 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
29921 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
29922 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
29923 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
29924 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
29925 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
29926 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
29927 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
29928 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
29929 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
29930 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
29931 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
29932 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
29933 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
29934 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
29935 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
29936 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
29937 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
29938 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
29939 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
29940 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
29941 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
29942 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
29943 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
29944 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
29945 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
29946 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
29947 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
29948 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
29949 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
29950 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
29951 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
29952 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
29953 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
29954 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
29955 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
29956 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
29957 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
29958 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
29959 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
29960 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
29961 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
29962 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
29963 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
29964 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
29965 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
29966 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
29967 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
29968 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
29969 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
29970 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
29971 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
29972 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
29973 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
29974 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
29975 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
29976 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
29977 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
29978 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
29979 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
29980 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
29981 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
29982 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
29983 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
29984 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
29986 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
29987 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
29988 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
29989 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
29991 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);
29992 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);