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_wxFileHistory swig_types[2]
212 #define SWIGTYPE_p_wxLog swig_types[3]
213 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
214 #define SWIGTYPE_p_wxMenu swig_types[5]
215 #define SWIGTYPE_p_wxEvent swig_types[6]
216 #define SWIGTYPE_p_wxConfigBase swig_types[7]
217 #define SWIGTYPE_p_wxDisplay swig_types[8]
218 #define SWIGTYPE_p_wxFileType swig_types[9]
219 #define SWIGTYPE_p_wxLogGui swig_types[10]
220 #define SWIGTYPE_p_wxFont swig_types[11]
221 #define SWIGTYPE_p_wxDataFormat swig_types[12]
222 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
223 #define SWIGTYPE_p_wxCaret swig_types[14]
224 #define SWIGTYPE_p_int swig_types[15]
225 #define SWIGTYPE_p_wxSize swig_types[16]
226 #define SWIGTYPE_p_wxClipboard swig_types[17]
227 #define SWIGTYPE_p_wxStopWatch swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxClipboardLocker swig_types[20]
230 #define SWIGTYPE_p_wxIcon swig_types[21]
231 #define SWIGTYPE_p_wxLogStderr swig_types[22]
232 #define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
233 #define SWIGTYPE_p_wxTextCtrl swig_types[24]
234 #define SWIGTYPE_p_wxBusyCursor swig_types[25]
235 #define SWIGTYPE_p_wxPyBitmapDataObject 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_wxFileDataObject swig_types[31]
241 #define SWIGTYPE_p_wxCustomDataObject swig_types[32]
242 #define SWIGTYPE_p_wxURLDataObject swig_types[33]
243 #define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
244 #define SWIGTYPE_p_wxSound swig_types[35]
245 #define SWIGTYPE_p_wxTimerRunner swig_types[36]
246 #define SWIGTYPE_p_wxLogWindow swig_types[37]
247 #define SWIGTYPE_p_wxTimeSpan swig_types[38]
248 #define SWIGTYPE_p_wxArrayString swig_types[39]
249 #define SWIGTYPE_p_wxWindowDisabler swig_types[40]
250 #define SWIGTYPE_p_wxToolTip swig_types[41]
251 #define SWIGTYPE_p_wxDataObjectComposite swig_types[42]
252 #define SWIGTYPE_p_wxFileConfig swig_types[43]
253 #define SWIGTYPE_p_wxSystemSettings swig_types[44]
254 #define SWIGTYPE_p_wxVideoMode swig_types[45]
255 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[46]
256 #define SWIGTYPE_p_wxDataObjectSimple swig_types[47]
257 #define SWIGTYPE_p_wxEvtHandler swig_types[48]
258 #define SWIGTYPE_p_wxRect swig_types[49]
259 #define SWIGTYPE_p_char swig_types[50]
260 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[51]
261 #define SWIGTYPE_p_wxFileTypeInfo swig_types[52]
262 #define SWIGTYPE_p_wxFrame swig_types[53]
263 #define SWIGTYPE_p_wxTimer swig_types[54]
264 #define SWIGTYPE_p_wxMimeTypesManager swig_types[55]
265 #define SWIGTYPE_p_wxPyArtProvider swig_types[56]
266 #define SWIGTYPE_p_wxPyTipProvider swig_types[57]
267 #define SWIGTYPE_p_wxTipProvider swig_types[58]
268 #define SWIGTYPE_p_wxJoystick swig_types[59]
269 #define SWIGTYPE_p_wxSystemOptions swig_types[60]
270 #define SWIGTYPE_p_wxPoint swig_types[61]
271 #define SWIGTYPE_p_wxJoystickEvent swig_types[62]
272 #define SWIGTYPE_p_wxCursor swig_types[63]
273 #define SWIGTYPE_p_wxObject swig_types[64]
274 #define SWIGTYPE_p_wxOutputStream swig_types[65]
275 #define SWIGTYPE_p_wxDateTime swig_types[66]
276 #define SWIGTYPE_p_wxPyDropSource swig_types[67]
277 #define SWIGTYPE_p_wxWindow swig_types[68]
278 #define SWIGTYPE_p_wxString swig_types[69]
279 #define SWIGTYPE_p_wxPyProcess swig_types[70]
280 #define SWIGTYPE_p_wxBitmap swig_types[71]
281 #define SWIGTYPE_p_wxConfig swig_types[72]
282 #define SWIGTYPE_p_wxChar swig_types[73]
283 #define SWIGTYPE_p_wxBusyInfo swig_types[74]
284 #define SWIGTYPE_p_wxPyDropTarget swig_types[75]
285 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[76]
286 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[77]
287 #define SWIGTYPE_p_wxProcessEvent swig_types[78]
288 #define SWIGTYPE_p_wxPyLog swig_types[79]
289 #define SWIGTYPE_p_wxLogNull swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxConfigPathChanger swig_types[82]
292 #define SWIGTYPE_p_wxPyTimer swig_types[83]
293 #define SWIGTYPE_p_wxDateSpan swig_types[84]
294 static swig_type_info
*swig_types
[86];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
300 @(target):= _misc_.so
301 ------------------------------------------------*/
302 #define SWIG_init init_misc_
304 #define SWIG_name "_misc_"
306 /* Auxiliar swig macros */
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
334 #endif /* __cplusplus */
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
351 #include "wx/wxPython/pyistream.h"
354 static const wxString
wxPyEmptyString(wxEmptyString
);
361 SWIGSTATICINLINE(long)
362 SWIG_CheckLongInRange(long value
, const char* type
,
363 long min_value
, long max_value
)
365 if (!PyErr_Occurred()) {
366 if (value
< min_value
) {
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value
, type
, min_value
);
371 PyErr_SetObject(PyExc_OverflowError
, err
);
373 } else if (value
> max_value
) {
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value
, type
, max_value
);
377 PyErr_SetObject(PyExc_OverflowError
, err
);
385 SWIGSTATICINLINE(long)
386 SWIG_AsLong(PyObject
* obj
)
388 if (PyNumber_Check(obj
))
389 return PyInt_AsLong(obj
);
391 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
392 obj
->ob_type
->tp_name
);
393 PyErr_SetObject(PyExc_TypeError
, errmsg
);
400 #if INT_MAX != LONG_MAX
401 SWIGSTATICINLINE(int)
402 SWIG_AsInt(PyObject
*obj
)
404 return swig_numeric_cast(int,
405 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
406 "int", INT_MIN
, INT_MAX
));
409 #define SWIG_AsInt SWIG_AsLong
413 SWIGSTATICINLINE(int)
414 SWIG_CheckInt(PyObject
* obj
)
417 if (PyErr_Occurred()) {
425 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
426 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
427 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
429 SWIGSTATICINLINE(int)
430 SWIG_CheckLong(PyObject
* obj
)
433 if (PyErr_Occurred()) {
442 SWIGSTATICINLINE(bool)
443 SWIG_AsBool(PyObject
*obj
)
445 return PyObject_IsTrue(obj
) ? true : false;
449 SWIGSTATICINLINE(int)
450 SWIG_CheckBool(PyObject
* obj
)
453 if (PyErr_Occurred()) {
462 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
468 } else if (target
== Py_None
) {
472 if (!PyTuple_Check(target
)) {
474 target
= PyTuple_New(1);
475 PyTuple_SetItem(target
, 0, o2
);
478 PyTuple_SetItem(o3
, 0, o
);
481 target
= PySequence_Concat(o2
, o3
);
489 long wxGetFreeMemory()
490 { wxPyRaiseNotImplemented(); return 0; }
493 SWIGSTATICINLINE(unsigned long)
494 SWIG_AsUnsignedLong(PyObject
* obj
)
496 if (PyLong_Check(obj
)) {
497 return PyLong_AsUnsignedLong(obj
);
499 long i
= SWIG_AsLong(obj
);
500 if ( !PyErr_Occurred() && (i
< 0)) {
501 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
508 SWIGSTATICINLINE(int)
509 SWIG_CheckUnsignedLong(PyObject
* obj
)
511 SWIG_AsUnsignedLong(obj
);
512 if (PyErr_Occurred()) {
521 SWIGSTATICINLINE(PyObject
* )
522 SWIG_FromUnsignedLong(unsigned long value
)
524 return (value
> LONG_MAX
) ?
525 PyLong_FromUnsignedLong(value
)
526 : PyInt_FromLong(swig_numeric_cast(long,value
));
530 bool wxGetKeyState(wxKeyCode key
)
531 { wxPyRaiseNotImplemented(); return False
; }
534 void wxWakeUpMainThread() {}
537 bool wxThread_IsMain() {
538 #ifdef WXP_WITH_THREAD
539 return wxThread::IsMain();
546 int wxCaret_GetBlinkTime() {
547 return wxCaret::GetBlinkTime();
550 void wxCaret_SetBlinkTime(int milliseconds
) {
551 wxCaret::SetBlinkTime(milliseconds
);
555 #include <wx/snglinst.h>
559 #include <wx/msw/private.h>
560 #include <wx/dynload.h>
565 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
572 // This one only partially works. Appears to be an undocumented
573 // "standard" convention that not all widgets adhear to. For
574 // example, for some widgets backgrounds or non-client areas may
576 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
580 // This one works much better, except for on XP. On Win2k nearly
581 // all widgets and their children are captured correctly[**]. On
582 // XP with Themes activated most native widgets draw only
583 // partially, if at all. Without themes it works just like on
586 // ** For example the radio buttons in a wxRadioBox are not its
587 // children by default, but you can capture it via the panel
588 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
589 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
590 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
591 PRF_ERASEBKGND
| PRF_OWNED
);
595 // This one is only defined in the latest SDK and is only
596 // available on XP. MSDN says it is similar to sending WM_PRINT
597 // so I expect that it will work similar to the above. Since it
598 // is avaialble only on XP, it can't be compiled like this and
599 // will have to be loaded dynamically.
600 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
605 // Use PrintWindow if available, or fallback to WM_PRINT
606 // otherwise. Unfortunately using PrintWindow is even worse than
607 // WM_PRINT. For most native widgets nothing is drawn to the dc
608 // at all, with or without Themes.
609 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
610 static bool s_triedToLoad
= False
;
611 static PrintWindow_t pfnPrintWindow
= NULL
;
612 if ( !s_triedToLoad
)
615 s_triedToLoad
= True
;
616 wxDynamicLibrary
dllUser32(_T("user32.dll"));
617 if ( dllUser32
.IsLoaded() )
619 wxLogNull nolog
; // Don't report errors here
620 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
625 printf("Using PrintWindow\n");
626 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
630 printf("Using WM_PRINT\n");
631 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
632 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
640 #include <wx/tipdlg.h>
643 class wxPyTipProvider
: public wxTipProvider
{
645 wxPyTipProvider(size_t currentTip
)
646 : wxTipProvider(currentTip
) {}
648 DEC_PYCALLBACK_STRING__pure(GetTip
);
649 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
653 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
654 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
657 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
659 void wxPyTimer::Notify() {
661 bool blocked
= wxPyBeginBlockThreads();
662 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
663 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
664 wxPyEndBlockThreads(blocked
);
668 void wxPyTimer::base_Notify() {
674 SWIGSTATICINLINE(PyObject
*)
675 SWIG_FromCharPtr(const char* cptr
)
677 size_t size
= cptr
? strlen(cptr
) : 0;
679 if (size
> INT_MAX
) {
680 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
681 SWIG_TypeQuery("char *"), 0);
683 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
692 SWIGSTATICINLINE(unsigned long)
693 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
694 unsigned long max_value
)
696 if (!PyErr_Occurred()) {
697 if (value
> max_value
) {
699 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
700 value
, type
, max_value
);
701 PyErr_SetObject(PyExc_OverflowError
, err
);
709 #if UINT_MAX != ULONG_MAX
710 SWIGSTATICINLINE(unsigned int)
711 SWIG_AsUnsignedInt(PyObject
*obj
)
713 return swig_numeric_cast(unsigned int,
714 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
715 "unsigned int", UINT_MAX
));
718 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
722 SWIGSTATICINLINE(int)
723 SWIG_CheckUnsignedInt(PyObject
* obj
)
725 SWIG_AsUnsignedInt(obj
);
726 if (PyErr_Occurred()) {
734 wxString
Log_TimeStamp(){
736 wxLog::TimeStamp(&msg
);
739 void wxLog_Destroy(wxLog
*self
){ delete self
; }
741 // A wxLog class that can be derived from in wxPython
742 class wxPyLog
: public wxLog
{
744 wxPyLog() : wxLog() {}
746 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
748 bool blocked
= wxPyBeginBlockThreads();
749 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
750 PyObject
* s
= wx2PyString(szString
);
751 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
754 wxPyEndBlockThreads(blocked
);
756 wxLog::DoLog(level
, szString
, t
);
759 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
761 bool blocked
= wxPyBeginBlockThreads();
762 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
763 PyObject
* s
= wx2PyString(szString
);
764 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
767 wxPyEndBlockThreads(blocked
);
769 wxLog::DoLogString(szString
, t
);
778 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
781 #include <wx/joystick.h>
784 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
785 // A C++ stub class for wxJoystick for platforms that don't have it.
786 class wxJoystick
: public wxObject
{
788 wxJoystick(int joystick
= wxJOYSTICK1
) {
789 bool blocked
= wxPyBeginBlockThreads();
790 PyErr_SetString(PyExc_NotImplementedError
,
791 "wxJoystick is not available on this platform.");
792 wxPyEndBlockThreads(blocked
);
794 wxPoint
GetPosition() { return wxPoint(-1,-1); }
795 int GetZPosition() { return -1; }
796 int GetButtonState() { return -1; }
797 int GetPOVPosition() { return -1; }
798 int GetPOVCTSPosition() { return -1; }
799 int GetRudderPosition() { return -1; }
800 int GetUPosition() { return -1; }
801 int GetVPosition() { return -1; }
802 int GetMovementThreshold() { return -1; }
803 void SetMovementThreshold(int threshold
) {}
805 bool IsOk(void) { return False
; }
806 int GetNumberJoysticks() { return -1; }
807 int GetManufacturerId() { return -1; }
808 int GetProductId() { return -1; }
809 wxString
GetProductName() { return ""; }
810 int GetXMin() { return -1; }
811 int GetYMin() { return -1; }
812 int GetZMin() { return -1; }
813 int GetXMax() { return -1; }
814 int GetYMax() { return -1; }
815 int GetZMax() { return -1; }
816 int GetNumberButtons() { return -1; }
817 int GetNumberAxes() { return -1; }
818 int GetMaxButtons() { return -1; }
819 int GetMaxAxes() { return -1; }
820 int GetPollingMin() { return -1; }
821 int GetPollingMax() { return -1; }
822 int GetRudderMin() { return -1; }
823 int GetRudderMax() { return -1; }
824 int GetUMin() { return -1; }
825 int GetUMax() { return -1; }
826 int GetVMin() { return -1; }
827 int GetVMax() { return -1; }
829 bool HasRudder() { return False
; }
830 bool HasZ() { return False
; }
831 bool HasU() { return False
; }
832 bool HasV() { return False
; }
833 bool HasPOV() { return False
; }
834 bool HasPOV4Dir() { return False
; }
835 bool HasPOVCTS() { return False
; }
837 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
838 bool ReleaseCapture() { return False
; }
843 #include <wx/sound.h>
847 // A C++ stub class for wxWave for platforms that don't have it.
848 class wxSound
: public wxObject
852 bool blocked
= wxPyBeginBlockThreads();
853 PyErr_SetString(PyExc_NotImplementedError
,
854 "wxSound is not available on this platform.");
855 wxPyEndBlockThreads(blocked
);
857 wxSound(const wxString
&/*, bool*/) {
858 bool blocked
= wxPyBeginBlockThreads();
859 PyErr_SetString(PyExc_NotImplementedError
,
860 "wxSound is not available on this platform.");
861 wxPyEndBlockThreads(blocked
);
863 wxSound(int, const wxByte
*) {
864 bool blocked
= wxPyBeginBlockThreads();
865 PyErr_SetString(PyExc_NotImplementedError
,
866 "wxSound is not available on this platform.");
867 wxPyEndBlockThreads(blocked
);
872 bool Create(const wxString
&/*, bool*/) { return false; }
873 bool Create(int, const wxByte
*) { return false; };
874 bool IsOk() { return false; };
875 bool Play(unsigned) const { return false; }
876 static bool Play(const wxString
&, unsigned) { return false; }
877 static void Stop() {}
882 wxSound
*new_wxSound(wxString
const &fileName
){
883 if (fileName
.Length() == 0)
886 return new wxSound(fileName
);
888 wxSound
*new_wxSound(PyObject
*data
){
889 unsigned char* buffer
; int size
;
890 wxSound
*sound
= NULL
;
892 bool blocked
= wxPyBeginBlockThreads();
893 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
895 sound
= new wxSound(size
, buffer
);
897 wxPyEndBlockThreads(blocked
);
900 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
902 unsigned char* buffer
;
906 bool blocked
= wxPyBeginBlockThreads();
907 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
909 rv
= self
->Create(size
, buffer
);
911 wxPyEndBlockThreads(blocked
);
914 bool blocked
= wxPyBeginBlockThreads();
915 PyErr_SetString(PyExc_NotImplementedError
,
916 "Create from data is not available on this platform.");
917 wxPyEndBlockThreads(blocked
);
922 #include <wx/mimetype.h>
924 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
926 if (self
->GetMimeType(&str
))
927 return wx2PyString(str
);
931 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
933 if (self
->GetMimeTypes(arr
))
934 return wxArrayString2PyList_helper(arr
);
938 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
940 if (self
->GetExtensions(arr
))
941 return wxArrayString2PyList_helper(arr
);
945 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
947 if (self
->GetIcon(&loc
))
948 return new wxIcon(loc
);
952 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
954 if (self
->GetIcon(&loc
)) {
955 wxString iconFile
= loc
.GetFileName();
960 // Make a tuple and put the values in it
961 bool blocked
= wxPyBeginBlockThreads();
962 PyObject
* tuple
= PyTuple_New(3);
963 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
964 wxT("wxIcon"), True
));
965 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
966 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
967 wxPyEndBlockThreads(blocked
);
973 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
975 if (self
->GetDescription(&str
))
976 return wx2PyString(str
);
980 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
982 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
983 return wx2PyString(str
);
987 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
989 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
990 return wx2PyString(str
);
994 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
996 wxArrayString commands
;
997 if (self
->GetAllCommands(&verbs
, &commands
,
998 wxFileType::MessageParameters(filename
, mimetype
))) {
999 bool blocked
= wxPyBeginBlockThreads();
1000 PyObject
* tuple
= PyTuple_New(2);
1001 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
1002 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
1003 wxPyEndBlockThreads(blocked
);
1009 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1010 return wxFileType::ExpandCommand(command
,
1011 wxFileType::MessageParameters(filename
, mimetype
));
1013 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1015 self
->EnumAllFileTypes(arr
);
1016 return wxArrayString2PyList_helper(arr
);
1019 #include <wx/artprov.h>
1021 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1022 static const wxString
wxPyART_MENU(wxART_MENU
);
1023 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1024 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1025 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1026 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1027 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1028 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1029 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1030 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1031 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1032 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1033 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1034 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1035 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1036 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1037 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1038 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1039 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1040 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1041 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1042 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1043 static const wxString
wxPyART_HELP(wxART_HELP
);
1044 static const wxString
wxPyART_TIP(wxART_TIP
);
1045 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1046 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1047 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1048 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1049 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1050 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1051 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1052 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1053 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1054 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1055 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1056 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1057 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1058 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1059 // Python aware wxArtProvider
1060 class wxPyArtProvider
: public wxArtProvider
{
1063 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1064 const wxArtClient
& client
,
1065 const wxSize
& size
) {
1066 wxBitmap rval
= wxNullBitmap
;
1067 bool blocked
= wxPyBeginBlockThreads();
1068 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1069 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1073 s1
= wx2PyString(id
);
1074 s2
= wx2PyString(client
);
1075 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1080 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1085 wxPyEndBlockThreads(blocked
);
1092 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1096 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1097 PyObject
* ret
= PyTuple_New(3);
1099 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1100 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1101 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1106 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1111 cont
= self
->GetFirstGroup(value
, index
);
1112 return __EnumerationHelper(cont
, value
, index
);
1114 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1118 cont
= self
->GetNextGroup(value
, index
);
1119 return __EnumerationHelper(cont
, value
, index
);
1121 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1126 cont
= self
->GetFirstEntry(value
, index
);
1127 return __EnumerationHelper(cont
, value
, index
);
1129 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1133 cont
= self
->GetNextEntry(value
, index
);
1134 return __EnumerationHelper(cont
, value
, index
);
1136 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1138 self
->Read(key
, &rv
, defaultVal
);
1142 SWIGSTATICINLINE(double)
1143 SWIG_AsDouble(PyObject
*obj
)
1145 if (PyNumber_Check(obj
))
1146 return PyFloat_AsDouble(obj
);
1148 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1149 obj
->ob_type
->tp_name
);
1150 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1157 SWIGSTATICINLINE(int)
1158 SWIG_CheckDouble(PyObject
* obj
)
1161 if (PyErr_Occurred()) {
1169 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1171 self
->Read(key
, &rv
, defaultVal
);
1174 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1176 self
->Read(key
, &rv
, defaultVal
);
1180 #include <wx/datetime.h>
1183 static const wxString
wxPyDateFormatStr(wxT("%c"));
1184 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1186 #define LOCAL_TZ wxDateTime::Local
1189 #if UINT_MAX < LONG_MAX
1190 #define SWIG_FromUnsignedInt SWIG_FromLong
1192 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1195 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1196 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1197 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1198 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1199 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1200 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1201 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1202 return (*self
< *other
);
1204 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1205 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1206 return (*self
<= *other
);
1208 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1209 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1210 return (*self
> *other
);
1212 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1213 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1214 return (*self
>= *other
);
1216 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1217 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1218 return (*self
== *other
);
1220 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1221 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1222 return (*self
!= *other
);
1224 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1226 const wxChar
* _date
= date
;
1227 rv
= self
->ParseRfc822Date(_date
);
1228 if (rv
== NULL
) return -1;
1231 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1233 const wxChar
* _date
= date
;
1234 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1235 if (rv
== NULL
) return -1;
1238 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1240 const wxChar
* _datetime
= datetime
;
1241 rv
= self
->ParseDateTime(_datetime
);
1242 if (rv
== NULL
) return -1;
1243 return rv
- _datetime
;
1245 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1247 const wxChar
* _date
= date
;
1248 rv
= self
->ParseDate(_date
);
1249 if (rv
== NULL
) return -1;
1252 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1254 const wxChar
* _time
= time
;
1255 rv
= self
->ParseTime(_time
);
1256 if (rv
== NULL
) return -1;
1259 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1260 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1261 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1262 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1263 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1264 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1265 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1266 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1267 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1268 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1269 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1270 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1271 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1272 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1273 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1274 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1276 #include <wx/dataobj.h>
1278 // Create a new class for wxPython to use
1279 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1281 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1282 : wxDataObjectSimple(format
) {}
1284 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1285 bool GetDataHere(void *buf
) const;
1286 bool SetData(size_t len
, const void *buf
) const;
1290 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1292 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1293 // We need to get the data for this object and write it to buf. I think
1294 // the best way to do this for wxPython is to have the Python method
1295 // return either a string or None and then act appropriately with the
1299 bool blocked
= wxPyBeginBlockThreads();
1300 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1302 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1304 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1306 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1310 wxPyEndBlockThreads(blocked
);
1314 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1315 // For this one we simply need to make a string from buf and len
1316 // and send it to the Python method.
1318 bool blocked
= wxPyBeginBlockThreads();
1319 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1320 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1321 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1324 wxPyEndBlockThreads(blocked
);
1328 // Create a new class for wxPython to use
1329 class wxPyTextDataObject
: public wxTextDataObject
{
1331 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1332 : wxTextDataObject(text
) {}
1334 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1335 DEC_PYCALLBACK_STRING__const(GetText
);
1336 DEC_PYCALLBACK__STRING(SetText
);
1340 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1341 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1342 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1345 // Create a new class for wxPython to use
1346 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1348 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1349 : wxBitmapDataObject(bitmap
) {}
1351 wxBitmap
GetBitmap() const;
1352 void SetBitmap(const wxBitmap
& bitmap
);
1356 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1357 wxBitmap
* rval
= &wxNullBitmap
;
1358 bool blocked
= wxPyBeginBlockThreads();
1359 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1362 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1364 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1369 wxPyEndBlockThreads(blocked
);
1373 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1374 bool blocked
= wxPyBeginBlockThreads();
1375 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1376 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1377 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1380 wxPyEndBlockThreads(blocked
);
1383 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1384 if (PyString_Check(data
)) {
1385 // for Python we just call SetData here since we always need it to make a copy.
1386 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1389 // raise a TypeError if not a string
1390 PyErr_SetString(PyExc_TypeError
, "String expected.");
1393 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1394 if (PyString_Check(data
)) {
1395 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1398 // raise a TypeError if not a string
1399 PyErr_SetString(PyExc_TypeError
, "String expected.");
1403 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1404 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1407 class wxMetafileDataObject
: public wxDataObjectSimple
1410 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
1414 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1417 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1418 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1419 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1420 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1421 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1424 class wxPyTextDropTarget
: public wxTextDropTarget
{
1426 wxPyTextDropTarget() {}
1428 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1430 DEC_PYCALLBACK__(OnLeave
);
1431 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1432 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1433 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1434 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1439 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1440 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1441 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1442 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1443 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1444 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1448 class wxPyFileDropTarget
: public wxFileDropTarget
{
1450 wxPyFileDropTarget() {}
1452 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1454 DEC_PYCALLBACK__(OnLeave
);
1455 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1456 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1457 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1458 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1463 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1464 const wxArrayString
& filenames
) {
1466 bool blocked
= wxPyBeginBlockThreads();
1467 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1468 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1469 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1472 wxPyEndBlockThreads(blocked
);
1478 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1479 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1480 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1481 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1482 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1487 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1489 #include "wx/display.h"
1491 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1492 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1493 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1494 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1495 PyObject
* pyList
= NULL
;
1496 wxArrayVideoModes arr
= self
->GetModes(mode
);
1497 bool blocked
= wxPyBeginBlockThreads();
1498 pyList
= PyList_New(0);
1499 for (int i
=0; i
< arr
.GetCount(); i
++) {
1500 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1501 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1502 PyList_Append(pyList
, pyObj
);
1504 wxPyEndBlockThreads(blocked
);
1510 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1511 PyObject
*resultobj
;
1514 PyObject
* obj0
= 0 ;
1516 (char *) "index", NULL
1519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1520 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1521 if (PyErr_Occurred()) SWIG_fail
;
1523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1524 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1526 wxPyEndAllowThreads(__tstate
);
1527 if (PyErr_Occurred()) SWIG_fail
;
1530 wxColour
* resultptr
;
1531 resultptr
= new wxColour((wxColour
&) result
);
1532 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1540 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1541 PyObject
*resultobj
;
1544 PyObject
* obj0
= 0 ;
1546 (char *) "index", NULL
1549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1550 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1551 if (PyErr_Occurred()) SWIG_fail
;
1553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1554 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1556 wxPyEndAllowThreads(__tstate
);
1557 if (PyErr_Occurred()) SWIG_fail
;
1561 resultptr
= new wxFont((wxFont
&) result
);
1562 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1570 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1571 PyObject
*resultobj
;
1574 PyObject
* obj0
= 0 ;
1576 (char *) "index", NULL
1579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1580 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1581 if (PyErr_Occurred()) SWIG_fail
;
1583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1584 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1586 wxPyEndAllowThreads(__tstate
);
1587 if (PyErr_Occurred()) SWIG_fail
;
1589 resultobj
= SWIG_FromInt((int)result
);
1596 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1597 PyObject
*resultobj
;
1600 PyObject
* obj0
= 0 ;
1602 (char *) "index", NULL
1605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1606 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1607 if (PyErr_Occurred()) SWIG_fail
;
1609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1610 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1612 wxPyEndAllowThreads(__tstate
);
1613 if (PyErr_Occurred()) SWIG_fail
;
1616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1624 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1625 PyObject
*resultobj
;
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1634 result
= (int)wxSystemSettings::GetScreenType();
1636 wxPyEndAllowThreads(__tstate
);
1637 if (PyErr_Occurred()) SWIG_fail
;
1639 resultobj
= SWIG_FromInt((int)result
);
1646 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1647 PyObject
*resultobj
;
1649 PyObject
* obj0
= 0 ;
1651 (char *) "screen", NULL
1654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1655 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1656 if (PyErr_Occurred()) SWIG_fail
;
1658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1659 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1661 wxPyEndAllowThreads(__tstate
);
1662 if (PyErr_Occurred()) SWIG_fail
;
1664 Py_INCREF(Py_None
); resultobj
= Py_None
;
1671 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1674 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1676 return Py_BuildValue((char *)"");
1678 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1679 PyObject
*resultobj
;
1680 wxSystemOptions
*result
;
1685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1688 result
= (wxSystemOptions
*)new wxSystemOptions();
1690 wxPyEndAllowThreads(__tstate
);
1691 if (PyErr_Occurred()) SWIG_fail
;
1693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1700 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
*resultobj
;
1702 wxString
*arg1
= 0 ;
1703 wxString
*arg2
= 0 ;
1704 bool temp1
= False
;
1705 bool temp2
= False
;
1706 PyObject
* obj0
= 0 ;
1707 PyObject
* obj1
= 0 ;
1709 (char *) "name",(char *) "value", NULL
1712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1714 arg1
= wxString_in_helper(obj0
);
1715 if (arg1
== NULL
) SWIG_fail
;
1719 arg2
= wxString_in_helper(obj1
);
1720 if (arg2
== NULL
) SWIG_fail
;
1724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1725 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1727 wxPyEndAllowThreads(__tstate
);
1728 if (PyErr_Occurred()) SWIG_fail
;
1730 Py_INCREF(Py_None
); resultobj
= Py_None
;
1753 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1754 PyObject
*resultobj
;
1755 wxString
*arg1
= 0 ;
1757 bool temp1
= False
;
1758 PyObject
* obj0
= 0 ;
1759 PyObject
* obj1
= 0 ;
1761 (char *) "name",(char *) "value", NULL
1764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1766 arg1
= wxString_in_helper(obj0
);
1767 if (arg1
== NULL
) SWIG_fail
;
1770 arg2
= (int) SWIG_AsInt(obj1
);
1771 if (PyErr_Occurred()) SWIG_fail
;
1773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1774 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1776 wxPyEndAllowThreads(__tstate
);
1777 if (PyErr_Occurred()) SWIG_fail
;
1779 Py_INCREF(Py_None
); resultobj
= Py_None
;
1794 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1795 PyObject
*resultobj
;
1796 wxString
*arg1
= 0 ;
1798 bool temp1
= False
;
1799 PyObject
* obj0
= 0 ;
1801 (char *) "name", NULL
1804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1806 arg1
= wxString_in_helper(obj0
);
1807 if (arg1
== NULL
) SWIG_fail
;
1811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1812 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1814 wxPyEndAllowThreads(__tstate
);
1815 if (PyErr_Occurred()) SWIG_fail
;
1819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1838 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
*resultobj
;
1840 wxString
*arg1
= 0 ;
1842 bool temp1
= False
;
1843 PyObject
* obj0
= 0 ;
1845 (char *) "name", NULL
1848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1850 arg1
= wxString_in_helper(obj0
);
1851 if (arg1
== NULL
) SWIG_fail
;
1855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1856 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1858 wxPyEndAllowThreads(__tstate
);
1859 if (PyErr_Occurred()) SWIG_fail
;
1861 resultobj
= SWIG_FromInt((int)result
);
1876 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1877 PyObject
*resultobj
;
1878 wxString
*arg1
= 0 ;
1880 bool temp1
= False
;
1881 PyObject
* obj0
= 0 ;
1883 (char *) "name", NULL
1886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1888 arg1
= wxString_in_helper(obj0
);
1889 if (arg1
== NULL
) SWIG_fail
;
1893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1894 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1896 wxPyEndAllowThreads(__tstate
);
1897 if (PyErr_Occurred()) SWIG_fail
;
1900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1916 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1919 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1921 return Py_BuildValue((char *)"");
1923 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1924 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1929 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1934 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1936 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1943 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
1944 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1949 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1954 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1956 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1963 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
1964 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1969 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1974 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1976 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1983 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1984 PyObject
*resultobj
;
1990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1993 result
= (long)wxNewId();
1995 wxPyEndAllowThreads(__tstate
);
1996 if (PyErr_Occurred()) SWIG_fail
;
1998 resultobj
= SWIG_FromLong((long)result
);
2005 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2006 PyObject
*resultobj
;
2008 PyObject
* obj0
= 0 ;
2013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2014 arg1
= (long) SWIG_AsLong(obj0
);
2015 if (PyErr_Occurred()) SWIG_fail
;
2017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2020 wxPyEndAllowThreads(__tstate
);
2021 if (PyErr_Occurred()) SWIG_fail
;
2023 Py_INCREF(Py_None
); resultobj
= Py_None
;
2030 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2031 PyObject
*resultobj
;
2037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2040 result
= (long)wxGetCurrentId();
2042 wxPyEndAllowThreads(__tstate
);
2043 if (PyErr_Occurred()) SWIG_fail
;
2045 resultobj
= SWIG_FromLong((long)result
);
2052 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2053 PyObject
*resultobj
;
2058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2063 wxPyEndAllowThreads(__tstate
);
2064 if (PyErr_Occurred()) SWIG_fail
;
2066 Py_INCREF(Py_None
); resultobj
= Py_None
;
2073 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2074 PyObject
*resultobj
;
2079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2084 wxPyEndAllowThreads(__tstate
);
2085 if (PyErr_Occurred()) SWIG_fail
;
2087 Py_INCREF(Py_None
); resultobj
= Py_None
;
2094 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
*resultobj
;
2096 bool arg1
= (bool) True
;
2098 PyObject
* obj0
= 0 ;
2100 (char *) "resetTimer", NULL
2103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2105 arg1
= (bool) SWIG_AsBool(obj0
);
2106 if (PyErr_Occurred()) SWIG_fail
;
2109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2110 result
= (long)wxGetElapsedTime(arg1
);
2112 wxPyEndAllowThreads(__tstate
);
2113 if (PyErr_Occurred()) SWIG_fail
;
2115 resultobj
= SWIG_FromLong((long)result
);
2122 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2123 PyObject
*resultobj
;
2124 int *arg1
= (int *) 0 ;
2125 int *arg2
= (int *) 0 ;
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2137 wxGetMousePosition(arg1
,arg2
);
2139 wxPyEndAllowThreads(__tstate
);
2140 if (PyErr_Occurred()) SWIG_fail
;
2142 Py_INCREF(Py_None
); resultobj
= Py_None
;
2144 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2145 resultobj
= t_output_helper(resultobj
,o
);
2148 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2149 resultobj
= t_output_helper(resultobj
,o
);
2157 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2158 PyObject
*resultobj
;
2164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2167 result
= (bool)wxIsBusy();
2169 wxPyEndAllowThreads(__tstate
);
2170 if (PyErr_Occurred()) SWIG_fail
;
2173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2181 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2182 PyObject
*resultobj
;
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2193 wxPyEndAllowThreads(__tstate
);
2194 if (PyErr_Occurred()) SWIG_fail
;
2198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2209 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
*resultobj
;
2211 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2212 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2214 bool temp1
= False
;
2215 PyObject
* obj0
= 0 ;
2217 (char *) "command", NULL
2220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2223 arg1
= wxString_in_helper(obj0
);
2224 if (arg1
== NULL
) SWIG_fail
;
2229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2230 result
= (bool)wxShell((wxString
const &)*arg1
);
2232 wxPyEndAllowThreads(__tstate
);
2233 if (PyErr_Occurred()) SWIG_fail
;
2236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2252 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2253 PyObject
*resultobj
;
2258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2263 wxPyEndAllowThreads(__tstate
);
2264 if (PyErr_Occurred()) SWIG_fail
;
2266 Py_INCREF(Py_None
); resultobj
= Py_None
;
2273 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2274 PyObject
*resultobj
;
2275 int *arg1
= (int *) 0 ;
2276 int *arg2
= (int *) 0 ;
2286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2289 result
= (int)wxGetOsVersion(arg1
,arg2
);
2291 wxPyEndAllowThreads(__tstate
);
2292 if (PyErr_Occurred()) SWIG_fail
;
2294 resultobj
= SWIG_FromInt((int)result
);
2296 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2297 resultobj
= t_output_helper(resultobj
,o
);
2300 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2301 resultobj
= t_output_helper(resultobj
,o
);
2309 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2310 PyObject
*resultobj
;
2316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2319 result
= wxGetOsDescription();
2321 wxPyEndAllowThreads(__tstate
);
2322 if (PyErr_Occurred()) SWIG_fail
;
2326 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2328 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2337 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2338 PyObject
*resultobj
;
2344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2347 result
= (long)wxGetFreeMemory();
2349 wxPyEndAllowThreads(__tstate
);
2350 if (PyErr_Occurred()) SWIG_fail
;
2352 resultobj
= SWIG_FromLong((long)result
);
2359 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2360 PyObject
*resultobj
;
2363 PyObject
* obj0
= 0 ;
2365 (char *) "wFlags", NULL
2368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2369 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2370 if (PyErr_Occurred()) SWIG_fail
;
2372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2373 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2375 wxPyEndAllowThreads(__tstate
);
2376 if (PyErr_Occurred()) SWIG_fail
;
2379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2387 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2388 PyObject
*resultobj
;
2390 PyObject
* obj0
= 0 ;
2392 (char *) "secs", NULL
2395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2396 arg1
= (int) SWIG_AsInt(obj0
);
2397 if (PyErr_Occurred()) SWIG_fail
;
2399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2402 wxPyEndAllowThreads(__tstate
);
2403 if (PyErr_Occurred()) SWIG_fail
;
2405 Py_INCREF(Py_None
); resultobj
= Py_None
;
2412 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2413 PyObject
*resultobj
;
2414 unsigned long arg1
;
2415 PyObject
* obj0
= 0 ;
2417 (char *) "milliseconds", NULL
2420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2421 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2422 if (PyErr_Occurred()) SWIG_fail
;
2424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2427 wxPyEndAllowThreads(__tstate
);
2428 if (PyErr_Occurred()) SWIG_fail
;
2430 Py_INCREF(Py_None
); resultobj
= Py_None
;
2437 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2438 PyObject
*resultobj
;
2440 PyObject
* obj0
= 0 ;
2442 (char *) "enable", NULL
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2446 arg1
= (bool) SWIG_AsBool(obj0
);
2447 if (PyErr_Occurred()) SWIG_fail
;
2449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2450 wxEnableTopLevelWindows(arg1
);
2452 wxPyEndAllowThreads(__tstate
);
2453 if (PyErr_Occurred()) SWIG_fail
;
2455 Py_INCREF(Py_None
); resultobj
= Py_None
;
2462 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2463 PyObject
*resultobj
;
2464 wxString
*arg1
= 0 ;
2466 bool temp1
= False
;
2467 PyObject
* obj0
= 0 ;
2472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2474 arg1
= wxString_in_helper(obj0
);
2475 if (arg1
== NULL
) SWIG_fail
;
2479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2480 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2482 wxPyEndAllowThreads(__tstate
);
2483 if (PyErr_Occurred()) SWIG_fail
;
2487 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2489 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2506 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2507 PyObject
*resultobj
;
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2516 result
= wxGetEmailAddress();
2518 wxPyEndAllowThreads(__tstate
);
2519 if (PyErr_Occurred()) SWIG_fail
;
2523 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2525 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2534 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
*resultobj
;
2541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2544 result
= wxGetHostName();
2546 wxPyEndAllowThreads(__tstate
);
2547 if (PyErr_Occurred()) SWIG_fail
;
2551 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2553 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2562 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2563 PyObject
*resultobj
;
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 result
= wxGetFullHostName();
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2579 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2581 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2590 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
*resultobj
;
2597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2600 result
= wxGetUserId();
2602 wxPyEndAllowThreads(__tstate
);
2603 if (PyErr_Occurred()) SWIG_fail
;
2607 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2609 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2618 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
*resultobj
;
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2628 result
= wxGetUserName();
2630 wxPyEndAllowThreads(__tstate
);
2631 if (PyErr_Occurred()) SWIG_fail
;
2635 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2637 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2646 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2647 PyObject
*resultobj
;
2653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2656 result
= wxGetHomeDir();
2658 wxPyEndAllowThreads(__tstate
);
2659 if (PyErr_Occurred()) SWIG_fail
;
2663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2674 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
*resultobj
;
2676 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2677 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2679 bool temp1
= False
;
2680 PyObject
* obj0
= 0 ;
2682 (char *) "user", NULL
2685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2688 arg1
= wxString_in_helper(obj0
);
2689 if (arg1
== NULL
) SWIG_fail
;
2694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2695 result
= wxGetUserHome((wxString
const &)*arg1
);
2697 wxPyEndAllowThreads(__tstate
);
2698 if (PyErr_Occurred()) SWIG_fail
;
2702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2721 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2722 PyObject
*resultobj
;
2723 unsigned long result
;
2728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 result
= (unsigned long)wxGetProcessId();
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2736 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2743 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
*resultobj
;
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2754 wxPyEndAllowThreads(__tstate
);
2755 if (PyErr_Occurred()) SWIG_fail
;
2757 Py_INCREF(Py_None
); resultobj
= Py_None
;
2764 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2765 PyObject
*resultobj
;
2766 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2767 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2768 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2769 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2770 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2771 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2772 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2773 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2774 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2775 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2776 int arg6
= (int) 0 ;
2777 wxWindow
*arg7
= (wxWindow
*) NULL
;
2778 int arg8
= (int) -1 ;
2779 int arg9
= (int) -1 ;
2781 bool temp1
= False
;
2782 bool temp2
= False
;
2783 bool temp3
= False
;
2784 bool temp4
= False
;
2785 bool temp5
= False
;
2786 PyObject
* obj0
= 0 ;
2787 PyObject
* obj1
= 0 ;
2788 PyObject
* obj2
= 0 ;
2789 PyObject
* obj3
= 0 ;
2790 PyObject
* obj4
= 0 ;
2791 PyObject
* obj5
= 0 ;
2792 PyObject
* obj6
= 0 ;
2793 PyObject
* obj7
= 0 ;
2794 PyObject
* obj8
= 0 ;
2796 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2802 arg1
= wxString_in_helper(obj0
);
2803 if (arg1
== NULL
) SWIG_fail
;
2809 arg2
= wxString_in_helper(obj1
);
2810 if (arg2
== NULL
) SWIG_fail
;
2816 arg3
= wxString_in_helper(obj2
);
2817 if (arg3
== NULL
) SWIG_fail
;
2823 arg4
= wxString_in_helper(obj3
);
2824 if (arg4
== NULL
) SWIG_fail
;
2830 arg5
= wxString_in_helper(obj4
);
2831 if (arg5
== NULL
) SWIG_fail
;
2836 arg6
= (int) SWIG_AsInt(obj5
);
2837 if (PyErr_Occurred()) SWIG_fail
;
2840 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2844 arg8
= (int) SWIG_AsInt(obj7
);
2845 if (PyErr_Occurred()) SWIG_fail
;
2848 arg9
= (int) SWIG_AsInt(obj8
);
2849 if (PyErr_Occurred()) SWIG_fail
;
2852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2853 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2855 wxPyEndAllowThreads(__tstate
);
2856 if (PyErr_Occurred()) SWIG_fail
;
2860 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2862 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2911 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
*resultobj
;
2913 wxString
*arg1
= 0 ;
2914 wxString
*arg2
= 0 ;
2915 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2916 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2917 wxWindow
*arg4
= (wxWindow
*) NULL
;
2919 bool temp1
= False
;
2920 bool temp2
= False
;
2921 bool temp3
= False
;
2922 PyObject
* obj0
= 0 ;
2923 PyObject
* obj1
= 0 ;
2924 PyObject
* obj2
= 0 ;
2925 PyObject
* obj3
= 0 ;
2927 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2932 arg1
= wxString_in_helper(obj0
);
2933 if (arg1
== NULL
) SWIG_fail
;
2937 arg2
= wxString_in_helper(obj1
);
2938 if (arg2
== NULL
) SWIG_fail
;
2943 arg3
= wxString_in_helper(obj2
);
2944 if (arg3
== NULL
) SWIG_fail
;
2949 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2954 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2956 wxPyEndAllowThreads(__tstate
);
2957 if (PyErr_Occurred()) SWIG_fail
;
2961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2996 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
*resultobj
;
2998 wxString
*arg1
= 0 ;
2999 wxString
*arg2
= 0 ;
3000 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3001 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3002 wxWindow
*arg4
= (wxWindow
*) NULL
;
3004 bool temp1
= False
;
3005 bool temp2
= False
;
3006 bool temp3
= False
;
3007 PyObject
* obj0
= 0 ;
3008 PyObject
* obj1
= 0 ;
3009 PyObject
* obj2
= 0 ;
3010 PyObject
* obj3
= 0 ;
3012 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3017 arg1
= wxString_in_helper(obj0
);
3018 if (arg1
== NULL
) SWIG_fail
;
3022 arg2
= wxString_in_helper(obj1
);
3023 if (arg2
== NULL
) SWIG_fail
;
3028 arg3
= wxString_in_helper(obj2
);
3029 if (arg3
== NULL
) SWIG_fail
;
3034 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3039 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3041 wxPyEndAllowThreads(__tstate
);
3042 if (PyErr_Occurred()) SWIG_fail
;
3046 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3048 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3081 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
*resultobj
;
3083 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3084 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3085 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3086 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3087 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3088 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3089 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3090 wxWindow
*arg5
= (wxWindow
*) NULL
;
3092 bool temp1
= False
;
3093 bool temp2
= False
;
3095 PyObject
* obj0
= 0 ;
3096 PyObject
* obj1
= 0 ;
3097 PyObject
* obj2
= 0 ;
3098 PyObject
* obj3
= 0 ;
3099 PyObject
* obj4
= 0 ;
3101 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3107 arg1
= wxString_in_helper(obj0
);
3108 if (arg1
== NULL
) SWIG_fail
;
3114 arg2
= wxString_in_helper(obj1
);
3115 if (arg2
== NULL
) SWIG_fail
;
3120 arg3
= (long) SWIG_AsLong(obj2
);
3121 if (PyErr_Occurred()) SWIG_fail
;
3126 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3130 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3135 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3137 wxPyEndAllowThreads(__tstate
);
3138 if (PyErr_Occurred()) SWIG_fail
;
3142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3169 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
*resultobj
;
3171 wxString
*arg1
= 0 ;
3172 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3173 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3174 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3175 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3176 wxWindow
*arg4
= (wxWindow
*) NULL
;
3177 int arg5
= (int) -1 ;
3178 int arg6
= (int) -1 ;
3179 bool arg7
= (bool) True
;
3181 bool temp1
= False
;
3182 bool temp2
= False
;
3183 bool temp3
= False
;
3184 PyObject
* obj0
= 0 ;
3185 PyObject
* obj1
= 0 ;
3186 PyObject
* obj2
= 0 ;
3187 PyObject
* obj3
= 0 ;
3188 PyObject
* obj4
= 0 ;
3189 PyObject
* obj5
= 0 ;
3190 PyObject
* obj6
= 0 ;
3192 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3197 arg1
= wxString_in_helper(obj0
);
3198 if (arg1
== NULL
) SWIG_fail
;
3203 arg2
= wxString_in_helper(obj1
);
3204 if (arg2
== NULL
) SWIG_fail
;
3210 arg3
= wxString_in_helper(obj2
);
3211 if (arg3
== NULL
) SWIG_fail
;
3216 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3220 arg5
= (int) SWIG_AsInt(obj4
);
3221 if (PyErr_Occurred()) SWIG_fail
;
3224 arg6
= (int) SWIG_AsInt(obj5
);
3225 if (PyErr_Occurred()) SWIG_fail
;
3228 arg7
= (bool) SWIG_AsBool(obj6
);
3229 if (PyErr_Occurred()) SWIG_fail
;
3232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3233 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3235 wxPyEndAllowThreads(__tstate
);
3236 if (PyErr_Occurred()) SWIG_fail
;
3240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3275 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
*resultobj
;
3277 wxString
*arg1
= 0 ;
3278 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3279 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3280 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3281 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3282 wxWindow
*arg4
= (wxWindow
*) NULL
;
3284 bool temp1
= False
;
3285 bool temp2
= False
;
3286 bool temp3
= False
;
3287 PyObject
* obj0
= 0 ;
3288 PyObject
* obj1
= 0 ;
3289 PyObject
* obj2
= 0 ;
3290 PyObject
* obj3
= 0 ;
3292 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3297 arg1
= wxString_in_helper(obj0
);
3298 if (arg1
== NULL
) SWIG_fail
;
3303 arg2
= wxString_in_helper(obj1
);
3304 if (arg2
== NULL
) SWIG_fail
;
3310 arg3
= wxString_in_helper(obj2
);
3311 if (arg3
== NULL
) SWIG_fail
;
3316 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3323 wxPyEndAllowThreads(__tstate
);
3324 if (PyErr_Occurred()) SWIG_fail
;
3328 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3330 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3363 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3364 PyObject
*resultobj
;
3365 wxString
*arg1
= 0 ;
3366 wxString
*arg2
= 0 ;
3368 wxString
*arg4
= (wxString
*) 0 ;
3369 wxWindow
*arg5
= (wxWindow
*) NULL
;
3370 int arg6
= (int) -1 ;
3371 int arg7
= (int) -1 ;
3372 bool arg8
= (bool) True
;
3373 int arg9
= (int) 150 ;
3374 int arg10
= (int) 200 ;
3376 bool temp1
= False
;
3377 bool temp2
= False
;
3378 PyObject
* obj0
= 0 ;
3379 PyObject
* obj1
= 0 ;
3380 PyObject
* obj2
= 0 ;
3381 PyObject
* obj3
= 0 ;
3382 PyObject
* obj4
= 0 ;
3383 PyObject
* obj5
= 0 ;
3384 PyObject
* obj6
= 0 ;
3385 PyObject
* obj7
= 0 ;
3386 PyObject
* obj8
= 0 ;
3388 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3393 arg1
= wxString_in_helper(obj0
);
3394 if (arg1
== NULL
) SWIG_fail
;
3398 arg2
= wxString_in_helper(obj1
);
3399 if (arg2
== NULL
) SWIG_fail
;
3403 arg3
= PyList_Size(obj2
);
3404 arg4
= wxString_LIST_helper(obj2
);
3405 if (arg4
== NULL
) SWIG_fail
;
3408 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3412 arg6
= (int) SWIG_AsInt(obj4
);
3413 if (PyErr_Occurred()) SWIG_fail
;
3416 arg7
= (int) SWIG_AsInt(obj5
);
3417 if (PyErr_Occurred()) SWIG_fail
;
3420 arg8
= (bool) SWIG_AsBool(obj6
);
3421 if (PyErr_Occurred()) SWIG_fail
;
3424 arg9
= (int) SWIG_AsInt(obj7
);
3425 if (PyErr_Occurred()) SWIG_fail
;
3428 arg10
= (int) SWIG_AsInt(obj8
);
3429 if (PyErr_Occurred()) SWIG_fail
;
3432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3433 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3435 wxPyEndAllowThreads(__tstate
);
3436 if (PyErr_Occurred()) SWIG_fail
;
3440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3454 if (arg4
) delete [] arg4
;
3467 if (arg4
) delete [] arg4
;
3473 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3474 PyObject
*resultobj
;
3475 wxString
*arg1
= 0 ;
3476 wxString
*arg2
= 0 ;
3478 wxString
*arg4
= (wxString
*) 0 ;
3479 wxWindow
*arg5
= (wxWindow
*) NULL
;
3480 int arg6
= (int) -1 ;
3481 int arg7
= (int) -1 ;
3482 bool arg8
= (bool) True
;
3483 int arg9
= (int) 150 ;
3484 int arg10
= (int) 200 ;
3486 bool temp1
= False
;
3487 bool temp2
= False
;
3488 PyObject
* obj0
= 0 ;
3489 PyObject
* obj1
= 0 ;
3490 PyObject
* obj2
= 0 ;
3491 PyObject
* obj3
= 0 ;
3492 PyObject
* obj4
= 0 ;
3493 PyObject
* obj5
= 0 ;
3494 PyObject
* obj6
= 0 ;
3495 PyObject
* obj7
= 0 ;
3496 PyObject
* obj8
= 0 ;
3498 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3503 arg1
= wxString_in_helper(obj0
);
3504 if (arg1
== NULL
) SWIG_fail
;
3508 arg2
= wxString_in_helper(obj1
);
3509 if (arg2
== NULL
) SWIG_fail
;
3513 arg3
= PyList_Size(obj2
);
3514 arg4
= wxString_LIST_helper(obj2
);
3515 if (arg4
== NULL
) SWIG_fail
;
3518 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3522 arg6
= (int) SWIG_AsInt(obj4
);
3523 if (PyErr_Occurred()) SWIG_fail
;
3526 arg7
= (int) SWIG_AsInt(obj5
);
3527 if (PyErr_Occurred()) SWIG_fail
;
3530 arg8
= (bool) SWIG_AsBool(obj6
);
3531 if (PyErr_Occurred()) SWIG_fail
;
3534 arg9
= (int) SWIG_AsInt(obj7
);
3535 if (PyErr_Occurred()) SWIG_fail
;
3538 arg10
= (int) SWIG_AsInt(obj8
);
3539 if (PyErr_Occurred()) SWIG_fail
;
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3543 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3548 resultobj
= SWIG_FromInt((int)result
);
3558 if (arg4
) delete [] arg4
;
3571 if (arg4
) delete [] arg4
;
3577 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3578 PyObject
*resultobj
;
3579 wxString
*arg1
= 0 ;
3580 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3581 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3582 int arg3
= (int) wxOK
|wxCENTRE
;
3583 wxWindow
*arg4
= (wxWindow
*) NULL
;
3584 int arg5
= (int) -1 ;
3585 int arg6
= (int) -1 ;
3587 bool temp1
= False
;
3588 bool temp2
= False
;
3589 PyObject
* obj0
= 0 ;
3590 PyObject
* obj1
= 0 ;
3591 PyObject
* obj2
= 0 ;
3592 PyObject
* obj3
= 0 ;
3593 PyObject
* obj4
= 0 ;
3594 PyObject
* obj5
= 0 ;
3596 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3601 arg1
= wxString_in_helper(obj0
);
3602 if (arg1
== NULL
) SWIG_fail
;
3607 arg2
= wxString_in_helper(obj1
);
3608 if (arg2
== NULL
) SWIG_fail
;
3613 arg3
= (int) SWIG_AsInt(obj2
);
3614 if (PyErr_Occurred()) SWIG_fail
;
3617 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3621 arg5
= (int) SWIG_AsInt(obj4
);
3622 if (PyErr_Occurred()) SWIG_fail
;
3625 arg6
= (int) SWIG_AsInt(obj5
);
3626 if (PyErr_Occurred()) SWIG_fail
;
3629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3630 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3632 wxPyEndAllowThreads(__tstate
);
3633 if (PyErr_Occurred()) SWIG_fail
;
3635 resultobj
= SWIG_FromInt((int)result
);
3658 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
*resultobj
;
3660 wxString
*arg1
= 0 ;
3661 wxString
*arg2
= 0 ;
3662 wxString
*arg3
= 0 ;
3664 long arg5
= (long) 0 ;
3665 long arg6
= (long) 100 ;
3666 wxWindow
*arg7
= (wxWindow
*) NULL
;
3667 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3668 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3670 bool temp1
= False
;
3671 bool temp2
= False
;
3672 bool temp3
= False
;
3674 PyObject
* obj0
= 0 ;
3675 PyObject
* obj1
= 0 ;
3676 PyObject
* obj2
= 0 ;
3677 PyObject
* obj3
= 0 ;
3678 PyObject
* obj4
= 0 ;
3679 PyObject
* obj5
= 0 ;
3680 PyObject
* obj6
= 0 ;
3681 PyObject
* obj7
= 0 ;
3683 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3688 arg1
= wxString_in_helper(obj0
);
3689 if (arg1
== NULL
) SWIG_fail
;
3693 arg2
= wxString_in_helper(obj1
);
3694 if (arg2
== NULL
) SWIG_fail
;
3698 arg3
= wxString_in_helper(obj2
);
3699 if (arg3
== NULL
) SWIG_fail
;
3702 arg4
= (long) SWIG_AsLong(obj3
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3705 arg5
= (long) SWIG_AsLong(obj4
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3709 arg6
= (long) SWIG_AsLong(obj5
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3713 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3719 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3724 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3726 wxPyEndAllowThreads(__tstate
);
3727 if (PyErr_Occurred()) SWIG_fail
;
3729 resultobj
= SWIG_FromLong((long)result
);
3760 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
*resultobj
;
3767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 result
= (bool)wxColourDisplay();
3772 wxPyEndAllowThreads(__tstate
);
3773 if (PyErr_Occurred()) SWIG_fail
;
3776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3784 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
*resultobj
;
3791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3794 result
= (int)wxDisplayDepth();
3796 wxPyEndAllowThreads(__tstate
);
3797 if (PyErr_Occurred()) SWIG_fail
;
3799 resultobj
= SWIG_FromInt((int)result
);
3806 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3807 PyObject
*resultobj
;
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3816 result
= (int)wxGetDisplayDepth();
3818 wxPyEndAllowThreads(__tstate
);
3819 if (PyErr_Occurred()) SWIG_fail
;
3821 resultobj
= SWIG_FromInt((int)result
);
3828 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3829 PyObject
*resultobj
;
3830 int *arg1
= (int *) 0 ;
3831 int *arg2
= (int *) 0 ;
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3843 wxDisplaySize(arg1
,arg2
);
3845 wxPyEndAllowThreads(__tstate
);
3846 if (PyErr_Occurred()) SWIG_fail
;
3848 Py_INCREF(Py_None
); resultobj
= Py_None
;
3850 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3851 resultobj
= t_output_helper(resultobj
,o
);
3854 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3855 resultobj
= t_output_helper(resultobj
,o
);
3863 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3864 PyObject
*resultobj
;
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 result
= wxGetDisplaySize();
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3880 resultptr
= new wxSize((wxSize
&) result
);
3881 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3889 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
*resultobj
;
3891 int *arg1
= (int *) 0 ;
3892 int *arg2
= (int *) 0 ;
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 wxDisplaySizeMM(arg1
,arg2
);
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3909 Py_INCREF(Py_None
); resultobj
= Py_None
;
3911 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3912 resultobj
= t_output_helper(resultobj
,o
);
3915 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3916 resultobj
= t_output_helper(resultobj
,o
);
3924 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3925 PyObject
*resultobj
;
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3934 result
= wxGetDisplaySizeMM();
3936 wxPyEndAllowThreads(__tstate
);
3937 if (PyErr_Occurred()) SWIG_fail
;
3941 resultptr
= new wxSize((wxSize
&) result
);
3942 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3950 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3951 PyObject
*resultobj
;
3952 int *arg1
= (int *) 0 ;
3953 int *arg2
= (int *) 0 ;
3954 int *arg3
= (int *) 0 ;
3955 int *arg4
= (int *) 0 ;
3968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3971 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3973 wxPyEndAllowThreads(__tstate
);
3974 if (PyErr_Occurred()) SWIG_fail
;
3976 Py_INCREF(Py_None
); resultobj
= Py_None
;
3978 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3979 resultobj
= t_output_helper(resultobj
,o
);
3982 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3983 resultobj
= t_output_helper(resultobj
,o
);
3986 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3987 resultobj
= t_output_helper(resultobj
,o
);
3990 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3991 resultobj
= t_output_helper(resultobj
,o
);
3999 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
*resultobj
;
4006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 result
= wxGetClientDisplayRect();
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4016 resultptr
= new wxRect((wxRect
&) result
);
4017 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4025 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
*resultobj
;
4027 wxCursor
*arg1
= 0 ;
4028 PyObject
* obj0
= 0 ;
4030 (char *) "cursor", NULL
4033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4035 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4038 PyErr_SetString(PyExc_TypeError
,"null reference");
4042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4045 wxPyEndAllowThreads(__tstate
);
4046 if (PyErr_Occurred()) SWIG_fail
;
4048 Py_INCREF(Py_None
); resultobj
= Py_None
;
4055 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
*resultobj
;
4057 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4058 PyObject
* obj0
= 0 ;
4060 (char *) "cursor", NULL
4063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4070 wxBeginBusyCursor(arg1
);
4072 wxPyEndAllowThreads(__tstate
);
4073 if (PyErr_Occurred()) SWIG_fail
;
4075 Py_INCREF(Py_None
); resultobj
= Py_None
;
4082 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
*resultobj
;
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 result
= (wxWindow
*)wxGetActiveWindow();
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4098 resultobj
= wxPyMake_wxObject(result
);
4106 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4107 PyObject
*resultobj
;
4111 PyObject
* obj0
= 0 ;
4116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4119 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4129 resultobj
= wxPyMake_wxObject(result
);
4137 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4138 PyObject
*resultobj
;
4142 PyObject
* obj0
= 0 ;
4147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4150 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4154 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4156 wxPyEndAllowThreads(__tstate
);
4157 if (PyErr_Occurred()) SWIG_fail
;
4160 resultobj
= wxPyMake_wxObject(result
);
4168 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4169 PyObject
*resultobj
;
4170 wxWindow
*arg1
= (wxWindow
*) 0 ;
4172 PyObject
* obj0
= 0 ;
4174 (char *) "win", NULL
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4182 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4184 wxPyEndAllowThreads(__tstate
);
4185 if (PyErr_Occurred()) SWIG_fail
;
4188 resultobj
= wxPyMake_wxObject(result
);
4196 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
*resultobj
;
4200 PyObject
* obj0
= 0 ;
4202 (char *) "key", NULL
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4206 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4207 if (PyErr_Occurred()) SWIG_fail
;
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4210 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4224 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4225 PyObject
*resultobj
;
4230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4233 wxWakeUpMainThread();
4235 wxPyEndAllowThreads(__tstate
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4238 Py_INCREF(Py_None
); resultobj
= Py_None
;
4245 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
*resultobj
;
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 wxPyEndAllowThreads(__tstate
);
4257 if (PyErr_Occurred()) SWIG_fail
;
4259 Py_INCREF(Py_None
); resultobj
= Py_None
;
4266 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4267 PyObject
*resultobj
;
4272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4280 Py_INCREF(Py_None
); resultobj
= Py_None
;
4287 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
*resultobj
;
4289 wxMutexGuiLocker
*result
;
4294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4299 wxPyEndAllowThreads(__tstate
);
4300 if (PyErr_Occurred()) SWIG_fail
;
4302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4309 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
*resultobj
;
4311 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4312 PyObject
* obj0
= 0 ;
4314 (char *) "self", NULL
4317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4324 wxPyEndAllowThreads(__tstate
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4327 Py_INCREF(Py_None
); resultobj
= Py_None
;
4334 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4337 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4339 return Py_BuildValue((char *)"");
4341 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
*resultobj
;
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4351 result
= (bool)wxThread_IsMain();
4353 wxPyEndAllowThreads(__tstate
);
4354 if (PyErr_Occurred()) SWIG_fail
;
4357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4365 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
*resultobj
;
4367 wxString
*arg1
= 0 ;
4369 bool temp1
= False
;
4370 PyObject
* obj0
= 0 ;
4372 (char *) "tip", NULL
4375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4377 arg1
= wxString_in_helper(obj0
);
4378 if (arg1
== NULL
) SWIG_fail
;
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4389 resultobj
= wxPyMake_wxObject(result
);
4405 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
*resultobj
;
4407 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4408 wxString
*arg2
= 0 ;
4409 bool temp2
= False
;
4410 PyObject
* obj0
= 0 ;
4411 PyObject
* obj1
= 0 ;
4413 (char *) "self",(char *) "tip", NULL
4416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4420 arg2
= wxString_in_helper(obj1
);
4421 if (arg2
== NULL
) SWIG_fail
;
4425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4426 (arg1
)->SetTip((wxString
const &)*arg2
);
4428 wxPyEndAllowThreads(__tstate
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4431 Py_INCREF(Py_None
); resultobj
= Py_None
;
4446 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4447 PyObject
*resultobj
;
4448 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4450 PyObject
* obj0
= 0 ;
4452 (char *) "self", NULL
4455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4460 result
= (arg1
)->GetTip();
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4467 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4469 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4478 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
;
4480 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4482 PyObject
* obj0
= 0 ;
4484 (char *) "self", NULL
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4492 result
= (wxWindow
*)(arg1
)->GetWindow();
4494 wxPyEndAllowThreads(__tstate
);
4495 if (PyErr_Occurred()) SWIG_fail
;
4498 resultobj
= wxPyMake_wxObject(result
);
4506 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
*resultobj
;
4509 PyObject
* obj0
= 0 ;
4511 (char *) "flag", NULL
4514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4515 arg1
= (bool) SWIG_AsBool(obj0
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4519 wxToolTip::Enable(arg1
);
4521 wxPyEndAllowThreads(__tstate
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4524 Py_INCREF(Py_None
); resultobj
= Py_None
;
4531 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
*resultobj
;
4534 PyObject
* obj0
= 0 ;
4536 (char *) "milliseconds", NULL
4539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4540 arg1
= (long) SWIG_AsLong(obj0
);
4541 if (PyErr_Occurred()) SWIG_fail
;
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 wxToolTip::SetDelay(arg1
);
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) SWIG_fail
;
4549 Py_INCREF(Py_None
); resultobj
= Py_None
;
4556 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4559 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4561 return Py_BuildValue((char *)"");
4563 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4564 PyObject
*resultobj
;
4565 wxWindow
*arg1
= (wxWindow
*) 0 ;
4569 PyObject
* obj0
= 0 ;
4570 PyObject
* obj1
= 0 ;
4572 (char *) "window",(char *) "size", NULL
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4580 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4584 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4586 wxPyEndAllowThreads(__tstate
);
4587 if (PyErr_Occurred()) SWIG_fail
;
4589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4596 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4597 PyObject
*resultobj
;
4598 wxCaret
*arg1
= (wxCaret
*) 0 ;
4599 PyObject
* obj0
= 0 ;
4601 (char *) "self", NULL
4604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4611 wxPyEndAllowThreads(__tstate
);
4612 if (PyErr_Occurred()) SWIG_fail
;
4614 Py_INCREF(Py_None
); resultobj
= Py_None
;
4621 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
*resultobj
;
4623 wxCaret
*arg1
= (wxCaret
*) 0 ;
4625 PyObject
* obj0
= 0 ;
4627 (char *) "self", NULL
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4635 result
= (bool)(arg1
)->IsOk();
4637 wxPyEndAllowThreads(__tstate
);
4638 if (PyErr_Occurred()) SWIG_fail
;
4641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4649 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4650 PyObject
*resultobj
;
4651 wxCaret
*arg1
= (wxCaret
*) 0 ;
4653 PyObject
* obj0
= 0 ;
4655 (char *) "self", NULL
4658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4663 result
= (bool)(arg1
)->IsVisible();
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4677 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4678 PyObject
*resultobj
;
4679 wxCaret
*arg1
= (wxCaret
*) 0 ;
4681 PyObject
* obj0
= 0 ;
4683 (char *) "self", NULL
4686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4691 result
= (arg1
)->GetPosition();
4693 wxPyEndAllowThreads(__tstate
);
4694 if (PyErr_Occurred()) SWIG_fail
;
4697 wxPoint
* resultptr
;
4698 resultptr
= new wxPoint((wxPoint
&) result
);
4699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4707 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4708 PyObject
*resultobj
;
4709 wxCaret
*arg1
= (wxCaret
*) 0 ;
4710 int *arg2
= (int *) 0 ;
4711 int *arg3
= (int *) 0 ;
4714 PyObject
* obj0
= 0 ;
4716 (char *) "self", NULL
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4726 (arg1
)->GetPosition(arg2
,arg3
);
4728 wxPyEndAllowThreads(__tstate
);
4729 if (PyErr_Occurred()) SWIG_fail
;
4731 Py_INCREF(Py_None
); resultobj
= Py_None
;
4733 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4734 resultobj
= t_output_helper(resultobj
,o
);
4737 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4738 resultobj
= t_output_helper(resultobj
,o
);
4746 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4747 PyObject
*resultobj
;
4748 wxCaret
*arg1
= (wxCaret
*) 0 ;
4750 PyObject
* obj0
= 0 ;
4752 (char *) "self", NULL
4755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 result
= (arg1
)->GetSize();
4762 wxPyEndAllowThreads(__tstate
);
4763 if (PyErr_Occurred()) SWIG_fail
;
4767 resultptr
= new wxSize((wxSize
&) result
);
4768 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4776 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4777 PyObject
*resultobj
;
4778 wxCaret
*arg1
= (wxCaret
*) 0 ;
4779 int *arg2
= (int *) 0 ;
4780 int *arg3
= (int *) 0 ;
4783 PyObject
* obj0
= 0 ;
4785 (char *) "self", NULL
4790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4795 (arg1
)->GetSize(arg2
,arg3
);
4797 wxPyEndAllowThreads(__tstate
);
4798 if (PyErr_Occurred()) SWIG_fail
;
4800 Py_INCREF(Py_None
); resultobj
= Py_None
;
4802 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4803 resultobj
= t_output_helper(resultobj
,o
);
4806 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4807 resultobj
= t_output_helper(resultobj
,o
);
4815 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4816 PyObject
*resultobj
;
4817 wxCaret
*arg1
= (wxCaret
*) 0 ;
4819 PyObject
* obj0
= 0 ;
4821 (char *) "self", NULL
4824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4829 result
= (wxWindow
*)(arg1
)->GetWindow();
4831 wxPyEndAllowThreads(__tstate
);
4832 if (PyErr_Occurred()) SWIG_fail
;
4835 resultobj
= wxPyMake_wxObject(result
);
4843 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4844 PyObject
*resultobj
;
4845 wxCaret
*arg1
= (wxCaret
*) 0 ;
4848 PyObject
* obj0
= 0 ;
4849 PyObject
* obj1
= 0 ;
4850 PyObject
* obj2
= 0 ;
4852 (char *) "self",(char *) "x",(char *) "y", NULL
4855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4858 arg2
= (int) SWIG_AsInt(obj1
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4860 arg3
= (int) SWIG_AsInt(obj2
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4864 (arg1
)->Move(arg2
,arg3
);
4866 wxPyEndAllowThreads(__tstate
);
4867 if (PyErr_Occurred()) SWIG_fail
;
4869 Py_INCREF(Py_None
); resultobj
= Py_None
;
4876 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4877 PyObject
*resultobj
;
4878 wxCaret
*arg1
= (wxCaret
*) 0 ;
4881 PyObject
* obj0
= 0 ;
4882 PyObject
* obj1
= 0 ;
4884 (char *) "self",(char *) "pt", NULL
4887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4892 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 (arg1
)->Move((wxPoint
const &)*arg2
);
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4901 Py_INCREF(Py_None
); resultobj
= Py_None
;
4908 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4909 PyObject
*resultobj
;
4910 wxCaret
*arg1
= (wxCaret
*) 0 ;
4913 PyObject
* obj0
= 0 ;
4914 PyObject
* obj1
= 0 ;
4915 PyObject
* obj2
= 0 ;
4917 (char *) "self",(char *) "width",(char *) "height", NULL
4920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4923 arg2
= (int) SWIG_AsInt(obj1
);
4924 if (PyErr_Occurred()) SWIG_fail
;
4925 arg3
= (int) SWIG_AsInt(obj2
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4929 (arg1
)->SetSize(arg2
,arg3
);
4931 wxPyEndAllowThreads(__tstate
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4934 Py_INCREF(Py_None
); resultobj
= Py_None
;
4941 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4942 PyObject
*resultobj
;
4943 wxCaret
*arg1
= (wxCaret
*) 0 ;
4946 PyObject
* obj0
= 0 ;
4947 PyObject
* obj1
= 0 ;
4949 (char *) "self",(char *) "size", NULL
4952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4957 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 (arg1
)->SetSize((wxSize
const &)*arg2
);
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4966 Py_INCREF(Py_None
); resultobj
= Py_None
;
4973 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
*resultobj
;
4975 wxCaret
*arg1
= (wxCaret
*) 0 ;
4976 int arg2
= (int) True
;
4977 PyObject
* obj0
= 0 ;
4978 PyObject
* obj1
= 0 ;
4980 (char *) "self",(char *) "show", NULL
4983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4987 arg2
= (int) SWIG_AsInt(obj1
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4994 wxPyEndAllowThreads(__tstate
);
4995 if (PyErr_Occurred()) SWIG_fail
;
4997 Py_INCREF(Py_None
); resultobj
= Py_None
;
5004 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5005 PyObject
*resultobj
;
5006 wxCaret
*arg1
= (wxCaret
*) 0 ;
5007 PyObject
* obj0
= 0 ;
5009 (char *) "self", NULL
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5019 wxPyEndAllowThreads(__tstate
);
5020 if (PyErr_Occurred()) SWIG_fail
;
5022 Py_INCREF(Py_None
); resultobj
= Py_None
;
5029 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
5031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5032 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5034 return Py_BuildValue((char *)"");
5036 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
*resultobj
;
5043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 result
= (int)wxCaret_GetBlinkTime();
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5051 resultobj
= SWIG_FromInt((int)result
);
5058 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
;
5061 PyObject
* obj0
= 0 ;
5063 (char *) "milliseconds", NULL
5066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5067 arg1
= (int) SWIG_AsInt(obj0
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5071 wxCaret_SetBlinkTime(arg1
);
5073 wxPyEndAllowThreads(__tstate
);
5074 if (PyErr_Occurred()) SWIG_fail
;
5076 Py_INCREF(Py_None
); resultobj
= Py_None
;
5083 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
*resultobj
;
5085 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5086 wxBusyCursor
*result
;
5087 PyObject
* obj0
= 0 ;
5089 (char *) "cursor", NULL
5092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) SWIG_fail
;
5104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5111 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
*resultobj
;
5113 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5114 PyObject
* obj0
= 0 ;
5116 (char *) "self", NULL
5119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 wxPyEndAllowThreads(__tstate
);
5127 if (PyErr_Occurred()) SWIG_fail
;
5129 Py_INCREF(Py_None
); resultobj
= Py_None
;
5136 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5138 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5139 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5141 return Py_BuildValue((char *)"");
5143 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
*resultobj
;
5145 wxWindow
*arg1
= (wxWindow
*) NULL
;
5146 wxWindowDisabler
*result
;
5147 PyObject
* obj0
= 0 ;
5149 (char *) "winToSkip", NULL
5152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5159 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5161 wxPyEndAllowThreads(__tstate
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5171 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5172 PyObject
*resultobj
;
5173 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5174 PyObject
* obj0
= 0 ;
5176 (char *) "self", NULL
5179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5186 wxPyEndAllowThreads(__tstate
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5189 Py_INCREF(Py_None
); resultobj
= Py_None
;
5196 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5199 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5201 return Py_BuildValue((char *)"");
5203 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
*resultobj
;
5205 wxString
*arg1
= 0 ;
5207 bool temp1
= False
;
5208 PyObject
* obj0
= 0 ;
5210 (char *) "message", NULL
5213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5215 arg1
= wxString_in_helper(obj0
);
5216 if (arg1
== NULL
) SWIG_fail
;
5220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5221 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5223 wxPyEndAllowThreads(__tstate
);
5224 if (PyErr_Occurred()) SWIG_fail
;
5226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5241 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
*resultobj
;
5243 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5244 PyObject
* obj0
= 0 ;
5246 (char *) "self", NULL
5249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5256 wxPyEndAllowThreads(__tstate
);
5257 if (PyErr_Occurred()) SWIG_fail
;
5259 Py_INCREF(Py_None
); resultobj
= Py_None
;
5266 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5269 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5271 return Py_BuildValue((char *)"");
5273 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5274 PyObject
*resultobj
;
5275 wxStopWatch
*result
;
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5283 result
= (wxStopWatch
*)new wxStopWatch();
5285 wxPyEndAllowThreads(__tstate
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5295 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5296 PyObject
*resultobj
;
5297 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5298 long arg2
= (long) 0 ;
5299 PyObject
* obj0
= 0 ;
5300 PyObject
* obj1
= 0 ;
5302 (char *) "self",(char *) "t0", NULL
5305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5309 arg2
= (long) SWIG_AsLong(obj1
);
5310 if (PyErr_Occurred()) SWIG_fail
;
5313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 (arg1
)->Start(arg2
);
5316 wxPyEndAllowThreads(__tstate
);
5317 if (PyErr_Occurred()) SWIG_fail
;
5319 Py_INCREF(Py_None
); resultobj
= Py_None
;
5326 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
*resultobj
;
5328 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5329 PyObject
* obj0
= 0 ;
5331 (char *) "self", NULL
5334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5341 wxPyEndAllowThreads(__tstate
);
5342 if (PyErr_Occurred()) SWIG_fail
;
5344 Py_INCREF(Py_None
); resultobj
= Py_None
;
5351 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5352 PyObject
*resultobj
;
5353 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5354 PyObject
* obj0
= 0 ;
5356 (char *) "self", NULL
5359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5369 Py_INCREF(Py_None
); resultobj
= Py_None
;
5376 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
*resultobj
;
5378 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5380 PyObject
* obj0
= 0 ;
5382 (char *) "self", NULL
5385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5392 wxPyEndAllowThreads(__tstate
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5395 resultobj
= SWIG_FromLong((long)result
);
5402 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5404 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5405 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5407 return Py_BuildValue((char *)"");
5409 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
*resultobj
;
5411 int arg1
= (int) 9 ;
5412 wxFileHistory
*result
;
5413 PyObject
* obj0
= 0 ;
5415 (char *) "maxFiles", NULL
5418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5420 arg1
= (int) SWIG_AsInt(obj0
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5425 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5427 wxPyEndAllowThreads(__tstate
);
5428 if (PyErr_Occurred()) SWIG_fail
;
5430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5437 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5438 PyObject
*resultobj
;
5439 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5440 PyObject
* obj0
= 0 ;
5442 (char *) "self", NULL
5445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5452 wxPyEndAllowThreads(__tstate
);
5453 if (PyErr_Occurred()) SWIG_fail
;
5455 Py_INCREF(Py_None
); resultobj
= Py_None
;
5462 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
*resultobj
;
5464 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5465 wxString
*arg2
= 0 ;
5466 bool temp2
= False
;
5467 PyObject
* obj0
= 0 ;
5468 PyObject
* obj1
= 0 ;
5470 (char *) "self",(char *) "file", NULL
5473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5477 arg2
= wxString_in_helper(obj1
);
5478 if (arg2
== NULL
) SWIG_fail
;
5482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5483 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5485 wxPyEndAllowThreads(__tstate
);
5486 if (PyErr_Occurred()) SWIG_fail
;
5488 Py_INCREF(Py_None
); resultobj
= Py_None
;
5503 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
*resultobj
;
5505 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5507 PyObject
* obj0
= 0 ;
5508 PyObject
* obj1
= 0 ;
5510 (char *) "self",(char *) "i", NULL
5513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5516 arg2
= (int) SWIG_AsInt(obj1
);
5517 if (PyErr_Occurred()) SWIG_fail
;
5519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5520 (arg1
)->RemoveFileFromHistory(arg2
);
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5525 Py_INCREF(Py_None
); resultobj
= Py_None
;
5532 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5533 PyObject
*resultobj
;
5534 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5536 PyObject
* obj0
= 0 ;
5538 (char *) "self", NULL
5541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5546 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5548 wxPyEndAllowThreads(__tstate
);
5549 if (PyErr_Occurred()) SWIG_fail
;
5551 resultobj
= SWIG_FromInt((int)result
);
5558 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5559 PyObject
*resultobj
;
5560 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5561 wxMenu
*arg2
= (wxMenu
*) 0 ;
5562 PyObject
* obj0
= 0 ;
5563 PyObject
* obj1
= 0 ;
5565 (char *) "self",(char *) "menu", NULL
5568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 (arg1
)->UseMenu(arg2
);
5577 wxPyEndAllowThreads(__tstate
);
5578 if (PyErr_Occurred()) SWIG_fail
;
5580 Py_INCREF(Py_None
); resultobj
= Py_None
;
5587 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
*resultobj
;
5589 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5590 wxMenu
*arg2
= (wxMenu
*) 0 ;
5591 PyObject
* obj0
= 0 ;
5592 PyObject
* obj1
= 0 ;
5594 (char *) "self",(char *) "menu", NULL
5597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5600 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 (arg1
)->RemoveMenu(arg2
);
5606 wxPyEndAllowThreads(__tstate
);
5607 if (PyErr_Occurred()) SWIG_fail
;
5609 Py_INCREF(Py_None
); resultobj
= Py_None
;
5616 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
*resultobj
;
5618 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5619 wxConfigBase
*arg2
= 0 ;
5620 PyObject
* obj0
= 0 ;
5621 PyObject
* obj1
= 0 ;
5623 (char *) "self",(char *) "config", NULL
5626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5633 PyErr_SetString(PyExc_TypeError
,"null reference");
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 (arg1
)->Load(*arg2
);
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5643 Py_INCREF(Py_None
); resultobj
= Py_None
;
5650 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
*resultobj
;
5652 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5653 wxConfigBase
*arg2
= 0 ;
5654 PyObject
* obj0
= 0 ;
5655 PyObject
* obj1
= 0 ;
5657 (char *) "self",(char *) "config", NULL
5660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5664 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5667 PyErr_SetString(PyExc_TypeError
,"null reference");
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 (arg1
)->Save(*arg2
);
5674 wxPyEndAllowThreads(__tstate
);
5675 if (PyErr_Occurred()) SWIG_fail
;
5677 Py_INCREF(Py_None
); resultobj
= Py_None
;
5684 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
*resultobj
;
5686 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5687 PyObject
* obj0
= 0 ;
5689 (char *) "self", NULL
5692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 (arg1
)->AddFilesToMenu();
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5702 Py_INCREF(Py_None
); resultobj
= Py_None
;
5709 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
;
5711 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5712 wxMenu
*arg2
= (wxMenu
*) 0 ;
5713 PyObject
* obj0
= 0 ;
5714 PyObject
* obj1
= 0 ;
5716 (char *) "self",(char *) "menu", NULL
5719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 (arg1
)->AddFilesToMenu(arg2
);
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5731 Py_INCREF(Py_None
); resultobj
= Py_None
;
5738 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5739 PyObject
*resultobj
;
5740 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5743 PyObject
* obj0
= 0 ;
5744 PyObject
* obj1
= 0 ;
5746 (char *) "self",(char *) "i", NULL
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5752 arg2
= (int) SWIG_AsInt(obj1
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5756 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5763 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5765 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5774 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
*resultobj
;
5776 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5778 PyObject
* obj0
= 0 ;
5780 (char *) "self", NULL
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5793 resultobj
= SWIG_FromInt((int)result
);
5800 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5803 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5805 return Py_BuildValue((char *)"");
5807 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
*resultobj
;
5809 wxString
*arg1
= 0 ;
5810 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5811 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5812 wxSingleInstanceChecker
*result
;
5813 bool temp1
= False
;
5814 bool temp2
= False
;
5815 PyObject
* obj0
= 0 ;
5816 PyObject
* obj1
= 0 ;
5818 (char *) "name",(char *) "path", NULL
5821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5823 arg1
= wxString_in_helper(obj0
);
5824 if (arg1
== NULL
) SWIG_fail
;
5829 arg2
= wxString_in_helper(obj1
);
5830 if (arg2
== NULL
) SWIG_fail
;
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5838 wxPyEndAllowThreads(__tstate
);
5839 if (PyErr_Occurred()) SWIG_fail
;
5841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5864 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
*resultobj
;
5866 wxSingleInstanceChecker
*result
;
5871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5874 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5876 wxPyEndAllowThreads(__tstate
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5886 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5887 PyObject
*resultobj
;
5888 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5889 PyObject
* obj0
= 0 ;
5891 (char *) "self", NULL
5894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5901 wxPyEndAllowThreads(__tstate
);
5902 if (PyErr_Occurred()) SWIG_fail
;
5904 Py_INCREF(Py_None
); resultobj
= Py_None
;
5911 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
*resultobj
;
5913 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5914 wxString
*arg2
= 0 ;
5915 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5916 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5918 bool temp2
= False
;
5919 bool temp3
= False
;
5920 PyObject
* obj0
= 0 ;
5921 PyObject
* obj1
= 0 ;
5922 PyObject
* obj2
= 0 ;
5924 (char *) "self",(char *) "name",(char *) "path", NULL
5927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5931 arg2
= wxString_in_helper(obj1
);
5932 if (arg2
== NULL
) SWIG_fail
;
5937 arg3
= wxString_in_helper(obj2
);
5938 if (arg3
== NULL
) SWIG_fail
;
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) SWIG_fail
;
5950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5974 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5975 PyObject
*resultobj
;
5976 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5978 PyObject
* obj0
= 0 ;
5980 (char *) "self", NULL
5983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5988 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5990 wxPyEndAllowThreads(__tstate
);
5991 if (PyErr_Occurred()) SWIG_fail
;
5994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6002 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
6004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6005 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6007 return Py_BuildValue((char *)"");
6009 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
*resultobj
;
6011 wxWindow
*arg1
= (wxWindow
*) 0 ;
6014 PyObject
* obj0
= 0 ;
6015 PyObject
* obj1
= 0 ;
6016 PyObject
* obj2
= 0 ;
6018 (char *) "window",(char *) "dc",(char *) "method", NULL
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6025 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6028 PyErr_SetString(PyExc_TypeError
,"null reference");
6031 arg3
= (int) SWIG_AsInt(obj2
);
6032 if (PyErr_Occurred()) SWIG_fail
;
6034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6035 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6040 Py_INCREF(Py_None
); resultobj
= Py_None
;
6047 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6048 PyObject
*resultobj
;
6049 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6050 PyObject
* obj0
= 0 ;
6052 (char *) "self", NULL
6055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 wxPyEndAllowThreads(__tstate
);
6063 if (PyErr_Occurred()) SWIG_fail
;
6065 Py_INCREF(Py_None
); resultobj
= Py_None
;
6072 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6073 PyObject
*resultobj
;
6074 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6076 PyObject
* obj0
= 0 ;
6078 (char *) "self", NULL
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 result
= (arg1
)->GetTip();
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6093 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6095 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6104 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6105 PyObject
*resultobj
;
6106 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6108 PyObject
* obj0
= 0 ;
6110 (char *) "self", NULL
6113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 result
= (size_t)(arg1
)->GetCurrentTip();
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6130 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
;
6132 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6133 wxString
*arg2
= 0 ;
6135 bool temp2
= False
;
6136 PyObject
* obj0
= 0 ;
6137 PyObject
* obj1
= 0 ;
6139 (char *) "self",(char *) "tip", NULL
6142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6146 arg2
= wxString_in_helper(obj1
);
6147 if (arg2
== NULL
) SWIG_fail
;
6151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6152 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6154 wxPyEndAllowThreads(__tstate
);
6155 if (PyErr_Occurred()) SWIG_fail
;
6159 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6161 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6178 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6181 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6183 return Py_BuildValue((char *)"");
6185 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6186 PyObject
*resultobj
;
6188 wxPyTipProvider
*result
;
6189 PyObject
* obj0
= 0 ;
6191 (char *) "currentTip", NULL
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6195 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6196 if (PyErr_Occurred()) SWIG_fail
;
6198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6199 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6201 wxPyEndAllowThreads(__tstate
);
6202 if (PyErr_Occurred()) SWIG_fail
;
6204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6211 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
*resultobj
;
6213 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6214 PyObject
*arg2
= (PyObject
*) 0 ;
6215 PyObject
*arg3
= (PyObject
*) 0 ;
6216 PyObject
* obj0
= 0 ;
6217 PyObject
* obj1
= 0 ;
6218 PyObject
* obj2
= 0 ;
6220 (char *) "self",(char *) "self",(char *) "_class", NULL
6223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6230 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6232 wxPyEndAllowThreads(__tstate
);
6233 if (PyErr_Occurred()) SWIG_fail
;
6235 Py_INCREF(Py_None
); resultobj
= Py_None
;
6242 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6244 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6245 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6247 return Py_BuildValue((char *)"");
6249 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6250 PyObject
*resultobj
;
6251 wxWindow
*arg1
= (wxWindow
*) 0 ;
6252 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6253 bool arg3
= (bool) True
;
6255 PyObject
* obj0
= 0 ;
6256 PyObject
* obj1
= 0 ;
6257 PyObject
* obj2
= 0 ;
6259 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6265 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6268 arg3
= (bool) SWIG_AsBool(obj2
);
6269 if (PyErr_Occurred()) SWIG_fail
;
6272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6273 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6275 wxPyEndAllowThreads(__tstate
);
6276 if (PyErr_Occurred()) SWIG_fail
;
6279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6287 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
*resultobj
;
6289 wxString
*arg1
= 0 ;
6291 wxTipProvider
*result
;
6292 bool temp1
= False
;
6293 PyObject
* obj0
= 0 ;
6294 PyObject
* obj1
= 0 ;
6296 (char *) "filename",(char *) "currentTip", NULL
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6301 arg1
= wxString_in_helper(obj0
);
6302 if (arg1
== NULL
) SWIG_fail
;
6305 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6306 if (PyErr_Occurred()) SWIG_fail
;
6308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6309 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6311 wxPyEndAllowThreads(__tstate
);
6312 if (PyErr_Occurred()) SWIG_fail
;
6314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6329 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
*resultobj
;
6331 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6332 int arg2
= (int) -1 ;
6334 PyObject
* obj0
= 0 ;
6335 PyObject
* obj1
= 0 ;
6337 (char *) "owner",(char *) "id", NULL
6340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6346 arg2
= (int) SWIG_AsInt(obj1
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6351 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6363 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6366 PyObject
* obj0
= 0 ;
6368 (char *) "self", NULL
6371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 Py_INCREF(Py_None
); resultobj
= Py_None
;
6388 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
*resultobj
;
6390 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6391 PyObject
*arg2
= (PyObject
*) 0 ;
6392 PyObject
*arg3
= (PyObject
*) 0 ;
6393 int arg4
= (int) 1 ;
6394 PyObject
* obj0
= 0 ;
6395 PyObject
* obj1
= 0 ;
6396 PyObject
* obj2
= 0 ;
6397 PyObject
* obj3
= 0 ;
6399 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6408 arg4
= (int) SWIG_AsInt(obj3
);
6409 if (PyErr_Occurred()) SWIG_fail
;
6412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6413 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6415 wxPyEndAllowThreads(__tstate
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6418 Py_INCREF(Py_None
); resultobj
= Py_None
;
6425 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
*resultobj
;
6427 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6428 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6429 int arg3
= (int) -1 ;
6430 PyObject
* obj0
= 0 ;
6431 PyObject
* obj1
= 0 ;
6432 PyObject
* obj2
= 0 ;
6434 (char *) "self",(char *) "owner",(char *) "id", NULL
6437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6443 arg3
= (int) SWIG_AsInt(obj2
);
6444 if (PyErr_Occurred()) SWIG_fail
;
6447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6448 (arg1
)->SetOwner(arg2
,arg3
);
6450 wxPyEndAllowThreads(__tstate
);
6451 if (PyErr_Occurred()) SWIG_fail
;
6453 Py_INCREF(Py_None
); resultobj
= Py_None
;
6460 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6461 PyObject
*resultobj
;
6462 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6463 int arg2
= (int) -1 ;
6464 bool arg3
= (bool) False
;
6466 PyObject
* obj0
= 0 ;
6467 PyObject
* obj1
= 0 ;
6468 PyObject
* obj2
= 0 ;
6470 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6477 arg2
= (int) SWIG_AsInt(obj1
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6481 arg3
= (bool) SWIG_AsBool(obj2
);
6482 if (PyErr_Occurred()) SWIG_fail
;
6485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6486 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6500 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6501 PyObject
*resultobj
;
6502 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6503 PyObject
* obj0
= 0 ;
6505 (char *) "self", NULL
6508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6515 wxPyEndAllowThreads(__tstate
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6518 Py_INCREF(Py_None
); resultobj
= Py_None
;
6525 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
*resultobj
;
6527 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6529 PyObject
* obj0
= 0 ;
6531 (char *) "self", NULL
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6539 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6541 wxPyEndAllowThreads(__tstate
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6553 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6554 PyObject
*resultobj
;
6555 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6557 PyObject
* obj0
= 0 ;
6559 (char *) "self", NULL
6562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6567 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6569 wxPyEndAllowThreads(__tstate
);
6570 if (PyErr_Occurred()) SWIG_fail
;
6572 resultobj
= SWIG_FromInt((int)result
);
6579 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6580 PyObject
*resultobj
;
6581 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6583 PyObject
* obj0
= 0 ;
6585 (char *) "self", NULL
6588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6607 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6608 PyObject
*resultobj
;
6609 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6611 PyObject
* obj0
= 0 ;
6613 (char *) "self", NULL
6616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6621 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6623 wxPyEndAllowThreads(__tstate
);
6624 if (PyErr_Occurred()) SWIG_fail
;
6626 resultobj
= SWIG_FromInt((int)result
);
6633 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6636 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6638 return Py_BuildValue((char *)"");
6640 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
;
6642 int arg1
= (int) 0 ;
6643 int arg2
= (int) 0 ;
6644 wxTimerEvent
*result
;
6645 PyObject
* obj0
= 0 ;
6646 PyObject
* obj1
= 0 ;
6648 (char *) "timerid",(char *) "interval", NULL
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6653 arg1
= (int) SWIG_AsInt(obj0
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6657 arg2
= (int) SWIG_AsInt(obj1
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6662 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6664 wxPyEndAllowThreads(__tstate
);
6665 if (PyErr_Occurred()) SWIG_fail
;
6667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6674 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
*resultobj
;
6676 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6678 PyObject
* obj0
= 0 ;
6680 (char *) "self", NULL
6683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6690 wxPyEndAllowThreads(__tstate
);
6691 if (PyErr_Occurred()) SWIG_fail
;
6693 resultobj
= SWIG_FromInt((int)result
);
6700 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6703 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6705 return Py_BuildValue((char *)"");
6707 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6708 PyObject
*resultobj
;
6710 wxTimerRunner
*result
;
6711 PyObject
* obj0
= 0 ;
6713 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6715 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6718 PyErr_SetString(PyExc_TypeError
,"null reference");
6722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6723 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6725 wxPyEndAllowThreads(__tstate
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6735 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6736 PyObject
*resultobj
;
6739 bool arg3
= (bool) False
;
6740 wxTimerRunner
*result
;
6741 PyObject
* obj0
= 0 ;
6742 PyObject
* obj1
= 0 ;
6743 PyObject
* obj2
= 0 ;
6745 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6747 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6750 PyErr_SetString(PyExc_TypeError
,"null reference");
6753 arg2
= (int) SWIG_AsInt(obj1
);
6754 if (PyErr_Occurred()) SWIG_fail
;
6756 arg3
= (bool) SWIG_AsBool(obj2
);
6757 if (PyErr_Occurred()) SWIG_fail
;
6760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6761 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6763 wxPyEndAllowThreads(__tstate
);
6764 if (PyErr_Occurred()) SWIG_fail
;
6766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6773 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6778 argc
= PyObject_Length(args
);
6779 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6780 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6786 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6794 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6797 if ((argc
>= 2) && (argc
<= 3)) {
6801 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6809 _v
= SWIG_CheckInt(argv
[1]);
6812 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6814 _v
= SWIG_CheckBool(argv
[2]);
6816 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6822 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6827 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
*resultobj
;
6829 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6830 PyObject
* obj0
= 0 ;
6832 (char *) "self", NULL
6835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6842 wxPyEndAllowThreads(__tstate
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6845 Py_INCREF(Py_None
); resultobj
= Py_None
;
6852 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6853 PyObject
*resultobj
;
6854 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6856 bool arg3
= (bool) False
;
6857 PyObject
* obj0
= 0 ;
6858 PyObject
* obj1
= 0 ;
6859 PyObject
* obj2
= 0 ;
6861 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6867 arg2
= (int) SWIG_AsInt(obj1
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6870 arg3
= (bool) SWIG_AsBool(obj2
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6875 (arg1
)->Start(arg2
,arg3
);
6877 wxPyEndAllowThreads(__tstate
);
6878 if (PyErr_Occurred()) SWIG_fail
;
6880 Py_INCREF(Py_None
); resultobj
= Py_None
;
6887 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6890 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6892 return Py_BuildValue((char *)"");
6894 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6895 PyObject
*resultobj
;
6901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6904 result
= (wxLog
*)new wxLog();
6906 wxPyEndAllowThreads(__tstate
);
6907 if (PyErr_Occurred()) SWIG_fail
;
6909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
6916 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6917 PyObject
*resultobj
;
6923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 result
= (bool)wxLog::IsEnabled();
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6940 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6941 PyObject
*resultobj
;
6942 bool arg1
= (bool) True
;
6944 PyObject
* obj0
= 0 ;
6946 (char *) "doIt", NULL
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6951 arg1
= (bool) SWIG_AsBool(obj0
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 result
= (bool)wxLog::EnableLogging(arg1
);
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6970 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
;
6973 wxChar
*arg2
= (wxChar
*) 0 ;
6975 PyObject
* obj0
= 0 ;
6976 PyObject
* obj1
= 0 ;
6977 PyObject
* obj2
= 0 ;
6979 (char *) "level",(char *) "szString",(char *) "t", NULL
6982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6983 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
6986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6987 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6991 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6993 wxPyEndAllowThreads(__tstate
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6996 Py_INCREF(Py_None
); resultobj
= Py_None
;
7003 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7004 PyObject
*resultobj
;
7005 wxLog
*arg1
= (wxLog
*) 0 ;
7006 PyObject
* obj0
= 0 ;
7008 (char *) "self", NULL
7011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7018 wxPyEndAllowThreads(__tstate
);
7019 if (PyErr_Occurred()) SWIG_fail
;
7021 Py_INCREF(Py_None
); resultobj
= Py_None
;
7028 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7029 PyObject
*resultobj
;
7034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 wxLog::FlushActive();
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7042 Py_INCREF(Py_None
); resultobj
= Py_None
;
7049 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
*resultobj
;
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7059 result
= (wxLog
*)wxLog::GetActiveTarget();
7061 wxPyEndAllowThreads(__tstate
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7071 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7072 PyObject
*resultobj
;
7073 wxLog
*arg1
= (wxLog
*) 0 ;
7075 PyObject
* obj0
= 0 ;
7077 (char *) "pLogger", NULL
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7085 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7087 wxPyEndAllowThreads(__tstate
);
7088 if (PyErr_Occurred()) SWIG_fail
;
7090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7097 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
*resultobj
;
7103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7108 wxPyEndAllowThreads(__tstate
);
7109 if (PyErr_Occurred()) SWIG_fail
;
7111 Py_INCREF(Py_None
); resultobj
= Py_None
;
7118 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7119 PyObject
*resultobj
;
7124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7129 wxPyEndAllowThreads(__tstate
);
7130 if (PyErr_Occurred()) SWIG_fail
;
7132 Py_INCREF(Py_None
); resultobj
= Py_None
;
7139 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7140 PyObject
*resultobj
;
7141 bool arg1
= (bool) True
;
7142 PyObject
* obj0
= 0 ;
7144 (char *) "bVerbose", NULL
7147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7149 arg1
= (bool) SWIG_AsBool(obj0
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 wxLog::SetVerbose(arg1
);
7156 wxPyEndAllowThreads(__tstate
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7159 Py_INCREF(Py_None
); resultobj
= Py_None
;
7166 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
*resultobj
;
7169 PyObject
* obj0
= 0 ;
7171 (char *) "logLevel", NULL
7174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7175 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7176 if (PyErr_Occurred()) SWIG_fail
;
7178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7179 wxLog::SetLogLevel(arg1
);
7181 wxPyEndAllowThreads(__tstate
);
7182 if (PyErr_Occurred()) SWIG_fail
;
7184 Py_INCREF(Py_None
); resultobj
= Py_None
;
7191 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
*resultobj
;
7197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 wxLog::DontCreateOnDemand();
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7205 Py_INCREF(Py_None
); resultobj
= Py_None
;
7212 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7213 PyObject
*resultobj
;
7215 PyObject
* obj0
= 0 ;
7217 (char *) "ulMask", NULL
7220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7221 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7222 if (PyErr_Occurred()) SWIG_fail
;
7224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7225 wxLog::SetTraceMask(arg1
);
7227 wxPyEndAllowThreads(__tstate
);
7228 if (PyErr_Occurred()) SWIG_fail
;
7230 Py_INCREF(Py_None
); resultobj
= Py_None
;
7237 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7238 PyObject
*resultobj
;
7239 wxString
*arg1
= 0 ;
7240 bool temp1
= False
;
7241 PyObject
* obj0
= 0 ;
7243 (char *) "str", NULL
7246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7248 arg1
= wxString_in_helper(obj0
);
7249 if (arg1
== NULL
) SWIG_fail
;
7253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7254 wxLog::AddTraceMask((wxString
const &)*arg1
);
7256 wxPyEndAllowThreads(__tstate
);
7257 if (PyErr_Occurred()) SWIG_fail
;
7259 Py_INCREF(Py_None
); resultobj
= Py_None
;
7274 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
*resultobj
;
7276 wxString
*arg1
= 0 ;
7277 bool temp1
= False
;
7278 PyObject
* obj0
= 0 ;
7280 (char *) "str", NULL
7283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7285 arg1
= wxString_in_helper(obj0
);
7286 if (arg1
== NULL
) SWIG_fail
;
7290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7291 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7293 wxPyEndAllowThreads(__tstate
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7296 Py_INCREF(Py_None
); resultobj
= Py_None
;
7311 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7312 PyObject
*resultobj
;
7317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7320 wxLog::ClearTraceMasks();
7322 wxPyEndAllowThreads(__tstate
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7325 Py_INCREF(Py_None
); resultobj
= Py_None
;
7332 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7333 PyObject
*resultobj
;
7334 wxArrayString
*result
;
7339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7343 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7344 result
= (wxArrayString
*) &_result_ref
;
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7351 resultobj
= wxArrayString2PyList_helper(*result
);
7359 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
*resultobj
;
7361 wxChar
*arg1
= (wxChar
*) 0 ;
7362 PyObject
* obj0
= 0 ;
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7372 wxLog::SetTimestamp((wxChar
const *)arg1
);
7374 wxPyEndAllowThreads(__tstate
);
7375 if (PyErr_Occurred()) SWIG_fail
;
7377 Py_INCREF(Py_None
); resultobj
= Py_None
;
7384 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
*resultobj
;
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7394 result
= (bool)wxLog::GetVerbose();
7396 wxPyEndAllowThreads(__tstate
);
7397 if (PyErr_Occurred()) SWIG_fail
;
7400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7408 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
*resultobj
;
7415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7418 result
= (wxTraceMask
)wxLog::GetTraceMask();
7420 wxPyEndAllowThreads(__tstate
);
7421 if (PyErr_Occurred()) SWIG_fail
;
7423 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7430 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7431 PyObject
*resultobj
;
7432 wxChar
*arg1
= (wxChar
*) 0 ;
7434 PyObject
* obj0
= 0 ;
7436 (char *) "mask", NULL
7439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7446 wxPyEndAllowThreads(__tstate
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7458 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7459 PyObject
*resultobj
;
7465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7468 result
= (wxLogLevel
)wxLog::GetLogLevel();
7470 wxPyEndAllowThreads(__tstate
);
7471 if (PyErr_Occurred()) SWIG_fail
;
7473 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7480 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7481 PyObject
*resultobj
;
7487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7490 result
= (wxChar
*)wxLog::GetTimestamp();
7492 wxPyEndAllowThreads(__tstate
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7502 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7503 PyObject
*resultobj
;
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 result
= Log_TimeStamp();
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7530 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7531 PyObject
*resultobj
;
7532 wxLog
*arg1
= (wxLog
*) 0 ;
7533 PyObject
* obj0
= 0 ;
7535 (char *) "self", NULL
7538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7543 wxLog_Destroy(arg1
);
7545 wxPyEndAllowThreads(__tstate
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7548 Py_INCREF(Py_None
); resultobj
= Py_None
;
7555 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7558 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7560 return Py_BuildValue((char *)"");
7562 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7563 PyObject
*resultobj
;
7564 wxLogStderr
*result
;
7569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7572 result
= (wxLogStderr
*)new wxLogStderr();
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7584 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7587 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7589 return Py_BuildValue((char *)"");
7591 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7592 PyObject
*resultobj
;
7593 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7594 wxLogTextCtrl
*result
;
7595 PyObject
* obj0
= 0 ;
7597 (char *) "pTextCtrl", NULL
7600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7605 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7607 wxPyEndAllowThreads(__tstate
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7617 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7620 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7622 return Py_BuildValue((char *)"");
7624 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
*resultobj
;
7631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7634 result
= (wxLogGui
*)new wxLogGui();
7636 wxPyEndAllowThreads(__tstate
);
7637 if (PyErr_Occurred()) SWIG_fail
;
7639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7646 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7649 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7651 return Py_BuildValue((char *)"");
7653 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7654 PyObject
*resultobj
;
7655 wxFrame
*arg1
= (wxFrame
*) 0 ;
7656 wxString
*arg2
= 0 ;
7657 bool arg3
= (bool) True
;
7658 bool arg4
= (bool) True
;
7659 wxLogWindow
*result
;
7660 bool temp2
= False
;
7661 PyObject
* obj0
= 0 ;
7662 PyObject
* obj1
= 0 ;
7663 PyObject
* obj2
= 0 ;
7664 PyObject
* obj3
= 0 ;
7666 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7673 arg2
= wxString_in_helper(obj1
);
7674 if (arg2
== NULL
) SWIG_fail
;
7678 arg3
= (bool) SWIG_AsBool(obj2
);
7679 if (PyErr_Occurred()) SWIG_fail
;
7682 arg4
= (bool) SWIG_AsBool(obj3
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7687 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7689 wxPyEndAllowThreads(__tstate
);
7690 if (PyErr_Occurred()) SWIG_fail
;
7692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7707 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7708 PyObject
*resultobj
;
7709 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7710 bool arg2
= (bool) True
;
7711 PyObject
* obj0
= 0 ;
7712 PyObject
* obj1
= 0 ;
7714 (char *) "self",(char *) "bShow", NULL
7717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7721 arg2
= (bool) SWIG_AsBool(obj1
);
7722 if (PyErr_Occurred()) SWIG_fail
;
7725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7728 wxPyEndAllowThreads(__tstate
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7731 Py_INCREF(Py_None
); resultobj
= Py_None
;
7738 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7739 PyObject
*resultobj
;
7740 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7742 PyObject
* obj0
= 0 ;
7744 (char *) "self", NULL
7747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7752 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7754 wxPyEndAllowThreads(__tstate
);
7755 if (PyErr_Occurred()) SWIG_fail
;
7758 resultobj
= wxPyMake_wxObject(result
);
7766 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7767 PyObject
*resultobj
;
7768 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7770 PyObject
* obj0
= 0 ;
7772 (char *) "self", NULL
7775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7780 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7782 wxPyEndAllowThreads(__tstate
);
7783 if (PyErr_Occurred()) SWIG_fail
;
7785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7792 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7793 PyObject
*resultobj
;
7794 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7796 PyObject
* obj0
= 0 ;
7798 (char *) "self", NULL
7801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7806 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) SWIG_fail
;
7812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7820 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7821 PyObject
*resultobj
;
7822 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7824 PyObject
* obj0
= 0 ;
7825 PyObject
* obj1
= 0 ;
7827 (char *) "self",(char *) "bDoPass", NULL
7830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7833 arg2
= (bool) SWIG_AsBool(obj1
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 (arg1
)->PassMessages(arg2
);
7839 wxPyEndAllowThreads(__tstate
);
7840 if (PyErr_Occurred()) SWIG_fail
;
7842 Py_INCREF(Py_None
); resultobj
= Py_None
;
7849 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7852 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7854 return Py_BuildValue((char *)"");
7856 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7857 PyObject
*resultobj
;
7858 wxLog
*arg1
= (wxLog
*) 0 ;
7860 PyObject
* obj0
= 0 ;
7862 (char *) "logger", NULL
7865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7870 result
= (wxLogChain
*)new wxLogChain(arg1
);
7872 wxPyEndAllowThreads(__tstate
);
7873 if (PyErr_Occurred()) SWIG_fail
;
7875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
7882 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
*resultobj
;
7884 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7885 wxLog
*arg2
= (wxLog
*) 0 ;
7886 PyObject
* obj0
= 0 ;
7887 PyObject
* obj1
= 0 ;
7889 (char *) "self",(char *) "logger", NULL
7892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7895 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
7896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7899 (arg1
)->SetLog(arg2
);
7901 wxPyEndAllowThreads(__tstate
);
7902 if (PyErr_Occurred()) SWIG_fail
;
7904 Py_INCREF(Py_None
); resultobj
= Py_None
;
7911 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
*resultobj
;
7913 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7915 PyObject
* obj0
= 0 ;
7916 PyObject
* obj1
= 0 ;
7918 (char *) "self",(char *) "bDoPass", NULL
7921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7924 arg2
= (bool) SWIG_AsBool(obj1
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7928 (arg1
)->PassMessages(arg2
);
7930 wxPyEndAllowThreads(__tstate
);
7931 if (PyErr_Occurred()) SWIG_fail
;
7933 Py_INCREF(Py_None
); resultobj
= Py_None
;
7940 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7941 PyObject
*resultobj
;
7942 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7944 PyObject
* obj0
= 0 ;
7946 (char *) "self", NULL
7949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7954 result
= (bool)(arg1
)->IsPassingMessages();
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7968 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7969 PyObject
*resultobj
;
7970 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7972 PyObject
* obj0
= 0 ;
7974 (char *) "self", NULL
7977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7982 result
= (wxLog
*)(arg1
)->GetOldLog();
7984 wxPyEndAllowThreads(__tstate
);
7985 if (PyErr_Occurred()) SWIG_fail
;
7987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7994 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
7996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7997 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7999 return Py_BuildValue((char *)"");
8001 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
*resultobj
;
8003 unsigned long result
;
8008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8011 result
= (unsigned long)wxSysErrorCode();
8013 wxPyEndAllowThreads(__tstate
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8016 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8023 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8024 PyObject
*resultobj
;
8025 unsigned long arg1
= (unsigned long) 0 ;
8027 PyObject
* obj0
= 0 ;
8029 (char *) "nErrCode", NULL
8032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8034 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8035 if (PyErr_Occurred()) SWIG_fail
;
8038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8039 result
= wxSysErrorMsg(arg1
);
8041 wxPyEndAllowThreads(__tstate
);
8042 if (PyErr_Occurred()) SWIG_fail
;
8046 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8048 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8057 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8058 PyObject
*resultobj
;
8059 wxString
*arg1
= 0 ;
8060 bool temp1
= False
;
8061 PyObject
* obj0
= 0 ;
8063 (char *) "msg", NULL
8066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8068 arg1
= wxString_in_helper(obj0
);
8069 if (arg1
== NULL
) SWIG_fail
;
8073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8074 wxLogFatalError((wxString
const &)*arg1
);
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8079 Py_INCREF(Py_None
); resultobj
= Py_None
;
8094 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8095 PyObject
*resultobj
;
8096 wxString
*arg1
= 0 ;
8097 bool temp1
= False
;
8098 PyObject
* obj0
= 0 ;
8100 (char *) "msg", NULL
8103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8105 arg1
= wxString_in_helper(obj0
);
8106 if (arg1
== NULL
) SWIG_fail
;
8110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8111 wxLogError((wxString
const &)*arg1
);
8113 wxPyEndAllowThreads(__tstate
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8116 Py_INCREF(Py_None
); resultobj
= Py_None
;
8131 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8132 PyObject
*resultobj
;
8133 wxString
*arg1
= 0 ;
8134 bool temp1
= False
;
8135 PyObject
* obj0
= 0 ;
8137 (char *) "msg", NULL
8140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8142 arg1
= wxString_in_helper(obj0
);
8143 if (arg1
== NULL
) SWIG_fail
;
8147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8148 wxLogWarning((wxString
const &)*arg1
);
8150 wxPyEndAllowThreads(__tstate
);
8151 if (PyErr_Occurred()) SWIG_fail
;
8153 Py_INCREF(Py_None
); resultobj
= Py_None
;
8168 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8169 PyObject
*resultobj
;
8170 wxString
*arg1
= 0 ;
8171 bool temp1
= False
;
8172 PyObject
* obj0
= 0 ;
8174 (char *) "msg", NULL
8177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8179 arg1
= wxString_in_helper(obj0
);
8180 if (arg1
== NULL
) SWIG_fail
;
8184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8185 wxLogMessage((wxString
const &)*arg1
);
8187 wxPyEndAllowThreads(__tstate
);
8188 if (PyErr_Occurred()) SWIG_fail
;
8190 Py_INCREF(Py_None
); resultobj
= Py_None
;
8205 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8206 PyObject
*resultobj
;
8207 wxString
*arg1
= 0 ;
8208 bool temp1
= False
;
8209 PyObject
* obj0
= 0 ;
8211 (char *) "msg", NULL
8214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8216 arg1
= wxString_in_helper(obj0
);
8217 if (arg1
== NULL
) SWIG_fail
;
8221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8222 wxLogInfo((wxString
const &)*arg1
);
8224 wxPyEndAllowThreads(__tstate
);
8225 if (PyErr_Occurred()) SWIG_fail
;
8227 Py_INCREF(Py_None
); resultobj
= Py_None
;
8242 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8243 PyObject
*resultobj
;
8244 wxString
*arg1
= 0 ;
8245 bool temp1
= False
;
8246 PyObject
* obj0
= 0 ;
8248 (char *) "msg", NULL
8251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8253 arg1
= wxString_in_helper(obj0
);
8254 if (arg1
== NULL
) SWIG_fail
;
8258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 wxLogDebug((wxString
const &)*arg1
);
8261 wxPyEndAllowThreads(__tstate
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8264 Py_INCREF(Py_None
); resultobj
= Py_None
;
8279 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
*resultobj
;
8281 wxString
*arg1
= 0 ;
8282 bool temp1
= False
;
8283 PyObject
* obj0
= 0 ;
8285 (char *) "msg", NULL
8288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8290 arg1
= wxString_in_helper(obj0
);
8291 if (arg1
== NULL
) SWIG_fail
;
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 wxLogVerbose((wxString
const &)*arg1
);
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8301 Py_INCREF(Py_None
); resultobj
= Py_None
;
8316 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8317 PyObject
*resultobj
;
8318 wxString
*arg1
= 0 ;
8319 bool temp1
= False
;
8320 PyObject
* obj0
= 0 ;
8322 (char *) "msg", NULL
8325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8327 arg1
= wxString_in_helper(obj0
);
8328 if (arg1
== NULL
) SWIG_fail
;
8332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8333 wxLogStatus((wxString
const &)*arg1
);
8335 wxPyEndAllowThreads(__tstate
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8338 Py_INCREF(Py_None
); resultobj
= Py_None
;
8353 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
*resultobj
;
8355 wxFrame
*arg1
= (wxFrame
*) 0 ;
8356 wxString
*arg2
= 0 ;
8357 bool temp2
= False
;
8358 PyObject
* obj0
= 0 ;
8359 PyObject
* obj1
= 0 ;
8361 (char *) "pFrame",(char *) "msg", NULL
8364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8368 arg2
= wxString_in_helper(obj1
);
8369 if (arg2
== NULL
) SWIG_fail
;
8373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8374 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8376 wxPyEndAllowThreads(__tstate
);
8377 if (PyErr_Occurred()) SWIG_fail
;
8379 Py_INCREF(Py_None
); resultobj
= Py_None
;
8394 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8395 PyObject
*resultobj
;
8396 wxString
*arg1
= 0 ;
8397 bool temp1
= False
;
8398 PyObject
* obj0
= 0 ;
8400 (char *) "msg", NULL
8403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8405 arg1
= wxString_in_helper(obj0
);
8406 if (arg1
== NULL
) SWIG_fail
;
8410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8411 wxLogSysError((wxString
const &)*arg1
);
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8416 Py_INCREF(Py_None
); resultobj
= Py_None
;
8431 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8432 PyObject
*resultobj
;
8433 unsigned long arg1
;
8434 wxString
*arg2
= 0 ;
8435 bool temp2
= False
;
8436 PyObject
* obj0
= 0 ;
8437 PyObject
* obj1
= 0 ;
8439 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8440 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8441 if (PyErr_Occurred()) SWIG_fail
;
8443 arg2
= wxString_in_helper(obj1
);
8444 if (arg2
== NULL
) SWIG_fail
;
8448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8449 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8451 wxPyEndAllowThreads(__tstate
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8454 Py_INCREF(Py_None
); resultobj
= Py_None
;
8469 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8470 PyObject
*resultobj
;
8471 wxString
*arg1
= 0 ;
8472 wxString
*arg2
= 0 ;
8473 bool temp1
= False
;
8474 bool temp2
= False
;
8475 PyObject
* obj0
= 0 ;
8476 PyObject
* obj1
= 0 ;
8478 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8480 arg1
= wxString_in_helper(obj0
);
8481 if (arg1
== NULL
) SWIG_fail
;
8485 arg2
= wxString_in_helper(obj1
);
8486 if (arg2
== NULL
) SWIG_fail
;
8490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8491 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8493 wxPyEndAllowThreads(__tstate
);
8494 if (PyErr_Occurred()) SWIG_fail
;
8496 Py_INCREF(Py_None
); resultobj
= Py_None
;
8519 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8524 argc
= PyObject_Length(args
);
8525 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8526 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8531 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8535 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8538 return _wrap_LogTrace__SWIG_1(self
,args
);
8544 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8547 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8550 return _wrap_LogTrace__SWIG_0(self
,args
);
8555 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8560 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8561 PyObject
*resultobj
;
8562 unsigned long arg1
;
8563 wxString
*arg2
= 0 ;
8564 bool temp2
= False
;
8565 PyObject
* obj0
= 0 ;
8566 PyObject
* obj1
= 0 ;
8568 (char *) "level",(char *) "msg", NULL
8571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8572 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8575 arg2
= wxString_in_helper(obj1
);
8576 if (arg2
== NULL
) SWIG_fail
;
8580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8581 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8583 wxPyEndAllowThreads(__tstate
);
8584 if (PyErr_Occurred()) SWIG_fail
;
8586 Py_INCREF(Py_None
); resultobj
= Py_None
;
8601 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8602 PyObject
*resultobj
;
8603 wxString
*arg1
= 0 ;
8604 wxString
*arg2
= 0 ;
8605 bool temp1
= False
;
8606 bool temp2
= False
;
8607 PyObject
* obj0
= 0 ;
8608 PyObject
* obj1
= 0 ;
8610 (char *) "title",(char *) "text", NULL
8613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8615 arg1
= wxString_in_helper(obj0
);
8616 if (arg1
== NULL
) SWIG_fail
;
8620 arg2
= wxString_in_helper(obj1
);
8621 if (arg2
== NULL
) SWIG_fail
;
8625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8626 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8628 wxPyEndAllowThreads(__tstate
);
8629 if (PyErr_Occurred()) SWIG_fail
;
8631 Py_INCREF(Py_None
); resultobj
= Py_None
;
8654 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8655 PyObject
*resultobj
;
8661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8664 result
= (wxLogNull
*)new wxLogNull();
8666 wxPyEndAllowThreads(__tstate
);
8667 if (PyErr_Occurred()) SWIG_fail
;
8669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8676 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8677 PyObject
*resultobj
;
8678 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8679 PyObject
* obj0
= 0 ;
8681 (char *) "self", NULL
8684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8694 Py_INCREF(Py_None
); resultobj
= Py_None
;
8701 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8704 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8706 return Py_BuildValue((char *)"");
8708 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8709 PyObject
*resultobj
;
8715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 result
= (wxPyLog
*)new wxPyLog();
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8730 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8731 PyObject
*resultobj
;
8732 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8733 PyObject
*arg2
= (PyObject
*) 0 ;
8734 PyObject
*arg3
= (PyObject
*) 0 ;
8735 PyObject
* obj0
= 0 ;
8736 PyObject
* obj1
= 0 ;
8737 PyObject
* obj2
= 0 ;
8739 (char *) "self",(char *) "self",(char *) "_class", NULL
8742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8749 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8754 Py_INCREF(Py_None
); resultobj
= Py_None
;
8761 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8764 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8766 return Py_BuildValue((char *)"");
8768 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8769 PyObject
*resultobj
;
8771 int arg2
= (int) wxSIGTERM
;
8773 PyObject
* obj0
= 0 ;
8774 PyObject
* obj1
= 0 ;
8776 (char *) "pid",(char *) "sig", NULL
8779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8780 arg1
= (int) SWIG_AsInt(obj0
);
8781 if (PyErr_Occurred()) SWIG_fail
;
8783 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8788 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8790 wxPyEndAllowThreads(__tstate
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8793 resultobj
= SWIG_FromInt((int)result
);
8800 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8801 PyObject
*resultobj
;
8804 PyObject
* obj0
= 0 ;
8806 (char *) "pid", NULL
8809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8810 arg1
= (int) SWIG_AsInt(obj0
);
8811 if (PyErr_Occurred()) SWIG_fail
;
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 result
= (bool)wxPyProcess::Exists(arg1
);
8816 wxPyEndAllowThreads(__tstate
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8828 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8829 PyObject
*resultobj
;
8830 wxString
*arg1
= 0 ;
8831 int arg2
= (int) wxEXEC_ASYNC
;
8832 wxPyProcess
*result
;
8833 bool temp1
= False
;
8834 PyObject
* obj0
= 0 ;
8835 PyObject
* obj1
= 0 ;
8837 (char *) "cmd",(char *) "flags", NULL
8840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8842 arg1
= wxString_in_helper(obj0
);
8843 if (arg1
== NULL
) SWIG_fail
;
8847 arg2
= (int) SWIG_AsInt(obj1
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
8872 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8873 PyObject
*resultobj
;
8874 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8875 int arg2
= (int) -1 ;
8876 wxPyProcess
*result
;
8877 PyObject
* obj0
= 0 ;
8878 PyObject
* obj1
= 0 ;
8880 (char *) "parent",(char *) "id", NULL
8883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
8886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8889 arg2
= (int) SWIG_AsInt(obj1
);
8890 if (PyErr_Occurred()) SWIG_fail
;
8893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8894 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8896 wxPyEndAllowThreads(__tstate
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
8906 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8907 PyObject
*resultobj
;
8908 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8909 PyObject
*arg2
= (PyObject
*) 0 ;
8910 PyObject
*arg3
= (PyObject
*) 0 ;
8911 PyObject
* obj0
= 0 ;
8912 PyObject
* obj1
= 0 ;
8913 PyObject
* obj2
= 0 ;
8915 (char *) "self",(char *) "self",(char *) "_class", NULL
8918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8925 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8927 wxPyEndAllowThreads(__tstate
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8930 Py_INCREF(Py_None
); resultobj
= Py_None
;
8937 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8938 PyObject
*resultobj
;
8939 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8942 PyObject
* obj0
= 0 ;
8943 PyObject
* obj1
= 0 ;
8944 PyObject
* obj2
= 0 ;
8946 (char *) "self",(char *) "pid",(char *) "status", NULL
8949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8952 arg2
= (int) SWIG_AsInt(obj1
);
8953 if (PyErr_Occurred()) SWIG_fail
;
8954 arg3
= (int) SWIG_AsInt(obj2
);
8955 if (PyErr_Occurred()) SWIG_fail
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 (arg1
)->base_OnTerminate(arg2
,arg3
);
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8963 Py_INCREF(Py_None
); resultobj
= Py_None
;
8970 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
;
8972 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8973 PyObject
* obj0
= 0 ;
8975 (char *) "self", NULL
8978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8985 wxPyEndAllowThreads(__tstate
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8988 Py_INCREF(Py_None
); resultobj
= Py_None
;
8995 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8996 PyObject
*resultobj
;
8997 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8999 PyObject
* obj0
= 0 ;
9001 (char *) "self", NULL
9004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 result
= (bool)(arg1
)->IsRedirected();
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) SWIG_fail
;
9015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9023 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9024 PyObject
*resultobj
;
9025 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9026 PyObject
* obj0
= 0 ;
9028 (char *) "self", NULL
9031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 wxPyEndAllowThreads(__tstate
);
9039 if (PyErr_Occurred()) SWIG_fail
;
9041 Py_INCREF(Py_None
); resultobj
= Py_None
;
9048 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9049 PyObject
*resultobj
;
9050 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9051 wxInputStream
*result
;
9052 PyObject
* obj0
= 0 ;
9054 (char *) "self", NULL
9057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9068 wxPyInputStream
* _ptr
= NULL
;
9071 _ptr
= new wxPyInputStream(result
);
9073 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9081 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
*resultobj
;
9083 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9084 wxInputStream
*result
;
9085 PyObject
* obj0
= 0 ;
9087 (char *) "self", NULL
9090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9095 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9097 wxPyEndAllowThreads(__tstate
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9101 wxPyInputStream
* _ptr
= NULL
;
9104 _ptr
= new wxPyInputStream(result
);
9106 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9114 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9115 PyObject
*resultobj
;
9116 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9117 wxOutputStream
*result
;
9118 PyObject
* obj0
= 0 ;
9120 (char *) "self", NULL
9123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9128 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9130 wxPyEndAllowThreads(__tstate
);
9131 if (PyErr_Occurred()) SWIG_fail
;
9133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9140 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
*resultobj
;
9142 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9143 PyObject
* obj0
= 0 ;
9145 (char *) "self", NULL
9148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 (arg1
)->CloseOutput();
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9158 Py_INCREF(Py_None
); resultobj
= Py_None
;
9165 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
;
9167 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9169 PyObject
* obj0
= 0 ;
9171 (char *) "self", NULL
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9179 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9181 wxPyEndAllowThreads(__tstate
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9193 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9194 PyObject
*resultobj
;
9195 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9197 PyObject
* obj0
= 0 ;
9199 (char *) "self", NULL
9202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9207 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9209 wxPyEndAllowThreads(__tstate
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9221 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
*resultobj
;
9223 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9225 PyObject
* obj0
= 0 ;
9227 (char *) "self", NULL
9230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9235 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9237 wxPyEndAllowThreads(__tstate
);
9238 if (PyErr_Occurred()) SWIG_fail
;
9241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9249 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9252 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9254 return Py_BuildValue((char *)"");
9256 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9257 PyObject
*resultobj
;
9258 int arg1
= (int) 0 ;
9259 int arg2
= (int) 0 ;
9260 int arg3
= (int) 0 ;
9261 wxProcessEvent
*result
;
9262 PyObject
* obj0
= 0 ;
9263 PyObject
* obj1
= 0 ;
9264 PyObject
* obj2
= 0 ;
9266 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9271 arg1
= (int) SWIG_AsInt(obj0
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9275 arg2
= (int) SWIG_AsInt(obj1
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9279 arg3
= (int) SWIG_AsInt(obj2
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9296 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9297 PyObject
*resultobj
;
9298 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9300 PyObject
* obj0
= 0 ;
9302 (char *) "self", NULL
9305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9310 result
= (int)(arg1
)->GetPid();
9312 wxPyEndAllowThreads(__tstate
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9315 resultobj
= SWIG_FromInt((int)result
);
9322 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9323 PyObject
*resultobj
;
9324 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9326 PyObject
* obj0
= 0 ;
9328 (char *) "self", NULL
9331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9336 result
= (int)(arg1
)->GetExitCode();
9338 wxPyEndAllowThreads(__tstate
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9341 resultobj
= SWIG_FromInt((int)result
);
9348 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9349 PyObject
*resultobj
;
9350 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9352 PyObject
* obj0
= 0 ;
9353 PyObject
* obj1
= 0 ;
9355 (char *) "self",(char *) "m_pid", NULL
9358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9361 arg2
= (int) SWIG_AsInt(obj1
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9363 if (arg1
) (arg1
)->m_pid
= arg2
;
9365 Py_INCREF(Py_None
); resultobj
= Py_None
;
9372 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
*resultobj
;
9374 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9376 PyObject
* obj0
= 0 ;
9378 (char *) "self", NULL
9381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9384 result
= (int) ((arg1
)->m_pid
);
9386 resultobj
= SWIG_FromInt((int)result
);
9393 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9394 PyObject
*resultobj
;
9395 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9397 PyObject
* obj0
= 0 ;
9398 PyObject
* obj1
= 0 ;
9400 (char *) "self",(char *) "m_exitcode", NULL
9403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9406 arg2
= (int) SWIG_AsInt(obj1
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9408 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9410 Py_INCREF(Py_None
); resultobj
= Py_None
;
9417 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
*resultobj
;
9419 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9421 PyObject
* obj0
= 0 ;
9423 (char *) "self", NULL
9426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9429 result
= (int) ((arg1
)->m_exitcode
);
9431 resultobj
= SWIG_FromInt((int)result
);
9438 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9441 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9443 return Py_BuildValue((char *)"");
9445 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
*resultobj
;
9447 wxString
*arg1
= 0 ;
9448 int arg2
= (int) wxEXEC_ASYNC
;
9449 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9451 bool temp1
= False
;
9452 PyObject
* obj0
= 0 ;
9453 PyObject
* obj1
= 0 ;
9454 PyObject
* obj2
= 0 ;
9456 (char *) "command",(char *) "flags",(char *) "process", NULL
9459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9461 arg1
= wxString_in_helper(obj0
);
9462 if (arg1
== NULL
) SWIG_fail
;
9466 arg2
= (int) SWIG_AsInt(obj1
);
9467 if (PyErr_Occurred()) SWIG_fail
;
9470 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9475 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9477 wxPyEndAllowThreads(__tstate
);
9478 if (PyErr_Occurred()) SWIG_fail
;
9480 resultobj
= SWIG_FromLong((long)result
);
9495 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9496 PyObject
*resultobj
;
9497 int arg1
= (int) wxJOYSTICK1
;
9499 PyObject
* obj0
= 0 ;
9501 (char *) "joystick", NULL
9504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9506 arg1
= (int) SWIG_AsInt(obj0
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9511 result
= (wxJoystick
*)new wxJoystick(arg1
);
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9523 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9524 PyObject
*resultobj
;
9525 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9526 PyObject
* obj0
= 0 ;
9528 (char *) "self", NULL
9531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 wxPyEndAllowThreads(__tstate
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9541 Py_INCREF(Py_None
); resultobj
= Py_None
;
9548 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9549 PyObject
*resultobj
;
9550 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9552 PyObject
* obj0
= 0 ;
9554 (char *) "self", NULL
9557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9562 result
= (arg1
)->GetPosition();
9564 wxPyEndAllowThreads(__tstate
);
9565 if (PyErr_Occurred()) SWIG_fail
;
9568 wxPoint
* resultptr
;
9569 resultptr
= new wxPoint((wxPoint
&) result
);
9570 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9578 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9579 PyObject
*resultobj
;
9580 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9582 PyObject
* obj0
= 0 ;
9584 (char *) "self", NULL
9587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9592 result
= (int)(arg1
)->GetZPosition();
9594 wxPyEndAllowThreads(__tstate
);
9595 if (PyErr_Occurred()) SWIG_fail
;
9597 resultobj
= SWIG_FromInt((int)result
);
9604 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9605 PyObject
*resultobj
;
9606 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9608 PyObject
* obj0
= 0 ;
9610 (char *) "self", NULL
9613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9618 result
= (int)(arg1
)->GetButtonState();
9620 wxPyEndAllowThreads(__tstate
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9623 resultobj
= SWIG_FromInt((int)result
);
9630 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
*resultobj
;
9632 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9634 PyObject
* obj0
= 0 ;
9636 (char *) "self", NULL
9639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9644 result
= (int)(arg1
)->GetPOVPosition();
9646 wxPyEndAllowThreads(__tstate
);
9647 if (PyErr_Occurred()) SWIG_fail
;
9649 resultobj
= SWIG_FromInt((int)result
);
9656 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9657 PyObject
*resultobj
;
9658 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9660 PyObject
* obj0
= 0 ;
9662 (char *) "self", NULL
9665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9670 result
= (int)(arg1
)->GetPOVCTSPosition();
9672 wxPyEndAllowThreads(__tstate
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9675 resultobj
= SWIG_FromInt((int)result
);
9682 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9683 PyObject
*resultobj
;
9684 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9686 PyObject
* obj0
= 0 ;
9688 (char *) "self", NULL
9691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9696 result
= (int)(arg1
)->GetRudderPosition();
9698 wxPyEndAllowThreads(__tstate
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9701 resultobj
= SWIG_FromInt((int)result
);
9708 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9709 PyObject
*resultobj
;
9710 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9712 PyObject
* obj0
= 0 ;
9714 (char *) "self", NULL
9717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9722 result
= (int)(arg1
)->GetUPosition();
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9727 resultobj
= SWIG_FromInt((int)result
);
9734 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
;
9736 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9738 PyObject
* obj0
= 0 ;
9740 (char *) "self", NULL
9743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9748 result
= (int)(arg1
)->GetVPosition();
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9753 resultobj
= SWIG_FromInt((int)result
);
9760 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9761 PyObject
*resultobj
;
9762 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9764 PyObject
* obj0
= 0 ;
9766 (char *) "self", NULL
9769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9774 result
= (int)(arg1
)->GetMovementThreshold();
9776 wxPyEndAllowThreads(__tstate
);
9777 if (PyErr_Occurred()) SWIG_fail
;
9779 resultobj
= SWIG_FromInt((int)result
);
9786 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9787 PyObject
*resultobj
;
9788 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9790 PyObject
* obj0
= 0 ;
9791 PyObject
* obj1
= 0 ;
9793 (char *) "self",(char *) "threshold", NULL
9796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9799 arg2
= (int) SWIG_AsInt(obj1
);
9800 if (PyErr_Occurred()) SWIG_fail
;
9802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9803 (arg1
)->SetMovementThreshold(arg2
);
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9808 Py_INCREF(Py_None
); resultobj
= Py_None
;
9815 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
;
9817 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9819 PyObject
* obj0
= 0 ;
9821 (char *) "self", NULL
9824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9829 result
= (bool)(arg1
)->IsOk();
9831 wxPyEndAllowThreads(__tstate
);
9832 if (PyErr_Occurred()) SWIG_fail
;
9835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9843 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9844 PyObject
*resultobj
;
9845 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9847 PyObject
* obj0
= 0 ;
9849 (char *) "self", NULL
9852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9857 result
= (int)(arg1
)->GetNumberJoysticks();
9859 wxPyEndAllowThreads(__tstate
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9862 resultobj
= SWIG_FromInt((int)result
);
9869 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
*resultobj
;
9871 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9873 PyObject
* obj0
= 0 ;
9875 (char *) "self", NULL
9878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9883 result
= (int)(arg1
)->GetManufacturerId();
9885 wxPyEndAllowThreads(__tstate
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9888 resultobj
= SWIG_FromInt((int)result
);
9895 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9896 PyObject
*resultobj
;
9897 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9899 PyObject
* obj0
= 0 ;
9901 (char *) "self", NULL
9904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9909 result
= (int)(arg1
)->GetProductId();
9911 wxPyEndAllowThreads(__tstate
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9914 resultobj
= SWIG_FromInt((int)result
);
9921 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
;
9923 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9925 PyObject
* obj0
= 0 ;
9927 (char *) "self", NULL
9930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9935 result
= (arg1
)->GetProductName();
9937 wxPyEndAllowThreads(__tstate
);
9938 if (PyErr_Occurred()) SWIG_fail
;
9942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9953 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
;
9955 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9957 PyObject
* obj0
= 0 ;
9959 (char *) "self", NULL
9962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9967 result
= (int)(arg1
)->GetXMin();
9969 wxPyEndAllowThreads(__tstate
);
9970 if (PyErr_Occurred()) SWIG_fail
;
9972 resultobj
= SWIG_FromInt((int)result
);
9979 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9980 PyObject
*resultobj
;
9981 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9983 PyObject
* obj0
= 0 ;
9985 (char *) "self", NULL
9988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 result
= (int)(arg1
)->GetYMin();
9995 wxPyEndAllowThreads(__tstate
);
9996 if (PyErr_Occurred()) SWIG_fail
;
9998 resultobj
= SWIG_FromInt((int)result
);
10005 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10006 PyObject
*resultobj
;
10007 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10009 PyObject
* obj0
= 0 ;
10010 char *kwnames
[] = {
10011 (char *) "self", NULL
10014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 result
= (int)(arg1
)->GetZMin();
10021 wxPyEndAllowThreads(__tstate
);
10022 if (PyErr_Occurred()) SWIG_fail
;
10024 resultobj
= SWIG_FromInt((int)result
);
10031 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
*resultobj
;
10033 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10035 PyObject
* obj0
= 0 ;
10036 char *kwnames
[] = {
10037 (char *) "self", NULL
10040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 result
= (int)(arg1
)->GetXMax();
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10050 resultobj
= SWIG_FromInt((int)result
);
10057 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
*resultobj
;
10059 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10061 PyObject
* obj0
= 0 ;
10062 char *kwnames
[] = {
10063 (char *) "self", NULL
10066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 result
= (int)(arg1
)->GetYMax();
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10076 resultobj
= SWIG_FromInt((int)result
);
10083 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10084 PyObject
*resultobj
;
10085 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10087 PyObject
* obj0
= 0 ;
10088 char *kwnames
[] = {
10089 (char *) "self", NULL
10092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 result
= (int)(arg1
)->GetZMax();
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10102 resultobj
= SWIG_FromInt((int)result
);
10109 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
*resultobj
;
10111 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10113 PyObject
* obj0
= 0 ;
10114 char *kwnames
[] = {
10115 (char *) "self", NULL
10118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10123 result
= (int)(arg1
)->GetNumberButtons();
10125 wxPyEndAllowThreads(__tstate
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10128 resultobj
= SWIG_FromInt((int)result
);
10135 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10136 PyObject
*resultobj
;
10137 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10139 PyObject
* obj0
= 0 ;
10140 char *kwnames
[] = {
10141 (char *) "self", NULL
10144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10149 result
= (int)(arg1
)->GetNumberAxes();
10151 wxPyEndAllowThreads(__tstate
);
10152 if (PyErr_Occurred()) SWIG_fail
;
10154 resultobj
= SWIG_FromInt((int)result
);
10161 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10162 PyObject
*resultobj
;
10163 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10165 PyObject
* obj0
= 0 ;
10166 char *kwnames
[] = {
10167 (char *) "self", NULL
10170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10175 result
= (int)(arg1
)->GetMaxButtons();
10177 wxPyEndAllowThreads(__tstate
);
10178 if (PyErr_Occurred()) SWIG_fail
;
10180 resultobj
= SWIG_FromInt((int)result
);
10187 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10188 PyObject
*resultobj
;
10189 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10191 PyObject
* obj0
= 0 ;
10192 char *kwnames
[] = {
10193 (char *) "self", NULL
10196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 result
= (int)(arg1
)->GetMaxAxes();
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 resultobj
= SWIG_FromInt((int)result
);
10213 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
*resultobj
;
10215 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10217 PyObject
* obj0
= 0 ;
10218 char *kwnames
[] = {
10219 (char *) "self", NULL
10222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10227 result
= (int)(arg1
)->GetPollingMin();
10229 wxPyEndAllowThreads(__tstate
);
10230 if (PyErr_Occurred()) SWIG_fail
;
10232 resultobj
= SWIG_FromInt((int)result
);
10239 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10240 PyObject
*resultobj
;
10241 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10243 PyObject
* obj0
= 0 ;
10244 char *kwnames
[] = {
10245 (char *) "self", NULL
10248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10253 result
= (int)(arg1
)->GetPollingMax();
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10258 resultobj
= SWIG_FromInt((int)result
);
10265 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10266 PyObject
*resultobj
;
10267 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10269 PyObject
* obj0
= 0 ;
10270 char *kwnames
[] = {
10271 (char *) "self", NULL
10274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10279 result
= (int)(arg1
)->GetRudderMin();
10281 wxPyEndAllowThreads(__tstate
);
10282 if (PyErr_Occurred()) SWIG_fail
;
10284 resultobj
= SWIG_FromInt((int)result
);
10291 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
*resultobj
;
10293 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10295 PyObject
* obj0
= 0 ;
10296 char *kwnames
[] = {
10297 (char *) "self", NULL
10300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 result
= (int)(arg1
)->GetRudderMax();
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10310 resultobj
= SWIG_FromInt((int)result
);
10317 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
*resultobj
;
10319 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10321 PyObject
* obj0
= 0 ;
10322 char *kwnames
[] = {
10323 (char *) "self", NULL
10326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10331 result
= (int)(arg1
)->GetUMin();
10333 wxPyEndAllowThreads(__tstate
);
10334 if (PyErr_Occurred()) SWIG_fail
;
10336 resultobj
= SWIG_FromInt((int)result
);
10343 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10344 PyObject
*resultobj
;
10345 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10347 PyObject
* obj0
= 0 ;
10348 char *kwnames
[] = {
10349 (char *) "self", NULL
10352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10357 result
= (int)(arg1
)->GetUMax();
10359 wxPyEndAllowThreads(__tstate
);
10360 if (PyErr_Occurred()) SWIG_fail
;
10362 resultobj
= SWIG_FromInt((int)result
);
10369 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10370 PyObject
*resultobj
;
10371 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10373 PyObject
* obj0
= 0 ;
10374 char *kwnames
[] = {
10375 (char *) "self", NULL
10378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 result
= (int)(arg1
)->GetVMin();
10385 wxPyEndAllowThreads(__tstate
);
10386 if (PyErr_Occurred()) SWIG_fail
;
10388 resultobj
= SWIG_FromInt((int)result
);
10395 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10396 PyObject
*resultobj
;
10397 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10399 PyObject
* obj0
= 0 ;
10400 char *kwnames
[] = {
10401 (char *) "self", NULL
10404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 result
= (int)(arg1
)->GetVMax();
10411 wxPyEndAllowThreads(__tstate
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10414 resultobj
= SWIG_FromInt((int)result
);
10421 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10422 PyObject
*resultobj
;
10423 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10425 PyObject
* obj0
= 0 ;
10426 char *kwnames
[] = {
10427 (char *) "self", NULL
10430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 result
= (bool)(arg1
)->HasRudder();
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10449 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10450 PyObject
*resultobj
;
10451 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10453 PyObject
* obj0
= 0 ;
10454 char *kwnames
[] = {
10455 (char *) "self", NULL
10458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10463 result
= (bool)(arg1
)->HasZ();
10465 wxPyEndAllowThreads(__tstate
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10477 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10478 PyObject
*resultobj
;
10479 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10481 PyObject
* obj0
= 0 ;
10482 char *kwnames
[] = {
10483 (char *) "self", NULL
10486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 result
= (bool)(arg1
)->HasU();
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10505 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10506 PyObject
*resultobj
;
10507 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10509 PyObject
* obj0
= 0 ;
10510 char *kwnames
[] = {
10511 (char *) "self", NULL
10514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10519 result
= (bool)(arg1
)->HasV();
10521 wxPyEndAllowThreads(__tstate
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10533 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10534 PyObject
*resultobj
;
10535 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10537 PyObject
* obj0
= 0 ;
10538 char *kwnames
[] = {
10539 (char *) "self", NULL
10542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 result
= (bool)(arg1
)->HasPOV();
10549 wxPyEndAllowThreads(__tstate
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10561 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10562 PyObject
*resultobj
;
10563 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10565 PyObject
* obj0
= 0 ;
10566 char *kwnames
[] = {
10567 (char *) "self", NULL
10570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10575 result
= (bool)(arg1
)->HasPOV4Dir();
10577 wxPyEndAllowThreads(__tstate
);
10578 if (PyErr_Occurred()) SWIG_fail
;
10581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10589 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10590 PyObject
*resultobj
;
10591 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10593 PyObject
* obj0
= 0 ;
10594 char *kwnames
[] = {
10595 (char *) "self", NULL
10598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 result
= (bool)(arg1
)->HasPOVCTS();
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10617 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10618 PyObject
*resultobj
;
10619 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10620 wxWindow
*arg2
= (wxWindow
*) 0 ;
10621 int arg3
= (int) 0 ;
10623 PyObject
* obj0
= 0 ;
10624 PyObject
* obj1
= 0 ;
10625 PyObject
* obj2
= 0 ;
10626 char *kwnames
[] = {
10627 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10636 arg3
= (int) SWIG_AsInt(obj2
);
10637 if (PyErr_Occurred()) SWIG_fail
;
10640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10641 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10643 wxPyEndAllowThreads(__tstate
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10655 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10656 PyObject
*resultobj
;
10657 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10659 PyObject
* obj0
= 0 ;
10660 char *kwnames
[] = {
10661 (char *) "self", NULL
10664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 result
= (bool)(arg1
)->ReleaseCapture();
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10683 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10685 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10686 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10688 return Py_BuildValue((char *)"");
10690 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10691 PyObject
*resultobj
;
10692 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10693 wxPoint
*arg2
= (wxPoint
*) 0 ;
10694 PyObject
* obj0
= 0 ;
10695 PyObject
* obj1
= 0 ;
10696 char *kwnames
[] = {
10697 (char *) "self",(char *) "m_pos", NULL
10700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10705 if (arg1
) (arg1
)->m_pos
= *arg2
;
10707 Py_INCREF(Py_None
); resultobj
= Py_None
;
10714 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10715 PyObject
*resultobj
;
10716 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10718 PyObject
* obj0
= 0 ;
10719 char *kwnames
[] = {
10720 (char *) "self", NULL
10723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10726 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10735 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10736 PyObject
*resultobj
;
10737 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10739 PyObject
* obj0
= 0 ;
10740 PyObject
* obj1
= 0 ;
10741 char *kwnames
[] = {
10742 (char *) "self",(char *) "m_zPosition", NULL
10745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10748 arg2
= (int) SWIG_AsInt(obj1
);
10749 if (PyErr_Occurred()) SWIG_fail
;
10750 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10752 Py_INCREF(Py_None
); resultobj
= Py_None
;
10759 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10760 PyObject
*resultobj
;
10761 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10763 PyObject
* obj0
= 0 ;
10764 char *kwnames
[] = {
10765 (char *) "self", NULL
10768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10771 result
= (int) ((arg1
)->m_zPosition
);
10773 resultobj
= SWIG_FromInt((int)result
);
10780 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
*resultobj
;
10782 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10784 PyObject
* obj0
= 0 ;
10785 PyObject
* obj1
= 0 ;
10786 char *kwnames
[] = {
10787 (char *) "self",(char *) "m_buttonChange", NULL
10790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10793 arg2
= (int) SWIG_AsInt(obj1
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10795 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10797 Py_INCREF(Py_None
); resultobj
= Py_None
;
10804 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
;
10806 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10808 PyObject
* obj0
= 0 ;
10809 char *kwnames
[] = {
10810 (char *) "self", NULL
10813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10816 result
= (int) ((arg1
)->m_buttonChange
);
10818 resultobj
= SWIG_FromInt((int)result
);
10825 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10826 PyObject
*resultobj
;
10827 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10829 PyObject
* obj0
= 0 ;
10830 PyObject
* obj1
= 0 ;
10831 char *kwnames
[] = {
10832 (char *) "self",(char *) "m_buttonState", NULL
10835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10838 arg2
= (int) SWIG_AsInt(obj1
);
10839 if (PyErr_Occurred()) SWIG_fail
;
10840 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10842 Py_INCREF(Py_None
); resultobj
= Py_None
;
10849 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10850 PyObject
*resultobj
;
10851 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10853 PyObject
* obj0
= 0 ;
10854 char *kwnames
[] = {
10855 (char *) "self", NULL
10858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10861 result
= (int) ((arg1
)->m_buttonState
);
10863 resultobj
= SWIG_FromInt((int)result
);
10870 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10871 PyObject
*resultobj
;
10872 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10874 PyObject
* obj0
= 0 ;
10875 PyObject
* obj1
= 0 ;
10876 char *kwnames
[] = {
10877 (char *) "self",(char *) "m_joyStick", NULL
10880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10883 arg2
= (int) SWIG_AsInt(obj1
);
10884 if (PyErr_Occurred()) SWIG_fail
;
10885 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10887 Py_INCREF(Py_None
); resultobj
= Py_None
;
10894 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10895 PyObject
*resultobj
;
10896 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10898 PyObject
* obj0
= 0 ;
10899 char *kwnames
[] = {
10900 (char *) "self", NULL
10903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10906 result
= (int) ((arg1
)->m_joyStick
);
10908 resultobj
= SWIG_FromInt((int)result
);
10915 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10916 PyObject
*resultobj
;
10917 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10918 int arg2
= (int) 0 ;
10919 int arg3
= (int) wxJOYSTICK1
;
10920 int arg4
= (int) 0 ;
10921 wxJoystickEvent
*result
;
10922 PyObject
* obj0
= 0 ;
10923 PyObject
* obj1
= 0 ;
10924 PyObject
* obj2
= 0 ;
10925 PyObject
* obj3
= 0 ;
10926 char *kwnames
[] = {
10927 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10932 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10933 if (PyErr_Occurred()) SWIG_fail
;
10936 arg2
= (int) SWIG_AsInt(obj1
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10940 arg3
= (int) SWIG_AsInt(obj2
);
10941 if (PyErr_Occurred()) SWIG_fail
;
10944 arg4
= (int) SWIG_AsInt(obj3
);
10945 if (PyErr_Occurred()) SWIG_fail
;
10948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10949 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10951 wxPyEndAllowThreads(__tstate
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
10961 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10962 PyObject
*resultobj
;
10963 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10965 PyObject
* obj0
= 0 ;
10966 char *kwnames
[] = {
10967 (char *) "self", NULL
10970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10977 wxPyEndAllowThreads(__tstate
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10981 wxPoint
* resultptr
;
10982 resultptr
= new wxPoint((wxPoint
&) result
);
10983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10991 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10992 PyObject
*resultobj
;
10993 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10995 PyObject
* obj0
= 0 ;
10996 char *kwnames
[] = {
10997 (char *) "self", NULL
11000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11005 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11007 wxPyEndAllowThreads(__tstate
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11010 resultobj
= SWIG_FromInt((int)result
);
11017 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11018 PyObject
*resultobj
;
11019 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11021 PyObject
* obj0
= 0 ;
11022 char *kwnames
[] = {
11023 (char *) "self", NULL
11026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11031 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11033 wxPyEndAllowThreads(__tstate
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11036 resultobj
= SWIG_FromInt((int)result
);
11043 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11044 PyObject
*resultobj
;
11045 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11047 PyObject
* obj0
= 0 ;
11048 char *kwnames
[] = {
11049 (char *) "self", NULL
11052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11057 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11059 wxPyEndAllowThreads(__tstate
);
11060 if (PyErr_Occurred()) SWIG_fail
;
11062 resultobj
= SWIG_FromInt((int)result
);
11069 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11070 PyObject
*resultobj
;
11071 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11073 PyObject
* obj0
= 0 ;
11074 char *kwnames
[] = {
11075 (char *) "self", NULL
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11083 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11085 wxPyEndAllowThreads(__tstate
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11088 resultobj
= SWIG_FromInt((int)result
);
11095 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11096 PyObject
*resultobj
;
11097 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11099 PyObject
* obj0
= 0 ;
11100 PyObject
* obj1
= 0 ;
11101 char *kwnames
[] = {
11102 (char *) "self",(char *) "stick", NULL
11105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11108 arg2
= (int) SWIG_AsInt(obj1
);
11109 if (PyErr_Occurred()) SWIG_fail
;
11111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11112 (arg1
)->SetJoystick(arg2
);
11114 wxPyEndAllowThreads(__tstate
);
11115 if (PyErr_Occurred()) SWIG_fail
;
11117 Py_INCREF(Py_None
); resultobj
= Py_None
;
11124 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11125 PyObject
*resultobj
;
11126 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11128 PyObject
* obj0
= 0 ;
11129 PyObject
* obj1
= 0 ;
11130 char *kwnames
[] = {
11131 (char *) "self",(char *) "state", NULL
11134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11137 arg2
= (int) SWIG_AsInt(obj1
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11141 (arg1
)->SetButtonState(arg2
);
11143 wxPyEndAllowThreads(__tstate
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11146 Py_INCREF(Py_None
); resultobj
= Py_None
;
11153 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11154 PyObject
*resultobj
;
11155 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11157 PyObject
* obj0
= 0 ;
11158 PyObject
* obj1
= 0 ;
11159 char *kwnames
[] = {
11160 (char *) "self",(char *) "change", NULL
11163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11166 arg2
= (int) SWIG_AsInt(obj1
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 (arg1
)->SetButtonChange(arg2
);
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11175 Py_INCREF(Py_None
); resultobj
= Py_None
;
11182 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
;
11184 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11185 wxPoint
*arg2
= 0 ;
11187 PyObject
* obj0
= 0 ;
11188 PyObject
* obj1
= 0 ;
11189 char *kwnames
[] = {
11190 (char *) "self",(char *) "pos", NULL
11193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11198 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11204 wxPyEndAllowThreads(__tstate
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11207 Py_INCREF(Py_None
); resultobj
= Py_None
;
11214 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11215 PyObject
*resultobj
;
11216 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11218 PyObject
* obj0
= 0 ;
11219 PyObject
* obj1
= 0 ;
11220 char *kwnames
[] = {
11221 (char *) "self",(char *) "zPos", NULL
11224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11227 arg2
= (int) SWIG_AsInt(obj1
);
11228 if (PyErr_Occurred()) SWIG_fail
;
11230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11231 (arg1
)->SetZPosition(arg2
);
11233 wxPyEndAllowThreads(__tstate
);
11234 if (PyErr_Occurred()) SWIG_fail
;
11236 Py_INCREF(Py_None
); resultobj
= Py_None
;
11243 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11244 PyObject
*resultobj
;
11245 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11247 PyObject
* obj0
= 0 ;
11248 char *kwnames
[] = {
11249 (char *) "self", NULL
11252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11257 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11259 wxPyEndAllowThreads(__tstate
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11271 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11272 PyObject
*resultobj
;
11273 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11275 PyObject
* obj0
= 0 ;
11276 char *kwnames
[] = {
11277 (char *) "self", NULL
11280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11285 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11287 wxPyEndAllowThreads(__tstate
);
11288 if (PyErr_Occurred()) SWIG_fail
;
11291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11299 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11300 PyObject
*resultobj
;
11301 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11303 PyObject
* obj0
= 0 ;
11304 char *kwnames
[] = {
11305 (char *) "self", NULL
11308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11313 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11327 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11328 PyObject
*resultobj
;
11329 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11330 int arg2
= (int) wxJOY_BUTTON_ANY
;
11332 PyObject
* obj0
= 0 ;
11333 PyObject
* obj1
= 0 ;
11334 char *kwnames
[] = {
11335 (char *) "self",(char *) "but", NULL
11338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11342 arg2
= (int) SWIG_AsInt(obj1
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11347 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11349 wxPyEndAllowThreads(__tstate
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11361 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11362 PyObject
*resultobj
;
11363 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11364 int arg2
= (int) wxJOY_BUTTON_ANY
;
11366 PyObject
* obj0
= 0 ;
11367 PyObject
* obj1
= 0 ;
11368 char *kwnames
[] = {
11369 (char *) "self",(char *) "but", NULL
11372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11376 arg2
= (int) SWIG_AsInt(obj1
);
11377 if (PyErr_Occurred()) SWIG_fail
;
11380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11381 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11383 wxPyEndAllowThreads(__tstate
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11395 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11396 PyObject
*resultobj
;
11397 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11398 int arg2
= (int) wxJOY_BUTTON_ANY
;
11400 PyObject
* obj0
= 0 ;
11401 PyObject
* obj1
= 0 ;
11402 char *kwnames
[] = {
11403 (char *) "self",(char *) "but", NULL
11406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11410 arg2
= (int) SWIG_AsInt(obj1
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11415 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11429 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11431 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11432 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11434 return Py_BuildValue((char *)"");
11436 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11437 PyObject
*resultobj
;
11438 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11439 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11441 bool temp1
= False
;
11442 PyObject
* obj0
= 0 ;
11443 char *kwnames
[] = {
11444 (char *) "fileName", NULL
11447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11450 arg1
= wxString_in_helper(obj0
);
11451 if (arg1
== NULL
) SWIG_fail
;
11456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11457 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11459 wxPyEndAllowThreads(__tstate
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11477 static PyObject
*_wrap_new_SoundFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11478 PyObject
*resultobj
;
11479 PyObject
*arg1
= (PyObject
*) 0 ;
11481 PyObject
* obj0
= 0 ;
11482 char *kwnames
[] = {
11483 (char *) "data", NULL
11486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11490 result
= (wxSound
*)new_wxSound(arg1
);
11492 wxPyEndAllowThreads(__tstate
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11502 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11503 PyObject
*resultobj
;
11504 wxSound
*arg1
= (wxSound
*) 0 ;
11505 PyObject
* obj0
= 0 ;
11506 char *kwnames
[] = {
11507 (char *) "self", NULL
11510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11517 wxPyEndAllowThreads(__tstate
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11520 Py_INCREF(Py_None
); resultobj
= Py_None
;
11527 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11528 PyObject
*resultobj
;
11529 wxSound
*arg1
= (wxSound
*) 0 ;
11530 wxString
*arg2
= 0 ;
11532 bool temp2
= False
;
11533 PyObject
* obj0
= 0 ;
11534 PyObject
* obj1
= 0 ;
11535 char *kwnames
[] = {
11536 (char *) "self",(char *) "fileName", NULL
11539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
11540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11543 arg2
= wxString_in_helper(obj1
);
11544 if (arg2
== NULL
) SWIG_fail
;
11548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11549 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
11551 wxPyEndAllowThreads(__tstate
);
11552 if (PyErr_Occurred()) SWIG_fail
;
11555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11571 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11572 PyObject
*resultobj
;
11573 wxSound
*arg1
= (wxSound
*) 0 ;
11574 PyObject
*arg2
= (PyObject
*) 0 ;
11576 PyObject
* obj0
= 0 ;
11577 PyObject
* obj1
= 0 ;
11578 char *kwnames
[] = {
11579 (char *) "self",(char *) "data", NULL
11582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
11583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11588 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
11590 wxPyEndAllowThreads(__tstate
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11602 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11603 PyObject
*resultobj
;
11604 wxSound
*arg1
= (wxSound
*) 0 ;
11606 PyObject
* obj0
= 0 ;
11607 char *kwnames
[] = {
11608 (char *) "self", NULL
11611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11616 result
= (bool)(arg1
)->IsOk();
11618 wxPyEndAllowThreads(__tstate
);
11619 if (PyErr_Occurred()) SWIG_fail
;
11622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11630 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11631 PyObject
*resultobj
;
11632 wxSound
*arg1
= (wxSound
*) 0 ;
11633 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11635 PyObject
* obj0
= 0 ;
11636 PyObject
* obj1
= 0 ;
11637 char *kwnames
[] = {
11638 (char *) "self",(char *) "flags", NULL
11641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
11642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11645 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11650 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11652 wxPyEndAllowThreads(__tstate
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11664 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11665 PyObject
*resultobj
;
11666 wxString
*arg1
= 0 ;
11667 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11669 bool temp1
= False
;
11670 PyObject
* obj0
= 0 ;
11671 PyObject
* obj1
= 0 ;
11672 char *kwnames
[] = {
11673 (char *) "filename",(char *) "flags", NULL
11676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
11678 arg1
= wxString_in_helper(obj0
);
11679 if (arg1
== NULL
) SWIG_fail
;
11683 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11688 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11690 wxPyEndAllowThreads(__tstate
);
11691 if (PyErr_Occurred()) SWIG_fail
;
11694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11710 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11711 PyObject
*resultobj
;
11712 char *kwnames
[] = {
11716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11721 wxPyEndAllowThreads(__tstate
);
11722 if (PyErr_Occurred()) SWIG_fail
;
11724 Py_INCREF(Py_None
); resultobj
= Py_None
;
11731 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11734 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11736 return Py_BuildValue((char *)"");
11738 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11739 PyObject
*resultobj
;
11740 wxString
*arg1
= 0 ;
11741 wxString
*arg2
= 0 ;
11742 wxString
*arg3
= 0 ;
11743 wxString
*arg4
= 0 ;
11744 wxFileTypeInfo
*result
;
11745 bool temp1
= False
;
11746 bool temp2
= False
;
11747 bool temp3
= False
;
11748 bool temp4
= False
;
11749 PyObject
* obj0
= 0 ;
11750 PyObject
* obj1
= 0 ;
11751 PyObject
* obj2
= 0 ;
11752 PyObject
* obj3
= 0 ;
11753 char *kwnames
[] = {
11754 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11759 arg1
= wxString_in_helper(obj0
);
11760 if (arg1
== NULL
) SWIG_fail
;
11764 arg2
= wxString_in_helper(obj1
);
11765 if (arg2
== NULL
) SWIG_fail
;
11769 arg3
= wxString_in_helper(obj2
);
11770 if (arg3
== NULL
) SWIG_fail
;
11774 arg4
= wxString_in_helper(obj3
);
11775 if (arg4
== NULL
) SWIG_fail
;
11779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11780 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11782 wxPyEndAllowThreads(__tstate
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11824 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11825 PyObject
*resultobj
;
11826 wxArrayString
*arg1
= 0 ;
11827 wxFileTypeInfo
*result
;
11828 bool temp1
= False
;
11829 PyObject
* obj0
= 0 ;
11830 char *kwnames
[] = {
11831 (char *) "sArray", NULL
11834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11836 if (! PySequence_Check(obj0
)) {
11837 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11840 arg1
= new wxArrayString
;
11842 int i
, len
=PySequence_Length(obj0
);
11843 for (i
=0; i
<len
; i
++) {
11844 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11846 PyObject
* str
= PyObject_Unicode(item
);
11848 PyObject
* str
= PyObject_Str(item
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11851 arg1
->Add(Py2wxString(str
));
11857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11858 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11860 wxPyEndAllowThreads(__tstate
);
11861 if (PyErr_Occurred()) SWIG_fail
;
11863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11865 if (temp1
) delete arg1
;
11870 if (temp1
) delete arg1
;
11876 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11877 PyObject
*resultobj
;
11878 wxFileTypeInfo
*result
;
11879 char *kwnames
[] = {
11883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11888 wxPyEndAllowThreads(__tstate
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11898 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11899 PyObject
*resultobj
;
11900 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11902 PyObject
* obj0
= 0 ;
11903 char *kwnames
[] = {
11904 (char *) "self", NULL
11907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
11908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
11914 wxPyEndAllowThreads(__tstate
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11926 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11927 PyObject
*resultobj
;
11928 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11929 wxString
*arg2
= 0 ;
11930 int arg3
= (int) 0 ;
11931 bool temp2
= False
;
11932 PyObject
* obj0
= 0 ;
11933 PyObject
* obj1
= 0 ;
11934 PyObject
* obj2
= 0 ;
11935 char *kwnames
[] = {
11936 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
11939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11943 arg2
= wxString_in_helper(obj1
);
11944 if (arg2
== NULL
) SWIG_fail
;
11948 arg3
= (int) SWIG_AsInt(obj2
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11953 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
11955 wxPyEndAllowThreads(__tstate
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11958 Py_INCREF(Py_None
); resultobj
= Py_None
;
11973 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11974 PyObject
*resultobj
;
11975 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11976 wxString
*arg2
= 0 ;
11977 bool temp2
= False
;
11978 PyObject
* obj0
= 0 ;
11979 PyObject
* obj1
= 0 ;
11980 char *kwnames
[] = {
11981 (char *) "self",(char *) "shortDesc", NULL
11984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
11985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11988 arg2
= wxString_in_helper(obj1
);
11989 if (arg2
== NULL
) SWIG_fail
;
11993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11994 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
11996 wxPyEndAllowThreads(__tstate
);
11997 if (PyErr_Occurred()) SWIG_fail
;
11999 Py_INCREF(Py_None
); resultobj
= Py_None
;
12014 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12015 PyObject
*resultobj
;
12016 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12018 PyObject
* obj0
= 0 ;
12019 char *kwnames
[] = {
12020 (char *) "self", NULL
12023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12029 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12030 result
= (wxString
*) &_result_ref
;
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12038 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12040 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12049 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12050 PyObject
*resultobj
;
12051 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12053 PyObject
* obj0
= 0 ;
12054 char *kwnames
[] = {
12055 (char *) "self", NULL
12058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12065 result
= (wxString
*) &_result_ref
;
12068 wxPyEndAllowThreads(__tstate
);
12069 if (PyErr_Occurred()) SWIG_fail
;
12073 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12075 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12084 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12085 PyObject
*resultobj
;
12086 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12088 PyObject
* obj0
= 0 ;
12089 char *kwnames
[] = {
12090 (char *) "self", NULL
12093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12099 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12100 result
= (wxString
*) &_result_ref
;
12103 wxPyEndAllowThreads(__tstate
);
12104 if (PyErr_Occurred()) SWIG_fail
;
12108 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12110 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12119 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12120 PyObject
*resultobj
;
12121 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12123 PyObject
* obj0
= 0 ;
12124 char *kwnames
[] = {
12125 (char *) "self", NULL
12128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12134 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12135 result
= (wxString
*) &_result_ref
;
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12143 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12145 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12154 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12155 PyObject
*resultobj
;
12156 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12158 PyObject
* obj0
= 0 ;
12159 char *kwnames
[] = {
12160 (char *) "self", NULL
12163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12170 result
= (wxString
*) &_result_ref
;
12173 wxPyEndAllowThreads(__tstate
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12178 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12180 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12189 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12190 PyObject
*resultobj
;
12191 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12192 wxArrayString
*result
;
12193 PyObject
* obj0
= 0 ;
12194 char *kwnames
[] = {
12195 (char *) "self", NULL
12198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12204 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12205 result
= (wxArrayString
*) &_result_ref
;
12208 wxPyEndAllowThreads(__tstate
);
12209 if (PyErr_Occurred()) SWIG_fail
;
12212 resultobj
= wxArrayString2PyList_helper(*result
);
12220 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12221 PyObject
*resultobj
;
12222 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12224 PyObject
* obj0
= 0 ;
12225 char *kwnames
[] = {
12226 (char *) "self", NULL
12229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12234 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12236 wxPyEndAllowThreads(__tstate
);
12237 if (PyErr_Occurred()) SWIG_fail
;
12239 resultobj
= SWIG_FromInt((int)result
);
12246 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12247 PyObject
*resultobj
;
12248 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12250 PyObject
* obj0
= 0 ;
12251 char *kwnames
[] = {
12252 (char *) "self", NULL
12255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12262 result
= (wxString
*) &_result_ref
;
12265 wxPyEndAllowThreads(__tstate
);
12266 if (PyErr_Occurred()) SWIG_fail
;
12270 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12272 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12281 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12282 PyObject
*resultobj
;
12283 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12285 PyObject
* obj0
= 0 ;
12286 char *kwnames
[] = {
12287 (char *) "self", NULL
12290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12295 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12297 wxPyEndAllowThreads(__tstate
);
12298 if (PyErr_Occurred()) SWIG_fail
;
12300 resultobj
= SWIG_FromInt((int)result
);
12307 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12310 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12312 return Py_BuildValue((char *)"");
12314 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12315 PyObject
*resultobj
;
12316 wxFileTypeInfo
*arg1
= 0 ;
12317 wxFileType
*result
;
12318 PyObject
* obj0
= 0 ;
12319 char *kwnames
[] = {
12320 (char *) "ftInfo", NULL
12323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12325 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12327 if (arg1
== NULL
) {
12328 PyErr_SetString(PyExc_TypeError
,"null reference");
12332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12333 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12335 wxPyEndAllowThreads(__tstate
);
12336 if (PyErr_Occurred()) SWIG_fail
;
12338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12345 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12346 PyObject
*resultobj
;
12347 wxFileType
*arg1
= (wxFileType
*) 0 ;
12348 PyObject
* obj0
= 0 ;
12349 char *kwnames
[] = {
12350 (char *) "self", NULL
12353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12360 wxPyEndAllowThreads(__tstate
);
12361 if (PyErr_Occurred()) SWIG_fail
;
12363 Py_INCREF(Py_None
); resultobj
= Py_None
;
12370 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12371 PyObject
*resultobj
;
12372 wxFileType
*arg1
= (wxFileType
*) 0 ;
12374 PyObject
* obj0
= 0 ;
12375 char *kwnames
[] = {
12376 (char *) "self", NULL
12379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12384 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12386 wxPyEndAllowThreads(__tstate
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12389 resultobj
= result
;
12396 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12397 PyObject
*resultobj
;
12398 wxFileType
*arg1
= (wxFileType
*) 0 ;
12400 PyObject
* obj0
= 0 ;
12401 char *kwnames
[] = {
12402 (char *) "self", NULL
12405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12410 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12415 resultobj
= result
;
12422 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
*resultobj
;
12424 wxFileType
*arg1
= (wxFileType
*) 0 ;
12426 PyObject
* obj0
= 0 ;
12427 char *kwnames
[] = {
12428 (char *) "self", NULL
12431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12436 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12438 wxPyEndAllowThreads(__tstate
);
12439 if (PyErr_Occurred()) SWIG_fail
;
12441 resultobj
= result
;
12448 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12449 PyObject
*resultobj
;
12450 wxFileType
*arg1
= (wxFileType
*) 0 ;
12452 PyObject
* obj0
= 0 ;
12453 char *kwnames
[] = {
12454 (char *) "self", NULL
12457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12474 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12475 PyObject
*resultobj
;
12476 wxFileType
*arg1
= (wxFileType
*) 0 ;
12478 PyObject
* obj0
= 0 ;
12479 char *kwnames
[] = {
12480 (char *) "self", NULL
12483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12488 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12490 wxPyEndAllowThreads(__tstate
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12493 resultobj
= result
;
12500 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
*resultobj
;
12502 wxFileType
*arg1
= (wxFileType
*) 0 ;
12504 PyObject
* obj0
= 0 ;
12505 char *kwnames
[] = {
12506 (char *) "self", NULL
12509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12514 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12516 wxPyEndAllowThreads(__tstate
);
12517 if (PyErr_Occurred()) SWIG_fail
;
12519 resultobj
= result
;
12526 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12527 PyObject
*resultobj
;
12528 wxFileType
*arg1
= (wxFileType
*) 0 ;
12529 wxString
*arg2
= 0 ;
12530 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12531 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12533 bool temp2
= False
;
12534 bool temp3
= False
;
12535 PyObject
* obj0
= 0 ;
12536 PyObject
* obj1
= 0 ;
12537 PyObject
* obj2
= 0 ;
12538 char *kwnames
[] = {
12539 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12546 arg2
= wxString_in_helper(obj1
);
12547 if (arg2
== NULL
) SWIG_fail
;
12552 arg3
= wxString_in_helper(obj2
);
12553 if (arg3
== NULL
) SWIG_fail
;
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12564 resultobj
= result
;
12587 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12588 PyObject
*resultobj
;
12589 wxFileType
*arg1
= (wxFileType
*) 0 ;
12590 wxString
*arg2
= 0 ;
12591 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12592 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12594 bool temp2
= False
;
12595 bool temp3
= False
;
12596 PyObject
* obj0
= 0 ;
12597 PyObject
* obj1
= 0 ;
12598 PyObject
* obj2
= 0 ;
12599 char *kwnames
[] = {
12600 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12607 arg2
= wxString_in_helper(obj1
);
12608 if (arg2
== NULL
) SWIG_fail
;
12613 arg3
= wxString_in_helper(obj2
);
12614 if (arg3
== NULL
) SWIG_fail
;
12619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12620 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12622 wxPyEndAllowThreads(__tstate
);
12623 if (PyErr_Occurred()) SWIG_fail
;
12625 resultobj
= result
;
12648 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12649 PyObject
*resultobj
;
12650 wxFileType
*arg1
= (wxFileType
*) 0 ;
12651 wxString
*arg2
= 0 ;
12652 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12653 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12655 bool temp2
= False
;
12656 bool temp3
= False
;
12657 PyObject
* obj0
= 0 ;
12658 PyObject
* obj1
= 0 ;
12659 PyObject
* obj2
= 0 ;
12660 char *kwnames
[] = {
12661 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12668 arg2
= wxString_in_helper(obj1
);
12669 if (arg2
== NULL
) SWIG_fail
;
12674 arg3
= wxString_in_helper(obj2
);
12675 if (arg3
== NULL
) SWIG_fail
;
12680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12681 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12683 wxPyEndAllowThreads(__tstate
);
12684 if (PyErr_Occurred()) SWIG_fail
;
12686 resultobj
= result
;
12709 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12710 PyObject
*resultobj
;
12711 wxFileType
*arg1
= (wxFileType
*) 0 ;
12712 wxString
*arg2
= 0 ;
12713 wxString
*arg3
= 0 ;
12714 bool arg4
= (bool) True
;
12716 bool temp2
= False
;
12717 bool temp3
= False
;
12718 PyObject
* obj0
= 0 ;
12719 PyObject
* obj1
= 0 ;
12720 PyObject
* obj2
= 0 ;
12721 PyObject
* obj3
= 0 ;
12722 char *kwnames
[] = {
12723 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12730 arg2
= wxString_in_helper(obj1
);
12731 if (arg2
== NULL
) SWIG_fail
;
12735 arg3
= wxString_in_helper(obj2
);
12736 if (arg3
== NULL
) SWIG_fail
;
12740 arg4
= (bool) SWIG_AsBool(obj3
);
12741 if (PyErr_Occurred()) SWIG_fail
;
12744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12745 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12747 wxPyEndAllowThreads(__tstate
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12775 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12776 PyObject
*resultobj
;
12777 wxFileType
*arg1
= (wxFileType
*) 0 ;
12778 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12779 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12780 int arg3
= (int) 0 ;
12782 bool temp2
= False
;
12783 PyObject
* obj0
= 0 ;
12784 PyObject
* obj1
= 0 ;
12785 PyObject
* obj2
= 0 ;
12786 char *kwnames
[] = {
12787 (char *) "self",(char *) "cmd",(char *) "index", NULL
12790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12795 arg2
= wxString_in_helper(obj1
);
12796 if (arg2
== NULL
) SWIG_fail
;
12801 arg3
= (int) SWIG_AsInt(obj2
);
12802 if (PyErr_Occurred()) SWIG_fail
;
12805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12806 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12808 wxPyEndAllowThreads(__tstate
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12828 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12829 PyObject
*resultobj
;
12830 wxFileType
*arg1
= (wxFileType
*) 0 ;
12832 PyObject
* obj0
= 0 ;
12833 char *kwnames
[] = {
12834 (char *) "self", NULL
12837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12842 result
= (bool)(arg1
)->Unassociate();
12844 wxPyEndAllowThreads(__tstate
);
12845 if (PyErr_Occurred()) SWIG_fail
;
12848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12856 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12857 PyObject
*resultobj
;
12858 wxString
*arg1
= 0 ;
12859 wxString
*arg2
= 0 ;
12860 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12861 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12863 bool temp1
= False
;
12864 bool temp2
= False
;
12865 bool temp3
= False
;
12866 PyObject
* obj0
= 0 ;
12867 PyObject
* obj1
= 0 ;
12868 PyObject
* obj2
= 0 ;
12869 char *kwnames
[] = {
12870 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12875 arg1
= wxString_in_helper(obj0
);
12876 if (arg1
== NULL
) SWIG_fail
;
12880 arg2
= wxString_in_helper(obj1
);
12881 if (arg2
== NULL
) SWIG_fail
;
12886 arg3
= wxString_in_helper(obj2
);
12887 if (arg3
== NULL
) SWIG_fail
;
12892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12893 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12900 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12902 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12935 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
12937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12938 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
12940 return Py_BuildValue((char *)"");
12942 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
12943 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
12948 static PyObject
*_wrap_TheMimeTypesManager_get() {
12951 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
12956 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12957 PyObject
*resultobj
;
12958 wxString
*arg1
= 0 ;
12959 wxString
*arg2
= 0 ;
12961 bool temp1
= False
;
12962 bool temp2
= False
;
12963 PyObject
* obj0
= 0 ;
12964 PyObject
* obj1
= 0 ;
12965 char *kwnames
[] = {
12966 (char *) "mimeType",(char *) "wildcard", NULL
12969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
12971 arg1
= wxString_in_helper(obj0
);
12972 if (arg1
== NULL
) SWIG_fail
;
12976 arg2
= wxString_in_helper(obj1
);
12977 if (arg2
== NULL
) SWIG_fail
;
12981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12982 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12984 wxPyEndAllowThreads(__tstate
);
12985 if (PyErr_Occurred()) SWIG_fail
;
12988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13012 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13013 PyObject
*resultobj
;
13014 wxMimeTypesManager
*result
;
13015 char *kwnames
[] = {
13019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13022 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13024 wxPyEndAllowThreads(__tstate
);
13025 if (PyErr_Occurred()) SWIG_fail
;
13027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13034 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13035 PyObject
*resultobj
;
13036 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13037 int arg2
= (int) wxMAILCAP_ALL
;
13038 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13039 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13040 bool temp3
= False
;
13041 PyObject
* obj0
= 0 ;
13042 PyObject
* obj1
= 0 ;
13043 PyObject
* obj2
= 0 ;
13044 char *kwnames
[] = {
13045 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13052 arg2
= (int) SWIG_AsInt(obj1
);
13053 if (PyErr_Occurred()) SWIG_fail
;
13057 arg3
= wxString_in_helper(obj2
);
13058 if (arg3
== NULL
) SWIG_fail
;
13063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13064 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13069 Py_INCREF(Py_None
); resultobj
= Py_None
;
13084 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13085 PyObject
*resultobj
;
13086 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13087 PyObject
* obj0
= 0 ;
13088 char *kwnames
[] = {
13089 (char *) "self", NULL
13092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13097 (arg1
)->ClearData();
13099 wxPyEndAllowThreads(__tstate
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13102 Py_INCREF(Py_None
); resultobj
= Py_None
;
13109 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13110 PyObject
*resultobj
;
13111 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13112 wxString
*arg2
= 0 ;
13113 wxFileType
*result
;
13114 bool temp2
= False
;
13115 PyObject
* obj0
= 0 ;
13116 PyObject
* obj1
= 0 ;
13117 char *kwnames
[] = {
13118 (char *) "self",(char *) "ext", NULL
13121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13125 arg2
= wxString_in_helper(obj1
);
13126 if (arg2
== NULL
) SWIG_fail
;
13130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13131 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13133 wxPyEndAllowThreads(__tstate
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13151 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13152 PyObject
*resultobj
;
13153 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13154 wxString
*arg2
= 0 ;
13155 wxFileType
*result
;
13156 bool temp2
= False
;
13157 PyObject
* obj0
= 0 ;
13158 PyObject
* obj1
= 0 ;
13159 char *kwnames
[] = {
13160 (char *) "self",(char *) "mimeType", NULL
13163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13167 arg2
= wxString_in_helper(obj1
);
13168 if (arg2
== NULL
) SWIG_fail
;
13172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13173 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13193 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13194 PyObject
*resultobj
;
13195 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13196 wxString
*arg2
= 0 ;
13197 bool arg3
= (bool) False
;
13199 bool temp2
= False
;
13200 PyObject
* obj0
= 0 ;
13201 PyObject
* obj1
= 0 ;
13202 PyObject
* obj2
= 0 ;
13203 char *kwnames
[] = {
13204 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13211 arg2
= wxString_in_helper(obj1
);
13212 if (arg2
== NULL
) SWIG_fail
;
13216 arg3
= (bool) SWIG_AsBool(obj2
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13221 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13223 wxPyEndAllowThreads(__tstate
);
13224 if (PyErr_Occurred()) SWIG_fail
;
13227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13243 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13244 PyObject
*resultobj
;
13245 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13246 wxString
*arg2
= 0 ;
13248 bool temp2
= False
;
13249 PyObject
* obj0
= 0 ;
13250 PyObject
* obj1
= 0 ;
13251 char *kwnames
[] = {
13252 (char *) "self",(char *) "filename", NULL
13255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13259 arg2
= wxString_in_helper(obj1
);
13260 if (arg2
== NULL
) SWIG_fail
;
13264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13265 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13267 wxPyEndAllowThreads(__tstate
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13287 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13288 PyObject
*resultobj
;
13289 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13291 PyObject
* obj0
= 0 ;
13292 char *kwnames
[] = {
13293 (char *) "self", NULL
13296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13301 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13303 wxPyEndAllowThreads(__tstate
);
13304 if (PyErr_Occurred()) SWIG_fail
;
13306 resultobj
= result
;
13313 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13314 PyObject
*resultobj
;
13315 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13316 wxFileTypeInfo
*arg2
= 0 ;
13317 PyObject
* obj0
= 0 ;
13318 PyObject
* obj1
= 0 ;
13319 char *kwnames
[] = {
13320 (char *) "self",(char *) "ft", NULL
13323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13327 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13329 if (arg2
== NULL
) {
13330 PyErr_SetString(PyExc_TypeError
,"null reference");
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13335 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13337 wxPyEndAllowThreads(__tstate
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13340 Py_INCREF(Py_None
); resultobj
= Py_None
;
13347 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13348 PyObject
*resultobj
;
13349 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13350 wxFileTypeInfo
*arg2
= 0 ;
13351 wxFileType
*result
;
13352 PyObject
* obj0
= 0 ;
13353 PyObject
* obj1
= 0 ;
13354 char *kwnames
[] = {
13355 (char *) "self",(char *) "ftInfo", NULL
13358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13362 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13364 if (arg2
== NULL
) {
13365 PyErr_SetString(PyExc_TypeError
,"null reference");
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13372 wxPyEndAllowThreads(__tstate
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13382 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13383 PyObject
*resultobj
;
13384 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13385 wxFileType
*arg2
= (wxFileType
*) 0 ;
13387 PyObject
* obj0
= 0 ;
13388 PyObject
* obj1
= 0 ;
13389 char *kwnames
[] = {
13390 (char *) "self",(char *) "ft", NULL
13393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 result
= (bool)(arg1
)->Unassociate(arg2
);
13402 wxPyEndAllowThreads(__tstate
);
13403 if (PyErr_Occurred()) SWIG_fail
;
13406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13414 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13415 PyObject
*resultobj
;
13416 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13417 PyObject
* obj0
= 0 ;
13418 char *kwnames
[] = {
13419 (char *) "self", NULL
13422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13432 Py_INCREF(Py_None
); resultobj
= Py_None
;
13439 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13442 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13444 return Py_BuildValue((char *)"");
13446 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13447 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13452 static PyObject
*_wrap_ART_TOOLBAR_get() {
13457 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13459 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13466 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13467 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13472 static PyObject
*_wrap_ART_MENU_get() {
13477 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13479 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13486 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13487 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13492 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13497 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13499 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13506 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13507 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13512 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13517 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13519 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13526 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13527 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13532 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13537 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13539 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13546 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13547 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13552 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13557 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13559 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13566 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13567 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13572 static PyObject
*_wrap_ART_OTHER_get() {
13577 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13579 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13586 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13587 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13592 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13597 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13599 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13606 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13607 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13612 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13617 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13619 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13626 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13627 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13632 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13637 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13639 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13646 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13647 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13652 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13657 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13659 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13666 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13667 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13672 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13677 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13679 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13686 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13687 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13692 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13697 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13699 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13706 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13707 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13712 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13717 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13719 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13726 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13727 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13732 static PyObject
*_wrap_ART_GO_BACK_get() {
13737 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13739 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13746 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13747 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13752 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13757 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13759 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13766 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13767 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13772 static PyObject
*_wrap_ART_GO_UP_get() {
13777 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13779 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13786 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13787 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13792 static PyObject
*_wrap_ART_GO_DOWN_get() {
13797 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13799 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13806 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
13807 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13812 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13817 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13819 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13826 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
13827 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13832 static PyObject
*_wrap_ART_GO_HOME_get() {
13837 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13839 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13846 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
13847 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13852 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13857 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13859 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13866 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
13867 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13872 static PyObject
*_wrap_ART_PRINT_get() {
13877 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13879 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13886 static int _wrap_ART_HELP_set(PyObject
*_val
) {
13887 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13892 static PyObject
*_wrap_ART_HELP_get() {
13897 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13899 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13906 static int _wrap_ART_TIP_set(PyObject
*_val
) {
13907 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
13912 static PyObject
*_wrap_ART_TIP_get() {
13917 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13919 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13926 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
13927 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
13932 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
13937 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13939 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13946 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
13947 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
13952 static PyObject
*_wrap_ART_LIST_VIEW_get() {
13957 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13959 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13966 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
13967 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
13972 static PyObject
*_wrap_ART_NEW_DIR_get() {
13977 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13979 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13986 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
13987 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
13992 static PyObject
*_wrap_ART_FOLDER_get() {
13997 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
13999 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14006 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14007 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14012 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14017 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14019 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14026 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14027 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14032 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14037 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14039 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14046 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14047 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14052 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14057 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14059 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14066 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14067 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14072 static PyObject
*_wrap_ART_TICK_MARK_get() {
14077 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14079 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14086 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14087 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14092 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14097 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14099 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14106 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14107 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14112 static PyObject
*_wrap_ART_ERROR_get() {
14117 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14119 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14126 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14127 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14132 static PyObject
*_wrap_ART_QUESTION_get() {
14137 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14139 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14146 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14147 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14152 static PyObject
*_wrap_ART_WARNING_get() {
14157 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14159 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14166 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14167 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14172 static PyObject
*_wrap_ART_INFORMATION_get() {
14177 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14179 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14186 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14187 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14192 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14197 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14199 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14206 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14207 PyObject
*resultobj
;
14208 wxPyArtProvider
*result
;
14209 char *kwnames
[] = {
14213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14216 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14218 wxPyEndAllowThreads(__tstate
);
14219 if (PyErr_Occurred()) SWIG_fail
;
14221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14228 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14229 PyObject
*resultobj
;
14230 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14231 PyObject
*arg2
= (PyObject
*) 0 ;
14232 PyObject
*arg3
= (PyObject
*) 0 ;
14233 PyObject
* obj0
= 0 ;
14234 PyObject
* obj1
= 0 ;
14235 PyObject
* obj2
= 0 ;
14236 char *kwnames
[] = {
14237 (char *) "self",(char *) "self",(char *) "_class", NULL
14240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14247 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14249 wxPyEndAllowThreads(__tstate
);
14250 if (PyErr_Occurred()) SWIG_fail
;
14252 Py_INCREF(Py_None
); resultobj
= Py_None
;
14259 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14260 PyObject
*resultobj
;
14261 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14262 PyObject
* obj0
= 0 ;
14263 char *kwnames
[] = {
14264 (char *) "provider", NULL
14267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14272 wxPyArtProvider::PushProvider(arg1
);
14274 wxPyEndAllowThreads(__tstate
);
14275 if (PyErr_Occurred()) SWIG_fail
;
14277 Py_INCREF(Py_None
); resultobj
= Py_None
;
14284 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14285 PyObject
*resultobj
;
14287 char *kwnames
[] = {
14291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14294 result
= (bool)wxPyArtProvider::PopProvider();
14296 wxPyEndAllowThreads(__tstate
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14308 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14309 PyObject
*resultobj
;
14310 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14312 PyObject
* obj0
= 0 ;
14313 char *kwnames
[] = {
14314 (char *) "provider", NULL
14317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14322 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14324 wxPyEndAllowThreads(__tstate
);
14325 if (PyErr_Occurred()) SWIG_fail
;
14328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14336 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14337 PyObject
*resultobj
;
14338 wxString
*arg1
= 0 ;
14339 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14340 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14341 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14342 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14344 bool temp1
= False
;
14345 bool temp2
= False
;
14347 PyObject
* obj0
= 0 ;
14348 PyObject
* obj1
= 0 ;
14349 PyObject
* obj2
= 0 ;
14350 char *kwnames
[] = {
14351 (char *) "id",(char *) "client",(char *) "size", NULL
14354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14356 arg1
= wxString_in_helper(obj0
);
14357 if (arg1
== NULL
) SWIG_fail
;
14362 arg2
= wxString_in_helper(obj1
);
14363 if (arg2
== NULL
) SWIG_fail
;
14370 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14377 wxPyEndAllowThreads(__tstate
);
14378 if (PyErr_Occurred()) SWIG_fail
;
14381 wxBitmap
* resultptr
;
14382 resultptr
= new wxBitmap((wxBitmap
&) result
);
14383 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14407 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14408 PyObject
*resultobj
;
14409 wxString
*arg1
= 0 ;
14410 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14411 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14412 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14413 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14415 bool temp1
= False
;
14416 bool temp2
= False
;
14418 PyObject
* obj0
= 0 ;
14419 PyObject
* obj1
= 0 ;
14420 PyObject
* obj2
= 0 ;
14421 char *kwnames
[] = {
14422 (char *) "id",(char *) "client",(char *) "size", NULL
14425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14427 arg1
= wxString_in_helper(obj0
);
14428 if (arg1
== NULL
) SWIG_fail
;
14433 arg2
= wxString_in_helper(obj1
);
14434 if (arg2
== NULL
) SWIG_fail
;
14441 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14448 wxPyEndAllowThreads(__tstate
);
14449 if (PyErr_Occurred()) SWIG_fail
;
14452 wxIcon
* resultptr
;
14453 resultptr
= new wxIcon((wxIcon
&) result
);
14454 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14478 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14479 PyObject
*resultobj
;
14480 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14481 PyObject
* obj0
= 0 ;
14482 char *kwnames
[] = {
14483 (char *) "self", NULL
14486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14491 wxPyArtProvider_Destroy(arg1
);
14493 wxPyEndAllowThreads(__tstate
);
14494 if (PyErr_Occurred()) SWIG_fail
;
14496 Py_INCREF(Py_None
); resultobj
= Py_None
;
14503 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14506 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14508 return Py_BuildValue((char *)"");
14510 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14511 PyObject
*resultobj
;
14512 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14513 PyObject
* obj0
= 0 ;
14514 char *kwnames
[] = {
14515 (char *) "self", NULL
14518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14525 wxPyEndAllowThreads(__tstate
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14528 Py_INCREF(Py_None
); resultobj
= Py_None
;
14535 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14536 PyObject
*resultobj
;
14537 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14538 wxConfigBase
*result
;
14539 PyObject
* obj0
= 0 ;
14540 char *kwnames
[] = {
14541 (char *) "config", NULL
14544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14549 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14551 wxPyEndAllowThreads(__tstate
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14561 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14562 PyObject
*resultobj
;
14563 bool arg1
= (bool) True
;
14564 wxConfigBase
*result
;
14565 PyObject
* obj0
= 0 ;
14566 char *kwnames
[] = {
14567 (char *) "createOnDemand", NULL
14570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14572 arg1
= (bool) SWIG_AsBool(obj0
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14577 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14579 wxPyEndAllowThreads(__tstate
);
14580 if (PyErr_Occurred()) SWIG_fail
;
14582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14589 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14590 PyObject
*resultobj
;
14591 wxConfigBase
*result
;
14592 char *kwnames
[] = {
14596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14599 result
= (wxConfigBase
*)wxConfigBase::Create();
14601 wxPyEndAllowThreads(__tstate
);
14602 if (PyErr_Occurred()) SWIG_fail
;
14604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14611 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14612 PyObject
*resultobj
;
14613 char *kwnames
[] = {
14617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14620 wxConfigBase::DontCreateOnDemand();
14622 wxPyEndAllowThreads(__tstate
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14625 Py_INCREF(Py_None
); resultobj
= Py_None
;
14632 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14633 PyObject
*resultobj
;
14634 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14635 wxString
*arg2
= 0 ;
14636 bool temp2
= False
;
14637 PyObject
* obj0
= 0 ;
14638 PyObject
* obj1
= 0 ;
14639 char *kwnames
[] = {
14640 (char *) "self",(char *) "path", NULL
14643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14647 arg2
= wxString_in_helper(obj1
);
14648 if (arg2
== NULL
) SWIG_fail
;
14652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14653 (arg1
)->SetPath((wxString
const &)*arg2
);
14655 wxPyEndAllowThreads(__tstate
);
14656 if (PyErr_Occurred()) SWIG_fail
;
14658 Py_INCREF(Py_None
); resultobj
= Py_None
;
14673 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14674 PyObject
*resultobj
;
14675 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14677 PyObject
* obj0
= 0 ;
14678 char *kwnames
[] = {
14679 (char *) "self", NULL
14682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14688 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14689 result
= (wxString
*) &_result_ref
;
14692 wxPyEndAllowThreads(__tstate
);
14693 if (PyErr_Occurred()) SWIG_fail
;
14697 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14699 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14708 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14709 PyObject
*resultobj
;
14710 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14712 PyObject
* obj0
= 0 ;
14713 char *kwnames
[] = {
14714 (char *) "self", NULL
14717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14722 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14724 wxPyEndAllowThreads(__tstate
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14727 resultobj
= result
;
14734 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14735 PyObject
*resultobj
;
14736 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14739 PyObject
* obj0
= 0 ;
14740 PyObject
* obj1
= 0 ;
14741 char *kwnames
[] = {
14742 (char *) "self",(char *) "index", NULL
14745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14748 arg2
= (long) SWIG_AsLong(obj1
);
14749 if (PyErr_Occurred()) SWIG_fail
;
14751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14752 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14754 wxPyEndAllowThreads(__tstate
);
14755 if (PyErr_Occurred()) SWIG_fail
;
14757 resultobj
= result
;
14764 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14765 PyObject
*resultobj
;
14766 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14768 PyObject
* obj0
= 0 ;
14769 char *kwnames
[] = {
14770 (char *) "self", NULL
14773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14778 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14780 wxPyEndAllowThreads(__tstate
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14783 resultobj
= result
;
14790 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14791 PyObject
*resultobj
;
14792 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14795 PyObject
* obj0
= 0 ;
14796 PyObject
* obj1
= 0 ;
14797 char *kwnames
[] = {
14798 (char *) "self",(char *) "index", NULL
14801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14804 arg2
= (long) SWIG_AsLong(obj1
);
14805 if (PyErr_Occurred()) SWIG_fail
;
14807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14808 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14810 wxPyEndAllowThreads(__tstate
);
14811 if (PyErr_Occurred()) SWIG_fail
;
14813 resultobj
= result
;
14820 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14821 PyObject
*resultobj
;
14822 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14823 bool arg2
= (bool) False
;
14825 PyObject
* obj0
= 0 ;
14826 PyObject
* obj1
= 0 ;
14827 char *kwnames
[] = {
14828 (char *) "self",(char *) "recursive", NULL
14831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14835 arg2
= (bool) SWIG_AsBool(obj1
);
14836 if (PyErr_Occurred()) SWIG_fail
;
14839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14840 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14845 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14852 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14853 PyObject
*resultobj
;
14854 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14855 bool arg2
= (bool) False
;
14857 PyObject
* obj0
= 0 ;
14858 PyObject
* obj1
= 0 ;
14859 char *kwnames
[] = {
14860 (char *) "self",(char *) "recursive", NULL
14863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14867 arg2
= (bool) SWIG_AsBool(obj1
);
14868 if (PyErr_Occurred()) SWIG_fail
;
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14877 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14884 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
;
14886 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14887 wxString
*arg2
= 0 ;
14889 bool temp2
= False
;
14890 PyObject
* obj0
= 0 ;
14891 PyObject
* obj1
= 0 ;
14892 char *kwnames
[] = {
14893 (char *) "self",(char *) "name", NULL
14896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14900 arg2
= wxString_in_helper(obj1
);
14901 if (arg2
== NULL
) SWIG_fail
;
14905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14906 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
14908 wxPyEndAllowThreads(__tstate
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14928 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14929 PyObject
*resultobj
;
14930 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14931 wxString
*arg2
= 0 ;
14933 bool temp2
= False
;
14934 PyObject
* obj0
= 0 ;
14935 PyObject
* obj1
= 0 ;
14936 char *kwnames
[] = {
14937 (char *) "self",(char *) "name", NULL
14940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14944 arg2
= wxString_in_helper(obj1
);
14945 if (arg2
== NULL
) SWIG_fail
;
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14972 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14973 PyObject
*resultobj
;
14974 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14975 wxString
*arg2
= 0 ;
14977 bool temp2
= False
;
14978 PyObject
* obj0
= 0 ;
14979 PyObject
* obj1
= 0 ;
14980 char *kwnames
[] = {
14981 (char *) "self",(char *) "name", NULL
14984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
14985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14988 arg2
= wxString_in_helper(obj1
);
14989 if (arg2
== NULL
) SWIG_fail
;
14993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14994 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
14996 wxPyEndAllowThreads(__tstate
);
14997 if (PyErr_Occurred()) SWIG_fail
;
15000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15016 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15017 PyObject
*resultobj
;
15018 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15019 wxString
*arg2
= 0 ;
15021 bool temp2
= False
;
15022 PyObject
* obj0
= 0 ;
15023 PyObject
* obj1
= 0 ;
15024 char *kwnames
[] = {
15025 (char *) "self",(char *) "name", NULL
15028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15032 arg2
= wxString_in_helper(obj1
);
15033 if (arg2
== NULL
) SWIG_fail
;
15037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15038 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15040 wxPyEndAllowThreads(__tstate
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15043 resultobj
= SWIG_FromInt((int)result
);
15058 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15059 PyObject
*resultobj
;
15060 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15061 wxString
*arg2
= 0 ;
15062 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15063 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15065 bool temp2
= False
;
15066 bool temp3
= False
;
15067 PyObject
* obj0
= 0 ;
15068 PyObject
* obj1
= 0 ;
15069 PyObject
* obj2
= 0 ;
15070 char *kwnames
[] = {
15071 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15078 arg2
= wxString_in_helper(obj1
);
15079 if (arg2
== NULL
) SWIG_fail
;
15084 arg3
= wxString_in_helper(obj2
);
15085 if (arg3
== NULL
) SWIG_fail
;
15090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15091 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15093 wxPyEndAllowThreads(__tstate
);
15094 if (PyErr_Occurred()) SWIG_fail
;
15098 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15100 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15125 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15126 PyObject
*resultobj
;
15127 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15128 wxString
*arg2
= 0 ;
15129 long arg3
= (long) 0 ;
15131 bool temp2
= False
;
15132 PyObject
* obj0
= 0 ;
15133 PyObject
* obj1
= 0 ;
15134 PyObject
* obj2
= 0 ;
15135 char *kwnames
[] = {
15136 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15143 arg2
= wxString_in_helper(obj1
);
15144 if (arg2
== NULL
) SWIG_fail
;
15148 arg3
= (long) SWIG_AsLong(obj2
);
15149 if (PyErr_Occurred()) SWIG_fail
;
15152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15153 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15155 wxPyEndAllowThreads(__tstate
);
15156 if (PyErr_Occurred()) SWIG_fail
;
15158 resultobj
= SWIG_FromLong((long)result
);
15173 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15174 PyObject
*resultobj
;
15175 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15176 wxString
*arg2
= 0 ;
15177 double arg3
= (double) 0.0 ;
15179 bool temp2
= False
;
15180 PyObject
* obj0
= 0 ;
15181 PyObject
* obj1
= 0 ;
15182 PyObject
* obj2
= 0 ;
15183 char *kwnames
[] = {
15184 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15191 arg2
= wxString_in_helper(obj1
);
15192 if (arg2
== NULL
) SWIG_fail
;
15196 arg3
= (double) SWIG_AsDouble(obj2
);
15197 if (PyErr_Occurred()) SWIG_fail
;
15200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15201 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15203 wxPyEndAllowThreads(__tstate
);
15204 if (PyErr_Occurred()) SWIG_fail
;
15206 resultobj
= SWIG_FromDouble((double)result
);
15221 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15222 PyObject
*resultobj
;
15223 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15224 wxString
*arg2
= 0 ;
15225 bool arg3
= (bool) False
;
15227 bool temp2
= False
;
15228 PyObject
* obj0
= 0 ;
15229 PyObject
* obj1
= 0 ;
15230 PyObject
* obj2
= 0 ;
15231 char *kwnames
[] = {
15232 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15239 arg2
= wxString_in_helper(obj1
);
15240 if (arg2
== NULL
) SWIG_fail
;
15244 arg3
= (bool) SWIG_AsBool(obj2
);
15245 if (PyErr_Occurred()) SWIG_fail
;
15248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15249 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15251 wxPyEndAllowThreads(__tstate
);
15252 if (PyErr_Occurred()) SWIG_fail
;
15255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15271 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15272 PyObject
*resultobj
;
15273 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15274 wxString
*arg2
= 0 ;
15275 wxString
*arg3
= 0 ;
15277 bool temp2
= False
;
15278 bool temp3
= False
;
15279 PyObject
* obj0
= 0 ;
15280 PyObject
* obj1
= 0 ;
15281 PyObject
* obj2
= 0 ;
15282 char *kwnames
[] = {
15283 (char *) "self",(char *) "key",(char *) "value", NULL
15286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15290 arg2
= wxString_in_helper(obj1
);
15291 if (arg2
== NULL
) SWIG_fail
;
15295 arg3
= wxString_in_helper(obj2
);
15296 if (arg3
== NULL
) SWIG_fail
;
15300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15301 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15303 wxPyEndAllowThreads(__tstate
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15331 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15332 PyObject
*resultobj
;
15333 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15334 wxString
*arg2
= 0 ;
15337 bool temp2
= False
;
15338 PyObject
* obj0
= 0 ;
15339 PyObject
* obj1
= 0 ;
15340 PyObject
* obj2
= 0 ;
15341 char *kwnames
[] = {
15342 (char *) "self",(char *) "key",(char *) "value", NULL
15345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15349 arg2
= wxString_in_helper(obj1
);
15350 if (arg2
== NULL
) SWIG_fail
;
15353 arg3
= (long) SWIG_AsLong(obj2
);
15354 if (PyErr_Occurred()) SWIG_fail
;
15356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15357 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15359 wxPyEndAllowThreads(__tstate
);
15360 if (PyErr_Occurred()) SWIG_fail
;
15363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15379 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15380 PyObject
*resultobj
;
15381 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15382 wxString
*arg2
= 0 ;
15385 bool temp2
= False
;
15386 PyObject
* obj0
= 0 ;
15387 PyObject
* obj1
= 0 ;
15388 PyObject
* obj2
= 0 ;
15389 char *kwnames
[] = {
15390 (char *) "self",(char *) "key",(char *) "value", NULL
15393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15397 arg2
= wxString_in_helper(obj1
);
15398 if (arg2
== NULL
) SWIG_fail
;
15401 arg3
= (double) SWIG_AsDouble(obj2
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15405 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15407 wxPyEndAllowThreads(__tstate
);
15408 if (PyErr_Occurred()) SWIG_fail
;
15411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15427 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15428 PyObject
*resultobj
;
15429 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15430 wxString
*arg2
= 0 ;
15433 bool temp2
= False
;
15434 PyObject
* obj0
= 0 ;
15435 PyObject
* obj1
= 0 ;
15436 PyObject
* obj2
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "self",(char *) "key",(char *) "value", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15445 arg2
= wxString_in_helper(obj1
);
15446 if (arg2
== NULL
) SWIG_fail
;
15449 arg3
= (bool) SWIG_AsBool(obj2
);
15450 if (PyErr_Occurred()) SWIG_fail
;
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15475 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15476 PyObject
*resultobj
;
15477 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15478 bool arg2
= (bool) False
;
15480 PyObject
* obj0
= 0 ;
15481 PyObject
* obj1
= 0 ;
15482 char *kwnames
[] = {
15483 (char *) "self",(char *) "currentOnly", NULL
15486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15490 arg2
= (bool) SWIG_AsBool(obj1
);
15491 if (PyErr_Occurred()) SWIG_fail
;
15494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15495 result
= (bool)(arg1
)->Flush(arg2
);
15497 wxPyEndAllowThreads(__tstate
);
15498 if (PyErr_Occurred()) SWIG_fail
;
15501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15509 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15510 PyObject
*resultobj
;
15511 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15512 wxString
*arg2
= 0 ;
15513 wxString
*arg3
= 0 ;
15515 bool temp2
= False
;
15516 bool temp3
= False
;
15517 PyObject
* obj0
= 0 ;
15518 PyObject
* obj1
= 0 ;
15519 PyObject
* obj2
= 0 ;
15520 char *kwnames
[] = {
15521 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15528 arg2
= wxString_in_helper(obj1
);
15529 if (arg2
== NULL
) SWIG_fail
;
15533 arg3
= wxString_in_helper(obj2
);
15534 if (arg3
== NULL
) SWIG_fail
;
15538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15539 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15541 wxPyEndAllowThreads(__tstate
);
15542 if (PyErr_Occurred()) SWIG_fail
;
15545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15569 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15570 PyObject
*resultobj
;
15571 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15572 wxString
*arg2
= 0 ;
15573 wxString
*arg3
= 0 ;
15575 bool temp2
= False
;
15576 bool temp3
= False
;
15577 PyObject
* obj0
= 0 ;
15578 PyObject
* obj1
= 0 ;
15579 PyObject
* obj2
= 0 ;
15580 char *kwnames
[] = {
15581 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15588 arg2
= wxString_in_helper(obj1
);
15589 if (arg2
== NULL
) SWIG_fail
;
15593 arg3
= wxString_in_helper(obj2
);
15594 if (arg3
== NULL
) SWIG_fail
;
15598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15599 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15601 wxPyEndAllowThreads(__tstate
);
15602 if (PyErr_Occurred()) SWIG_fail
;
15605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15629 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15630 PyObject
*resultobj
;
15631 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15632 wxString
*arg2
= 0 ;
15633 bool arg3
= (bool) True
;
15635 bool temp2
= False
;
15636 PyObject
* obj0
= 0 ;
15637 PyObject
* obj1
= 0 ;
15638 PyObject
* obj2
= 0 ;
15639 char *kwnames
[] = {
15640 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15647 arg2
= wxString_in_helper(obj1
);
15648 if (arg2
== NULL
) SWIG_fail
;
15652 arg3
= (bool) SWIG_AsBool(obj2
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15657 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15659 wxPyEndAllowThreads(__tstate
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15679 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15680 PyObject
*resultobj
;
15681 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15682 wxString
*arg2
= 0 ;
15684 bool temp2
= False
;
15685 PyObject
* obj0
= 0 ;
15686 PyObject
* obj1
= 0 ;
15687 char *kwnames
[] = {
15688 (char *) "self",(char *) "key", NULL
15691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15695 arg2
= wxString_in_helper(obj1
);
15696 if (arg2
== NULL
) SWIG_fail
;
15700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15701 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15703 wxPyEndAllowThreads(__tstate
);
15704 if (PyErr_Occurred()) SWIG_fail
;
15707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15723 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15724 PyObject
*resultobj
;
15725 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15727 PyObject
* obj0
= 0 ;
15728 char *kwnames
[] = {
15729 (char *) "self", NULL
15732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15737 result
= (bool)(arg1
)->DeleteAll();
15739 wxPyEndAllowThreads(__tstate
);
15740 if (PyErr_Occurred()) SWIG_fail
;
15743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15751 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15752 PyObject
*resultobj
;
15753 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15754 bool arg2
= (bool) True
;
15755 PyObject
* obj0
= 0 ;
15756 PyObject
* obj1
= 0 ;
15757 char *kwnames
[] = {
15758 (char *) "self",(char *) "doIt", NULL
15761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15765 arg2
= (bool) SWIG_AsBool(obj1
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15770 (arg1
)->SetExpandEnvVars(arg2
);
15772 wxPyEndAllowThreads(__tstate
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15775 Py_INCREF(Py_None
); resultobj
= Py_None
;
15782 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15783 PyObject
*resultobj
;
15784 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15786 PyObject
* obj0
= 0 ;
15787 char *kwnames
[] = {
15788 (char *) "self", NULL
15791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15796 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15798 wxPyEndAllowThreads(__tstate
);
15799 if (PyErr_Occurred()) SWIG_fail
;
15802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15810 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15811 PyObject
*resultobj
;
15812 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15813 bool arg2
= (bool) True
;
15814 PyObject
* obj0
= 0 ;
15815 PyObject
* obj1
= 0 ;
15816 char *kwnames
[] = {
15817 (char *) "self",(char *) "doIt", NULL
15820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15824 arg2
= (bool) SWIG_AsBool(obj1
);
15825 if (PyErr_Occurred()) SWIG_fail
;
15828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15829 (arg1
)->SetRecordDefaults(arg2
);
15831 wxPyEndAllowThreads(__tstate
);
15832 if (PyErr_Occurred()) SWIG_fail
;
15834 Py_INCREF(Py_None
); resultobj
= Py_None
;
15841 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15842 PyObject
*resultobj
;
15843 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15845 PyObject
* obj0
= 0 ;
15846 char *kwnames
[] = {
15847 (char *) "self", NULL
15850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15855 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15869 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15870 PyObject
*resultobj
;
15871 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15872 wxString
*arg2
= 0 ;
15874 bool temp2
= False
;
15875 PyObject
* obj0
= 0 ;
15876 PyObject
* obj1
= 0 ;
15877 char *kwnames
[] = {
15878 (char *) "self",(char *) "str", NULL
15881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15885 arg2
= wxString_in_helper(obj1
);
15886 if (arg2
== NULL
) SWIG_fail
;
15890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15891 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15893 wxPyEndAllowThreads(__tstate
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15898 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15900 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15917 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15918 PyObject
*resultobj
;
15919 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15921 PyObject
* obj0
= 0 ;
15922 char *kwnames
[] = {
15923 (char *) "self", NULL
15926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
15927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15931 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
15933 wxPyEndAllowThreads(__tstate
);
15934 if (PyErr_Occurred()) SWIG_fail
;
15938 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15940 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15949 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15950 PyObject
*resultobj
;
15951 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15953 PyObject
* obj0
= 0 ;
15954 char *kwnames
[] = {
15955 (char *) "self", NULL
15958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
15959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15963 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
15965 wxPyEndAllowThreads(__tstate
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15970 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15972 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15981 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15982 PyObject
*resultobj
;
15983 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15984 wxString
*arg2
= 0 ;
15985 bool temp2
= False
;
15986 PyObject
* obj0
= 0 ;
15987 PyObject
* obj1
= 0 ;
15988 char *kwnames
[] = {
15989 (char *) "self",(char *) "appName", NULL
15992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
15993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15996 arg2
= wxString_in_helper(obj1
);
15997 if (arg2
== NULL
) SWIG_fail
;
16001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16002 (arg1
)->SetAppName((wxString
const &)*arg2
);
16004 wxPyEndAllowThreads(__tstate
);
16005 if (PyErr_Occurred()) SWIG_fail
;
16007 Py_INCREF(Py_None
); resultobj
= Py_None
;
16022 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16023 PyObject
*resultobj
;
16024 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16025 wxString
*arg2
= 0 ;
16026 bool temp2
= False
;
16027 PyObject
* obj0
= 0 ;
16028 PyObject
* obj1
= 0 ;
16029 char *kwnames
[] = {
16030 (char *) "self",(char *) "vendorName", NULL
16033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16037 arg2
= wxString_in_helper(obj1
);
16038 if (arg2
== NULL
) SWIG_fail
;
16042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16043 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16045 wxPyEndAllowThreads(__tstate
);
16046 if (PyErr_Occurred()) SWIG_fail
;
16048 Py_INCREF(Py_None
); resultobj
= Py_None
;
16063 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16064 PyObject
*resultobj
;
16065 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16067 PyObject
* obj0
= 0 ;
16068 PyObject
* obj1
= 0 ;
16069 char *kwnames
[] = {
16070 (char *) "self",(char *) "style", NULL
16073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16076 arg2
= (long) SWIG_AsLong(obj1
);
16077 if (PyErr_Occurred()) SWIG_fail
;
16079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16080 (arg1
)->SetStyle(arg2
);
16082 wxPyEndAllowThreads(__tstate
);
16083 if (PyErr_Occurred()) SWIG_fail
;
16085 Py_INCREF(Py_None
); resultobj
= Py_None
;
16092 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16093 PyObject
*resultobj
;
16094 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16096 PyObject
* obj0
= 0 ;
16097 char *kwnames
[] = {
16098 (char *) "self", NULL
16101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16111 resultobj
= SWIG_FromLong((long)result
);
16118 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16121 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16123 return Py_BuildValue((char *)"");
16125 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16126 PyObject
*resultobj
;
16127 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16128 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16129 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16130 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16131 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16132 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16133 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16134 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16135 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16137 bool temp1
= False
;
16138 bool temp2
= False
;
16139 bool temp3
= False
;
16140 bool temp4
= False
;
16141 PyObject
* obj0
= 0 ;
16142 PyObject
* obj1
= 0 ;
16143 PyObject
* obj2
= 0 ;
16144 PyObject
* obj3
= 0 ;
16145 PyObject
* obj4
= 0 ;
16146 char *kwnames
[] = {
16147 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16153 arg1
= wxString_in_helper(obj0
);
16154 if (arg1
== NULL
) SWIG_fail
;
16160 arg2
= wxString_in_helper(obj1
);
16161 if (arg2
== NULL
) SWIG_fail
;
16167 arg3
= wxString_in_helper(obj2
);
16168 if (arg3
== NULL
) SWIG_fail
;
16174 arg4
= wxString_in_helper(obj3
);
16175 if (arg4
== NULL
) SWIG_fail
;
16180 arg5
= (long) SWIG_AsLong(obj4
);
16181 if (PyErr_Occurred()) SWIG_fail
;
16184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16185 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16187 wxPyEndAllowThreads(__tstate
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16229 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16230 PyObject
*resultobj
;
16231 wxConfig
*arg1
= (wxConfig
*) 0 ;
16232 PyObject
* obj0
= 0 ;
16233 char *kwnames
[] = {
16234 (char *) "self", NULL
16237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16244 wxPyEndAllowThreads(__tstate
);
16245 if (PyErr_Occurred()) SWIG_fail
;
16247 Py_INCREF(Py_None
); resultobj
= Py_None
;
16254 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16257 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16259 return Py_BuildValue((char *)"");
16261 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16262 PyObject
*resultobj
;
16263 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16264 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16265 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16266 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16267 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16268 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16269 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16270 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16271 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16272 wxFileConfig
*result
;
16273 bool temp1
= False
;
16274 bool temp2
= False
;
16275 bool temp3
= False
;
16276 bool temp4
= False
;
16277 PyObject
* obj0
= 0 ;
16278 PyObject
* obj1
= 0 ;
16279 PyObject
* obj2
= 0 ;
16280 PyObject
* obj3
= 0 ;
16281 PyObject
* obj4
= 0 ;
16282 char *kwnames
[] = {
16283 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16289 arg1
= wxString_in_helper(obj0
);
16290 if (arg1
== NULL
) SWIG_fail
;
16296 arg2
= wxString_in_helper(obj1
);
16297 if (arg2
== NULL
) SWIG_fail
;
16303 arg3
= wxString_in_helper(obj2
);
16304 if (arg3
== NULL
) SWIG_fail
;
16310 arg4
= wxString_in_helper(obj3
);
16311 if (arg4
== NULL
) SWIG_fail
;
16316 arg5
= (long) SWIG_AsLong(obj4
);
16317 if (PyErr_Occurred()) SWIG_fail
;
16320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16321 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16323 wxPyEndAllowThreads(__tstate
);
16324 if (PyErr_Occurred()) SWIG_fail
;
16326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16365 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16366 PyObject
*resultobj
;
16367 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16368 PyObject
* obj0
= 0 ;
16369 char *kwnames
[] = {
16370 (char *) "self", NULL
16373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16380 wxPyEndAllowThreads(__tstate
);
16381 if (PyErr_Occurred()) SWIG_fail
;
16383 Py_INCREF(Py_None
); resultobj
= Py_None
;
16390 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16393 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16395 return Py_BuildValue((char *)"");
16397 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16398 PyObject
*resultobj
;
16399 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16400 wxString
*arg2
= 0 ;
16401 wxConfigPathChanger
*result
;
16402 bool temp2
= False
;
16403 PyObject
* obj0
= 0 ;
16404 PyObject
* obj1
= 0 ;
16405 char *kwnames
[] = {
16406 (char *) "config",(char *) "entry", NULL
16409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16413 arg2
= wxString_in_helper(obj1
);
16414 if (arg2
== NULL
) SWIG_fail
;
16418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16419 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16421 wxPyEndAllowThreads(__tstate
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16439 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16440 PyObject
*resultobj
;
16441 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16442 PyObject
* obj0
= 0 ;
16443 char *kwnames
[] = {
16444 (char *) "self", NULL
16447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16454 wxPyEndAllowThreads(__tstate
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16457 Py_INCREF(Py_None
); resultobj
= Py_None
;
16464 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16465 PyObject
*resultobj
;
16466 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16468 PyObject
* obj0
= 0 ;
16469 char *kwnames
[] = {
16470 (char *) "self", NULL
16473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16479 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16480 result
= (wxString
*) &_result_ref
;
16483 wxPyEndAllowThreads(__tstate
);
16484 if (PyErr_Occurred()) SWIG_fail
;
16488 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16490 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16499 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16502 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16504 return Py_BuildValue((char *)"");
16506 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16507 PyObject
*resultobj
;
16508 wxString
*arg1
= 0 ;
16510 bool temp1
= False
;
16511 PyObject
* obj0
= 0 ;
16512 char *kwnames
[] = {
16513 (char *) "sz", NULL
16516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16518 arg1
= wxString_in_helper(obj0
);
16519 if (arg1
== NULL
) SWIG_fail
;
16523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16524 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16526 wxPyEndAllowThreads(__tstate
);
16527 if (PyErr_Occurred()) SWIG_fail
;
16531 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16533 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16550 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16551 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16556 static PyObject
*_wrap_DateFormatStr_get() {
16561 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16563 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16570 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16571 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16576 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16581 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16583 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16590 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16591 PyObject
*resultobj
;
16593 PyObject
* obj0
= 0 ;
16594 char *kwnames
[] = {
16595 (char *) "country", NULL
16598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16599 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16600 if (PyErr_Occurred()) SWIG_fail
;
16602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16603 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16605 wxPyEndAllowThreads(__tstate
);
16606 if (PyErr_Occurred()) SWIG_fail
;
16608 Py_INCREF(Py_None
); resultobj
= Py_None
;
16615 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16616 PyObject
*resultobj
;
16618 char *kwnames
[] = {
16622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16625 result
= (int)wxDateTime::GetCountry();
16627 wxPyEndAllowThreads(__tstate
);
16628 if (PyErr_Occurred()) SWIG_fail
;
16630 resultobj
= SWIG_FromInt((int)result
);
16637 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16638 PyObject
*resultobj
;
16639 int arg1
= (int) wxDateTime::Country_Default
;
16641 PyObject
* obj0
= 0 ;
16642 char *kwnames
[] = {
16643 (char *) "country", NULL
16646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16648 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16653 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16655 wxPyEndAllowThreads(__tstate
);
16656 if (PyErr_Occurred()) SWIG_fail
;
16659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16667 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16668 PyObject
*resultobj
;
16669 int arg1
= (int) wxDateTime::Gregorian
;
16671 PyObject
* obj0
= 0 ;
16672 char *kwnames
[] = {
16673 (char *) "cal", NULL
16676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16678 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16683 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16685 wxPyEndAllowThreads(__tstate
);
16686 if (PyErr_Occurred()) SWIG_fail
;
16688 resultobj
= SWIG_FromInt((int)result
);
16695 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16696 PyObject
*resultobj
;
16699 PyObject
* obj0
= 0 ;
16700 char *kwnames
[] = {
16701 (char *) "year", NULL
16704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16705 arg1
= (int) SWIG_AsInt(obj0
);
16706 if (PyErr_Occurred()) SWIG_fail
;
16708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16709 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16711 wxPyEndAllowThreads(__tstate
);
16712 if (PyErr_Occurred()) SWIG_fail
;
16714 resultobj
= SWIG_FromInt((int)result
);
16721 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16722 PyObject
*resultobj
;
16723 int arg1
= (int) wxDateTime::Gregorian
;
16725 PyObject
* obj0
= 0 ;
16726 char *kwnames
[] = {
16727 (char *) "cal", NULL
16730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16732 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16733 if (PyErr_Occurred()) SWIG_fail
;
16736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16737 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16739 wxPyEndAllowThreads(__tstate
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16742 resultobj
= SWIG_FromInt((int)result
);
16749 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16750 PyObject
*resultobj
;
16751 int arg1
= (int) wxDateTime::Inv_Year
;
16752 int arg2
= (int) wxDateTime::Gregorian
;
16754 PyObject
* obj0
= 0 ;
16755 PyObject
* obj1
= 0 ;
16756 char *kwnames
[] = {
16757 (char *) "year",(char *) "cal", NULL
16760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16762 arg1
= (int) SWIG_AsInt(obj0
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16766 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16767 if (PyErr_Occurred()) SWIG_fail
;
16770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16771 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16773 wxPyEndAllowThreads(__tstate
);
16774 if (PyErr_Occurred()) SWIG_fail
;
16777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16785 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16786 PyObject
*resultobj
;
16787 int arg1
= (int) wxDateTime::Inv_Year
;
16789 PyObject
* obj0
= 0 ;
16790 char *kwnames
[] = {
16791 (char *) "year", NULL
16794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16796 arg1
= (int) SWIG_AsInt(obj0
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16801 result
= (int)wxDateTime::GetCentury(arg1
);
16803 wxPyEndAllowThreads(__tstate
);
16804 if (PyErr_Occurred()) SWIG_fail
;
16806 resultobj
= SWIG_FromInt((int)result
);
16813 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16814 PyObject
*resultobj
;
16816 int arg2
= (int) wxDateTime::Gregorian
;
16818 PyObject
* obj0
= 0 ;
16819 PyObject
* obj1
= 0 ;
16820 char *kwnames
[] = {
16821 (char *) "year",(char *) "cal", NULL
16824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16825 arg1
= (int) SWIG_AsInt(obj0
);
16826 if (PyErr_Occurred()) SWIG_fail
;
16828 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16833 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16835 wxPyEndAllowThreads(__tstate
);
16836 if (PyErr_Occurred()) SWIG_fail
;
16838 resultobj
= SWIG_FromInt((int)result
);
16845 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16846 PyObject
*resultobj
;
16848 int arg2
= (int) wxDateTime::Inv_Year
;
16849 int arg3
= (int) wxDateTime::Gregorian
;
16851 PyObject
* obj0
= 0 ;
16852 PyObject
* obj1
= 0 ;
16853 PyObject
* obj2
= 0 ;
16854 char *kwnames
[] = {
16855 (char *) "month",(char *) "year",(char *) "cal", NULL
16858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16859 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16862 arg2
= (int) SWIG_AsInt(obj1
);
16863 if (PyErr_Occurred()) SWIG_fail
;
16866 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16871 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16873 wxPyEndAllowThreads(__tstate
);
16874 if (PyErr_Occurred()) SWIG_fail
;
16876 resultobj
= SWIG_FromInt((int)result
);
16883 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16884 PyObject
*resultobj
;
16886 int arg2
= (int) wxDateTime::Name_Full
;
16888 PyObject
* obj0
= 0 ;
16889 PyObject
* obj1
= 0 ;
16890 char *kwnames
[] = {
16891 (char *) "month",(char *) "flags", NULL
16894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16895 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16898 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16903 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16905 wxPyEndAllowThreads(__tstate
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16910 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16912 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16921 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16922 PyObject
*resultobj
;
16924 int arg2
= (int) wxDateTime::Name_Full
;
16926 PyObject
* obj0
= 0 ;
16927 PyObject
* obj1
= 0 ;
16928 char *kwnames
[] = {
16929 (char *) "weekday",(char *) "flags", NULL
16932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
16933 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
16934 if (PyErr_Occurred()) SWIG_fail
;
16936 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16941 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
16943 wxPyEndAllowThreads(__tstate
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16948 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16950 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16959 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16960 PyObject
*resultobj
;
16961 wxString
*arg1
= (wxString
*) 0 ;
16962 wxString
*arg2
= (wxString
*) 0 ;
16963 bool temp1
= False
;
16964 bool temp2
= False
;
16965 PyObject
* obj0
= 0 ;
16966 PyObject
* obj1
= 0 ;
16967 char *kwnames
[] = {
16968 (char *) "OUTPUT",(char *) "OUTPUT", NULL
16971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
16973 arg1
= wxString_in_helper(obj0
);
16974 if (arg1
== NULL
) SWIG_fail
;
16978 arg2
= wxString_in_helper(obj1
);
16979 if (arg2
== NULL
) SWIG_fail
;
16983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16984 wxDateTime::GetAmPmStrings(arg1
,arg2
);
16986 wxPyEndAllowThreads(__tstate
);
16987 if (PyErr_Occurred()) SWIG_fail
;
16989 Py_INCREF(Py_None
); resultobj
= Py_None
;
17012 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17013 PyObject
*resultobj
;
17014 int arg1
= (int) wxDateTime::Inv_Year
;
17015 int arg2
= (int) wxDateTime::Country_Default
;
17017 PyObject
* obj0
= 0 ;
17018 PyObject
* obj1
= 0 ;
17019 char *kwnames
[] = {
17020 (char *) "year",(char *) "country", NULL
17023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17025 arg1
= (int) SWIG_AsInt(obj0
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17029 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17030 if (PyErr_Occurred()) SWIG_fail
;
17033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17034 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17036 wxPyEndAllowThreads(__tstate
);
17037 if (PyErr_Occurred()) SWIG_fail
;
17040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17048 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17049 PyObject
*resultobj
;
17050 int arg1
= (int) wxDateTime::Inv_Year
;
17051 int arg2
= (int) wxDateTime::Country_Default
;
17053 PyObject
* obj0
= 0 ;
17054 PyObject
* obj1
= 0 ;
17055 char *kwnames
[] = {
17056 (char *) "year",(char *) "country", NULL
17059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17061 arg1
= (int) SWIG_AsInt(obj0
);
17062 if (PyErr_Occurred()) SWIG_fail
;
17065 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17066 if (PyErr_Occurred()) SWIG_fail
;
17069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17070 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17072 wxPyEndAllowThreads(__tstate
);
17073 if (PyErr_Occurred()) SWIG_fail
;
17076 wxDateTime
* resultptr
;
17077 resultptr
= new wxDateTime((wxDateTime
&) result
);
17078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17086 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17087 PyObject
*resultobj
;
17088 int arg1
= (int) wxDateTime::Inv_Year
;
17089 int arg2
= (int) wxDateTime::Country_Default
;
17091 PyObject
* obj0
= 0 ;
17092 PyObject
* obj1
= 0 ;
17093 char *kwnames
[] = {
17094 (char *) "year",(char *) "country", NULL
17097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17099 arg1
= (int) SWIG_AsInt(obj0
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17103 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17104 if (PyErr_Occurred()) SWIG_fail
;
17107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17108 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17110 wxPyEndAllowThreads(__tstate
);
17111 if (PyErr_Occurred()) SWIG_fail
;
17114 wxDateTime
* resultptr
;
17115 resultptr
= new wxDateTime((wxDateTime
&) result
);
17116 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17124 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17125 PyObject
*resultobj
;
17127 char *kwnames
[] = {
17131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17134 result
= wxDateTime::Now();
17136 wxPyEndAllowThreads(__tstate
);
17137 if (PyErr_Occurred()) SWIG_fail
;
17140 wxDateTime
* resultptr
;
17141 resultptr
= new wxDateTime((wxDateTime
&) result
);
17142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17150 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17151 PyObject
*resultobj
;
17153 char *kwnames
[] = {
17157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17160 result
= wxDateTime::UNow();
17162 wxPyEndAllowThreads(__tstate
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17166 wxDateTime
* resultptr
;
17167 resultptr
= new wxDateTime((wxDateTime
&) result
);
17168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17176 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17177 PyObject
*resultobj
;
17179 char *kwnames
[] = {
17183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17186 result
= wxDateTime::Today();
17188 wxPyEndAllowThreads(__tstate
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17192 wxDateTime
* resultptr
;
17193 resultptr
= new wxDateTime((wxDateTime
&) result
);
17194 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17202 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17203 PyObject
*resultobj
;
17204 wxDateTime
*result
;
17205 char *kwnames
[] = {
17209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17212 result
= (wxDateTime
*)new wxDateTime();
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17224 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17225 PyObject
*resultobj
;
17227 wxDateTime
*result
;
17228 PyObject
* obj0
= 0 ;
17229 char *kwnames
[] = {
17230 (char *) "timet", NULL
17233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17234 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17238 result
= (wxDateTime
*)new wxDateTime(arg1
);
17240 wxPyEndAllowThreads(__tstate
);
17241 if (PyErr_Occurred()) SWIG_fail
;
17243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17250 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17251 PyObject
*resultobj
;
17253 wxDateTime
*result
;
17254 PyObject
* obj0
= 0 ;
17255 char *kwnames
[] = {
17256 (char *) "jdn", NULL
17259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17260 arg1
= (double) SWIG_AsDouble(obj0
);
17261 if (PyErr_Occurred()) SWIG_fail
;
17263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17264 result
= (wxDateTime
*)new wxDateTime(arg1
);
17266 wxPyEndAllowThreads(__tstate
);
17267 if (PyErr_Occurred()) SWIG_fail
;
17269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17276 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17277 PyObject
*resultobj
;
17279 int arg2
= (int) 0 ;
17280 int arg3
= (int) 0 ;
17281 int arg4
= (int) 0 ;
17282 wxDateTime
*result
;
17283 PyObject
* obj0
= 0 ;
17284 PyObject
* obj1
= 0 ;
17285 PyObject
* obj2
= 0 ;
17286 PyObject
* obj3
= 0 ;
17287 char *kwnames
[] = {
17288 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17292 arg1
= (int) SWIG_AsInt(obj0
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17295 arg2
= (int) SWIG_AsInt(obj1
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17299 arg3
= (int) SWIG_AsInt(obj2
);
17300 if (PyErr_Occurred()) SWIG_fail
;
17303 arg4
= (int) SWIG_AsInt(obj3
);
17304 if (PyErr_Occurred()) SWIG_fail
;
17307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17308 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17310 wxPyEndAllowThreads(__tstate
);
17311 if (PyErr_Occurred()) SWIG_fail
;
17313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17320 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17321 PyObject
*resultobj
;
17323 int arg2
= (int) wxDateTime::Inv_Month
;
17324 int arg3
= (int) wxDateTime::Inv_Year
;
17325 int arg4
= (int) 0 ;
17326 int arg5
= (int) 0 ;
17327 int arg6
= (int) 0 ;
17328 int arg7
= (int) 0 ;
17329 wxDateTime
*result
;
17330 PyObject
* obj0
= 0 ;
17331 PyObject
* obj1
= 0 ;
17332 PyObject
* obj2
= 0 ;
17333 PyObject
* obj3
= 0 ;
17334 PyObject
* obj4
= 0 ;
17335 PyObject
* obj5
= 0 ;
17336 PyObject
* obj6
= 0 ;
17337 char *kwnames
[] = {
17338 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17342 arg1
= (int) SWIG_AsInt(obj0
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17345 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17346 if (PyErr_Occurred()) SWIG_fail
;
17349 arg3
= (int) SWIG_AsInt(obj2
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17353 arg4
= (int) SWIG_AsInt(obj3
);
17354 if (PyErr_Occurred()) SWIG_fail
;
17357 arg5
= (int) SWIG_AsInt(obj4
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17361 arg6
= (int) SWIG_AsInt(obj5
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17365 arg7
= (int) SWIG_AsInt(obj6
);
17366 if (PyErr_Occurred()) SWIG_fail
;
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17382 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17383 PyObject
*resultobj
;
17384 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17385 PyObject
* obj0
= 0 ;
17386 char *kwnames
[] = {
17387 (char *) "self", NULL
17390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17397 wxPyEndAllowThreads(__tstate
);
17398 if (PyErr_Occurred()) SWIG_fail
;
17400 Py_INCREF(Py_None
); resultobj
= Py_None
;
17407 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17408 PyObject
*resultobj
;
17409 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17410 wxDateTime
*result
;
17411 PyObject
* obj0
= 0 ;
17412 char *kwnames
[] = {
17413 (char *) "self", NULL
17416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17422 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17423 result
= (wxDateTime
*) &_result_ref
;
17426 wxPyEndAllowThreads(__tstate
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17436 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17437 PyObject
*resultobj
;
17438 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17440 wxDateTime
*result
;
17441 PyObject
* obj0
= 0 ;
17442 PyObject
* obj1
= 0 ;
17443 char *kwnames
[] = {
17444 (char *) "self",(char *) "timet", NULL
17447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17450 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17451 if (PyErr_Occurred()) SWIG_fail
;
17453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17455 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17456 result
= (wxDateTime
*) &_result_ref
;
17459 wxPyEndAllowThreads(__tstate
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17469 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17470 PyObject
*resultobj
;
17471 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17473 wxDateTime
*result
;
17474 PyObject
* obj0
= 0 ;
17475 PyObject
* obj1
= 0 ;
17476 char *kwnames
[] = {
17477 (char *) "self",(char *) "jdn", NULL
17480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17483 arg2
= (double) SWIG_AsDouble(obj1
);
17484 if (PyErr_Occurred()) SWIG_fail
;
17486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17488 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17489 result
= (wxDateTime
*) &_result_ref
;
17492 wxPyEndAllowThreads(__tstate
);
17493 if (PyErr_Occurred()) SWIG_fail
;
17495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17502 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17503 PyObject
*resultobj
;
17504 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17506 int arg3
= (int) 0 ;
17507 int arg4
= (int) 0 ;
17508 int arg5
= (int) 0 ;
17509 wxDateTime
*result
;
17510 PyObject
* obj0
= 0 ;
17511 PyObject
* obj1
= 0 ;
17512 PyObject
* obj2
= 0 ;
17513 PyObject
* obj3
= 0 ;
17514 PyObject
* obj4
= 0 ;
17515 char *kwnames
[] = {
17516 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17522 arg2
= (int) SWIG_AsInt(obj1
);
17523 if (PyErr_Occurred()) SWIG_fail
;
17525 arg3
= (int) SWIG_AsInt(obj2
);
17526 if (PyErr_Occurred()) SWIG_fail
;
17529 arg4
= (int) SWIG_AsInt(obj3
);
17530 if (PyErr_Occurred()) SWIG_fail
;
17533 arg5
= (int) SWIG_AsInt(obj4
);
17534 if (PyErr_Occurred()) SWIG_fail
;
17537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17539 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17540 result
= (wxDateTime
*) &_result_ref
;
17543 wxPyEndAllowThreads(__tstate
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17553 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17554 PyObject
*resultobj
;
17555 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17557 int arg3
= (int) wxDateTime::Inv_Month
;
17558 int arg4
= (int) wxDateTime::Inv_Year
;
17559 int arg5
= (int) 0 ;
17560 int arg6
= (int) 0 ;
17561 int arg7
= (int) 0 ;
17562 int arg8
= (int) 0 ;
17563 wxDateTime
*result
;
17564 PyObject
* obj0
= 0 ;
17565 PyObject
* obj1
= 0 ;
17566 PyObject
* obj2
= 0 ;
17567 PyObject
* obj3
= 0 ;
17568 PyObject
* obj4
= 0 ;
17569 PyObject
* obj5
= 0 ;
17570 PyObject
* obj6
= 0 ;
17571 PyObject
* obj7
= 0 ;
17572 char *kwnames
[] = {
17573 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17579 arg2
= (int) SWIG_AsInt(obj1
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17582 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17586 arg4
= (int) SWIG_AsInt(obj3
);
17587 if (PyErr_Occurred()) SWIG_fail
;
17590 arg5
= (int) SWIG_AsInt(obj4
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17594 arg6
= (int) SWIG_AsInt(obj5
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17598 arg7
= (int) SWIG_AsInt(obj6
);
17599 if (PyErr_Occurred()) SWIG_fail
;
17602 arg8
= (int) SWIG_AsInt(obj7
);
17603 if (PyErr_Occurred()) SWIG_fail
;
17606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17608 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17609 result
= (wxDateTime
*) &_result_ref
;
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17622 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17623 PyObject
*resultobj
;
17624 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17625 wxDateTime
*result
;
17626 PyObject
* obj0
= 0 ;
17627 char *kwnames
[] = {
17628 (char *) "self", NULL
17631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17637 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17638 result
= (wxDateTime
*) &_result_ref
;
17641 wxPyEndAllowThreads(__tstate
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17651 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17652 PyObject
*resultobj
;
17653 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17655 wxDateTime
*result
;
17656 PyObject
* obj0
= 0 ;
17657 PyObject
* obj1
= 0 ;
17658 char *kwnames
[] = {
17659 (char *) "self",(char *) "year", NULL
17662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17665 arg2
= (int) SWIG_AsInt(obj1
);
17666 if (PyErr_Occurred()) SWIG_fail
;
17668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17670 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17671 result
= (wxDateTime
*) &_result_ref
;
17674 wxPyEndAllowThreads(__tstate
);
17675 if (PyErr_Occurred()) SWIG_fail
;
17677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17684 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17685 PyObject
*resultobj
;
17686 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17688 wxDateTime
*result
;
17689 PyObject
* obj0
= 0 ;
17690 PyObject
* obj1
= 0 ;
17691 char *kwnames
[] = {
17692 (char *) "self",(char *) "month", NULL
17695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17698 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17699 if (PyErr_Occurred()) SWIG_fail
;
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17703 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17704 result
= (wxDateTime
*) &_result_ref
;
17707 wxPyEndAllowThreads(__tstate
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17717 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17718 PyObject
*resultobj
;
17719 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17721 wxDateTime
*result
;
17722 PyObject
* obj0
= 0 ;
17723 PyObject
* obj1
= 0 ;
17724 char *kwnames
[] = {
17725 (char *) "self",(char *) "day", NULL
17728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17731 arg2
= (int) SWIG_AsInt(obj1
);
17732 if (PyErr_Occurred()) SWIG_fail
;
17734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17736 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17737 result
= (wxDateTime
*) &_result_ref
;
17740 wxPyEndAllowThreads(__tstate
);
17741 if (PyErr_Occurred()) SWIG_fail
;
17743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17750 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17751 PyObject
*resultobj
;
17752 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17754 wxDateTime
*result
;
17755 PyObject
* obj0
= 0 ;
17756 PyObject
* obj1
= 0 ;
17757 char *kwnames
[] = {
17758 (char *) "self",(char *) "hour", NULL
17761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17764 arg2
= (int) SWIG_AsInt(obj1
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17769 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17770 result
= (wxDateTime
*) &_result_ref
;
17773 wxPyEndAllowThreads(__tstate
);
17774 if (PyErr_Occurred()) SWIG_fail
;
17776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17783 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17784 PyObject
*resultobj
;
17785 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17787 wxDateTime
*result
;
17788 PyObject
* obj0
= 0 ;
17789 PyObject
* obj1
= 0 ;
17790 char *kwnames
[] = {
17791 (char *) "self",(char *) "minute", NULL
17794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17797 arg2
= (int) SWIG_AsInt(obj1
);
17798 if (PyErr_Occurred()) SWIG_fail
;
17800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17802 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17803 result
= (wxDateTime
*) &_result_ref
;
17806 wxPyEndAllowThreads(__tstate
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17816 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17817 PyObject
*resultobj
;
17818 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17820 wxDateTime
*result
;
17821 PyObject
* obj0
= 0 ;
17822 PyObject
* obj1
= 0 ;
17823 char *kwnames
[] = {
17824 (char *) "self",(char *) "second", NULL
17827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17830 arg2
= (int) SWIG_AsInt(obj1
);
17831 if (PyErr_Occurred()) SWIG_fail
;
17833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17835 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17836 result
= (wxDateTime
*) &_result_ref
;
17839 wxPyEndAllowThreads(__tstate
);
17840 if (PyErr_Occurred()) SWIG_fail
;
17842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17849 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17850 PyObject
*resultobj
;
17851 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17853 wxDateTime
*result
;
17854 PyObject
* obj0
= 0 ;
17855 PyObject
* obj1
= 0 ;
17856 char *kwnames
[] = {
17857 (char *) "self",(char *) "millisecond", NULL
17860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17863 arg2
= (int) SWIG_AsInt(obj1
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17868 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17869 result
= (wxDateTime
*) &_result_ref
;
17872 wxPyEndAllowThreads(__tstate
);
17873 if (PyErr_Occurred()) SWIG_fail
;
17875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17882 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17883 PyObject
*resultobj
;
17884 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17886 int arg3
= (int) wxDateTime::Monday_First
;
17887 wxDateTime
*result
;
17888 PyObject
* obj0
= 0 ;
17889 PyObject
* obj1
= 0 ;
17890 PyObject
* obj2
= 0 ;
17891 char *kwnames
[] = {
17892 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17898 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17901 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17902 if (PyErr_Occurred()) SWIG_fail
;
17905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17907 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17908 result
= (wxDateTime
*) &_result_ref
;
17911 wxPyEndAllowThreads(__tstate
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17921 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17922 PyObject
*resultobj
;
17923 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17925 int arg3
= (int) wxDateTime::Monday_First
;
17927 PyObject
* obj0
= 0 ;
17928 PyObject
* obj1
= 0 ;
17929 PyObject
* obj2
= 0 ;
17930 char *kwnames
[] = {
17931 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17937 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17940 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17945 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17947 wxPyEndAllowThreads(__tstate
);
17948 if (PyErr_Occurred()) SWIG_fail
;
17951 wxDateTime
* resultptr
;
17952 resultptr
= new wxDateTime((wxDateTime
&) result
);
17953 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17961 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17962 PyObject
*resultobj
;
17963 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17965 wxDateTime
*result
;
17966 PyObject
* obj0
= 0 ;
17967 PyObject
* obj1
= 0 ;
17968 char *kwnames
[] = {
17969 (char *) "self",(char *) "weekday", NULL
17972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17975 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17980 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
17981 result
= (wxDateTime
*) &_result_ref
;
17984 wxPyEndAllowThreads(__tstate
);
17985 if (PyErr_Occurred()) SWIG_fail
;
17987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17994 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17995 PyObject
*resultobj
;
17996 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17999 PyObject
* obj0
= 0 ;
18000 PyObject
* obj1
= 0 ;
18001 char *kwnames
[] = {
18002 (char *) "self",(char *) "weekday", NULL
18005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18008 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18009 if (PyErr_Occurred()) SWIG_fail
;
18011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18012 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18018 wxDateTime
* resultptr
;
18019 resultptr
= new wxDateTime((wxDateTime
&) result
);
18020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18028 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18029 PyObject
*resultobj
;
18030 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18032 wxDateTime
*result
;
18033 PyObject
* obj0
= 0 ;
18034 PyObject
* obj1
= 0 ;
18035 char *kwnames
[] = {
18036 (char *) "self",(char *) "weekday", NULL
18039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18042 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18047 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18048 result
= (wxDateTime
*) &_result_ref
;
18051 wxPyEndAllowThreads(__tstate
);
18052 if (PyErr_Occurred()) SWIG_fail
;
18054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18061 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18062 PyObject
*resultobj
;
18063 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18066 PyObject
* obj0
= 0 ;
18067 PyObject
* obj1
= 0 ;
18068 char *kwnames
[] = {
18069 (char *) "self",(char *) "weekday", NULL
18072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18075 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18076 if (PyErr_Occurred()) SWIG_fail
;
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18079 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18085 wxDateTime
* resultptr
;
18086 resultptr
= new wxDateTime((wxDateTime
&) result
);
18087 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18095 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18096 PyObject
*resultobj
;
18097 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18099 int arg3
= (int) 1 ;
18100 int arg4
= (int) wxDateTime::Inv_Month
;
18101 int arg5
= (int) wxDateTime::Inv_Year
;
18103 PyObject
* obj0
= 0 ;
18104 PyObject
* obj1
= 0 ;
18105 PyObject
* obj2
= 0 ;
18106 PyObject
* obj3
= 0 ;
18107 PyObject
* obj4
= 0 ;
18108 char *kwnames
[] = {
18109 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18115 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18116 if (PyErr_Occurred()) SWIG_fail
;
18118 arg3
= (int) SWIG_AsInt(obj2
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18122 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18123 if (PyErr_Occurred()) SWIG_fail
;
18126 arg5
= (int) SWIG_AsInt(obj4
);
18127 if (PyErr_Occurred()) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18145 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
;
18147 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18149 int arg3
= (int) wxDateTime::Inv_Month
;
18150 int arg4
= (int) wxDateTime::Inv_Year
;
18152 PyObject
* obj0
= 0 ;
18153 PyObject
* obj1
= 0 ;
18154 PyObject
* obj2
= 0 ;
18155 PyObject
* obj3
= 0 ;
18156 char *kwnames
[] = {
18157 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18163 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18166 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18170 arg4
= (int) SWIG_AsInt(obj3
);
18171 if (PyErr_Occurred()) SWIG_fail
;
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18189 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18190 PyObject
*resultobj
;
18191 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18193 int arg3
= (int) wxDateTime::Inv_Month
;
18194 int arg4
= (int) wxDateTime::Inv_Year
;
18196 PyObject
* obj0
= 0 ;
18197 PyObject
* obj1
= 0 ;
18198 PyObject
* obj2
= 0 ;
18199 PyObject
* obj3
= 0 ;
18200 char *kwnames
[] = {
18201 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18207 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18210 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18211 if (PyErr_Occurred()) SWIG_fail
;
18214 arg4
= (int) SWIG_AsInt(obj3
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18219 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18221 wxPyEndAllowThreads(__tstate
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18225 wxDateTime
* resultptr
;
18226 resultptr
= new wxDateTime((wxDateTime
&) result
);
18227 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18235 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18236 PyObject
*resultobj
;
18237 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18239 int arg3
= (int) wxDateTime::Mon
;
18240 int arg4
= (int) wxDateTime::Monday_First
;
18242 PyObject
* obj0
= 0 ;
18243 PyObject
* obj1
= 0 ;
18244 PyObject
* obj2
= 0 ;
18245 PyObject
* obj3
= 0 ;
18246 char *kwnames
[] = {
18247 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18253 arg2
= (int) SWIG_AsInt(obj1
);
18254 if (PyErr_Occurred()) SWIG_fail
;
18256 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18260 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18265 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18267 wxPyEndAllowThreads(__tstate
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18279 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18280 PyObject
*resultobj
;
18281 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18283 int arg3
= (int) wxDateTime::Mon
;
18284 int arg4
= (int) wxDateTime::Monday_First
;
18286 PyObject
* obj0
= 0 ;
18287 PyObject
* obj1
= 0 ;
18288 PyObject
* obj2
= 0 ;
18289 PyObject
* obj3
= 0 ;
18290 char *kwnames
[] = {
18291 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18297 arg2
= (int) SWIG_AsInt(obj1
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18300 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18301 if (PyErr_Occurred()) SWIG_fail
;
18304 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18305 if (PyErr_Occurred()) SWIG_fail
;
18308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18309 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18311 wxPyEndAllowThreads(__tstate
);
18312 if (PyErr_Occurred()) SWIG_fail
;
18315 wxDateTime
* resultptr
;
18316 resultptr
= new wxDateTime((wxDateTime
&) result
);
18317 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18325 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18326 PyObject
*resultobj
;
18327 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18328 int arg2
= (int) wxDateTime::Inv_Month
;
18329 int arg3
= (int) wxDateTime::Inv_Year
;
18330 wxDateTime
*result
;
18331 PyObject
* obj0
= 0 ;
18332 PyObject
* obj1
= 0 ;
18333 PyObject
* obj2
= 0 ;
18334 char *kwnames
[] = {
18335 (char *) "self",(char *) "month",(char *) "year", NULL
18338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18342 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18346 arg3
= (int) SWIG_AsInt(obj2
);
18347 if (PyErr_Occurred()) SWIG_fail
;
18350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18352 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18353 result
= (wxDateTime
*) &_result_ref
;
18356 wxPyEndAllowThreads(__tstate
);
18357 if (PyErr_Occurred()) SWIG_fail
;
18359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18366 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18367 PyObject
*resultobj
;
18368 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18369 int arg2
= (int) wxDateTime::Inv_Month
;
18370 int arg3
= (int) wxDateTime::Inv_Year
;
18372 PyObject
* obj0
= 0 ;
18373 PyObject
* obj1
= 0 ;
18374 PyObject
* obj2
= 0 ;
18375 char *kwnames
[] = {
18376 (char *) "self",(char *) "month",(char *) "year", NULL
18379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18383 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18387 arg3
= (int) SWIG_AsInt(obj2
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18392 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18394 wxPyEndAllowThreads(__tstate
);
18395 if (PyErr_Occurred()) SWIG_fail
;
18398 wxDateTime
* resultptr
;
18399 resultptr
= new wxDateTime((wxDateTime
&) result
);
18400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18408 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18409 PyObject
*resultobj
;
18410 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18412 wxDateTime
*result
;
18413 PyObject
* obj0
= 0 ;
18414 PyObject
* obj1
= 0 ;
18415 char *kwnames
[] = {
18416 (char *) "self",(char *) "yday", NULL
18419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18422 arg2
= (int) SWIG_AsInt(obj1
);
18423 if (PyErr_Occurred()) SWIG_fail
;
18425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18427 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18428 result
= (wxDateTime
*) &_result_ref
;
18431 wxPyEndAllowThreads(__tstate
);
18432 if (PyErr_Occurred()) SWIG_fail
;
18434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18441 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18442 PyObject
*resultobj
;
18443 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18446 PyObject
* obj0
= 0 ;
18447 PyObject
* obj1
= 0 ;
18448 char *kwnames
[] = {
18449 (char *) "self",(char *) "yday", NULL
18452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18455 arg2
= (int) SWIG_AsInt(obj1
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18459 result
= (arg1
)->GetYearDay(arg2
);
18461 wxPyEndAllowThreads(__tstate
);
18462 if (PyErr_Occurred()) SWIG_fail
;
18465 wxDateTime
* resultptr
;
18466 resultptr
= new wxDateTime((wxDateTime
&) result
);
18467 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18475 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18476 PyObject
*resultobj
;
18477 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18479 PyObject
* obj0
= 0 ;
18480 char *kwnames
[] = {
18481 (char *) "self", NULL
18484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18489 result
= (double)(arg1
)->GetJulianDayNumber();
18491 wxPyEndAllowThreads(__tstate
);
18492 if (PyErr_Occurred()) SWIG_fail
;
18494 resultobj
= SWIG_FromDouble((double)result
);
18501 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18502 PyObject
*resultobj
;
18503 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18505 PyObject
* obj0
= 0 ;
18506 char *kwnames
[] = {
18507 (char *) "self", NULL
18510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18515 result
= (double)(arg1
)->GetJDN();
18517 wxPyEndAllowThreads(__tstate
);
18518 if (PyErr_Occurred()) SWIG_fail
;
18520 resultobj
= SWIG_FromDouble((double)result
);
18527 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18528 PyObject
*resultobj
;
18529 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18531 PyObject
* obj0
= 0 ;
18532 char *kwnames
[] = {
18533 (char *) "self", NULL
18536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18541 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18543 wxPyEndAllowThreads(__tstate
);
18544 if (PyErr_Occurred()) SWIG_fail
;
18546 resultobj
= SWIG_FromDouble((double)result
);
18553 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18554 PyObject
*resultobj
;
18555 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18557 PyObject
* obj0
= 0 ;
18558 char *kwnames
[] = {
18559 (char *) "self", NULL
18562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18567 result
= (double)(arg1
)->GetMJD();
18569 wxPyEndAllowThreads(__tstate
);
18570 if (PyErr_Occurred()) SWIG_fail
;
18572 resultobj
= SWIG_FromDouble((double)result
);
18579 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18580 PyObject
*resultobj
;
18581 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18583 PyObject
* obj0
= 0 ;
18584 char *kwnames
[] = {
18585 (char *) "self", NULL
18588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18593 result
= (double)(arg1
)->GetRataDie();
18595 wxPyEndAllowThreads(__tstate
);
18596 if (PyErr_Occurred()) SWIG_fail
;
18598 resultobj
= SWIG_FromDouble((double)result
);
18605 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18606 PyObject
*resultobj
;
18607 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18608 wxDateTime::TimeZone
*arg2
= 0 ;
18609 bool arg3
= (bool) False
;
18611 bool temp2
= False
;
18612 PyObject
* obj0
= 0 ;
18613 PyObject
* obj1
= 0 ;
18614 PyObject
* obj2
= 0 ;
18615 char *kwnames
[] = {
18616 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18623 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18627 arg3
= (bool) SWIG_AsBool(obj2
);
18628 if (PyErr_Occurred()) SWIG_fail
;
18631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18632 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18634 wxPyEndAllowThreads(__tstate
);
18635 if (PyErr_Occurred()) SWIG_fail
;
18638 wxDateTime
* resultptr
;
18639 resultptr
= new wxDateTime((wxDateTime
&) result
);
18640 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18643 if (temp2
) delete arg2
;
18648 if (temp2
) delete arg2
;
18654 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18655 PyObject
*resultobj
;
18656 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18657 wxDateTime::TimeZone
*arg2
= 0 ;
18658 bool arg3
= (bool) False
;
18659 wxDateTime
*result
;
18660 bool temp2
= False
;
18661 PyObject
* obj0
= 0 ;
18662 PyObject
* obj1
= 0 ;
18663 PyObject
* obj2
= 0 ;
18664 char *kwnames
[] = {
18665 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18672 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18676 arg3
= (bool) SWIG_AsBool(obj2
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18682 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18683 result
= (wxDateTime
*) &_result_ref
;
18686 wxPyEndAllowThreads(__tstate
);
18687 if (PyErr_Occurred()) SWIG_fail
;
18689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18691 if (temp2
) delete arg2
;
18696 if (temp2
) delete arg2
;
18702 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18703 PyObject
*resultobj
;
18704 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18705 bool arg2
= (bool) False
;
18707 PyObject
* obj0
= 0 ;
18708 PyObject
* obj1
= 0 ;
18709 char *kwnames
[] = {
18710 (char *) "self",(char *) "noDST", NULL
18713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18717 arg2
= (bool) SWIG_AsBool(obj1
);
18718 if (PyErr_Occurred()) SWIG_fail
;
18721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18722 result
= (arg1
)->ToGMT(arg2
);
18724 wxPyEndAllowThreads(__tstate
);
18725 if (PyErr_Occurred()) SWIG_fail
;
18728 wxDateTime
* resultptr
;
18729 resultptr
= new wxDateTime((wxDateTime
&) result
);
18730 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18738 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18739 PyObject
*resultobj
;
18740 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18741 bool arg2
= (bool) False
;
18742 wxDateTime
*result
;
18743 PyObject
* obj0
= 0 ;
18744 PyObject
* obj1
= 0 ;
18745 char *kwnames
[] = {
18746 (char *) "self",(char *) "noDST", NULL
18749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18753 arg2
= (bool) SWIG_AsBool(obj1
);
18754 if (PyErr_Occurred()) SWIG_fail
;
18757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18759 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18760 result
= (wxDateTime
*) &_result_ref
;
18763 wxPyEndAllowThreads(__tstate
);
18764 if (PyErr_Occurred()) SWIG_fail
;
18766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18773 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18774 PyObject
*resultobj
;
18775 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18776 int arg2
= (int) wxDateTime::Country_Default
;
18778 PyObject
* obj0
= 0 ;
18779 PyObject
* obj1
= 0 ;
18780 char *kwnames
[] = {
18781 (char *) "self",(char *) "country", NULL
18784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18788 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18789 if (PyErr_Occurred()) SWIG_fail
;
18792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18793 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18795 wxPyEndAllowThreads(__tstate
);
18796 if (PyErr_Occurred()) SWIG_fail
;
18798 resultobj
= SWIG_FromInt((int)result
);
18805 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18806 PyObject
*resultobj
;
18807 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18809 PyObject
* obj0
= 0 ;
18810 char *kwnames
[] = {
18811 (char *) "self", NULL
18814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18819 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18833 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18834 PyObject
*resultobj
;
18835 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18837 PyObject
* obj0
= 0 ;
18838 char *kwnames
[] = {
18839 (char *) "self", NULL
18842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18847 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18849 wxPyEndAllowThreads(__tstate
);
18850 if (PyErr_Occurred()) SWIG_fail
;
18852 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
18859 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18860 PyObject
*resultobj
;
18861 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18862 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18863 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18865 bool temp2
= False
;
18866 PyObject
* obj0
= 0 ;
18867 PyObject
* obj1
= 0 ;
18868 char *kwnames
[] = {
18869 (char *) "self",(char *) "tz", NULL
18872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18877 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18883 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18885 wxPyEndAllowThreads(__tstate
);
18886 if (PyErr_Occurred()) SWIG_fail
;
18888 resultobj
= SWIG_FromInt((int)result
);
18890 if (temp2
) delete arg2
;
18895 if (temp2
) delete arg2
;
18901 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
;
18903 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18904 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18905 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18907 bool temp2
= False
;
18908 PyObject
* obj0
= 0 ;
18909 PyObject
* obj1
= 0 ;
18910 char *kwnames
[] = {
18911 (char *) "self",(char *) "tz", NULL
18914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18919 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18925 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
18927 wxPyEndAllowThreads(__tstate
);
18928 if (PyErr_Occurred()) SWIG_fail
;
18930 resultobj
= SWIG_FromInt((int)result
);
18932 if (temp2
) delete arg2
;
18937 if (temp2
) delete arg2
;
18943 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18944 PyObject
*resultobj
;
18945 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18946 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18947 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18949 bool temp2
= False
;
18950 PyObject
* obj0
= 0 ;
18951 PyObject
* obj1
= 0 ;
18952 char *kwnames
[] = {
18953 (char *) "self",(char *) "tz", NULL
18956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18961 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18967 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
18969 wxPyEndAllowThreads(__tstate
);
18970 if (PyErr_Occurred()) SWIG_fail
;
18972 resultobj
= SWIG_FromInt((int)result
);
18974 if (temp2
) delete arg2
;
18979 if (temp2
) delete arg2
;
18985 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18986 PyObject
*resultobj
;
18987 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18988 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18989 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18991 bool temp2
= False
;
18992 PyObject
* obj0
= 0 ;
18993 PyObject
* obj1
= 0 ;
18994 char *kwnames
[] = {
18995 (char *) "self",(char *) "tz", NULL
18998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19003 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19009 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19011 wxPyEndAllowThreads(__tstate
);
19012 if (PyErr_Occurred()) SWIG_fail
;
19014 resultobj
= SWIG_FromInt((int)result
);
19016 if (temp2
) delete arg2
;
19021 if (temp2
) delete arg2
;
19027 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19028 PyObject
*resultobj
;
19029 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19030 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19031 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19033 bool temp2
= False
;
19034 PyObject
* obj0
= 0 ;
19035 PyObject
* obj1
= 0 ;
19036 char *kwnames
[] = {
19037 (char *) "self",(char *) "tz", NULL
19040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19045 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19051 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19053 wxPyEndAllowThreads(__tstate
);
19054 if (PyErr_Occurred()) SWIG_fail
;
19056 resultobj
= SWIG_FromInt((int)result
);
19058 if (temp2
) delete arg2
;
19063 if (temp2
) delete arg2
;
19069 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19070 PyObject
*resultobj
;
19071 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19072 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19073 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19075 bool temp2
= False
;
19076 PyObject
* obj0
= 0 ;
19077 PyObject
* obj1
= 0 ;
19078 char *kwnames
[] = {
19079 (char *) "self",(char *) "tz", NULL
19082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19087 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19093 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19095 wxPyEndAllowThreads(__tstate
);
19096 if (PyErr_Occurred()) SWIG_fail
;
19098 resultobj
= SWIG_FromInt((int)result
);
19100 if (temp2
) delete arg2
;
19105 if (temp2
) delete arg2
;
19111 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19112 PyObject
*resultobj
;
19113 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19114 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19115 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19117 bool temp2
= False
;
19118 PyObject
* obj0
= 0 ;
19119 PyObject
* obj1
= 0 ;
19120 char *kwnames
[] = {
19121 (char *) "self",(char *) "tz", NULL
19124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19129 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19135 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19137 wxPyEndAllowThreads(__tstate
);
19138 if (PyErr_Occurred()) SWIG_fail
;
19140 resultobj
= SWIG_FromInt((int)result
);
19142 if (temp2
) delete arg2
;
19147 if (temp2
) delete arg2
;
19153 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19154 PyObject
*resultobj
;
19155 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19156 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19157 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19159 bool temp2
= False
;
19160 PyObject
* obj0
= 0 ;
19161 PyObject
* obj1
= 0 ;
19162 char *kwnames
[] = {
19163 (char *) "self",(char *) "tz", NULL
19166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19171 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19177 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19179 wxPyEndAllowThreads(__tstate
);
19180 if (PyErr_Occurred()) SWIG_fail
;
19182 resultobj
= SWIG_FromInt((int)result
);
19184 if (temp2
) delete arg2
;
19189 if (temp2
) delete arg2
;
19195 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19196 PyObject
*resultobj
;
19197 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19198 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19199 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19201 bool temp2
= False
;
19202 PyObject
* obj0
= 0 ;
19203 PyObject
* obj1
= 0 ;
19204 char *kwnames
[] = {
19205 (char *) "self",(char *) "tz", NULL
19208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19213 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19219 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19221 wxPyEndAllowThreads(__tstate
);
19222 if (PyErr_Occurred()) SWIG_fail
;
19224 resultobj
= SWIG_FromInt((int)result
);
19226 if (temp2
) delete arg2
;
19231 if (temp2
) delete arg2
;
19237 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19238 PyObject
*resultobj
;
19239 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19240 int arg2
= (int) wxDateTime::Monday_First
;
19241 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19242 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19244 bool temp3
= False
;
19245 PyObject
* obj0
= 0 ;
19246 PyObject
* obj1
= 0 ;
19247 PyObject
* obj2
= 0 ;
19248 char *kwnames
[] = {
19249 (char *) "self",(char *) "flags",(char *) "tz", NULL
19252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19256 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19257 if (PyErr_Occurred()) SWIG_fail
;
19261 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19267 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19269 wxPyEndAllowThreads(__tstate
);
19270 if (PyErr_Occurred()) SWIG_fail
;
19272 resultobj
= SWIG_FromInt((int)result
);
19274 if (temp3
) delete arg3
;
19279 if (temp3
) delete arg3
;
19285 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19286 PyObject
*resultobj
;
19287 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19288 int arg2
= (int) wxDateTime::Monday_First
;
19289 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19290 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19292 bool temp3
= False
;
19293 PyObject
* obj0
= 0 ;
19294 PyObject
* obj1
= 0 ;
19295 PyObject
* obj2
= 0 ;
19296 char *kwnames
[] = {
19297 (char *) "self",(char *) "flags",(char *) "tz", NULL
19300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19304 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19305 if (PyErr_Occurred()) SWIG_fail
;
19309 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19315 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19317 wxPyEndAllowThreads(__tstate
);
19318 if (PyErr_Occurred()) SWIG_fail
;
19320 resultobj
= SWIG_FromInt((int)result
);
19322 if (temp3
) delete arg3
;
19327 if (temp3
) delete arg3
;
19333 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19334 PyObject
*resultobj
;
19335 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19336 int arg2
= (int) wxDateTime::Country_Default
;
19338 PyObject
* obj0
= 0 ;
19339 PyObject
* obj1
= 0 ;
19340 char *kwnames
[] = {
19341 (char *) "self",(char *) "country", NULL
19344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19348 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19349 if (PyErr_Occurred()) SWIG_fail
;
19352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19353 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19355 wxPyEndAllowThreads(__tstate
);
19356 if (PyErr_Occurred()) SWIG_fail
;
19359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19367 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19368 PyObject
*resultobj
;
19369 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19370 wxDateTime
*arg2
= 0 ;
19372 PyObject
* obj0
= 0 ;
19373 PyObject
* obj1
= 0 ;
19374 char *kwnames
[] = {
19375 (char *) "self",(char *) "datetime", NULL
19378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19381 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19382 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19384 if (arg2
== NULL
) {
19385 PyErr_SetString(PyExc_TypeError
,"null reference");
19389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19390 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19392 wxPyEndAllowThreads(__tstate
);
19393 if (PyErr_Occurred()) SWIG_fail
;
19396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19404 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19405 PyObject
*resultobj
;
19406 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19407 wxDateTime
*arg2
= 0 ;
19409 PyObject
* obj0
= 0 ;
19410 PyObject
* obj1
= 0 ;
19411 char *kwnames
[] = {
19412 (char *) "self",(char *) "datetime", NULL
19415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19419 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19421 if (arg2
== NULL
) {
19422 PyErr_SetString(PyExc_TypeError
,"null reference");
19426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19427 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19429 wxPyEndAllowThreads(__tstate
);
19430 if (PyErr_Occurred()) SWIG_fail
;
19433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19441 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19442 PyObject
*resultobj
;
19443 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19444 wxDateTime
*arg2
= 0 ;
19446 PyObject
* obj0
= 0 ;
19447 PyObject
* obj1
= 0 ;
19448 char *kwnames
[] = {
19449 (char *) "self",(char *) "datetime", NULL
19452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19455 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19456 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19458 if (arg2
== NULL
) {
19459 PyErr_SetString(PyExc_TypeError
,"null reference");
19463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19464 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19466 wxPyEndAllowThreads(__tstate
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19478 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19479 PyObject
*resultobj
;
19480 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19481 wxDateTime
*arg2
= 0 ;
19482 wxDateTime
*arg3
= 0 ;
19484 PyObject
* obj0
= 0 ;
19485 PyObject
* obj1
= 0 ;
19486 PyObject
* obj2
= 0 ;
19487 char *kwnames
[] = {
19488 (char *) "self",(char *) "t1",(char *) "t2", NULL
19491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19497 if (arg2
== NULL
) {
19498 PyErr_SetString(PyExc_TypeError
,"null reference");
19501 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19502 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19504 if (arg3
== NULL
) {
19505 PyErr_SetString(PyExc_TypeError
,"null reference");
19509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19510 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19512 wxPyEndAllowThreads(__tstate
);
19513 if (PyErr_Occurred()) SWIG_fail
;
19516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19524 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19525 PyObject
*resultobj
;
19526 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19527 wxDateTime
*arg2
= 0 ;
19528 wxDateTime
*arg3
= 0 ;
19530 PyObject
* obj0
= 0 ;
19531 PyObject
* obj1
= 0 ;
19532 PyObject
* obj2
= 0 ;
19533 char *kwnames
[] = {
19534 (char *) "self",(char *) "t1",(char *) "t2", NULL
19537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19540 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19541 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19543 if (arg2
== NULL
) {
19544 PyErr_SetString(PyExc_TypeError
,"null reference");
19547 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19548 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19550 if (arg3
== NULL
) {
19551 PyErr_SetString(PyExc_TypeError
,"null reference");
19555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19556 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19558 wxPyEndAllowThreads(__tstate
);
19559 if (PyErr_Occurred()) SWIG_fail
;
19562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19570 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19571 PyObject
*resultobj
;
19572 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19573 wxDateTime
*arg2
= 0 ;
19575 PyObject
* obj0
= 0 ;
19576 PyObject
* obj1
= 0 ;
19577 char *kwnames
[] = {
19578 (char *) "self",(char *) "dt", NULL
19581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19584 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19585 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19587 if (arg2
== NULL
) {
19588 PyErr_SetString(PyExc_TypeError
,"null reference");
19592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19593 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19595 wxPyEndAllowThreads(__tstate
);
19596 if (PyErr_Occurred()) SWIG_fail
;
19599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19607 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19608 PyObject
*resultobj
;
19609 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19610 wxDateTime
*arg2
= 0 ;
19612 PyObject
* obj0
= 0 ;
19613 PyObject
* obj1
= 0 ;
19614 char *kwnames
[] = {
19615 (char *) "self",(char *) "dt", NULL
19618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19621 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19622 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19624 if (arg2
== NULL
) {
19625 PyErr_SetString(PyExc_TypeError
,"null reference");
19629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19630 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19632 wxPyEndAllowThreads(__tstate
);
19633 if (PyErr_Occurred()) SWIG_fail
;
19636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19644 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19645 PyObject
*resultobj
;
19646 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19647 wxDateTime
*arg2
= 0 ;
19648 wxTimeSpan
*arg3
= 0 ;
19650 PyObject
* obj0
= 0 ;
19651 PyObject
* obj1
= 0 ;
19652 PyObject
* obj2
= 0 ;
19653 char *kwnames
[] = {
19654 (char *) "self",(char *) "dt",(char *) "ts", NULL
19657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19661 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19663 if (arg2
== NULL
) {
19664 PyErr_SetString(PyExc_TypeError
,"null reference");
19667 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19668 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19670 if (arg3
== NULL
) {
19671 PyErr_SetString(PyExc_TypeError
,"null reference");
19675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19676 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19678 wxPyEndAllowThreads(__tstate
);
19679 if (PyErr_Occurred()) SWIG_fail
;
19682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19690 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19691 PyObject
*resultobj
;
19692 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19693 wxTimeSpan
*arg2
= 0 ;
19694 wxDateTime
*result
;
19695 PyObject
* obj0
= 0 ;
19696 PyObject
* obj1
= 0 ;
19697 char *kwnames
[] = {
19698 (char *) "self",(char *) "diff", NULL
19701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19705 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19707 if (arg2
== NULL
) {
19708 PyErr_SetString(PyExc_TypeError
,"null reference");
19712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19714 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19715 result
= (wxDateTime
*) &_result_ref
;
19718 wxPyEndAllowThreads(__tstate
);
19719 if (PyErr_Occurred()) SWIG_fail
;
19721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19728 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19729 PyObject
*resultobj
;
19730 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19731 wxDateSpan
*arg2
= 0 ;
19732 wxDateTime
*result
;
19733 PyObject
* obj0
= 0 ;
19734 PyObject
* obj1
= 0 ;
19735 char *kwnames
[] = {
19736 (char *) "self",(char *) "diff", NULL
19739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19743 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19745 if (arg2
== NULL
) {
19746 PyErr_SetString(PyExc_TypeError
,"null reference");
19750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19752 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19753 result
= (wxDateTime
*) &_result_ref
;
19756 wxPyEndAllowThreads(__tstate
);
19757 if (PyErr_Occurred()) SWIG_fail
;
19759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19766 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19767 PyObject
*resultobj
;
19768 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19769 wxTimeSpan
*arg2
= 0 ;
19770 wxDateTime
*result
;
19771 PyObject
* obj0
= 0 ;
19772 PyObject
* obj1
= 0 ;
19773 char *kwnames
[] = {
19774 (char *) "self",(char *) "diff", NULL
19777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19780 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19781 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19783 if (arg2
== NULL
) {
19784 PyErr_SetString(PyExc_TypeError
,"null reference");
19788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19790 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19791 result
= (wxDateTime
*) &_result_ref
;
19794 wxPyEndAllowThreads(__tstate
);
19795 if (PyErr_Occurred()) SWIG_fail
;
19797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19804 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19805 PyObject
*resultobj
;
19806 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19807 wxDateSpan
*arg2
= 0 ;
19808 wxDateTime
*result
;
19809 PyObject
* obj0
= 0 ;
19810 PyObject
* obj1
= 0 ;
19811 char *kwnames
[] = {
19812 (char *) "self",(char *) "diff", NULL
19815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19821 if (arg2
== NULL
) {
19822 PyErr_SetString(PyExc_TypeError
,"null reference");
19826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19828 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19829 result
= (wxDateTime
*) &_result_ref
;
19832 wxPyEndAllowThreads(__tstate
);
19833 if (PyErr_Occurred()) SWIG_fail
;
19835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19842 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19843 PyObject
*resultobj
;
19844 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19845 wxDateTime
*arg2
= 0 ;
19847 PyObject
* obj0
= 0 ;
19848 PyObject
* obj1
= 0 ;
19849 char *kwnames
[] = {
19850 (char *) "self",(char *) "dt", NULL
19853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19856 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19857 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19859 if (arg2
== NULL
) {
19860 PyErr_SetString(PyExc_TypeError
,"null reference");
19864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19865 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19867 wxPyEndAllowThreads(__tstate
);
19868 if (PyErr_Occurred()) SWIG_fail
;
19871 wxTimeSpan
* resultptr
;
19872 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
19881 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
19882 PyObject
*resultobj
;
19883 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19884 wxTimeSpan
*arg2
= 0 ;
19885 wxDateTime
*result
;
19886 PyObject
* obj0
= 0 ;
19887 PyObject
* obj1
= 0 ;
19889 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19893 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19895 if (arg2
== NULL
) {
19896 PyErr_SetString(PyExc_TypeError
,"null reference");
19900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19902 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19903 result
= (wxDateTime
*) &_result_ref
;
19906 wxPyEndAllowThreads(__tstate
);
19907 if (PyErr_Occurred()) SWIG_fail
;
19909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19916 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
19917 PyObject
*resultobj
;
19918 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19919 wxDateSpan
*arg2
= 0 ;
19920 wxDateTime
*result
;
19921 PyObject
* obj0
= 0 ;
19922 PyObject
* obj1
= 0 ;
19924 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19927 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19928 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19930 if (arg2
== NULL
) {
19931 PyErr_SetString(PyExc_TypeError
,"null reference");
19935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19937 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
19938 result
= (wxDateTime
*) &_result_ref
;
19941 wxPyEndAllowThreads(__tstate
);
19942 if (PyErr_Occurred()) SWIG_fail
;
19944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19951 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
19956 argc
= PyObject_Length(args
);
19957 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19958 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19964 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19974 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
19982 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
19990 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20000 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20008 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20013 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20018 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20019 PyObject
*resultobj
;
20020 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20021 wxTimeSpan
*arg2
= 0 ;
20022 wxDateTime
*result
;
20023 PyObject
* obj0
= 0 ;
20024 PyObject
* obj1
= 0 ;
20026 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20029 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20030 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20032 if (arg2
== NULL
) {
20033 PyErr_SetString(PyExc_TypeError
,"null reference");
20037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20039 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20040 result
= (wxDateTime
*) &_result_ref
;
20043 wxPyEndAllowThreads(__tstate
);
20044 if (PyErr_Occurred()) SWIG_fail
;
20046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20053 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20054 PyObject
*resultobj
;
20055 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20056 wxDateSpan
*arg2
= 0 ;
20057 wxDateTime
*result
;
20058 PyObject
* obj0
= 0 ;
20059 PyObject
* obj1
= 0 ;
20061 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20064 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20065 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20067 if (arg2
== NULL
) {
20068 PyErr_SetString(PyExc_TypeError
,"null reference");
20072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20074 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20075 result
= (wxDateTime
*) &_result_ref
;
20078 wxPyEndAllowThreads(__tstate
);
20079 if (PyErr_Occurred()) SWIG_fail
;
20081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20088 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20093 argc
= PyObject_Length(args
);
20094 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20095 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20101 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20111 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20119 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20127 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20137 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20145 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20150 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20155 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20156 PyObject
*resultobj
;
20157 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20158 wxTimeSpan
*arg2
= 0 ;
20160 PyObject
* obj0
= 0 ;
20161 PyObject
* obj1
= 0 ;
20163 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20166 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20167 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20169 if (arg2
== NULL
) {
20170 PyErr_SetString(PyExc_TypeError
,"null reference");
20174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20175 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20177 wxPyEndAllowThreads(__tstate
);
20178 if (PyErr_Occurred()) SWIG_fail
;
20181 wxDateTime
* resultptr
;
20182 resultptr
= new wxDateTime((wxDateTime
&) result
);
20183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20191 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20192 PyObject
*resultobj
;
20193 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20194 wxDateSpan
*arg2
= 0 ;
20196 PyObject
* obj0
= 0 ;
20197 PyObject
* obj1
= 0 ;
20199 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20203 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20205 if (arg2
== NULL
) {
20206 PyErr_SetString(PyExc_TypeError
,"null reference");
20210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20211 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20213 wxPyEndAllowThreads(__tstate
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20217 wxDateTime
* resultptr
;
20218 resultptr
= new wxDateTime((wxDateTime
&) result
);
20219 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20227 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20232 argc
= PyObject_Length(args
);
20233 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20234 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20240 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20250 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20258 return _wrap_DateTime___add____SWIG_0(self
,args
);
20266 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20276 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20284 return _wrap_DateTime___add____SWIG_1(self
,args
);
20289 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20294 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20295 PyObject
*resultobj
;
20296 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20297 wxDateTime
*arg2
= 0 ;
20299 PyObject
* obj0
= 0 ;
20300 PyObject
* obj1
= 0 ;
20302 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20306 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20308 if (arg2
== NULL
) {
20309 PyErr_SetString(PyExc_TypeError
,"null reference");
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20314 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20316 wxPyEndAllowThreads(__tstate
);
20317 if (PyErr_Occurred()) SWIG_fail
;
20320 wxTimeSpan
* resultptr
;
20321 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20330 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20331 PyObject
*resultobj
;
20332 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20333 wxTimeSpan
*arg2
= 0 ;
20335 PyObject
* obj0
= 0 ;
20336 PyObject
* obj1
= 0 ;
20338 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20342 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20344 if (arg2
== NULL
) {
20345 PyErr_SetString(PyExc_TypeError
,"null reference");
20349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20350 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20352 wxPyEndAllowThreads(__tstate
);
20353 if (PyErr_Occurred()) SWIG_fail
;
20356 wxDateTime
* resultptr
;
20357 resultptr
= new wxDateTime((wxDateTime
&) result
);
20358 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20366 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20367 PyObject
*resultobj
;
20368 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20369 wxDateSpan
*arg2
= 0 ;
20371 PyObject
* obj0
= 0 ;
20372 PyObject
* obj1
= 0 ;
20374 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20378 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20380 if (arg2
== NULL
) {
20381 PyErr_SetString(PyExc_TypeError
,"null reference");
20385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20386 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20388 wxPyEndAllowThreads(__tstate
);
20389 if (PyErr_Occurred()) SWIG_fail
;
20392 wxDateTime
* resultptr
;
20393 resultptr
= new wxDateTime((wxDateTime
&) result
);
20394 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20402 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20407 argc
= PyObject_Length(args
);
20408 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20409 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20415 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20425 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20433 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20441 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20451 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20459 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20467 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20477 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20485 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20490 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20495 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20496 PyObject
*resultobj
;
20497 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20498 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20500 PyObject
* obj0
= 0 ;
20501 PyObject
* obj1
= 0 ;
20503 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20510 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20512 wxPyEndAllowThreads(__tstate
);
20513 if (PyErr_Occurred()) SWIG_fail
;
20516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20524 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20525 PyObject
*resultobj
;
20526 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20527 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20529 PyObject
* obj0
= 0 ;
20530 PyObject
* obj1
= 0 ;
20532 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20539 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20541 wxPyEndAllowThreads(__tstate
);
20542 if (PyErr_Occurred()) SWIG_fail
;
20545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20553 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20554 PyObject
*resultobj
;
20555 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20556 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20558 PyObject
* obj0
= 0 ;
20559 PyObject
* obj1
= 0 ;
20561 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20568 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20570 wxPyEndAllowThreads(__tstate
);
20571 if (PyErr_Occurred()) SWIG_fail
;
20574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20582 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20583 PyObject
*resultobj
;
20584 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20585 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20587 PyObject
* obj0
= 0 ;
20588 PyObject
* obj1
= 0 ;
20590 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20597 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20599 wxPyEndAllowThreads(__tstate
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20611 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20612 PyObject
*resultobj
;
20613 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20614 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20616 PyObject
* obj0
= 0 ;
20617 PyObject
* obj1
= 0 ;
20619 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20626 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20628 wxPyEndAllowThreads(__tstate
);
20629 if (PyErr_Occurred()) SWIG_fail
;
20632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20640 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20641 PyObject
*resultobj
;
20642 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20643 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20645 PyObject
* obj0
= 0 ;
20646 PyObject
* obj1
= 0 ;
20648 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20655 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20657 wxPyEndAllowThreads(__tstate
);
20658 if (PyErr_Occurred()) SWIG_fail
;
20661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20669 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20670 PyObject
*resultobj
;
20671 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20672 wxString
*arg2
= 0 ;
20674 bool temp2
= False
;
20675 PyObject
* obj0
= 0 ;
20676 PyObject
* obj1
= 0 ;
20677 char *kwnames
[] = {
20678 (char *) "self",(char *) "date", NULL
20681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20685 arg2
= wxString_in_helper(obj1
);
20686 if (arg2
== NULL
) SWIG_fail
;
20690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20691 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20693 wxPyEndAllowThreads(__tstate
);
20694 if (PyErr_Occurred()) SWIG_fail
;
20696 resultobj
= SWIG_FromInt((int)result
);
20711 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20712 PyObject
*resultobj
;
20713 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20714 wxString
*arg2
= 0 ;
20715 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20716 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20717 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20718 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20720 bool temp2
= False
;
20721 bool temp3
= False
;
20722 PyObject
* obj0
= 0 ;
20723 PyObject
* obj1
= 0 ;
20724 PyObject
* obj2
= 0 ;
20725 PyObject
* obj3
= 0 ;
20726 char *kwnames
[] = {
20727 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20734 arg2
= wxString_in_helper(obj1
);
20735 if (arg2
== NULL
) SWIG_fail
;
20740 arg3
= wxString_in_helper(obj2
);
20741 if (arg3
== NULL
) SWIG_fail
;
20746 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20747 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20749 if (arg4
== NULL
) {
20750 PyErr_SetString(PyExc_TypeError
,"null reference");
20755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20756 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20758 wxPyEndAllowThreads(__tstate
);
20759 if (PyErr_Occurred()) SWIG_fail
;
20761 resultobj
= SWIG_FromInt((int)result
);
20784 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20785 PyObject
*resultobj
;
20786 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20787 wxString
*arg2
= 0 ;
20789 bool temp2
= False
;
20790 PyObject
* obj0
= 0 ;
20791 PyObject
* obj1
= 0 ;
20792 char *kwnames
[] = {
20793 (char *) "self",(char *) "datetime", NULL
20796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20800 arg2
= wxString_in_helper(obj1
);
20801 if (arg2
== NULL
) SWIG_fail
;
20805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20806 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20808 wxPyEndAllowThreads(__tstate
);
20809 if (PyErr_Occurred()) SWIG_fail
;
20811 resultobj
= SWIG_FromInt((int)result
);
20826 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20827 PyObject
*resultobj
;
20828 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20829 wxString
*arg2
= 0 ;
20831 bool temp2
= False
;
20832 PyObject
* obj0
= 0 ;
20833 PyObject
* obj1
= 0 ;
20834 char *kwnames
[] = {
20835 (char *) "self",(char *) "date", NULL
20838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20842 arg2
= wxString_in_helper(obj1
);
20843 if (arg2
== NULL
) SWIG_fail
;
20847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20848 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20850 wxPyEndAllowThreads(__tstate
);
20851 if (PyErr_Occurred()) SWIG_fail
;
20853 resultobj
= SWIG_FromInt((int)result
);
20868 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20869 PyObject
*resultobj
;
20870 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20871 wxString
*arg2
= 0 ;
20873 bool temp2
= False
;
20874 PyObject
* obj0
= 0 ;
20875 PyObject
* obj1
= 0 ;
20876 char *kwnames
[] = {
20877 (char *) "self",(char *) "time", NULL
20880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20884 arg2
= wxString_in_helper(obj1
);
20885 if (arg2
== NULL
) SWIG_fail
;
20889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20890 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20892 wxPyEndAllowThreads(__tstate
);
20893 if (PyErr_Occurred()) SWIG_fail
;
20895 resultobj
= SWIG_FromInt((int)result
);
20910 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20911 PyObject
*resultobj
;
20912 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20913 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
20914 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20915 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20916 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20918 bool temp2
= False
;
20919 bool temp3
= False
;
20920 PyObject
* obj0
= 0 ;
20921 PyObject
* obj1
= 0 ;
20922 PyObject
* obj2
= 0 ;
20923 char *kwnames
[] = {
20924 (char *) "self",(char *) "format",(char *) "tz", NULL
20927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20932 arg2
= wxString_in_helper(obj1
);
20933 if (arg2
== NULL
) SWIG_fail
;
20939 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20945 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20947 wxPyEndAllowThreads(__tstate
);
20948 if (PyErr_Occurred()) SWIG_fail
;
20952 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20954 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20962 if (temp3
) delete arg3
;
20971 if (temp3
) delete arg3
;
20977 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20978 PyObject
*resultobj
;
20979 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20981 PyObject
* obj0
= 0 ;
20982 char *kwnames
[] = {
20983 (char *) "self", NULL
20986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
20987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20991 result
= ((wxDateTime
const *)arg1
)->FormatDate();
20993 wxPyEndAllowThreads(__tstate
);
20994 if (PyErr_Occurred()) SWIG_fail
;
20998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21009 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21010 PyObject
*resultobj
;
21011 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21013 PyObject
* obj0
= 0 ;
21014 char *kwnames
[] = {
21015 (char *) "self", NULL
21018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21023 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21025 wxPyEndAllowThreads(__tstate
);
21026 if (PyErr_Occurred()) SWIG_fail
;
21030 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21032 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21041 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21042 PyObject
*resultobj
;
21043 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21045 PyObject
* obj0
= 0 ;
21046 char *kwnames
[] = {
21047 (char *) "self", NULL
21050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21055 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21057 wxPyEndAllowThreads(__tstate
);
21058 if (PyErr_Occurred()) SWIG_fail
;
21062 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21064 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21073 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21074 PyObject
*resultobj
;
21075 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21077 PyObject
* obj0
= 0 ;
21078 char *kwnames
[] = {
21079 (char *) "self", NULL
21082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21087 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21089 wxPyEndAllowThreads(__tstate
);
21090 if (PyErr_Occurred()) SWIG_fail
;
21094 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21096 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21105 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21108 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21110 return Py_BuildValue((char *)"");
21112 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21113 PyObject
*resultobj
;
21116 PyObject
* obj0
= 0 ;
21117 char *kwnames
[] = {
21118 (char *) "sec", NULL
21121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21122 arg1
= (long) SWIG_AsLong(obj0
);
21123 if (PyErr_Occurred()) SWIG_fail
;
21125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21126 result
= wxTimeSpan::Seconds(arg1
);
21128 wxPyEndAllowThreads(__tstate
);
21129 if (PyErr_Occurred()) SWIG_fail
;
21132 wxTimeSpan
* resultptr
;
21133 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21134 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21142 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21143 PyObject
*resultobj
;
21145 char *kwnames
[] = {
21149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21152 result
= wxTimeSpan::Second();
21154 wxPyEndAllowThreads(__tstate
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21158 wxTimeSpan
* resultptr
;
21159 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21160 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21168 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21169 PyObject
*resultobj
;
21172 PyObject
* obj0
= 0 ;
21173 char *kwnames
[] = {
21174 (char *) "min", NULL
21177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21178 arg1
= (long) SWIG_AsLong(obj0
);
21179 if (PyErr_Occurred()) SWIG_fail
;
21181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21182 result
= wxTimeSpan::Minutes(arg1
);
21184 wxPyEndAllowThreads(__tstate
);
21185 if (PyErr_Occurred()) SWIG_fail
;
21188 wxTimeSpan
* resultptr
;
21189 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21190 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21198 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21199 PyObject
*resultobj
;
21201 char *kwnames
[] = {
21205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21208 result
= wxTimeSpan::Minute();
21210 wxPyEndAllowThreads(__tstate
);
21211 if (PyErr_Occurred()) SWIG_fail
;
21214 wxTimeSpan
* resultptr
;
21215 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21216 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21224 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21225 PyObject
*resultobj
;
21228 PyObject
* obj0
= 0 ;
21229 char *kwnames
[] = {
21230 (char *) "hours", NULL
21233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21234 arg1
= (long) SWIG_AsLong(obj0
);
21235 if (PyErr_Occurred()) SWIG_fail
;
21237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21238 result
= wxTimeSpan::Hours(arg1
);
21240 wxPyEndAllowThreads(__tstate
);
21241 if (PyErr_Occurred()) SWIG_fail
;
21244 wxTimeSpan
* resultptr
;
21245 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21254 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21255 PyObject
*resultobj
;
21257 char *kwnames
[] = {
21261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21264 result
= wxTimeSpan::Hour();
21266 wxPyEndAllowThreads(__tstate
);
21267 if (PyErr_Occurred()) SWIG_fail
;
21270 wxTimeSpan
* resultptr
;
21271 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21280 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21281 PyObject
*resultobj
;
21284 PyObject
* obj0
= 0 ;
21285 char *kwnames
[] = {
21286 (char *) "days", NULL
21289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21290 arg1
= (long) SWIG_AsLong(obj0
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21294 result
= wxTimeSpan::Days(arg1
);
21296 wxPyEndAllowThreads(__tstate
);
21297 if (PyErr_Occurred()) SWIG_fail
;
21300 wxTimeSpan
* resultptr
;
21301 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21310 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21311 PyObject
*resultobj
;
21313 char *kwnames
[] = {
21317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21320 result
= wxTimeSpan::Day();
21322 wxPyEndAllowThreads(__tstate
);
21323 if (PyErr_Occurred()) SWIG_fail
;
21326 wxTimeSpan
* resultptr
;
21327 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21328 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21336 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21337 PyObject
*resultobj
;
21340 PyObject
* obj0
= 0 ;
21341 char *kwnames
[] = {
21342 (char *) "days", NULL
21345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21346 arg1
= (long) SWIG_AsLong(obj0
);
21347 if (PyErr_Occurred()) SWIG_fail
;
21349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21350 result
= wxTimeSpan::Weeks(arg1
);
21352 wxPyEndAllowThreads(__tstate
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21356 wxTimeSpan
* resultptr
;
21357 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21358 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21366 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21367 PyObject
*resultobj
;
21369 char *kwnames
[] = {
21373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21376 result
= wxTimeSpan::Week();
21378 wxPyEndAllowThreads(__tstate
);
21379 if (PyErr_Occurred()) SWIG_fail
;
21382 wxTimeSpan
* resultptr
;
21383 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21384 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21392 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21393 PyObject
*resultobj
;
21394 long arg1
= (long) 0 ;
21395 long arg2
= (long) 0 ;
21396 long arg3
= (long) 0 ;
21397 long arg4
= (long) 0 ;
21398 wxTimeSpan
*result
;
21399 PyObject
* obj0
= 0 ;
21400 PyObject
* obj1
= 0 ;
21401 PyObject
* obj2
= 0 ;
21402 PyObject
* obj3
= 0 ;
21403 char *kwnames
[] = {
21404 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21409 arg1
= (long) SWIG_AsLong(obj0
);
21410 if (PyErr_Occurred()) SWIG_fail
;
21413 arg2
= (long) SWIG_AsLong(obj1
);
21414 if (PyErr_Occurred()) SWIG_fail
;
21417 arg3
= (long) SWIG_AsLong(obj2
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21421 arg4
= (long) SWIG_AsLong(obj3
);
21422 if (PyErr_Occurred()) SWIG_fail
;
21425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21426 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21428 wxPyEndAllowThreads(__tstate
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21438 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21439 PyObject
*resultobj
;
21440 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21441 PyObject
* obj0
= 0 ;
21442 char *kwnames
[] = {
21443 (char *) "self", NULL
21446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21453 wxPyEndAllowThreads(__tstate
);
21454 if (PyErr_Occurred()) SWIG_fail
;
21456 Py_INCREF(Py_None
); resultobj
= Py_None
;
21463 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21464 PyObject
*resultobj
;
21465 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21466 wxTimeSpan
*arg2
= 0 ;
21467 wxTimeSpan
*result
;
21468 PyObject
* obj0
= 0 ;
21469 PyObject
* obj1
= 0 ;
21470 char *kwnames
[] = {
21471 (char *) "self",(char *) "diff", NULL
21474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21478 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21480 if (arg2
== NULL
) {
21481 PyErr_SetString(PyExc_TypeError
,"null reference");
21485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21487 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21488 result
= (wxTimeSpan
*) &_result_ref
;
21491 wxPyEndAllowThreads(__tstate
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21501 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21502 PyObject
*resultobj
;
21503 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21504 wxTimeSpan
*arg2
= 0 ;
21505 wxTimeSpan
*result
;
21506 PyObject
* obj0
= 0 ;
21507 PyObject
* obj1
= 0 ;
21508 char *kwnames
[] = {
21509 (char *) "self",(char *) "diff", NULL
21512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21515 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21516 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21518 if (arg2
== NULL
) {
21519 PyErr_SetString(PyExc_TypeError
,"null reference");
21523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21525 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21526 result
= (wxTimeSpan
*) &_result_ref
;
21529 wxPyEndAllowThreads(__tstate
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21539 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21540 PyObject
*resultobj
;
21541 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21543 wxTimeSpan
*result
;
21544 PyObject
* obj0
= 0 ;
21545 PyObject
* obj1
= 0 ;
21546 char *kwnames
[] = {
21547 (char *) "self",(char *) "n", NULL
21550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21553 arg2
= (int) SWIG_AsInt(obj1
);
21554 if (PyErr_Occurred()) SWIG_fail
;
21556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21558 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21559 result
= (wxTimeSpan
*) &_result_ref
;
21562 wxPyEndAllowThreads(__tstate
);
21563 if (PyErr_Occurred()) SWIG_fail
;
21565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21572 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21573 PyObject
*resultobj
;
21574 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21575 wxTimeSpan
*result
;
21576 PyObject
* obj0
= 0 ;
21577 char *kwnames
[] = {
21578 (char *) "self", NULL
21581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21587 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21588 result
= (wxTimeSpan
*) &_result_ref
;
21591 wxPyEndAllowThreads(__tstate
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21601 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21602 PyObject
*resultobj
;
21603 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21605 PyObject
* obj0
= 0 ;
21606 char *kwnames
[] = {
21607 (char *) "self", NULL
21610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21615 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21621 wxTimeSpan
* resultptr
;
21622 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21623 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21631 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21632 PyObject
*resultobj
;
21633 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21634 wxTimeSpan
*arg2
= 0 ;
21635 wxTimeSpan
*result
;
21636 PyObject
* obj0
= 0 ;
21637 PyObject
* obj1
= 0 ;
21638 char *kwnames
[] = {
21639 (char *) "self",(char *) "diff", NULL
21642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21645 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21646 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21648 if (arg2
== NULL
) {
21649 PyErr_SetString(PyExc_TypeError
,"null reference");
21653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21655 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21656 result
= (wxTimeSpan
*) &_result_ref
;
21659 wxPyEndAllowThreads(__tstate
);
21660 if (PyErr_Occurred()) SWIG_fail
;
21662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21669 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21670 PyObject
*resultobj
;
21671 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21672 wxTimeSpan
*arg2
= 0 ;
21673 wxTimeSpan
*result
;
21674 PyObject
* obj0
= 0 ;
21675 PyObject
* obj1
= 0 ;
21676 char *kwnames
[] = {
21677 (char *) "self",(char *) "diff", NULL
21680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21683 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21684 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21686 if (arg2
== NULL
) {
21687 PyErr_SetString(PyExc_TypeError
,"null reference");
21691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21693 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21694 result
= (wxTimeSpan
*) &_result_ref
;
21697 wxPyEndAllowThreads(__tstate
);
21698 if (PyErr_Occurred()) SWIG_fail
;
21700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21707 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21708 PyObject
*resultobj
;
21709 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21711 wxTimeSpan
*result
;
21712 PyObject
* obj0
= 0 ;
21713 PyObject
* obj1
= 0 ;
21714 char *kwnames
[] = {
21715 (char *) "self",(char *) "n", NULL
21718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21721 arg2
= (int) SWIG_AsInt(obj1
);
21722 if (PyErr_Occurred()) SWIG_fail
;
21724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21726 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21727 result
= (wxTimeSpan
*) &_result_ref
;
21730 wxPyEndAllowThreads(__tstate
);
21731 if (PyErr_Occurred()) SWIG_fail
;
21733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21740 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21741 PyObject
*resultobj
;
21742 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21743 wxTimeSpan
*result
;
21744 PyObject
* obj0
= 0 ;
21745 char *kwnames
[] = {
21746 (char *) "self", NULL
21749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21755 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21756 result
= (wxTimeSpan
*) &_result_ref
;
21759 wxPyEndAllowThreads(__tstate
);
21760 if (PyErr_Occurred()) SWIG_fail
;
21762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21769 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21770 PyObject
*resultobj
;
21771 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21772 wxTimeSpan
*arg2
= 0 ;
21774 PyObject
* obj0
= 0 ;
21775 PyObject
* obj1
= 0 ;
21776 char *kwnames
[] = {
21777 (char *) "self",(char *) "other", NULL
21780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21786 if (arg2
== NULL
) {
21787 PyErr_SetString(PyExc_TypeError
,"null reference");
21791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21792 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21794 wxPyEndAllowThreads(__tstate
);
21795 if (PyErr_Occurred()) SWIG_fail
;
21798 wxTimeSpan
* resultptr
;
21799 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21808 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21809 PyObject
*resultobj
;
21810 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21811 wxTimeSpan
*arg2
= 0 ;
21813 PyObject
* obj0
= 0 ;
21814 PyObject
* obj1
= 0 ;
21815 char *kwnames
[] = {
21816 (char *) "self",(char *) "other", NULL
21819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21822 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21823 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21825 if (arg2
== NULL
) {
21826 PyErr_SetString(PyExc_TypeError
,"null reference");
21830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21831 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21833 wxPyEndAllowThreads(__tstate
);
21834 if (PyErr_Occurred()) SWIG_fail
;
21837 wxTimeSpan
* resultptr
;
21838 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21847 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21848 PyObject
*resultobj
;
21849 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21852 PyObject
* obj0
= 0 ;
21853 PyObject
* obj1
= 0 ;
21854 char *kwnames
[] = {
21855 (char *) "self",(char *) "n", NULL
21858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21861 arg2
= (int) SWIG_AsInt(obj1
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21865 result
= wxTimeSpan___mul__(arg1
,arg2
);
21867 wxPyEndAllowThreads(__tstate
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21871 wxTimeSpan
* resultptr
;
21872 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21881 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21882 PyObject
*resultobj
;
21883 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21886 PyObject
* obj0
= 0 ;
21887 PyObject
* obj1
= 0 ;
21888 char *kwnames
[] = {
21889 (char *) "self",(char *) "n", NULL
21892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21895 arg2
= (int) SWIG_AsInt(obj1
);
21896 if (PyErr_Occurred()) SWIG_fail
;
21898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21899 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21901 wxPyEndAllowThreads(__tstate
);
21902 if (PyErr_Occurred()) SWIG_fail
;
21905 wxTimeSpan
* resultptr
;
21906 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21907 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21915 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21916 PyObject
*resultobj
;
21917 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21918 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21920 PyObject
* obj0
= 0 ;
21921 PyObject
* obj1
= 0 ;
21922 char *kwnames
[] = {
21923 (char *) "self",(char *) "other", NULL
21926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21933 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
21935 wxPyEndAllowThreads(__tstate
);
21936 if (PyErr_Occurred()) SWIG_fail
;
21939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21947 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21948 PyObject
*resultobj
;
21949 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21950 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21952 PyObject
* obj0
= 0 ;
21953 PyObject
* obj1
= 0 ;
21954 char *kwnames
[] = {
21955 (char *) "self",(char *) "other", NULL
21958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
21959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21965 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
21967 wxPyEndAllowThreads(__tstate
);
21968 if (PyErr_Occurred()) SWIG_fail
;
21971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21979 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21980 PyObject
*resultobj
;
21981 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21982 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21984 PyObject
* obj0
= 0 ;
21985 PyObject
* obj1
= 0 ;
21986 char *kwnames
[] = {
21987 (char *) "self",(char *) "other", NULL
21990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21997 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
21999 wxPyEndAllowThreads(__tstate
);
22000 if (PyErr_Occurred()) SWIG_fail
;
22003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22011 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22012 PyObject
*resultobj
;
22013 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22014 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22016 PyObject
* obj0
= 0 ;
22017 PyObject
* obj1
= 0 ;
22018 char *kwnames
[] = {
22019 (char *) "self",(char *) "other", NULL
22022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22025 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22029 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22031 wxPyEndAllowThreads(__tstate
);
22032 if (PyErr_Occurred()) SWIG_fail
;
22035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22043 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22044 PyObject
*resultobj
;
22045 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22046 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22048 PyObject
* obj0
= 0 ;
22049 PyObject
* obj1
= 0 ;
22050 char *kwnames
[] = {
22051 (char *) "self",(char *) "other", NULL
22054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22057 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22061 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22063 wxPyEndAllowThreads(__tstate
);
22064 if (PyErr_Occurred()) SWIG_fail
;
22067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22075 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22076 PyObject
*resultobj
;
22077 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22078 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22080 PyObject
* obj0
= 0 ;
22081 PyObject
* obj1
= 0 ;
22082 char *kwnames
[] = {
22083 (char *) "self",(char *) "other", NULL
22086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22107 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22108 PyObject
*resultobj
;
22109 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22111 PyObject
* obj0
= 0 ;
22112 char *kwnames
[] = {
22113 (char *) "self", NULL
22116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22121 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22123 wxPyEndAllowThreads(__tstate
);
22124 if (PyErr_Occurred()) SWIG_fail
;
22127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22135 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22136 PyObject
*resultobj
;
22137 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22139 PyObject
* obj0
= 0 ;
22140 char *kwnames
[] = {
22141 (char *) "self", NULL
22144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22149 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22151 wxPyEndAllowThreads(__tstate
);
22152 if (PyErr_Occurred()) SWIG_fail
;
22155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22163 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22164 PyObject
*resultobj
;
22165 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22167 PyObject
* obj0
= 0 ;
22168 char *kwnames
[] = {
22169 (char *) "self", NULL
22172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22177 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22179 wxPyEndAllowThreads(__tstate
);
22180 if (PyErr_Occurred()) SWIG_fail
;
22183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22191 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22192 PyObject
*resultobj
;
22193 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22194 wxTimeSpan
*arg2
= 0 ;
22196 PyObject
* obj0
= 0 ;
22197 PyObject
* obj1
= 0 ;
22198 char *kwnames
[] = {
22199 (char *) "self",(char *) "ts", NULL
22202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22205 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22206 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22208 if (arg2
== NULL
) {
22209 PyErr_SetString(PyExc_TypeError
,"null reference");
22213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22214 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22228 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22229 PyObject
*resultobj
;
22230 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22231 wxTimeSpan
*arg2
= 0 ;
22233 PyObject
* obj0
= 0 ;
22234 PyObject
* obj1
= 0 ;
22235 char *kwnames
[] = {
22236 (char *) "self",(char *) "ts", NULL
22239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22242 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22243 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22245 if (arg2
== NULL
) {
22246 PyErr_SetString(PyExc_TypeError
,"null reference");
22250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22251 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22253 wxPyEndAllowThreads(__tstate
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22265 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22266 PyObject
*resultobj
;
22267 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22268 wxTimeSpan
*arg2
= 0 ;
22270 PyObject
* obj0
= 0 ;
22271 PyObject
* obj1
= 0 ;
22272 char *kwnames
[] = {
22273 (char *) "self",(char *) "t", NULL
22276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22280 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22282 if (arg2
== NULL
) {
22283 PyErr_SetString(PyExc_TypeError
,"null reference");
22287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22288 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22290 wxPyEndAllowThreads(__tstate
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22302 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22303 PyObject
*resultobj
;
22304 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22306 PyObject
* obj0
= 0 ;
22307 char *kwnames
[] = {
22308 (char *) "self", NULL
22311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22316 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22318 wxPyEndAllowThreads(__tstate
);
22319 if (PyErr_Occurred()) SWIG_fail
;
22321 resultobj
= SWIG_FromInt((int)result
);
22328 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22329 PyObject
*resultobj
;
22330 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22332 PyObject
* obj0
= 0 ;
22333 char *kwnames
[] = {
22334 (char *) "self", NULL
22337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22342 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22344 wxPyEndAllowThreads(__tstate
);
22345 if (PyErr_Occurred()) SWIG_fail
;
22347 resultobj
= SWIG_FromInt((int)result
);
22354 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22355 PyObject
*resultobj
;
22356 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22358 PyObject
* obj0
= 0 ;
22359 char *kwnames
[] = {
22360 (char *) "self", NULL
22363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22368 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22370 wxPyEndAllowThreads(__tstate
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22373 resultobj
= SWIG_FromInt((int)result
);
22380 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22381 PyObject
*resultobj
;
22382 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22384 PyObject
* obj0
= 0 ;
22385 char *kwnames
[] = {
22386 (char *) "self", NULL
22389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22394 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22399 resultobj
= SWIG_FromInt((int)result
);
22406 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22407 PyObject
*resultobj
;
22408 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22410 PyObject
* obj0
= 0 ;
22411 char *kwnames
[] = {
22412 (char *) "self", NULL
22415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22420 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22422 wxPyEndAllowThreads(__tstate
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22426 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22427 hi
= PyLong_FromLong( (&result
)->GetHi() );
22428 lo
= PyLong_FromLong( (&result
)->GetLo() );
22429 shifter
= PyLong_FromLong(32);
22430 shifted
= PyNumber_Lshift(hi
, shifter
);
22431 resultobj
= PyNumber_Or(shifted
, lo
);
22434 Py_DECREF(shifter
);
22435 Py_DECREF(shifted
);
22443 static PyObject
*_wrap_TimeSpan_GetMilliseconds(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_GetMilliseconds",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
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22459 wxPyEndAllowThreads(__tstate
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22463 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22464 hi
= PyLong_FromLong( (&result
)->GetHi() );
22465 lo
= PyLong_FromLong( (&result
)->GetLo() );
22466 shifter
= PyLong_FromLong(32);
22467 shifted
= PyNumber_Lshift(hi
, shifter
);
22468 resultobj
= PyNumber_Or(shifted
, lo
);
22471 Py_DECREF(shifter
);
22472 Py_DECREF(shifted
);
22480 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22481 PyObject
*resultobj
;
22482 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22483 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22484 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22486 bool temp2
= False
;
22487 PyObject
* obj0
= 0 ;
22488 PyObject
* obj1
= 0 ;
22489 char *kwnames
[] = {
22490 (char *) "self",(char *) "format", NULL
22493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22498 arg2
= wxString_in_helper(obj1
);
22499 if (arg2
== NULL
) SWIG_fail
;
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22505 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22507 wxPyEndAllowThreads(__tstate
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22512 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22514 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22531 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22534 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22536 return Py_BuildValue((char *)"");
22538 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22539 PyObject
*resultobj
;
22540 int arg1
= (int) 0 ;
22541 int arg2
= (int) 0 ;
22542 int arg3
= (int) 0 ;
22543 int arg4
= (int) 0 ;
22544 wxDateSpan
*result
;
22545 PyObject
* obj0
= 0 ;
22546 PyObject
* obj1
= 0 ;
22547 PyObject
* obj2
= 0 ;
22548 PyObject
* obj3
= 0 ;
22549 char *kwnames
[] = {
22550 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22555 arg1
= (int) SWIG_AsInt(obj0
);
22556 if (PyErr_Occurred()) SWIG_fail
;
22559 arg2
= (int) SWIG_AsInt(obj1
);
22560 if (PyErr_Occurred()) SWIG_fail
;
22563 arg3
= (int) SWIG_AsInt(obj2
);
22564 if (PyErr_Occurred()) SWIG_fail
;
22567 arg4
= (int) SWIG_AsInt(obj3
);
22568 if (PyErr_Occurred()) SWIG_fail
;
22571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22572 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22574 wxPyEndAllowThreads(__tstate
);
22575 if (PyErr_Occurred()) SWIG_fail
;
22577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22584 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22585 PyObject
*resultobj
;
22586 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22587 PyObject
* obj0
= 0 ;
22588 char *kwnames
[] = {
22589 (char *) "self", NULL
22592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22599 wxPyEndAllowThreads(__tstate
);
22600 if (PyErr_Occurred()) SWIG_fail
;
22602 Py_INCREF(Py_None
); resultobj
= Py_None
;
22609 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22610 PyObject
*resultobj
;
22613 PyObject
* obj0
= 0 ;
22614 char *kwnames
[] = {
22615 (char *) "days", NULL
22618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22619 arg1
= (int) SWIG_AsInt(obj0
);
22620 if (PyErr_Occurred()) SWIG_fail
;
22622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22623 result
= wxDateSpan::Days(arg1
);
22625 wxPyEndAllowThreads(__tstate
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22629 wxDateSpan
* resultptr
;
22630 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22639 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22640 PyObject
*resultobj
;
22642 char *kwnames
[] = {
22646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22649 result
= wxDateSpan::Day();
22651 wxPyEndAllowThreads(__tstate
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22655 wxDateSpan
* resultptr
;
22656 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22657 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22665 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22666 PyObject
*resultobj
;
22669 PyObject
* obj0
= 0 ;
22670 char *kwnames
[] = {
22671 (char *) "weeks", NULL
22674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22675 arg1
= (int) SWIG_AsInt(obj0
);
22676 if (PyErr_Occurred()) SWIG_fail
;
22678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22679 result
= wxDateSpan::Weeks(arg1
);
22681 wxPyEndAllowThreads(__tstate
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22685 wxDateSpan
* resultptr
;
22686 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22695 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22696 PyObject
*resultobj
;
22698 char *kwnames
[] = {
22702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22705 result
= wxDateSpan::Week();
22707 wxPyEndAllowThreads(__tstate
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22711 wxDateSpan
* resultptr
;
22712 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22721 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22722 PyObject
*resultobj
;
22725 PyObject
* obj0
= 0 ;
22726 char *kwnames
[] = {
22727 (char *) "mon", NULL
22730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22731 arg1
= (int) SWIG_AsInt(obj0
);
22732 if (PyErr_Occurred()) SWIG_fail
;
22734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22735 result
= wxDateSpan::Months(arg1
);
22737 wxPyEndAllowThreads(__tstate
);
22738 if (PyErr_Occurred()) SWIG_fail
;
22741 wxDateSpan
* resultptr
;
22742 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22751 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22752 PyObject
*resultobj
;
22754 char *kwnames
[] = {
22758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22761 result
= wxDateSpan::Month();
22763 wxPyEndAllowThreads(__tstate
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22767 wxDateSpan
* resultptr
;
22768 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22769 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22777 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22778 PyObject
*resultobj
;
22781 PyObject
* obj0
= 0 ;
22782 char *kwnames
[] = {
22783 (char *) "years", NULL
22786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22787 arg1
= (int) SWIG_AsInt(obj0
);
22788 if (PyErr_Occurred()) SWIG_fail
;
22790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22791 result
= wxDateSpan::Years(arg1
);
22793 wxPyEndAllowThreads(__tstate
);
22794 if (PyErr_Occurred()) SWIG_fail
;
22797 wxDateSpan
* resultptr
;
22798 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22807 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22808 PyObject
*resultobj
;
22810 char *kwnames
[] = {
22814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22817 result
= wxDateSpan::Year();
22819 wxPyEndAllowThreads(__tstate
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22823 wxDateSpan
* resultptr
;
22824 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22833 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22834 PyObject
*resultobj
;
22835 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22837 wxDateSpan
*result
;
22838 PyObject
* obj0
= 0 ;
22839 PyObject
* obj1
= 0 ;
22840 char *kwnames
[] = {
22841 (char *) "self",(char *) "n", NULL
22844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22847 arg2
= (int) SWIG_AsInt(obj1
);
22848 if (PyErr_Occurred()) SWIG_fail
;
22850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22852 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22853 result
= (wxDateSpan
*) &_result_ref
;
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22866 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22867 PyObject
*resultobj
;
22868 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22870 wxDateSpan
*result
;
22871 PyObject
* obj0
= 0 ;
22872 PyObject
* obj1
= 0 ;
22873 char *kwnames
[] = {
22874 (char *) "self",(char *) "n", NULL
22877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22880 arg2
= (int) SWIG_AsInt(obj1
);
22881 if (PyErr_Occurred()) SWIG_fail
;
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22885 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22886 result
= (wxDateSpan
*) &_result_ref
;
22889 wxPyEndAllowThreads(__tstate
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22899 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22900 PyObject
*resultobj
;
22901 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22903 wxDateSpan
*result
;
22904 PyObject
* obj0
= 0 ;
22905 PyObject
* obj1
= 0 ;
22906 char *kwnames
[] = {
22907 (char *) "self",(char *) "n", NULL
22910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
22911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22913 arg2
= (int) SWIG_AsInt(obj1
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22918 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
22919 result
= (wxDateSpan
*) &_result_ref
;
22922 wxPyEndAllowThreads(__tstate
);
22923 if (PyErr_Occurred()) SWIG_fail
;
22925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22932 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22933 PyObject
*resultobj
;
22934 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22936 wxDateSpan
*result
;
22937 PyObject
* obj0
= 0 ;
22938 PyObject
* obj1
= 0 ;
22939 char *kwnames
[] = {
22940 (char *) "self",(char *) "n", NULL
22943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
22944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22946 arg2
= (int) SWIG_AsInt(obj1
);
22947 if (PyErr_Occurred()) SWIG_fail
;
22949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22951 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
22952 result
= (wxDateSpan
*) &_result_ref
;
22955 wxPyEndAllowThreads(__tstate
);
22956 if (PyErr_Occurred()) SWIG_fail
;
22958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22965 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22966 PyObject
*resultobj
;
22967 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22969 PyObject
* obj0
= 0 ;
22970 char *kwnames
[] = {
22971 (char *) "self", NULL
22974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
22975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22979 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
22981 wxPyEndAllowThreads(__tstate
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22984 resultobj
= SWIG_FromInt((int)result
);
22991 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22992 PyObject
*resultobj
;
22993 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22995 PyObject
* obj0
= 0 ;
22996 char *kwnames
[] = {
22997 (char *) "self", NULL
23000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23005 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23007 wxPyEndAllowThreads(__tstate
);
23008 if (PyErr_Occurred()) SWIG_fail
;
23010 resultobj
= SWIG_FromInt((int)result
);
23017 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23018 PyObject
*resultobj
;
23019 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23021 PyObject
* obj0
= 0 ;
23022 char *kwnames
[] = {
23023 (char *) "self", NULL
23026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23031 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23033 wxPyEndAllowThreads(__tstate
);
23034 if (PyErr_Occurred()) SWIG_fail
;
23036 resultobj
= SWIG_FromInt((int)result
);
23043 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23044 PyObject
*resultobj
;
23045 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23047 PyObject
* obj0
= 0 ;
23048 char *kwnames
[] = {
23049 (char *) "self", NULL
23052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23057 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23059 wxPyEndAllowThreads(__tstate
);
23060 if (PyErr_Occurred()) SWIG_fail
;
23062 resultobj
= SWIG_FromInt((int)result
);
23069 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23070 PyObject
*resultobj
;
23071 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23073 PyObject
* obj0
= 0 ;
23074 char *kwnames
[] = {
23075 (char *) "self", NULL
23078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23083 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23085 wxPyEndAllowThreads(__tstate
);
23086 if (PyErr_Occurred()) SWIG_fail
;
23088 resultobj
= SWIG_FromInt((int)result
);
23095 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23096 PyObject
*resultobj
;
23097 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23098 wxDateSpan
*arg2
= 0 ;
23099 wxDateSpan
*result
;
23100 PyObject
* obj0
= 0 ;
23101 PyObject
* obj1
= 0 ;
23102 char *kwnames
[] = {
23103 (char *) "self",(char *) "other", NULL
23106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23110 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23112 if (arg2
== NULL
) {
23113 PyErr_SetString(PyExc_TypeError
,"null reference");
23117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23119 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23120 result
= (wxDateSpan
*) &_result_ref
;
23123 wxPyEndAllowThreads(__tstate
);
23124 if (PyErr_Occurred()) SWIG_fail
;
23126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23133 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23134 PyObject
*resultobj
;
23135 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23136 wxDateSpan
*arg2
= 0 ;
23137 wxDateSpan
*result
;
23138 PyObject
* obj0
= 0 ;
23139 PyObject
* obj1
= 0 ;
23140 char *kwnames
[] = {
23141 (char *) "self",(char *) "other", NULL
23144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23147 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23148 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23150 if (arg2
== NULL
) {
23151 PyErr_SetString(PyExc_TypeError
,"null reference");
23155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23157 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23158 result
= (wxDateSpan
*) &_result_ref
;
23161 wxPyEndAllowThreads(__tstate
);
23162 if (PyErr_Occurred()) SWIG_fail
;
23164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23171 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23172 PyObject
*resultobj
;
23173 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23174 wxDateSpan
*result
;
23175 PyObject
* obj0
= 0 ;
23176 char *kwnames
[] = {
23177 (char *) "self", NULL
23180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23186 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23187 result
= (wxDateSpan
*) &_result_ref
;
23190 wxPyEndAllowThreads(__tstate
);
23191 if (PyErr_Occurred()) SWIG_fail
;
23193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23200 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23201 PyObject
*resultobj
;
23202 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23204 wxDateSpan
*result
;
23205 PyObject
* obj0
= 0 ;
23206 PyObject
* obj1
= 0 ;
23207 char *kwnames
[] = {
23208 (char *) "self",(char *) "factor", NULL
23211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23214 arg2
= (int) SWIG_AsInt(obj1
);
23215 if (PyErr_Occurred()) SWIG_fail
;
23217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23219 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23220 result
= (wxDateSpan
*) &_result_ref
;
23223 wxPyEndAllowThreads(__tstate
);
23224 if (PyErr_Occurred()) SWIG_fail
;
23226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23233 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23234 PyObject
*resultobj
;
23235 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23236 wxDateSpan
*arg2
= 0 ;
23237 wxDateSpan
*result
;
23238 PyObject
* obj0
= 0 ;
23239 PyObject
* obj1
= 0 ;
23240 char *kwnames
[] = {
23241 (char *) "self",(char *) "other", NULL
23244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23248 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23250 if (arg2
== NULL
) {
23251 PyErr_SetString(PyExc_TypeError
,"null reference");
23255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23257 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23258 result
= (wxDateSpan
*) &_result_ref
;
23261 wxPyEndAllowThreads(__tstate
);
23262 if (PyErr_Occurred()) SWIG_fail
;
23264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23271 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23272 PyObject
*resultobj
;
23273 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23274 wxDateSpan
*arg2
= 0 ;
23275 wxDateSpan
*result
;
23276 PyObject
* obj0
= 0 ;
23277 PyObject
* obj1
= 0 ;
23278 char *kwnames
[] = {
23279 (char *) "self",(char *) "other", NULL
23282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23286 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23288 if (arg2
== NULL
) {
23289 PyErr_SetString(PyExc_TypeError
,"null reference");
23293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23295 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23296 result
= (wxDateSpan
*) &_result_ref
;
23299 wxPyEndAllowThreads(__tstate
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23309 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23310 PyObject
*resultobj
;
23311 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23312 wxDateSpan
*result
;
23313 PyObject
* obj0
= 0 ;
23314 char *kwnames
[] = {
23315 (char *) "self", NULL
23318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23324 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23325 result
= (wxDateSpan
*) &_result_ref
;
23328 wxPyEndAllowThreads(__tstate
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23338 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23339 PyObject
*resultobj
;
23340 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23342 wxDateSpan
*result
;
23343 PyObject
* obj0
= 0 ;
23344 PyObject
* obj1
= 0 ;
23345 char *kwnames
[] = {
23346 (char *) "self",(char *) "factor", NULL
23349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23352 arg2
= (int) SWIG_AsInt(obj1
);
23353 if (PyErr_Occurred()) SWIG_fail
;
23355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23357 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23358 result
= (wxDateSpan
*) &_result_ref
;
23361 wxPyEndAllowThreads(__tstate
);
23362 if (PyErr_Occurred()) SWIG_fail
;
23364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23371 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23372 PyObject
*resultobj
;
23373 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23374 wxDateSpan
*arg2
= 0 ;
23376 PyObject
* obj0
= 0 ;
23377 PyObject
* obj1
= 0 ;
23378 char *kwnames
[] = {
23379 (char *) "self",(char *) "other", NULL
23382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23385 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23386 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23388 if (arg2
== NULL
) {
23389 PyErr_SetString(PyExc_TypeError
,"null reference");
23393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23394 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23396 wxPyEndAllowThreads(__tstate
);
23397 if (PyErr_Occurred()) SWIG_fail
;
23400 wxDateSpan
* resultptr
;
23401 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23402 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23410 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23411 PyObject
*resultobj
;
23412 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23413 wxDateSpan
*arg2
= 0 ;
23415 PyObject
* obj0
= 0 ;
23416 PyObject
* obj1
= 0 ;
23417 char *kwnames
[] = {
23418 (char *) "self",(char *) "other", NULL
23421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23425 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23427 if (arg2
== NULL
) {
23428 PyErr_SetString(PyExc_TypeError
,"null reference");
23432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23433 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23435 wxPyEndAllowThreads(__tstate
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23439 wxDateSpan
* resultptr
;
23440 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23449 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23450 PyObject
*resultobj
;
23451 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23454 PyObject
* obj0
= 0 ;
23455 PyObject
* obj1
= 0 ;
23456 char *kwnames
[] = {
23457 (char *) "self",(char *) "n", NULL
23460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23463 arg2
= (int) SWIG_AsInt(obj1
);
23464 if (PyErr_Occurred()) SWIG_fail
;
23466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23467 result
= wxDateSpan___mul__(arg1
,arg2
);
23469 wxPyEndAllowThreads(__tstate
);
23470 if (PyErr_Occurred()) SWIG_fail
;
23473 wxDateSpan
* resultptr
;
23474 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23475 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23483 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23484 PyObject
*resultobj
;
23485 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23488 PyObject
* obj0
= 0 ;
23489 PyObject
* obj1
= 0 ;
23490 char *kwnames
[] = {
23491 (char *) "self",(char *) "n", NULL
23494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23497 arg2
= (int) SWIG_AsInt(obj1
);
23498 if (PyErr_Occurred()) SWIG_fail
;
23500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23501 result
= wxDateSpan___rmul__(arg1
,arg2
);
23503 wxPyEndAllowThreads(__tstate
);
23504 if (PyErr_Occurred()) SWIG_fail
;
23507 wxDateSpan
* resultptr
;
23508 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23509 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23517 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23518 PyObject
*resultobj
;
23519 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23520 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23522 PyObject
* obj0
= 0 ;
23523 PyObject
* obj1
= 0 ;
23524 char *kwnames
[] = {
23525 (char *) "self",(char *) "other", NULL
23528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23535 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23537 wxPyEndAllowThreads(__tstate
);
23538 if (PyErr_Occurred()) SWIG_fail
;
23541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23549 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23550 PyObject
*resultobj
;
23551 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23552 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23554 PyObject
* obj0
= 0 ;
23555 PyObject
* obj1
= 0 ;
23556 char *kwnames
[] = {
23557 (char *) "self",(char *) "other", NULL
23560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23567 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23569 wxPyEndAllowThreads(__tstate
);
23570 if (PyErr_Occurred()) SWIG_fail
;
23573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23581 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23584 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23586 return Py_BuildValue((char *)"");
23588 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23589 PyObject
*resultobj
;
23591 char *kwnames
[] = {
23595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23598 result
= (long)wxGetLocalTime();
23600 wxPyEndAllowThreads(__tstate
);
23601 if (PyErr_Occurred()) SWIG_fail
;
23603 resultobj
= SWIG_FromLong((long)result
);
23610 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23611 PyObject
*resultobj
;
23613 char *kwnames
[] = {
23617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23620 result
= (long)wxGetUTCTime();
23622 wxPyEndAllowThreads(__tstate
);
23623 if (PyErr_Occurred()) SWIG_fail
;
23625 resultobj
= SWIG_FromLong((long)result
);
23632 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23633 PyObject
*resultobj
;
23635 char *kwnames
[] = {
23639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23642 result
= (long)wxGetCurrentTime();
23644 wxPyEndAllowThreads(__tstate
);
23645 if (PyErr_Occurred()) SWIG_fail
;
23647 resultobj
= SWIG_FromLong((long)result
);
23654 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23655 PyObject
*resultobj
;
23657 char *kwnames
[] = {
23661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23664 result
= wxGetLocalTimeMillis();
23666 wxPyEndAllowThreads(__tstate
);
23667 if (PyErr_Occurred()) SWIG_fail
;
23670 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23671 hi
= PyLong_FromLong( (&result
)->GetHi() );
23672 lo
= PyLong_FromLong( (&result
)->GetLo() );
23673 shifter
= PyLong_FromLong(32);
23674 shifted
= PyNumber_Lshift(hi
, shifter
);
23675 resultobj
= PyNumber_Or(shifted
, lo
);
23678 Py_DECREF(shifter
);
23679 Py_DECREF(shifted
);
23687 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23688 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23693 static PyObject
*_wrap_DefaultDateTime_get() {
23696 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23701 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23702 PyObject
*resultobj
;
23704 wxDataFormat
*result
;
23705 PyObject
* obj0
= 0 ;
23706 char *kwnames
[] = {
23707 (char *) "type", NULL
23710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23711 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23712 if (PyErr_Occurred()) SWIG_fail
;
23714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23715 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23717 wxPyEndAllowThreads(__tstate
);
23718 if (PyErr_Occurred()) SWIG_fail
;
23720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23727 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23728 PyObject
*resultobj
;
23729 wxString
*arg1
= 0 ;
23730 wxDataFormat
*result
;
23731 bool temp1
= False
;
23732 PyObject
* obj0
= 0 ;
23733 char *kwnames
[] = {
23734 (char *) "format", NULL
23737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23739 arg1
= wxString_in_helper(obj0
);
23740 if (arg1
== NULL
) SWIG_fail
;
23744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23745 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23747 wxPyEndAllowThreads(__tstate
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23765 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23766 PyObject
*resultobj
;
23767 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23768 PyObject
* obj0
= 0 ;
23769 char *kwnames
[] = {
23770 (char *) "self", NULL
23773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23780 wxPyEndAllowThreads(__tstate
);
23781 if (PyErr_Occurred()) SWIG_fail
;
23783 Py_INCREF(Py_None
); resultobj
= Py_None
;
23790 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23791 PyObject
*resultobj
;
23792 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23795 PyObject
* obj0
= 0 ;
23796 PyObject
* obj1
= 0 ;
23798 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23801 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23802 if (PyErr_Occurred()) SWIG_fail
;
23804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23805 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23807 wxPyEndAllowThreads(__tstate
);
23808 if (PyErr_Occurred()) SWIG_fail
;
23811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23819 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23820 PyObject
*resultobj
;
23821 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23824 PyObject
* obj0
= 0 ;
23825 PyObject
* obj1
= 0 ;
23827 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23830 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23831 if (PyErr_Occurred()) SWIG_fail
;
23833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23834 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23836 wxPyEndAllowThreads(__tstate
);
23837 if (PyErr_Occurred()) SWIG_fail
;
23840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23848 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
23849 PyObject
*resultobj
;
23850 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23851 wxDataFormat
*arg2
= 0 ;
23853 PyObject
* obj0
= 0 ;
23854 PyObject
* obj1
= 0 ;
23856 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23860 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23862 if (arg2
== NULL
) {
23863 PyErr_SetString(PyExc_TypeError
,"null reference");
23867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23868 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*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___eq__(PyObject
*self
, PyObject
*args
) {
23887 argc
= PyObject_Length(args
);
23888 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23889 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23895 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23905 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23913 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
23921 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23929 _v
= SWIG_CheckInt(argv
[1]);
23931 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
23936 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
23941 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
23942 PyObject
*resultobj
;
23943 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23944 wxDataFormat
*arg2
= 0 ;
23946 PyObject
* obj0
= 0 ;
23947 PyObject
* obj1
= 0 ;
23949 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23952 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23953 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23955 if (arg2
== NULL
) {
23956 PyErr_SetString(PyExc_TypeError
,"null reference");
23960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23961 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
23963 wxPyEndAllowThreads(__tstate
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23975 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
23980 argc
= PyObject_Length(args
);
23981 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23982 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23988 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23998 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24006 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24014 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24022 _v
= SWIG_CheckInt(argv
[1]);
24024 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24029 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24034 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24035 PyObject
*resultobj
;
24036 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24038 PyObject
* obj0
= 0 ;
24039 PyObject
* obj1
= 0 ;
24040 char *kwnames
[] = {
24041 (char *) "self",(char *) "format", NULL
24044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24047 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24048 if (PyErr_Occurred()) SWIG_fail
;
24050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24051 (arg1
)->SetType((wxDataFormatId
)arg2
);
24053 wxPyEndAllowThreads(__tstate
);
24054 if (PyErr_Occurred()) SWIG_fail
;
24056 Py_INCREF(Py_None
); resultobj
= Py_None
;
24063 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24064 PyObject
*resultobj
;
24065 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24067 PyObject
* obj0
= 0 ;
24068 char *kwnames
[] = {
24069 (char *) "self", NULL
24072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24077 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24079 wxPyEndAllowThreads(__tstate
);
24080 if (PyErr_Occurred()) SWIG_fail
;
24082 resultobj
= SWIG_FromInt((int)result
);
24089 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24090 PyObject
*resultobj
;
24091 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24093 PyObject
* obj0
= 0 ;
24094 char *kwnames
[] = {
24095 (char *) "self", NULL
24098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24103 result
= ((wxDataFormat
const *)arg1
)->GetId();
24105 wxPyEndAllowThreads(__tstate
);
24106 if (PyErr_Occurred()) SWIG_fail
;
24110 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24112 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24121 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24122 PyObject
*resultobj
;
24123 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24124 wxString
*arg2
= 0 ;
24125 bool temp2
= False
;
24126 PyObject
* obj0
= 0 ;
24127 PyObject
* obj1
= 0 ;
24128 char *kwnames
[] = {
24129 (char *) "self",(char *) "format", NULL
24132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24136 arg2
= wxString_in_helper(obj1
);
24137 if (arg2
== NULL
) SWIG_fail
;
24141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24142 (arg1
)->SetId((wxString
const &)*arg2
);
24144 wxPyEndAllowThreads(__tstate
);
24145 if (PyErr_Occurred()) SWIG_fail
;
24147 Py_INCREF(Py_None
); resultobj
= Py_None
;
24162 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24165 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24167 return Py_BuildValue((char *)"");
24169 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24170 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24175 static PyObject
*_wrap_FormatInvalid_get() {
24178 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24183 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24184 PyObject
*resultobj
;
24185 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24186 PyObject
* obj0
= 0 ;
24187 char *kwnames
[] = {
24188 (char *) "self", NULL
24191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24198 wxPyEndAllowThreads(__tstate
);
24199 if (PyErr_Occurred()) SWIG_fail
;
24201 Py_INCREF(Py_None
); resultobj
= Py_None
;
24208 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24209 PyObject
*resultobj
;
24210 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24211 int arg2
= (int) wxDataObject::Get
;
24212 SwigValueWrapper
< wxDataFormat
> result
;
24213 PyObject
* obj0
= 0 ;
24214 PyObject
* obj1
= 0 ;
24215 char *kwnames
[] = {
24216 (char *) "self",(char *) "dir", NULL
24219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24223 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24224 if (PyErr_Occurred()) SWIG_fail
;
24227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24228 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24230 wxPyEndAllowThreads(__tstate
);
24231 if (PyErr_Occurred()) SWIG_fail
;
24234 wxDataFormat
* resultptr
;
24235 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24244 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24245 PyObject
*resultobj
;
24246 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24247 int arg2
= (int) wxDataObject::Get
;
24249 PyObject
* obj0
= 0 ;
24250 PyObject
* obj1
= 0 ;
24251 char *kwnames
[] = {
24252 (char *) "self",(char *) "dir", NULL
24255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24259 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24260 if (PyErr_Occurred()) SWIG_fail
;
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24264 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24266 wxPyEndAllowThreads(__tstate
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24269 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24276 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24277 PyObject
*resultobj
;
24278 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24279 wxDataFormat
*arg2
= 0 ;
24280 int arg3
= (int) wxDataObject::Get
;
24282 PyObject
* obj0
= 0 ;
24283 PyObject
* obj1
= 0 ;
24284 PyObject
* obj2
= 0 ;
24285 char *kwnames
[] = {
24286 (char *) "self",(char *) "format",(char *) "dir", NULL
24289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24292 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24293 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24295 if (arg2
== NULL
) {
24296 PyErr_SetString(PyExc_TypeError
,"null reference");
24300 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24301 if (PyErr_Occurred()) SWIG_fail
;
24304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24305 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24307 wxPyEndAllowThreads(__tstate
);
24308 if (PyErr_Occurred()) SWIG_fail
;
24311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24319 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24320 PyObject
*resultobj
;
24321 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24322 wxDataFormat
*arg2
= 0 ;
24324 PyObject
* obj0
= 0 ;
24325 PyObject
* obj1
= 0 ;
24326 char *kwnames
[] = {
24327 (char *) "self",(char *) "format", NULL
24330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24333 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24334 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24336 if (arg2
== NULL
) {
24337 PyErr_SetString(PyExc_TypeError
,"null reference");
24341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24342 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24344 wxPyEndAllowThreads(__tstate
);
24345 if (PyErr_Occurred()) SWIG_fail
;
24347 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24354 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24355 PyObject
*resultobj
;
24356 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24357 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
24358 int arg3
= (int) wxDataObject::Get
;
24359 PyObject
* obj0
= 0 ;
24360 PyObject
* obj1
= 0 ;
24361 PyObject
* obj2
= 0 ;
24362 char *kwnames
[] = {
24363 (char *) "self",(char *) "formats",(char *) "dir", NULL
24366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24372 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24373 if (PyErr_Occurred()) SWIG_fail
;
24376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24377 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
24379 wxPyEndAllowThreads(__tstate
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24382 Py_INCREF(Py_None
); resultobj
= Py_None
;
24389 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24390 PyObject
*resultobj
;
24391 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24392 wxDataFormat
*arg2
= 0 ;
24393 void *arg3
= (void *) 0 ;
24395 PyObject
* obj0
= 0 ;
24396 PyObject
* obj1
= 0 ;
24397 PyObject
* obj2
= 0 ;
24398 char *kwnames
[] = {
24399 (char *) "self",(char *) "format",(char *) "buf", NULL
24402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24406 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24408 if (arg2
== NULL
) {
24409 PyErr_SetString(PyExc_TypeError
,"null reference");
24412 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24415 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
24417 wxPyEndAllowThreads(__tstate
);
24418 if (PyErr_Occurred()) SWIG_fail
;
24421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24429 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24430 PyObject
*resultobj
;
24431 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24432 wxDataFormat
*arg2
= 0 ;
24434 void *arg4
= (void *) 0 ;
24436 PyObject
* obj0
= 0 ;
24437 PyObject
* obj1
= 0 ;
24438 PyObject
* obj2
= 0 ;
24439 PyObject
* obj3
= 0 ;
24440 char *kwnames
[] = {
24441 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24448 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24450 if (arg2
== NULL
) {
24451 PyErr_SetString(PyExc_TypeError
,"null reference");
24454 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
24455 if (PyErr_Occurred()) SWIG_fail
;
24456 if ((SWIG_ConvertPtr(obj3
,&arg4
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24459 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
24461 wxPyEndAllowThreads(__tstate
);
24462 if (PyErr_Occurred()) SWIG_fail
;
24465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24473 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24476 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24478 return Py_BuildValue((char *)"");
24480 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24481 PyObject
*resultobj
;
24482 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24483 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24484 wxDataObjectSimple
*result
;
24485 PyObject
* obj0
= 0 ;
24486 char *kwnames
[] = {
24487 (char *) "format", NULL
24490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24493 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24495 if (arg1
== NULL
) {
24496 PyErr_SetString(PyExc_TypeError
,"null reference");
24501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24502 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24504 wxPyEndAllowThreads(__tstate
);
24505 if (PyErr_Occurred()) SWIG_fail
;
24507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24514 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24515 PyObject
*resultobj
;
24516 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24517 wxDataFormat
*result
;
24518 PyObject
* obj0
= 0 ;
24519 char *kwnames
[] = {
24520 (char *) "self", NULL
24523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24529 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24530 result
= (wxDataFormat
*) &_result_ref
;
24533 wxPyEndAllowThreads(__tstate
);
24534 if (PyErr_Occurred()) SWIG_fail
;
24536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24543 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24544 PyObject
*resultobj
;
24545 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24546 wxDataFormat
*arg2
= 0 ;
24547 PyObject
* obj0
= 0 ;
24548 PyObject
* obj1
= 0 ;
24549 char *kwnames
[] = {
24550 (char *) "self",(char *) "format", NULL
24553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24557 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24559 if (arg2
== NULL
) {
24560 PyErr_SetString(PyExc_TypeError
,"null reference");
24564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24565 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24567 wxPyEndAllowThreads(__tstate
);
24568 if (PyErr_Occurred()) SWIG_fail
;
24570 Py_INCREF(Py_None
); resultobj
= Py_None
;
24577 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24580 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24582 return Py_BuildValue((char *)"");
24584 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24585 PyObject
*resultobj
;
24586 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24587 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24588 wxPyDataObjectSimple
*result
;
24589 PyObject
* obj0
= 0 ;
24590 char *kwnames
[] = {
24591 (char *) "format", NULL
24594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24597 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24599 if (arg1
== NULL
) {
24600 PyErr_SetString(PyExc_TypeError
,"null reference");
24605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24606 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24608 wxPyEndAllowThreads(__tstate
);
24609 if (PyErr_Occurred()) SWIG_fail
;
24611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24618 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24619 PyObject
*resultobj
;
24620 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24621 PyObject
*arg2
= (PyObject
*) 0 ;
24622 PyObject
*arg3
= (PyObject
*) 0 ;
24623 PyObject
* obj0
= 0 ;
24624 PyObject
* obj1
= 0 ;
24625 PyObject
* obj2
= 0 ;
24626 char *kwnames
[] = {
24627 (char *) "self",(char *) "self",(char *) "_class", NULL
24630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24637 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24639 wxPyEndAllowThreads(__tstate
);
24640 if (PyErr_Occurred()) SWIG_fail
;
24642 Py_INCREF(Py_None
); resultobj
= Py_None
;
24649 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24652 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24654 return Py_BuildValue((char *)"");
24656 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24657 PyObject
*resultobj
;
24658 wxDataObjectComposite
*result
;
24659 char *kwnames
[] = {
24663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24666 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24668 wxPyEndAllowThreads(__tstate
);
24669 if (PyErr_Occurred()) SWIG_fail
;
24671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24678 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24679 PyObject
*resultobj
;
24680 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24681 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24682 int arg3
= (int) False
;
24683 PyObject
* obj0
= 0 ;
24684 PyObject
* obj1
= 0 ;
24685 PyObject
* obj2
= 0 ;
24686 char *kwnames
[] = {
24687 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24694 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24696 arg3
= (int) SWIG_AsInt(obj2
);
24697 if (PyErr_Occurred()) SWIG_fail
;
24700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24701 (arg1
)->Add(arg2
,arg3
);
24703 wxPyEndAllowThreads(__tstate
);
24704 if (PyErr_Occurred()) SWIG_fail
;
24706 Py_INCREF(Py_None
); resultobj
= Py_None
;
24713 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24716 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24718 return Py_BuildValue((char *)"");
24720 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24721 PyObject
*resultobj
;
24722 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24723 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24724 wxTextDataObject
*result
;
24725 bool temp1
= False
;
24726 PyObject
* obj0
= 0 ;
24727 char *kwnames
[] = {
24728 (char *) "text", NULL
24731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24734 arg1
= wxString_in_helper(obj0
);
24735 if (arg1
== NULL
) SWIG_fail
;
24740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24741 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24743 wxPyEndAllowThreads(__tstate
);
24744 if (PyErr_Occurred()) SWIG_fail
;
24746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24761 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24762 PyObject
*resultobj
;
24763 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24765 PyObject
* obj0
= 0 ;
24766 char *kwnames
[] = {
24767 (char *) "self", NULL
24770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24775 result
= (size_t)(arg1
)->GetTextLength();
24777 wxPyEndAllowThreads(__tstate
);
24778 if (PyErr_Occurred()) SWIG_fail
;
24780 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24787 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24788 PyObject
*resultobj
;
24789 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24791 PyObject
* obj0
= 0 ;
24792 char *kwnames
[] = {
24793 (char *) "self", NULL
24796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24801 result
= (arg1
)->GetText();
24803 wxPyEndAllowThreads(__tstate
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24819 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24820 PyObject
*resultobj
;
24821 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24822 wxString
*arg2
= 0 ;
24823 bool temp2
= False
;
24824 PyObject
* obj0
= 0 ;
24825 PyObject
* obj1
= 0 ;
24826 char *kwnames
[] = {
24827 (char *) "self",(char *) "text", NULL
24830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24834 arg2
= wxString_in_helper(obj1
);
24835 if (arg2
== NULL
) SWIG_fail
;
24839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24840 (arg1
)->SetText((wxString
const &)*arg2
);
24842 wxPyEndAllowThreads(__tstate
);
24843 if (PyErr_Occurred()) SWIG_fail
;
24845 Py_INCREF(Py_None
); resultobj
= Py_None
;
24860 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24862 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24863 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
24865 return Py_BuildValue((char *)"");
24867 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24868 PyObject
*resultobj
;
24869 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24870 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24871 wxPyTextDataObject
*result
;
24872 bool temp1
= False
;
24873 PyObject
* obj0
= 0 ;
24874 char *kwnames
[] = {
24875 (char *) "text", NULL
24878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
24881 arg1
= wxString_in_helper(obj0
);
24882 if (arg1
== NULL
) SWIG_fail
;
24887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24888 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
24890 wxPyEndAllowThreads(__tstate
);
24891 if (PyErr_Occurred()) SWIG_fail
;
24893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
24908 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24909 PyObject
*resultobj
;
24910 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
24911 PyObject
*arg2
= (PyObject
*) 0 ;
24912 PyObject
*arg3
= (PyObject
*) 0 ;
24913 PyObject
* obj0
= 0 ;
24914 PyObject
* obj1
= 0 ;
24915 PyObject
* obj2
= 0 ;
24916 char *kwnames
[] = {
24917 (char *) "self",(char *) "self",(char *) "_class", NULL
24920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
24922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24927 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24929 wxPyEndAllowThreads(__tstate
);
24930 if (PyErr_Occurred()) SWIG_fail
;
24932 Py_INCREF(Py_None
); resultobj
= Py_None
;
24939 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24942 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
24944 return Py_BuildValue((char *)"");
24946 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24947 PyObject
*resultobj
;
24948 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24949 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24950 wxBitmapDataObject
*result
;
24951 PyObject
* obj0
= 0 ;
24952 char *kwnames
[] = {
24953 (char *) "bitmap", NULL
24956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
24958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
24959 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24961 if (arg1
== NULL
) {
24962 PyErr_SetString(PyExc_TypeError
,"null reference");
24967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24968 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
24970 wxPyEndAllowThreads(__tstate
);
24971 if (PyErr_Occurred()) SWIG_fail
;
24973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
24980 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24981 PyObject
*resultobj
;
24982 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
24984 PyObject
* obj0
= 0 ;
24985 char *kwnames
[] = {
24986 (char *) "self", NULL
24989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
24990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
24991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24994 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
24996 wxPyEndAllowThreads(__tstate
);
24997 if (PyErr_Occurred()) SWIG_fail
;
25000 wxBitmap
* resultptr
;
25001 resultptr
= new wxBitmap((wxBitmap
&) result
);
25002 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25010 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25011 PyObject
*resultobj
;
25012 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25013 wxBitmap
*arg2
= 0 ;
25014 PyObject
* obj0
= 0 ;
25015 PyObject
* obj1
= 0 ;
25016 char *kwnames
[] = {
25017 (char *) "self",(char *) "bitmap", NULL
25020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25024 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25026 if (arg2
== NULL
) {
25027 PyErr_SetString(PyExc_TypeError
,"null reference");
25031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25032 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25034 wxPyEndAllowThreads(__tstate
);
25035 if (PyErr_Occurred()) SWIG_fail
;
25037 Py_INCREF(Py_None
); resultobj
= Py_None
;
25044 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25047 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25049 return Py_BuildValue((char *)"");
25051 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25052 PyObject
*resultobj
;
25053 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25054 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25055 wxPyBitmapDataObject
*result
;
25056 PyObject
* obj0
= 0 ;
25057 char *kwnames
[] = {
25058 (char *) "bitmap", NULL
25061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25064 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25066 if (arg1
== NULL
) {
25067 PyErr_SetString(PyExc_TypeError
,"null reference");
25072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25073 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25075 wxPyEndAllowThreads(__tstate
);
25076 if (PyErr_Occurred()) SWIG_fail
;
25078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25085 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25086 PyObject
*resultobj
;
25087 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25088 PyObject
*arg2
= (PyObject
*) 0 ;
25089 PyObject
*arg3
= (PyObject
*) 0 ;
25090 PyObject
* obj0
= 0 ;
25091 PyObject
* obj1
= 0 ;
25092 PyObject
* obj2
= 0 ;
25093 char *kwnames
[] = {
25094 (char *) "self",(char *) "self",(char *) "_class", NULL
25097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25104 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25106 wxPyEndAllowThreads(__tstate
);
25107 if (PyErr_Occurred()) SWIG_fail
;
25109 Py_INCREF(Py_None
); resultobj
= Py_None
;
25116 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25119 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25121 return Py_BuildValue((char *)"");
25123 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25124 PyObject
*resultobj
;
25125 wxFileDataObject
*result
;
25126 char *kwnames
[] = {
25130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25133 result
= (wxFileDataObject
*)new wxFileDataObject();
25135 wxPyEndAllowThreads(__tstate
);
25136 if (PyErr_Occurred()) SWIG_fail
;
25138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25145 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25146 PyObject
*resultobj
;
25147 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25148 wxArrayString
*result
;
25149 PyObject
* obj0
= 0 ;
25150 char *kwnames
[] = {
25151 (char *) "self", NULL
25154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25160 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25161 result
= (wxArrayString
*) &_result_ref
;
25164 wxPyEndAllowThreads(__tstate
);
25165 if (PyErr_Occurred()) SWIG_fail
;
25168 resultobj
= wxArrayString2PyList_helper(*result
);
25176 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25177 PyObject
*resultobj
;
25178 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25179 wxString
*arg2
= 0 ;
25180 bool temp2
= False
;
25181 PyObject
* obj0
= 0 ;
25182 PyObject
* obj1
= 0 ;
25183 char *kwnames
[] = {
25184 (char *) "self",(char *) "filename", NULL
25187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25191 arg2
= wxString_in_helper(obj1
);
25192 if (arg2
== NULL
) SWIG_fail
;
25196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25197 (arg1
)->AddFile((wxString
const &)*arg2
);
25199 wxPyEndAllowThreads(__tstate
);
25200 if (PyErr_Occurred()) SWIG_fail
;
25202 Py_INCREF(Py_None
); resultobj
= Py_None
;
25217 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25220 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25222 return Py_BuildValue((char *)"");
25224 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25225 PyObject
*resultobj
;
25226 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25227 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25228 wxCustomDataObject
*result
;
25229 PyObject
* obj0
= 0 ;
25230 char *kwnames
[] = {
25231 (char *) "format", NULL
25234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25237 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25239 if (arg1
== NULL
) {
25240 PyErr_SetString(PyExc_TypeError
,"null reference");
25245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25246 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25248 wxPyEndAllowThreads(__tstate
);
25249 if (PyErr_Occurred()) SWIG_fail
;
25251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25258 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25259 PyObject
*resultobj
;
25260 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25261 PyObject
*arg2
= (PyObject
*) 0 ;
25262 PyObject
* obj0
= 0 ;
25263 PyObject
* obj1
= 0 ;
25264 char *kwnames
[] = {
25265 (char *) "self",(char *) "data", NULL
25268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
25269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25274 wxCustomDataObject_TakeData(arg1
,arg2
);
25276 wxPyEndAllowThreads(__tstate
);
25277 if (PyErr_Occurred()) SWIG_fail
;
25279 Py_INCREF(Py_None
); resultobj
= Py_None
;
25286 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25287 PyObject
*resultobj
;
25288 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25289 PyObject
*arg2
= (PyObject
*) 0 ;
25291 PyObject
* obj0
= 0 ;
25292 PyObject
* obj1
= 0 ;
25293 char *kwnames
[] = {
25294 (char *) "self",(char *) "data", NULL
25297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25303 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25305 wxPyEndAllowThreads(__tstate
);
25306 if (PyErr_Occurred()) SWIG_fail
;
25309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25317 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25318 PyObject
*resultobj
;
25319 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25321 PyObject
* obj0
= 0 ;
25322 char *kwnames
[] = {
25323 (char *) "self", NULL
25326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25331 result
= (size_t)(arg1
)->GetSize();
25333 wxPyEndAllowThreads(__tstate
);
25334 if (PyErr_Occurred()) SWIG_fail
;
25336 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25343 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25344 PyObject
*resultobj
;
25345 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25347 PyObject
* obj0
= 0 ;
25348 char *kwnames
[] = {
25349 (char *) "self", NULL
25352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25357 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25359 wxPyEndAllowThreads(__tstate
);
25360 if (PyErr_Occurred()) SWIG_fail
;
25362 resultobj
= result
;
25369 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25372 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25374 return Py_BuildValue((char *)"");
25376 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25377 PyObject
*resultobj
;
25378 wxURLDataObject
*result
;
25379 char *kwnames
[] = {
25383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25386 result
= (wxURLDataObject
*)new wxURLDataObject();
25388 wxPyEndAllowThreads(__tstate
);
25389 if (PyErr_Occurred()) SWIG_fail
;
25391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25398 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25399 PyObject
*resultobj
;
25400 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25402 PyObject
* obj0
= 0 ;
25403 char *kwnames
[] = {
25404 (char *) "self", NULL
25407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25412 result
= (arg1
)->GetURL();
25414 wxPyEndAllowThreads(__tstate
);
25415 if (PyErr_Occurred()) SWIG_fail
;
25419 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25421 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25430 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25431 PyObject
*resultobj
;
25432 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25433 wxString
*arg2
= 0 ;
25434 bool temp2
= False
;
25435 PyObject
* obj0
= 0 ;
25436 PyObject
* obj1
= 0 ;
25437 char *kwnames
[] = {
25438 (char *) "self",(char *) "url", NULL
25441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25445 arg2
= wxString_in_helper(obj1
);
25446 if (arg2
== NULL
) SWIG_fail
;
25450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25451 (arg1
)->SetURL((wxString
const &)*arg2
);
25453 wxPyEndAllowThreads(__tstate
);
25454 if (PyErr_Occurred()) SWIG_fail
;
25456 Py_INCREF(Py_None
); resultobj
= Py_None
;
25471 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25474 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25476 return Py_BuildValue((char *)"");
25478 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25479 PyObject
*resultobj
;
25480 wxMetafileDataObject
*result
;
25481 char *kwnames
[] = {
25485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25488 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25490 wxPyEndAllowThreads(__tstate
);
25491 if (PyErr_Occurred()) SWIG_fail
;
25493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25500 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25503 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25505 return Py_BuildValue((char *)"");
25507 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25508 PyObject
*resultobj
;
25511 PyObject
* obj0
= 0 ;
25512 char *kwnames
[] = {
25513 (char *) "res", NULL
25516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25517 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25518 if (PyErr_Occurred()) SWIG_fail
;
25520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25521 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25523 wxPyEndAllowThreads(__tstate
);
25524 if (PyErr_Occurred()) SWIG_fail
;
25527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25535 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25536 PyObject
*resultobj
;
25537 wxWindow
*arg1
= (wxWindow
*) 0 ;
25538 wxIcon
const &arg2_defvalue
= wxNullIcon
;
25539 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
25540 wxIcon
const &arg3_defvalue
= wxNullIcon
;
25541 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
25542 wxIcon
const &arg4_defvalue
= wxNullIcon
;
25543 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
25544 wxPyDropSource
*result
;
25545 PyObject
* obj0
= 0 ;
25546 PyObject
* obj1
= 0 ;
25547 PyObject
* obj2
= 0 ;
25548 PyObject
* obj3
= 0 ;
25549 char *kwnames
[] = {
25550 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
25558 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25560 if (arg2
== NULL
) {
25561 PyErr_SetString(PyExc_TypeError
,"null reference");
25566 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIcon
,
25567 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25569 if (arg3
== NULL
) {
25570 PyErr_SetString(PyExc_TypeError
,"null reference");
25575 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxIcon
,
25576 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25578 if (arg4
== NULL
) {
25579 PyErr_SetString(PyExc_TypeError
,"null reference");
25584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25585 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
25587 wxPyEndAllowThreads(__tstate
);
25588 if (PyErr_Occurred()) SWIG_fail
;
25590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25597 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25598 PyObject
*resultobj
;
25599 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25600 PyObject
*arg2
= (PyObject
*) 0 ;
25601 PyObject
*arg3
= (PyObject
*) 0 ;
25603 PyObject
* obj0
= 0 ;
25604 PyObject
* obj1
= 0 ;
25605 PyObject
* obj2
= 0 ;
25606 PyObject
* obj3
= 0 ;
25607 char *kwnames
[] = {
25608 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25616 arg4
= (int) SWIG_AsInt(obj3
);
25617 if (PyErr_Occurred()) SWIG_fail
;
25619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25620 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25622 wxPyEndAllowThreads(__tstate
);
25623 if (PyErr_Occurred()) SWIG_fail
;
25625 Py_INCREF(Py_None
); resultobj
= Py_None
;
25632 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25633 PyObject
*resultobj
;
25634 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25635 PyObject
* obj0
= 0 ;
25636 char *kwnames
[] = {
25637 (char *) "self", NULL
25640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25647 wxPyEndAllowThreads(__tstate
);
25648 if (PyErr_Occurred()) SWIG_fail
;
25650 Py_INCREF(Py_None
); resultobj
= Py_None
;
25657 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25658 PyObject
*resultobj
;
25659 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25660 wxDataObject
*arg2
= 0 ;
25661 PyObject
* obj0
= 0 ;
25662 PyObject
* obj1
= 0 ;
25663 char *kwnames
[] = {
25664 (char *) "self",(char *) "data", NULL
25667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25671 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25673 if (arg2
== NULL
) {
25674 PyErr_SetString(PyExc_TypeError
,"null reference");
25678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25679 (arg1
)->SetData(*arg2
);
25681 wxPyEndAllowThreads(__tstate
);
25682 if (PyErr_Occurred()) SWIG_fail
;
25684 Py_INCREF(Py_None
); resultobj
= Py_None
;
25691 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25692 PyObject
*resultobj
;
25693 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25694 wxDataObject
*result
;
25695 PyObject
* obj0
= 0 ;
25696 char *kwnames
[] = {
25697 (char *) "self", NULL
25700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25705 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25707 wxPyEndAllowThreads(__tstate
);
25708 if (PyErr_Occurred()) SWIG_fail
;
25710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25717 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25718 PyObject
*resultobj
;
25719 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25721 wxCursor
*arg3
= 0 ;
25722 PyObject
* obj0
= 0 ;
25723 PyObject
* obj1
= 0 ;
25724 PyObject
* obj2
= 0 ;
25725 char *kwnames
[] = {
25726 (char *) "self",(char *) "res",(char *) "cursor", NULL
25729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25732 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25733 if (PyErr_Occurred()) SWIG_fail
;
25734 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25735 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25737 if (arg3
== NULL
) {
25738 PyErr_SetString(PyExc_TypeError
,"null reference");
25742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25743 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25745 wxPyEndAllowThreads(__tstate
);
25746 if (PyErr_Occurred()) SWIG_fail
;
25748 Py_INCREF(Py_None
); resultobj
= Py_None
;
25755 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25756 PyObject
*resultobj
;
25757 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25758 int arg2
= (int) wxDrag_CopyOnly
;
25760 PyObject
* obj0
= 0 ;
25761 PyObject
* obj1
= 0 ;
25762 char *kwnames
[] = {
25763 (char *) "self",(char *) "flags", NULL
25766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25770 arg2
= (int) SWIG_AsInt(obj1
);
25771 if (PyErr_Occurred()) SWIG_fail
;
25774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25775 result
= (int)(arg1
)->DoDragDrop(arg2
);
25777 wxPyEndAllowThreads(__tstate
);
25778 if (PyErr_Occurred()) SWIG_fail
;
25780 resultobj
= SWIG_FromInt((int)result
);
25787 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25788 PyObject
*resultobj
;
25789 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25792 PyObject
* obj0
= 0 ;
25793 PyObject
* obj1
= 0 ;
25794 char *kwnames
[] = {
25795 (char *) "self",(char *) "effect", NULL
25798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25801 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25802 if (PyErr_Occurred()) SWIG_fail
;
25804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25805 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25807 wxPyEndAllowThreads(__tstate
);
25808 if (PyErr_Occurred()) SWIG_fail
;
25811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25819 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
25821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25822 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25824 return Py_BuildValue((char *)"");
25826 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25827 PyObject
*resultobj
;
25828 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25829 wxPyDropTarget
*result
;
25830 PyObject
* obj0
= 0 ;
25831 char *kwnames
[] = {
25832 (char *) "dataObject", NULL
25835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
25837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25838 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25842 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25844 wxPyEndAllowThreads(__tstate
);
25845 if (PyErr_Occurred()) SWIG_fail
;
25847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
25854 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25855 PyObject
*resultobj
;
25856 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25857 PyObject
*arg2
= (PyObject
*) 0 ;
25858 PyObject
*arg3
= (PyObject
*) 0 ;
25859 PyObject
* obj0
= 0 ;
25860 PyObject
* obj1
= 0 ;
25861 PyObject
* obj2
= 0 ;
25862 char *kwnames
[] = {
25863 (char *) "self",(char *) "self",(char *) "_class", NULL
25866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25873 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25875 wxPyEndAllowThreads(__tstate
);
25876 if (PyErr_Occurred()) SWIG_fail
;
25878 Py_INCREF(Py_None
); resultobj
= Py_None
;
25885 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25886 PyObject
*resultobj
;
25887 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25888 PyObject
* obj0
= 0 ;
25889 char *kwnames
[] = {
25890 (char *) "self", NULL
25893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
25894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25900 wxPyEndAllowThreads(__tstate
);
25901 if (PyErr_Occurred()) SWIG_fail
;
25903 Py_INCREF(Py_None
); resultobj
= Py_None
;
25910 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25911 PyObject
*resultobj
;
25912 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25913 wxDataObject
*result
;
25914 PyObject
* obj0
= 0 ;
25915 char *kwnames
[] = {
25916 (char *) "self", NULL
25919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
25920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25924 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25926 wxPyEndAllowThreads(__tstate
);
25927 if (PyErr_Occurred()) SWIG_fail
;
25929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25936 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25937 PyObject
*resultobj
;
25938 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25939 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
25940 PyObject
* obj0
= 0 ;
25941 PyObject
* obj1
= 0 ;
25942 char *kwnames
[] = {
25943 (char *) "self",(char *) "dataObject", NULL
25946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
25947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25950 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25953 (arg1
)->SetDataObject(arg2
);
25955 wxPyEndAllowThreads(__tstate
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25958 Py_INCREF(Py_None
); resultobj
= Py_None
;
25965 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25966 PyObject
*resultobj
;
25967 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25972 PyObject
* obj0
= 0 ;
25973 PyObject
* obj1
= 0 ;
25974 PyObject
* obj2
= 0 ;
25975 PyObject
* obj3
= 0 ;
25976 char *kwnames
[] = {
25977 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25983 arg2
= (int) SWIG_AsInt(obj1
);
25984 if (PyErr_Occurred()) SWIG_fail
;
25985 arg3
= (int) SWIG_AsInt(obj2
);
25986 if (PyErr_Occurred()) SWIG_fail
;
25987 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
25988 if (PyErr_Occurred()) SWIG_fail
;
25990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25991 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
25993 wxPyEndAllowThreads(__tstate
);
25994 if (PyErr_Occurred()) SWIG_fail
;
25996 resultobj
= SWIG_FromInt((int)result
);
26003 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26004 PyObject
*resultobj
;
26005 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26010 PyObject
* obj0
= 0 ;
26011 PyObject
* obj1
= 0 ;
26012 PyObject
* obj2
= 0 ;
26013 PyObject
* obj3
= 0 ;
26014 char *kwnames
[] = {
26015 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26021 arg2
= (int) SWIG_AsInt(obj1
);
26022 if (PyErr_Occurred()) SWIG_fail
;
26023 arg3
= (int) SWIG_AsInt(obj2
);
26024 if (PyErr_Occurred()) SWIG_fail
;
26025 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26026 if (PyErr_Occurred()) SWIG_fail
;
26028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26029 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26031 wxPyEndAllowThreads(__tstate
);
26032 if (PyErr_Occurred()) SWIG_fail
;
26034 resultobj
= SWIG_FromInt((int)result
);
26041 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26042 PyObject
*resultobj
;
26043 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26044 PyObject
* obj0
= 0 ;
26045 char *kwnames
[] = {
26046 (char *) "self", NULL
26049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26054 (arg1
)->base_OnLeave();
26056 wxPyEndAllowThreads(__tstate
);
26057 if (PyErr_Occurred()) SWIG_fail
;
26059 Py_INCREF(Py_None
); resultobj
= Py_None
;
26066 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26067 PyObject
*resultobj
;
26068 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26072 PyObject
* obj0
= 0 ;
26073 PyObject
* obj1
= 0 ;
26074 PyObject
* obj2
= 0 ;
26075 char *kwnames
[] = {
26076 (char *) "self",(char *) "x",(char *) "y", NULL
26079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26082 arg2
= (int) SWIG_AsInt(obj1
);
26083 if (PyErr_Occurred()) SWIG_fail
;
26084 arg3
= (int) SWIG_AsInt(obj2
);
26085 if (PyErr_Occurred()) SWIG_fail
;
26087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26088 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26090 wxPyEndAllowThreads(__tstate
);
26091 if (PyErr_Occurred()) SWIG_fail
;
26094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26102 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26103 PyObject
*resultobj
;
26104 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26106 PyObject
* obj0
= 0 ;
26107 char *kwnames
[] = {
26108 (char *) "self", NULL
26111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26116 result
= (bool)(arg1
)->GetData();
26118 wxPyEndAllowThreads(__tstate
);
26119 if (PyErr_Occurred()) SWIG_fail
;
26122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26130 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26133 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26135 return Py_BuildValue((char *)"");
26137 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26138 PyObject
*resultobj
;
26139 wxPyTextDropTarget
*result
;
26140 char *kwnames
[] = {
26144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26147 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26149 wxPyEndAllowThreads(__tstate
);
26150 if (PyErr_Occurred()) SWIG_fail
;
26152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26159 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26160 PyObject
*resultobj
;
26161 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26162 PyObject
*arg2
= (PyObject
*) 0 ;
26163 PyObject
*arg3
= (PyObject
*) 0 ;
26164 PyObject
* obj0
= 0 ;
26165 PyObject
* obj1
= 0 ;
26166 PyObject
* obj2
= 0 ;
26167 char *kwnames
[] = {
26168 (char *) "self",(char *) "self",(char *) "_class", NULL
26171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26178 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26180 wxPyEndAllowThreads(__tstate
);
26181 if (PyErr_Occurred()) SWIG_fail
;
26183 Py_INCREF(Py_None
); resultobj
= Py_None
;
26190 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26191 PyObject
*resultobj
;
26192 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26197 PyObject
* obj0
= 0 ;
26198 PyObject
* obj1
= 0 ;
26199 PyObject
* obj2
= 0 ;
26200 PyObject
* obj3
= 0 ;
26201 char *kwnames
[] = {
26202 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26208 arg2
= (int) SWIG_AsInt(obj1
);
26209 if (PyErr_Occurred()) SWIG_fail
;
26210 arg3
= (int) SWIG_AsInt(obj2
);
26211 if (PyErr_Occurred()) SWIG_fail
;
26212 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26216 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26218 wxPyEndAllowThreads(__tstate
);
26219 if (PyErr_Occurred()) SWIG_fail
;
26221 resultobj
= SWIG_FromInt((int)result
);
26228 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26229 PyObject
*resultobj
;
26230 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26235 PyObject
* obj0
= 0 ;
26236 PyObject
* obj1
= 0 ;
26237 PyObject
* obj2
= 0 ;
26238 PyObject
* obj3
= 0 ;
26239 char *kwnames
[] = {
26240 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26246 arg2
= (int) SWIG_AsInt(obj1
);
26247 if (PyErr_Occurred()) SWIG_fail
;
26248 arg3
= (int) SWIG_AsInt(obj2
);
26249 if (PyErr_Occurred()) SWIG_fail
;
26250 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26251 if (PyErr_Occurred()) SWIG_fail
;
26253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26254 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26256 wxPyEndAllowThreads(__tstate
);
26257 if (PyErr_Occurred()) SWIG_fail
;
26259 resultobj
= SWIG_FromInt((int)result
);
26266 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26267 PyObject
*resultobj
;
26268 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26269 PyObject
* obj0
= 0 ;
26270 char *kwnames
[] = {
26271 (char *) "self", NULL
26274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26279 (arg1
)->base_OnLeave();
26281 wxPyEndAllowThreads(__tstate
);
26282 if (PyErr_Occurred()) SWIG_fail
;
26284 Py_INCREF(Py_None
); resultobj
= Py_None
;
26291 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26292 PyObject
*resultobj
;
26293 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26297 PyObject
* obj0
= 0 ;
26298 PyObject
* obj1
= 0 ;
26299 PyObject
* obj2
= 0 ;
26300 char *kwnames
[] = {
26301 (char *) "self",(char *) "x",(char *) "y", NULL
26304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26307 arg2
= (int) SWIG_AsInt(obj1
);
26308 if (PyErr_Occurred()) SWIG_fail
;
26309 arg3
= (int) SWIG_AsInt(obj2
);
26310 if (PyErr_Occurred()) SWIG_fail
;
26312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26313 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26315 wxPyEndAllowThreads(__tstate
);
26316 if (PyErr_Occurred()) SWIG_fail
;
26319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26327 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26328 PyObject
*resultobj
;
26329 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26334 PyObject
* obj0
= 0 ;
26335 PyObject
* obj1
= 0 ;
26336 PyObject
* obj2
= 0 ;
26337 PyObject
* obj3
= 0 ;
26338 char *kwnames
[] = {
26339 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26345 arg2
= (int) SWIG_AsInt(obj1
);
26346 if (PyErr_Occurred()) SWIG_fail
;
26347 arg3
= (int) SWIG_AsInt(obj2
);
26348 if (PyErr_Occurred()) SWIG_fail
;
26349 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26350 if (PyErr_Occurred()) SWIG_fail
;
26352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26353 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26355 wxPyEndAllowThreads(__tstate
);
26356 if (PyErr_Occurred()) SWIG_fail
;
26358 resultobj
= SWIG_FromInt((int)result
);
26365 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26367 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26368 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26370 return Py_BuildValue((char *)"");
26372 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26373 PyObject
*resultobj
;
26374 wxPyFileDropTarget
*result
;
26375 char *kwnames
[] = {
26379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26382 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26384 wxPyEndAllowThreads(__tstate
);
26385 if (PyErr_Occurred()) SWIG_fail
;
26387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26394 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26395 PyObject
*resultobj
;
26396 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26397 PyObject
*arg2
= (PyObject
*) 0 ;
26398 PyObject
*arg3
= (PyObject
*) 0 ;
26399 PyObject
* obj0
= 0 ;
26400 PyObject
* obj1
= 0 ;
26401 PyObject
* obj2
= 0 ;
26402 char *kwnames
[] = {
26403 (char *) "self",(char *) "self",(char *) "_class", NULL
26406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26413 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26415 wxPyEndAllowThreads(__tstate
);
26416 if (PyErr_Occurred()) SWIG_fail
;
26418 Py_INCREF(Py_None
); resultobj
= Py_None
;
26425 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26426 PyObject
*resultobj
;
26427 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26432 PyObject
* obj0
= 0 ;
26433 PyObject
* obj1
= 0 ;
26434 PyObject
* obj2
= 0 ;
26435 PyObject
* obj3
= 0 ;
26436 char *kwnames
[] = {
26437 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26443 arg2
= (int) SWIG_AsInt(obj1
);
26444 if (PyErr_Occurred()) SWIG_fail
;
26445 arg3
= (int) SWIG_AsInt(obj2
);
26446 if (PyErr_Occurred()) SWIG_fail
;
26447 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26451 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26453 wxPyEndAllowThreads(__tstate
);
26454 if (PyErr_Occurred()) SWIG_fail
;
26456 resultobj
= SWIG_FromInt((int)result
);
26463 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26464 PyObject
*resultobj
;
26465 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26470 PyObject
* obj0
= 0 ;
26471 PyObject
* obj1
= 0 ;
26472 PyObject
* obj2
= 0 ;
26473 PyObject
* obj3
= 0 ;
26474 char *kwnames
[] = {
26475 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26481 arg2
= (int) SWIG_AsInt(obj1
);
26482 if (PyErr_Occurred()) SWIG_fail
;
26483 arg3
= (int) SWIG_AsInt(obj2
);
26484 if (PyErr_Occurred()) SWIG_fail
;
26485 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26486 if (PyErr_Occurred()) SWIG_fail
;
26488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26489 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26491 wxPyEndAllowThreads(__tstate
);
26492 if (PyErr_Occurred()) SWIG_fail
;
26494 resultobj
= SWIG_FromInt((int)result
);
26501 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26502 PyObject
*resultobj
;
26503 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26504 PyObject
* obj0
= 0 ;
26505 char *kwnames
[] = {
26506 (char *) "self", NULL
26509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26514 (arg1
)->base_OnLeave();
26516 wxPyEndAllowThreads(__tstate
);
26517 if (PyErr_Occurred()) SWIG_fail
;
26519 Py_INCREF(Py_None
); resultobj
= Py_None
;
26526 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26527 PyObject
*resultobj
;
26528 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26532 PyObject
* obj0
= 0 ;
26533 PyObject
* obj1
= 0 ;
26534 PyObject
* obj2
= 0 ;
26535 char *kwnames
[] = {
26536 (char *) "self",(char *) "x",(char *) "y", NULL
26539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26542 arg2
= (int) SWIG_AsInt(obj1
);
26543 if (PyErr_Occurred()) SWIG_fail
;
26544 arg3
= (int) SWIG_AsInt(obj2
);
26545 if (PyErr_Occurred()) SWIG_fail
;
26547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26548 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26550 wxPyEndAllowThreads(__tstate
);
26551 if (PyErr_Occurred()) SWIG_fail
;
26554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26562 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26563 PyObject
*resultobj
;
26564 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26569 PyObject
* obj0
= 0 ;
26570 PyObject
* obj1
= 0 ;
26571 PyObject
* obj2
= 0 ;
26572 PyObject
* obj3
= 0 ;
26573 char *kwnames
[] = {
26574 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26580 arg2
= (int) SWIG_AsInt(obj1
);
26581 if (PyErr_Occurred()) SWIG_fail
;
26582 arg3
= (int) SWIG_AsInt(obj2
);
26583 if (PyErr_Occurred()) SWIG_fail
;
26584 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26585 if (PyErr_Occurred()) SWIG_fail
;
26587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26588 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26590 wxPyEndAllowThreads(__tstate
);
26591 if (PyErr_Occurred()) SWIG_fail
;
26593 resultobj
= SWIG_FromInt((int)result
);
26600 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26603 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26605 return Py_BuildValue((char *)"");
26607 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26608 PyObject
*resultobj
;
26609 wxClipboard
*result
;
26610 char *kwnames
[] = {
26614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26617 result
= (wxClipboard
*)new wxClipboard();
26619 wxPyEndAllowThreads(__tstate
);
26620 if (PyErr_Occurred()) SWIG_fail
;
26622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26629 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26630 PyObject
*resultobj
;
26631 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26632 PyObject
* obj0
= 0 ;
26633 char *kwnames
[] = {
26634 (char *) "self", NULL
26637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26644 wxPyEndAllowThreads(__tstate
);
26645 if (PyErr_Occurred()) SWIG_fail
;
26647 Py_INCREF(Py_None
); resultobj
= Py_None
;
26654 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26655 PyObject
*resultobj
;
26656 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26658 PyObject
* obj0
= 0 ;
26659 char *kwnames
[] = {
26660 (char *) "self", NULL
26663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26668 result
= (bool)(arg1
)->Open();
26670 wxPyEndAllowThreads(__tstate
);
26671 if (PyErr_Occurred()) SWIG_fail
;
26674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26682 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26683 PyObject
*resultobj
;
26684 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26685 PyObject
* obj0
= 0 ;
26686 char *kwnames
[] = {
26687 (char *) "self", NULL
26690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26697 wxPyEndAllowThreads(__tstate
);
26698 if (PyErr_Occurred()) SWIG_fail
;
26700 Py_INCREF(Py_None
); resultobj
= Py_None
;
26707 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26708 PyObject
*resultobj
;
26709 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26711 PyObject
* obj0
= 0 ;
26712 char *kwnames
[] = {
26713 (char *) "self", NULL
26716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26721 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26723 wxPyEndAllowThreads(__tstate
);
26724 if (PyErr_Occurred()) SWIG_fail
;
26727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26735 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26736 PyObject
*resultobj
;
26737 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26738 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26740 PyObject
* obj0
= 0 ;
26741 PyObject
* obj1
= 0 ;
26742 char *kwnames
[] = {
26743 (char *) "self",(char *) "data", NULL
26746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26750 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26753 result
= (bool)(arg1
)->AddData(arg2
);
26755 wxPyEndAllowThreads(__tstate
);
26756 if (PyErr_Occurred()) SWIG_fail
;
26759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26767 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26768 PyObject
*resultobj
;
26769 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26770 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26772 PyObject
* obj0
= 0 ;
26773 PyObject
* obj1
= 0 ;
26774 char *kwnames
[] = {
26775 (char *) "self",(char *) "data", NULL
26778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26782 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26785 result
= (bool)(arg1
)->SetData(arg2
);
26787 wxPyEndAllowThreads(__tstate
);
26788 if (PyErr_Occurred()) SWIG_fail
;
26791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26799 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26800 PyObject
*resultobj
;
26801 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26802 wxDataFormat
*arg2
= 0 ;
26804 PyObject
* obj0
= 0 ;
26805 PyObject
* obj1
= 0 ;
26806 char *kwnames
[] = {
26807 (char *) "self",(char *) "format", NULL
26810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
26814 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26816 if (arg2
== NULL
) {
26817 PyErr_SetString(PyExc_TypeError
,"null reference");
26821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26822 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26824 wxPyEndAllowThreads(__tstate
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26836 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26837 PyObject
*resultobj
;
26838 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26839 wxDataObject
*arg2
= 0 ;
26841 PyObject
* obj0
= 0 ;
26842 PyObject
* obj1
= 0 ;
26843 char *kwnames
[] = {
26844 (char *) "self",(char *) "data", NULL
26847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26850 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26851 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26853 if (arg2
== NULL
) {
26854 PyErr_SetString(PyExc_TypeError
,"null reference");
26858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26859 result
= (bool)(arg1
)->GetData(*arg2
);
26861 wxPyEndAllowThreads(__tstate
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26873 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26874 PyObject
*resultobj
;
26875 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26876 PyObject
* obj0
= 0 ;
26877 char *kwnames
[] = {
26878 (char *) "self", NULL
26881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
26882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26888 wxPyEndAllowThreads(__tstate
);
26889 if (PyErr_Occurred()) SWIG_fail
;
26891 Py_INCREF(Py_None
); resultobj
= Py_None
;
26898 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26899 PyObject
*resultobj
;
26900 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26902 PyObject
* obj0
= 0 ;
26903 char *kwnames
[] = {
26904 (char *) "self", NULL
26907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
26908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26912 result
= (bool)(arg1
)->Flush();
26914 wxPyEndAllowThreads(__tstate
);
26915 if (PyErr_Occurred()) SWIG_fail
;
26918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26926 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26927 PyObject
*resultobj
;
26928 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26929 bool arg2
= (bool) True
;
26930 PyObject
* obj0
= 0 ;
26931 PyObject
* obj1
= 0 ;
26932 char *kwnames
[] = {
26933 (char *) "self",(char *) "primary", NULL
26936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26940 arg2
= (bool) SWIG_AsBool(obj1
);
26941 if (PyErr_Occurred()) SWIG_fail
;
26944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26945 (arg1
)->UsePrimarySelection(arg2
);
26947 wxPyEndAllowThreads(__tstate
);
26948 if (PyErr_Occurred()) SWIG_fail
;
26950 Py_INCREF(Py_None
); resultobj
= Py_None
;
26957 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
26959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26960 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
26962 return Py_BuildValue((char *)"");
26964 static int _wrap_TheClipboard_set(PyObject
*_val
) {
26965 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
26970 static PyObject
*_wrap_TheClipboard_get() {
26973 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
26978 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26979 PyObject
*resultobj
;
26980 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
26981 wxClipboardLocker
*result
;
26982 PyObject
* obj0
= 0 ;
26983 char *kwnames
[] = {
26984 (char *) "clipboard", NULL
26987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
26989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26994 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
26996 wxPyEndAllowThreads(__tstate
);
26997 if (PyErr_Occurred()) SWIG_fail
;
26999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27006 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27007 PyObject
*resultobj
;
27008 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27009 PyObject
* obj0
= 0 ;
27010 char *kwnames
[] = {
27011 (char *) "self", NULL
27014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27021 wxPyEndAllowThreads(__tstate
);
27022 if (PyErr_Occurred()) SWIG_fail
;
27024 Py_INCREF(Py_None
); resultobj
= Py_None
;
27031 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27032 PyObject
*resultobj
;
27033 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27035 PyObject
* obj0
= 0 ;
27036 char *kwnames
[] = {
27037 (char *) "self", NULL
27040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27045 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27047 wxPyEndAllowThreads(__tstate
);
27048 if (PyErr_Occurred()) SWIG_fail
;
27051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27059 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27062 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27064 return Py_BuildValue((char *)"");
27066 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27067 PyObject
*resultobj
;
27068 int arg1
= (int) 0 ;
27069 int arg2
= (int) 0 ;
27070 int arg3
= (int) 0 ;
27071 int arg4
= (int) 0 ;
27072 wxVideoMode
*result
;
27073 PyObject
* obj0
= 0 ;
27074 PyObject
* obj1
= 0 ;
27075 PyObject
* obj2
= 0 ;
27076 PyObject
* obj3
= 0 ;
27077 char *kwnames
[] = {
27078 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27083 arg1
= (int) SWIG_AsInt(obj0
);
27084 if (PyErr_Occurred()) SWIG_fail
;
27087 arg2
= (int) SWIG_AsInt(obj1
);
27088 if (PyErr_Occurred()) SWIG_fail
;
27091 arg3
= (int) SWIG_AsInt(obj2
);
27092 if (PyErr_Occurred()) SWIG_fail
;
27095 arg4
= (int) SWIG_AsInt(obj3
);
27096 if (PyErr_Occurred()) SWIG_fail
;
27099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27100 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27102 wxPyEndAllowThreads(__tstate
);
27103 if (PyErr_Occurred()) SWIG_fail
;
27105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27112 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27113 PyObject
*resultobj
;
27114 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27115 PyObject
* obj0
= 0 ;
27116 char *kwnames
[] = {
27117 (char *) "self", NULL
27120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27127 wxPyEndAllowThreads(__tstate
);
27128 if (PyErr_Occurred()) SWIG_fail
;
27130 Py_INCREF(Py_None
); resultobj
= Py_None
;
27137 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27138 PyObject
*resultobj
;
27139 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27140 wxVideoMode
*arg2
= 0 ;
27142 PyObject
* obj0
= 0 ;
27143 PyObject
* obj1
= 0 ;
27144 char *kwnames
[] = {
27145 (char *) "self",(char *) "other", NULL
27148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27152 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27154 if (arg2
== NULL
) {
27155 PyErr_SetString(PyExc_TypeError
,"null reference");
27159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27160 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27162 wxPyEndAllowThreads(__tstate
);
27163 if (PyErr_Occurred()) SWIG_fail
;
27166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27174 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27175 PyObject
*resultobj
;
27176 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27178 PyObject
* obj0
= 0 ;
27179 char *kwnames
[] = {
27180 (char *) "self", NULL
27183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27188 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27190 wxPyEndAllowThreads(__tstate
);
27191 if (PyErr_Occurred()) SWIG_fail
;
27193 resultobj
= SWIG_FromInt((int)result
);
27200 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27201 PyObject
*resultobj
;
27202 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27204 PyObject
* obj0
= 0 ;
27205 char *kwnames
[] = {
27206 (char *) "self", NULL
27209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27214 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27216 wxPyEndAllowThreads(__tstate
);
27217 if (PyErr_Occurred()) SWIG_fail
;
27219 resultobj
= SWIG_FromInt((int)result
);
27226 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27227 PyObject
*resultobj
;
27228 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27230 PyObject
* obj0
= 0 ;
27231 char *kwnames
[] = {
27232 (char *) "self", NULL
27235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27240 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27242 wxPyEndAllowThreads(__tstate
);
27243 if (PyErr_Occurred()) SWIG_fail
;
27245 resultobj
= SWIG_FromInt((int)result
);
27252 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27253 PyObject
*resultobj
;
27254 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27256 PyObject
* obj0
= 0 ;
27257 char *kwnames
[] = {
27258 (char *) "self", NULL
27261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27266 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27268 wxPyEndAllowThreads(__tstate
);
27269 if (PyErr_Occurred()) SWIG_fail
;
27272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27280 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27281 PyObject
*resultobj
;
27282 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27283 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27285 PyObject
* obj0
= 0 ;
27286 PyObject
* obj1
= 0 ;
27287 char *kwnames
[] = {
27288 (char *) "self",(char *) "other", NULL
27291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27294 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27298 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27300 wxPyEndAllowThreads(__tstate
);
27301 if (PyErr_Occurred()) SWIG_fail
;
27304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27312 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27313 PyObject
*resultobj
;
27314 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27315 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27317 PyObject
* obj0
= 0 ;
27318 PyObject
* obj1
= 0 ;
27319 char *kwnames
[] = {
27320 (char *) "self",(char *) "other", NULL
27323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27330 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27332 wxPyEndAllowThreads(__tstate
);
27333 if (PyErr_Occurred()) SWIG_fail
;
27336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27344 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27345 PyObject
*resultobj
;
27346 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27348 PyObject
* obj0
= 0 ;
27349 PyObject
* obj1
= 0 ;
27350 char *kwnames
[] = {
27351 (char *) "self",(char *) "w", NULL
27354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27357 arg2
= (int) SWIG_AsInt(obj1
);
27358 if (PyErr_Occurred()) SWIG_fail
;
27359 if (arg1
) (arg1
)->w
= arg2
;
27361 Py_INCREF(Py_None
); resultobj
= Py_None
;
27368 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27369 PyObject
*resultobj
;
27370 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27372 PyObject
* obj0
= 0 ;
27373 char *kwnames
[] = {
27374 (char *) "self", NULL
27377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27380 result
= (int) ((arg1
)->w
);
27382 resultobj
= SWIG_FromInt((int)result
);
27389 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27390 PyObject
*resultobj
;
27391 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27393 PyObject
* obj0
= 0 ;
27394 PyObject
* obj1
= 0 ;
27395 char *kwnames
[] = {
27396 (char *) "self",(char *) "h", NULL
27399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27402 arg2
= (int) SWIG_AsInt(obj1
);
27403 if (PyErr_Occurred()) SWIG_fail
;
27404 if (arg1
) (arg1
)->h
= arg2
;
27406 Py_INCREF(Py_None
); resultobj
= Py_None
;
27413 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27414 PyObject
*resultobj
;
27415 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27417 PyObject
* obj0
= 0 ;
27418 char *kwnames
[] = {
27419 (char *) "self", NULL
27422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27425 result
= (int) ((arg1
)->h
);
27427 resultobj
= SWIG_FromInt((int)result
);
27434 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27435 PyObject
*resultobj
;
27436 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27438 PyObject
* obj0
= 0 ;
27439 PyObject
* obj1
= 0 ;
27440 char *kwnames
[] = {
27441 (char *) "self",(char *) "bpp", NULL
27444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27447 arg2
= (int) SWIG_AsInt(obj1
);
27448 if (PyErr_Occurred()) SWIG_fail
;
27449 if (arg1
) (arg1
)->bpp
= arg2
;
27451 Py_INCREF(Py_None
); resultobj
= Py_None
;
27458 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27459 PyObject
*resultobj
;
27460 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27462 PyObject
* obj0
= 0 ;
27463 char *kwnames
[] = {
27464 (char *) "self", NULL
27467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27470 result
= (int) ((arg1
)->bpp
);
27472 resultobj
= SWIG_FromInt((int)result
);
27479 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27480 PyObject
*resultobj
;
27481 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27483 PyObject
* obj0
= 0 ;
27484 PyObject
* obj1
= 0 ;
27485 char *kwnames
[] = {
27486 (char *) "self",(char *) "refresh", NULL
27489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27492 arg2
= (int) SWIG_AsInt(obj1
);
27493 if (PyErr_Occurred()) SWIG_fail
;
27494 if (arg1
) (arg1
)->refresh
= arg2
;
27496 Py_INCREF(Py_None
); resultobj
= Py_None
;
27503 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27504 PyObject
*resultobj
;
27505 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27507 PyObject
* obj0
= 0 ;
27508 char *kwnames
[] = {
27509 (char *) "self", NULL
27512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27515 result
= (int) ((arg1
)->refresh
);
27517 resultobj
= SWIG_FromInt((int)result
);
27524 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27527 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27529 return Py_BuildValue((char *)"");
27531 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27532 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27537 static PyObject
*_wrap_DefaultVideoMode_get() {
27540 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27545 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27546 PyObject
*resultobj
;
27547 size_t arg1
= (size_t) 0 ;
27549 PyObject
* obj0
= 0 ;
27550 char *kwnames
[] = {
27551 (char *) "index", NULL
27554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27556 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27557 if (PyErr_Occurred()) SWIG_fail
;
27560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27561 result
= (wxDisplay
*)new wxDisplay(arg1
);
27563 wxPyEndAllowThreads(__tstate
);
27564 if (PyErr_Occurred()) SWIG_fail
;
27566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27573 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27574 PyObject
*resultobj
;
27575 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27576 PyObject
* obj0
= 0 ;
27577 char *kwnames
[] = {
27578 (char *) "self", NULL
27581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27588 wxPyEndAllowThreads(__tstate
);
27589 if (PyErr_Occurred()) SWIG_fail
;
27591 Py_INCREF(Py_None
); resultobj
= Py_None
;
27598 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27599 PyObject
*resultobj
;
27601 char *kwnames
[] = {
27605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27608 result
= (size_t)wxDisplay::GetCount();
27610 wxPyEndAllowThreads(__tstate
);
27611 if (PyErr_Occurred()) SWIG_fail
;
27613 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27620 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27621 PyObject
*resultobj
;
27622 wxPoint
*arg1
= 0 ;
27625 PyObject
* obj0
= 0 ;
27626 char *kwnames
[] = {
27627 (char *) "pt", NULL
27630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27633 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27637 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27639 wxPyEndAllowThreads(__tstate
);
27640 if (PyErr_Occurred()) SWIG_fail
;
27642 resultobj
= SWIG_FromInt((int)result
);
27649 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27650 PyObject
*resultobj
;
27651 wxWindow
*arg1
= (wxWindow
*) 0 ;
27653 PyObject
* obj0
= 0 ;
27654 char *kwnames
[] = {
27655 (char *) "window", NULL
27658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27663 result
= (int)Display_GetFromWindow(arg1
);
27665 wxPyEndAllowThreads(__tstate
);
27666 if (PyErr_Occurred()) SWIG_fail
;
27668 resultobj
= SWIG_FromInt((int)result
);
27675 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27676 PyObject
*resultobj
;
27677 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27679 PyObject
* obj0
= 0 ;
27680 char *kwnames
[] = {
27681 (char *) "self", NULL
27684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27689 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27691 wxPyEndAllowThreads(__tstate
);
27692 if (PyErr_Occurred()) SWIG_fail
;
27695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27703 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27704 PyObject
*resultobj
;
27705 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27707 PyObject
* obj0
= 0 ;
27708 char *kwnames
[] = {
27709 (char *) "self", NULL
27712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
27713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27717 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
27719 wxPyEndAllowThreads(__tstate
);
27720 if (PyErr_Occurred()) SWIG_fail
;
27723 wxRect
* resultptr
;
27724 resultptr
= new wxRect((wxRect
&) result
);
27725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
27733 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27734 PyObject
*resultobj
;
27735 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27737 PyObject
* obj0
= 0 ;
27738 char *kwnames
[] = {
27739 (char *) "self", NULL
27742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
27743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27747 result
= ((wxDisplay
const *)arg1
)->GetName();
27749 wxPyEndAllowThreads(__tstate
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27754 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27756 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27765 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27766 PyObject
*resultobj
;
27767 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27769 PyObject
* obj0
= 0 ;
27770 char *kwnames
[] = {
27771 (char *) "self", NULL
27774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
27775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27779 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
27781 wxPyEndAllowThreads(__tstate
);
27782 if (PyErr_Occurred()) SWIG_fail
;
27785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27793 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27794 PyObject
*resultobj
;
27795 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27796 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27797 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27799 PyObject
* obj0
= 0 ;
27800 PyObject
* obj1
= 0 ;
27801 char *kwnames
[] = {
27802 (char *) "self",(char *) "mode", NULL
27805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
27806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27810 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27812 if (arg2
== NULL
) {
27813 PyErr_SetString(PyExc_TypeError
,"null reference");
27818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27819 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
27821 wxPyEndAllowThreads(__tstate
);
27822 if (PyErr_Occurred()) SWIG_fail
;
27824 resultobj
= result
;
27831 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27832 PyObject
*resultobj
;
27833 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27834 wxVideoMode result
;
27835 PyObject
* obj0
= 0 ;
27836 char *kwnames
[] = {
27837 (char *) "self", NULL
27840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
27841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27845 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
27847 wxPyEndAllowThreads(__tstate
);
27848 if (PyErr_Occurred()) SWIG_fail
;
27851 wxVideoMode
* resultptr
;
27852 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
27853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
27861 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27862 PyObject
*resultobj
;
27863 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27864 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27865 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27867 PyObject
* obj0
= 0 ;
27868 PyObject
* obj1
= 0 ;
27869 char *kwnames
[] = {
27870 (char *) "self",(char *) "mode", NULL
27873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
27874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27878 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27880 if (arg2
== NULL
) {
27881 PyErr_SetString(PyExc_TypeError
,"null reference");
27886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27887 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
27889 wxPyEndAllowThreads(__tstate
);
27890 if (PyErr_Occurred()) SWIG_fail
;
27893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27901 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27902 PyObject
*resultobj
;
27903 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27904 PyObject
* obj0
= 0 ;
27905 char *kwnames
[] = {
27906 (char *) "self", NULL
27909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
27910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27914 (arg1
)->ResetMode();
27916 wxPyEndAllowThreads(__tstate
);
27917 if (PyErr_Occurred()) SWIG_fail
;
27919 Py_INCREF(Py_None
); resultobj
= Py_None
;
27926 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
27928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27929 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
27931 return Py_BuildValue((char *)"");
27933 static PyMethodDef SwigMethods
[] = {
27934 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
27935 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
27936 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
27937 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
27938 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
27939 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
27940 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
27941 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
27942 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
27943 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
27944 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
27945 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
27946 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
27947 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
27948 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
27949 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
27950 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
27951 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
27952 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
27953 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
27954 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
27955 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
27956 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
27957 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
27958 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
27959 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
27960 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
27961 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
27962 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
27963 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
27964 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
27965 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
27966 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
27967 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
27968 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
27969 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
27970 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
27971 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
27972 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
27973 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
27974 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
27975 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
27976 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
27977 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
27978 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
27979 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
27980 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
27981 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
27982 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
27983 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
27984 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
27985 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
27986 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
27987 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
27988 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
27989 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
27990 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
27991 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
27992 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
27993 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
27994 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
27995 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
27996 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
27997 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
27998 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
27999 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28000 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28001 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28002 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28003 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28004 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28005 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28006 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28007 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28008 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28009 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28010 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28011 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28012 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28013 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28014 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28015 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28016 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28017 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28018 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28019 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28020 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28021 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28022 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28023 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28024 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28025 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28026 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28027 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28028 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28029 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28030 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28031 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28032 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28033 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28034 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28035 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28036 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28037 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28038 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28039 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28040 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28041 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28042 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28043 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28044 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28045 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28046 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28047 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28048 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28049 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28050 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28051 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28052 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28053 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28054 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28055 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28056 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28057 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28058 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28059 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28060 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28061 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28062 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28063 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28064 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28065 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28066 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28067 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28068 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28069 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28070 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28071 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28072 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28073 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28074 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28075 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28076 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28077 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28078 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28079 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28080 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28081 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28082 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28083 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28084 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28085 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28086 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28087 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28088 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28089 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28090 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28091 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28092 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28093 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28094 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28095 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28096 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28097 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28098 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28099 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28100 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28101 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28102 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28103 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28104 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28105 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28106 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28107 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28108 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28109 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28110 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28111 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28112 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28113 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28114 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28115 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28116 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28117 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28118 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28119 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28120 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28121 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28122 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28123 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28124 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28125 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28126 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28127 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28128 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28129 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28130 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28131 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28132 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28133 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28134 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28135 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28136 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28137 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28138 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28139 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28140 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28141 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28142 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28143 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28144 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28145 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28146 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28147 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28148 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28149 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28150 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28151 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28152 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28153 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28154 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28155 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28156 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28157 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28158 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28159 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28160 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28161 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28162 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28163 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28164 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28165 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28166 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28167 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28168 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28169 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28170 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28171 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28172 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28173 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28174 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28175 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28176 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28177 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28178 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28179 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28180 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28181 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28182 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28183 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28184 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28185 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28186 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28187 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28188 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28189 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28190 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28191 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28192 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28193 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28194 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28195 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28196 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28197 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28198 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28199 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28200 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28201 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28202 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28203 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28204 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28205 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28206 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28207 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28208 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28209 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28210 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28211 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28212 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28213 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28214 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28215 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28216 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28217 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28218 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28219 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28220 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28221 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28222 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28223 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28224 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28225 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28226 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28227 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28228 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28229 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28230 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28231 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28232 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28233 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28234 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28235 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28236 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28237 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28238 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28239 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28240 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28241 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28242 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28243 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28244 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28245 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28246 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28247 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28248 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28249 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28250 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28251 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28252 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28253 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28254 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28255 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28256 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28257 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28258 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28259 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28260 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28261 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28262 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28263 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28264 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28265 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
},
28266 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28267 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
},
28268 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
},
28269 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28270 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
},
28271 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
},
28272 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28273 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28274 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28275 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28276 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28277 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28278 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28279 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28280 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28281 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28283 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28284 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28285 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28286 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28287 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28289 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28290 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28291 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28292 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28293 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28294 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28295 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28296 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28297 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28298 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28299 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28300 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28301 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28305 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28306 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28309 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28310 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28315 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28317 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28320 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28321 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28323 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28324 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28326 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28328 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28329 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28330 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28332 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28334 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28337 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28339 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28341 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28342 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28344 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28345 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28346 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28347 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28349 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28351 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28352 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28354 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28355 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28356 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28357 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28372 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28375 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28378 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28382 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28385 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28387 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28389 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28397 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28398 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28399 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28400 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28402 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28403 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28405 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28411 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28422 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28428 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28438 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28454 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28458 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28460 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28464 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28468 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28474 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28475 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28476 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28477 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28478 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28479 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28480 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28481 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28482 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28483 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28494 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28507 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28513 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28522 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28525 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28526 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28529 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28532 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28539 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28557 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28558 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28559 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28565 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28573 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28577 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28581 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28582 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28587 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28596 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28600 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28603 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28605 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28606 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28608 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28609 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28611 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28612 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28613 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28614 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28618 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28621 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28622 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28623 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28624 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28625 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28626 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
28627 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28628 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28629 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28630 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28631 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28632 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28633 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28635 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28637 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28638 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28642 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28645 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28647 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28656 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28657 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
28658 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28662 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28663 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28664 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
28666 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28670 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
28674 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28676 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
28678 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
28679 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
28680 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28681 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28682 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28683 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
28684 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28685 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
28686 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
28687 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28688 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28689 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
28691 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28693 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
28697 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28698 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
28701 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
28707 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
28709 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
28711 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
28713 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
28714 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
28717 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
28718 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
28719 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
28721 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
28727 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28729 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28730 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28732 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28733 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28735 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28736 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28738 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28739 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28741 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28742 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28744 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28745 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28747 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
28748 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
28750 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28751 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28753 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28754 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28756 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28757 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28759 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28760 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28762 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
28763 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
28765 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28766 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28768 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28769 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28771 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28772 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28774 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28775 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28777 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28778 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28780 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28781 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28783 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28784 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28786 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28787 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28789 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28790 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28792 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28793 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28795 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28796 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28798 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28799 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28801 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28802 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28804 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28805 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28807 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28808 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28810 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28811 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28813 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28814 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28816 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28817 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28819 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
28820 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
28822 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28823 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28825 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28826 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28828 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28829 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28831 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28832 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28834 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28835 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28837 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28838 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28840 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28841 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28843 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
28844 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
28846 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
28847 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
28849 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
28850 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28852 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
28853 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28855 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
28856 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
28858 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
28859 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28861 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
28862 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
28864 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
28865 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
28867 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
28868 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28870 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
28871 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
28873 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
28874 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28876 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
28877 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
28879 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
28880 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
28882 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
28883 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
28885 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
28886 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
28888 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
28889 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
28891 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
28892 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28894 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
28895 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
28897 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
28898 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28900 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
28901 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
28903 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
28904 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28906 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
28907 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
28909 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
28910 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
28912 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
28913 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
28915 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28916 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28918 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28919 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28921 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28922 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28924 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28925 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28927 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
28928 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
28930 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28931 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28933 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28934 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28936 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28937 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28939 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28940 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28942 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
28943 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
28945 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
28946 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
28948 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28949 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28951 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28952 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28954 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28955 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28957 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28958 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28960 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28961 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28963 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28964 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28966 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28967 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28969 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28970 return (void *)((wxObject
*) ((wxSizer
*) x
));
28972 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28973 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28975 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
28976 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
28978 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28979 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28981 static void *_p_wxEventTo_p_wxObject(void *x
) {
28982 return (void *)((wxObject
*) ((wxEvent
*) x
));
28984 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28985 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28987 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28988 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28990 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28991 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28993 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28994 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28996 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28997 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28999 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29000 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29002 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29003 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29005 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29006 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29008 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29009 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29011 static void *_p_wxControlTo_p_wxObject(void *x
) {
29012 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29014 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29015 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29017 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29018 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29020 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29021 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29023 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29024 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29026 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29027 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29029 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29030 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29032 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29033 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29035 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29036 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29038 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29039 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29041 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29042 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29044 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29045 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29047 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29048 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29050 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29051 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29053 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29054 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29056 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29057 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29059 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29060 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29062 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29063 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29065 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29066 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29068 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29069 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29071 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29072 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29074 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29075 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29077 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29078 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29080 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29081 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29083 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29084 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29086 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29087 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29089 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29090 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29092 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29093 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29095 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29096 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29098 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29099 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29101 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29102 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29104 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29105 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29107 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29108 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29110 static void *_p_wxImageTo_p_wxObject(void *x
) {
29111 return (void *)((wxObject
*) ((wxImage
*) x
));
29113 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29114 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29116 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29117 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29119 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29120 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29122 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29123 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29125 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29126 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29128 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29129 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29131 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29132 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29134 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29135 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29137 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29138 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29140 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29141 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29143 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29144 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29146 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29147 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29149 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29150 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29152 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29153 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29155 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29156 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29158 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29159 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29161 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29162 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29164 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29165 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29167 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29168 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29170 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29171 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29173 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29174 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29176 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29177 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29179 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29180 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29182 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29183 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29185 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29186 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29188 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29189 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29191 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29192 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29194 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29195 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29197 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29198 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29200 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29201 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29203 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29204 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29206 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29207 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29209 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29210 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29212 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29213 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29215 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29216 return (void *)((wxWindow
*) ((wxControl
*) x
));
29218 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29219 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29221 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29222 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29224 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29225 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29227 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29228 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29230 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}};
29231 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}};
29232 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}};
29233 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}};
29234 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}};
29235 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}};
29236 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}};
29237 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}};
29238 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}};
29239 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}};
29240 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}};
29241 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}};
29242 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}};
29243 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}};
29244 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}};
29245 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}};
29246 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}};
29247 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}};
29248 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}};
29249 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}};
29250 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}};
29251 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}};
29252 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}};
29253 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}};
29254 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}};
29255 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}};
29256 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}};
29257 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}};
29258 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}};
29259 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}};
29260 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}};
29261 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}};
29262 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}};
29263 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}};
29264 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}};
29265 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}};
29266 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}};
29267 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}};
29268 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}};
29269 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}};
29270 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}};
29271 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}};
29272 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}};
29273 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}};
29274 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}};
29275 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}};
29276 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}};
29277 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}};
29278 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}};
29279 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}};
29280 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}};
29281 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}};
29282 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}};
29283 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}};
29284 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}};
29285 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}};
29286 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}};
29287 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}};
29288 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}};
29289 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}};
29290 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}};
29291 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}};
29292 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}};
29293 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}};
29294 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}};
29295 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}};
29296 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}};
29297 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}};
29298 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}};
29299 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}};
29300 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}};
29301 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}};
29302 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}};
29303 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}};
29304 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}};
29305 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}};
29306 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}};
29307 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}};
29308 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}};
29309 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}};
29310 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}};
29311 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}};
29312 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}};
29313 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}};
29314 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}};
29316 static swig_type_info
*swig_types_initial
[] = {
29317 _swigt__p_wxLogChain
,
29318 _swigt__p_wxMutexGuiLocker
,
29319 _swigt__p_wxFileHistory
,
29321 _swigt__p_wxDateTime__TimeZone
,
29324 _swigt__p_wxConfigBase
,
29325 _swigt__p_wxDisplay
,
29326 _swigt__p_wxFileType
,
29327 _swigt__p_wxLogGui
,
29329 _swigt__p_wxDataFormat
,
29330 _swigt__p_wxTimerEvent
,
29334 _swigt__p_wxClipboard
,
29335 _swigt__p_wxStopWatch
,
29337 _swigt__p_wxClipboardLocker
,
29339 _swigt__p_wxLogStderr
,
29340 _swigt__p_wxLogTextCtrl
,
29341 _swigt__p_wxTextCtrl
,
29342 _swigt__p_wxBusyCursor
,
29343 _swigt__p_wxPyBitmapDataObject
,
29344 _swigt__p_wxPyTextDataObject
,
29345 _swigt__p_wxBitmapDataObject
,
29346 _swigt__p_wxTextDataObject
,
29347 _swigt__p_wxDataObject
,
29348 _swigt__p_wxFileDataObject
,
29349 _swigt__p_wxCustomDataObject
,
29350 _swigt__p_wxURLDataObject
,
29351 _swigt__p_wxMetafileDataObject
,
29353 _swigt__p_wxTimerRunner
,
29354 _swigt__p_wxLogWindow
,
29355 _swigt__p_wxTimeSpan
,
29356 _swigt__p_wxArrayString
,
29357 _swigt__p_wxWindowDisabler
,
29358 _swigt__p_wxToolTip
,
29359 _swigt__p_wxDataObjectComposite
,
29360 _swigt__p_wxFileConfig
,
29361 _swigt__p_wxSystemSettings
,
29362 _swigt__p_wxVideoMode
,
29363 _swigt__p_wxPyDataObjectSimple
,
29364 _swigt__p_wxDataObjectSimple
,
29365 _swigt__p_wxEvtHandler
,
29368 _swigt__p_wxSingleInstanceChecker
,
29369 _swigt__p_wxFileTypeInfo
,
29372 _swigt__p_wxMimeTypesManager
,
29373 _swigt__p_wxPyArtProvider
,
29374 _swigt__p_wxPyTipProvider
,
29375 _swigt__p_wxTipProvider
,
29376 _swigt__p_wxJoystick
,
29377 _swigt__p_wxSystemOptions
,
29379 _swigt__p_wxJoystickEvent
,
29380 _swigt__p_wxCursor
,
29381 _swigt__p_wxObject
,
29382 _swigt__p_wxOutputStream
,
29383 _swigt__p_wxDateTime
,
29384 _swigt__p_wxPyDropSource
,
29385 _swigt__p_wxWindow
,
29386 _swigt__p_wxString
,
29387 _swigt__p_wxPyProcess
,
29388 _swigt__p_wxBitmap
,
29389 _swigt__p_wxConfig
,
29391 _swigt__p_wxBusyInfo
,
29392 _swigt__p_wxPyDropTarget
,
29393 _swigt__p_wxPyTextDropTarget
,
29394 _swigt__p_wxPyFileDropTarget
,
29395 _swigt__p_wxProcessEvent
,
29397 _swigt__p_wxLogNull
,
29398 _swigt__p_wxColour
,
29399 _swigt__p_wxConfigPathChanger
,
29400 _swigt__p_wxPyTimer
,
29401 _swigt__p_wxDateSpan
,
29406 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29408 static swig_const_info swig_const_table
[] = {
29409 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29410 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29411 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29412 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29413 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29423 SWIGEXPORT(void) SWIG_init(void) {
29424 static PyObject
*SWIG_globals
= 0;
29425 static int typeinit
= 0;
29428 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29429 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29430 d
= PyModule_GetDict(m
);
29433 for (i
= 0; swig_types_initial
[i
]; i
++) {
29434 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29438 SWIG_InstallConstants(d
,swig_const_table
);
29440 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29441 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29442 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29443 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29444 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29445 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29446 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29447 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29448 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29449 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29450 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29451 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29452 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29453 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29454 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29455 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29456 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29457 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29458 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29459 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29460 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29461 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29462 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29463 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29464 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29465 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29466 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29467 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29468 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29469 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29470 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29471 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29472 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29473 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29474 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29475 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29476 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29477 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29478 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29479 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29480 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29481 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29482 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29483 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29484 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29485 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29486 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29487 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29488 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29489 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29490 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29491 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29492 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29493 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29494 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29495 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29496 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29497 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29498 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29499 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29500 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29501 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29502 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29503 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29504 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29505 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29506 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29507 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29508 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29509 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29510 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29511 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29512 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29513 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29514 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29515 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29516 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29517 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29518 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29519 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29520 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29521 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29522 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29523 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29524 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29525 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29526 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29527 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29528 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29529 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29530 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29531 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29532 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29533 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29534 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29535 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29536 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29537 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29538 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29539 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29540 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29541 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29542 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29543 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29544 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29545 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29546 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29547 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29548 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29549 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29550 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29551 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29552 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29553 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29554 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29555 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29556 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29557 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29558 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29559 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29560 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29561 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29562 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29563 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29564 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29565 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29566 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29567 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29568 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29569 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29570 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29571 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29572 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29573 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29574 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29575 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29576 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29577 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29578 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29579 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29580 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29581 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29582 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29583 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29584 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29585 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29586 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29587 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29588 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29589 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29591 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29593 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29594 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29595 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29596 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29597 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29598 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29599 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29600 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29601 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29602 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29603 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29604 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29605 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29606 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29607 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29608 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29609 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29610 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29611 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29612 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29613 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29614 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29615 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29616 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29617 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29618 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29619 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29620 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29621 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29622 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29623 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29624 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29625 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29626 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29627 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29628 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29629 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29630 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29631 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29632 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29633 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29634 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29635 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29636 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29637 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29638 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29639 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29640 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29641 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29642 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29643 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29644 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29645 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29646 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29647 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29648 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29649 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29650 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29652 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29654 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29655 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29656 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29657 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29658 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29659 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29660 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29661 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29662 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29663 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29664 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29665 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29666 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29667 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29668 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29669 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29670 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29671 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29672 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29673 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29674 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29675 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29676 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29677 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29678 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29679 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29680 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29681 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29682 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29683 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29684 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29685 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29686 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29687 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
29688 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
29689 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
29690 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
29691 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
29692 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
29693 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
29694 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
29695 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
29696 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
29697 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
29698 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
29699 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
29700 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
29701 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
29702 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
29703 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
29704 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
29705 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
29706 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
29707 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
29708 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
29709 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
29710 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
29711 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
29712 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
29713 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
29714 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
29715 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
29716 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
29717 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
29718 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
29719 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
29720 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
29721 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
29722 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
29723 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
29724 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
29725 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
29726 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
29727 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
29728 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
29729 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
29730 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
29731 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
29732 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
29733 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
29734 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
29735 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
29736 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
29737 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
29738 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
29739 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
29740 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
29741 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
29742 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
29743 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
29744 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
29745 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
29746 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
29747 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
29748 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
29749 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
29750 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
29751 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
29752 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
29753 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
29754 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
29755 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
29756 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
29757 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
29758 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
29759 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
29760 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
29761 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
29762 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
29763 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
29764 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
29765 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
29766 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
29767 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
29768 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
29769 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
29770 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
29771 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
29772 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
29773 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
29774 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
29775 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
29776 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
29777 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
29778 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
29779 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
29780 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
29781 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
29782 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
29783 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
29784 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
29785 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
29786 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
29787 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
29788 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
29789 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
29790 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
29791 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
29792 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
29793 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
29794 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
29795 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
29796 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
29797 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
29798 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
29799 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
29800 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
29801 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
29802 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
29803 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
29804 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
29805 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
29806 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
29807 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
29808 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
29809 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
29810 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
29811 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
29812 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
29813 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
29814 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
29815 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
29816 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
29817 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
29818 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
29819 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
29820 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
29821 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
29822 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
29823 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
29824 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
29825 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
29826 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
29827 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
29828 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
29829 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
29830 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
29831 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
29832 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
29833 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
29834 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
29835 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
29836 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
29837 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
29838 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
29839 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
29840 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
29841 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
29842 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
29843 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
29844 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
29845 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
29846 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
29847 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
29848 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
29849 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
29850 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
29851 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
29852 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
29853 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
29855 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
29856 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
29857 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
29858 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
29860 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);
29861 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);