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_wxPyTextDataObject swig_types[26]
236 #define SWIGTYPE_p_wxBitmapDataObject swig_types[27]
237 #define SWIGTYPE_p_wxTextDataObject swig_types[28]
238 #define SWIGTYPE_p_wxDataObject swig_types[29]
239 #define SWIGTYPE_p_wxPyBitmapDataObject 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_wxByte swig_types[82]
292 #define SWIGTYPE_p_wxConfigPathChanger swig_types[83]
293 #define SWIGTYPE_p_wxPyTimer swig_types[84]
294 #define SWIGTYPE_p_wxDateSpan swig_types[85]
295 static swig_type_info
*swig_types
[87];
297 /* -------- TYPES TABLE (END) -------- */
300 /*-----------------------------------------------
302 ------------------------------------------------*/
303 #define SWIG_init init_misc
305 #define SWIG_name "_misc"
307 /* Auxiliar swig macros */
310 #define SWIGSTATICINLINE(a) static inline a
311 #define SWIGSTATIC(a) static a
312 #define swig_new_array(type, size) (new type[(size)])
313 #define swig_delete_array(cptr) delete[] cptr
314 #define swig_const_cast(type,a) const_cast<type>(a)
315 #define swig_static_cast(type,a) static_cast<type>(a)
316 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
318 #ifdef HAVE_NUMERIC_CAST
319 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
321 #define swig_numeric_cast(type,a) static_cast<type>(a)
326 #define SWIGSTATICINLINE(a) static a
327 #define SWIGSTATIC(a) static a
328 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
329 #define swig_delete_array(cptr) free((char*)cptr)
330 #define swig_const_cast(type,a) (type)(a)
331 #define swig_static_cast(type,a) (type)(a)
332 #define swig_reinterpret_cast(type,a) (type)(a)
333 #define swig_numeric_cast(type,a) (type)(a)
335 #endif /* __cplusplus */
338 #define SWIG_FromSignedChar PyInt_FromLong
339 #define SWIG_FromUnsignedChar PyInt_FromLong
340 #define SWIG_FromShort PyInt_FromLong
341 #define SWIG_FromUnsignedShort PyInt_FromLong
342 #define SWIG_FromInt PyInt_FromLong
343 #define SWIG_FromLong PyInt_FromLong
344 #define SWIG_FromFloat PyFloat_FromDouble
345 #define SWIG_FromDouble PyFloat_FromDouble
346 #define SWIG_FromFloat PyFloat_FromDouble
347 #define SWIG_FromDouble PyFloat_FromDouble
350 #include "wx/wxPython/wxPython.h"
351 #include "wx/wxPython/pyclasses.h"
352 #include "wx/wxPython/pyistream.h"
355 static const wxString
wxPyEmptyString(wxEmptyString
);
362 SWIGSTATICINLINE(long)
363 SWIG_CheckLongInRange(long value
, const char* type
,
364 long min_value
, long max_value
)
366 if (!PyErr_Occurred()) {
367 if (value
< min_value
) {
369 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
370 value
, type
, min_value
);
372 PyErr_SetObject(PyExc_OverflowError
, err
);
374 } else if (value
> max_value
) {
376 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
377 value
, type
, max_value
);
378 PyErr_SetObject(PyExc_OverflowError
, err
);
386 SWIGSTATICINLINE(long)
387 SWIG_AsLong(PyObject
* obj
)
389 if (PyNumber_Check(obj
))
390 return PyInt_AsLong(obj
);
392 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
393 obj
->ob_type
->tp_name
);
394 PyErr_SetObject(PyExc_TypeError
, errmsg
);
401 #if INT_MAX != LONG_MAX
402 SWIGSTATICINLINE(int)
403 SWIG_AsInt(PyObject
*obj
)
405 return swig_numeric_cast(int,
406 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
407 "int", INT_MIN
, INT_MAX
));
410 #define SWIG_AsInt SWIG_AsLong
414 SWIGSTATICINLINE(int)
415 SWIG_CheckInt(PyObject
* obj
)
418 if (PyErr_Occurred()) {
426 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
427 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
428 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
430 SWIGSTATICINLINE(int)
431 SWIG_CheckLong(PyObject
* obj
)
434 if (PyErr_Occurred()) {
443 SWIGSTATICINLINE(bool)
444 SWIG_AsBool(PyObject
*obj
)
446 return PyObject_IsTrue(obj
) ? true : false;
450 SWIGSTATICINLINE(int)
451 SWIG_CheckBool(PyObject
* obj
)
454 if (PyErr_Occurred()) {
463 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
469 } else if (target
== Py_None
) {
473 if (!PyTuple_Check(target
)) {
475 target
= PyTuple_New(1);
476 PyTuple_SetItem(target
, 0, o2
);
479 PyTuple_SetItem(o3
, 0, o
);
482 target
= PySequence_Concat(o2
, o3
);
490 long wxGetFreeMemory()
491 { wxPyRaiseNotImplemented(); return 0; }
494 SWIGSTATICINLINE(unsigned long)
495 SWIG_AsUnsignedLong(PyObject
* obj
)
497 if (PyLong_Check(obj
)) {
498 return PyLong_AsUnsignedLong(obj
);
500 long i
= SWIG_AsLong(obj
);
501 if ( !PyErr_Occurred() && (i
< 0)) {
502 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
509 SWIGSTATICINLINE(int)
510 SWIG_CheckUnsignedLong(PyObject
* obj
)
512 SWIG_AsUnsignedLong(obj
);
513 if (PyErr_Occurred()) {
522 SWIGSTATICINLINE(PyObject
* )
523 SWIG_FromUnsignedLong(unsigned long value
)
525 return (value
> LONG_MAX
) ?
526 PyLong_FromUnsignedLong(value
)
527 : PyInt_FromLong(swig_numeric_cast(long,value
));
531 bool wxGetKeyState(wxKeyCode key
)
532 { wxPyRaiseNotImplemented(); return False
; }
535 void wxWakeUpMainThread() {}
538 bool wxThread_IsMain() {
539 #ifdef WXP_WITH_THREAD
540 return wxThread::IsMain();
547 int wxCaret_GetBlinkTime() {
548 return wxCaret::GetBlinkTime();
551 void wxCaret_SetBlinkTime(int milliseconds
) {
552 wxCaret::SetBlinkTime(milliseconds
);
556 #include <wx/snglinst.h>
560 #include <wx/msw/private.h>
561 #include <wx/dynload.h>
566 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
573 // This one only partially works. Appears to be an undocumented
574 // "standard" convention that not all widgets adhear to. For
575 // example, for some widgets backgrounds or non-client areas may
577 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
581 // This one works much better, except for on XP. On Win2k nearly
582 // all widgets and their children are captured correctly[**]. On
583 // XP with Themes activated most native widgets draw only
584 // partially, if at all. Without themes it works just like on
587 // ** For example the radio buttons in a wxRadioBox are not its
588 // children by default, but you can capture it via the panel
589 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
590 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
591 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
592 PRF_ERASEBKGND
| PRF_OWNED
);
596 // This one is only defined in the latest SDK and is only
597 // available on XP. MSDN says it is similar to sending WM_PRINT
598 // so I expect that it will work similar to the above. Since it
599 // is avaialble only on XP, it can't be compiled like this and
600 // will have to be loaded dynamically.
601 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
606 // Use PrintWindow if available, or fallback to WM_PRINT
607 // otherwise. Unfortunately using PrintWindow is even worse than
608 // WM_PRINT. For most native widgets nothing is drawn to the dc
609 // at all, with or without Themes.
610 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
611 static bool s_triedToLoad
= False
;
612 static PrintWindow_t pfnPrintWindow
= NULL
;
613 if ( !s_triedToLoad
)
616 s_triedToLoad
= True
;
617 wxDynamicLibrary
dllUser32(_T("user32.dll"));
618 if ( dllUser32
.IsLoaded() )
620 wxLogNull nolog
; // Don't report errors here
621 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
626 printf("Using PrintWindow\n");
627 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
631 printf("Using WM_PRINT\n");
632 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
633 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
641 #include <wx/tipdlg.h>
644 class wxPyTipProvider
: public wxTipProvider
{
646 wxPyTipProvider(size_t currentTip
)
647 : wxTipProvider(currentTip
) {}
649 DEC_PYCALLBACK_STRING__pure(GetTip
);
650 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
654 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
655 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
658 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
660 void wxPyTimer::Notify() {
662 bool blocked
= wxPyBeginBlockThreads();
663 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
664 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
665 wxPyEndBlockThreads(blocked
);
669 void wxPyTimer::base_Notify() {
675 SWIGSTATICINLINE(PyObject
*)
676 SWIG_FromCharPtr(const char* cptr
)
678 size_t size
= cptr
? strlen(cptr
) : 0;
680 if (size
> INT_MAX
) {
681 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
682 SWIG_TypeQuery("char *"), 0);
684 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
693 SWIGSTATICINLINE(unsigned long)
694 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
695 unsigned long max_value
)
697 if (!PyErr_Occurred()) {
698 if (value
> max_value
) {
700 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
701 value
, type
, max_value
);
702 PyErr_SetObject(PyExc_OverflowError
, err
);
710 #if UINT_MAX != ULONG_MAX
711 SWIGSTATICINLINE(unsigned int)
712 SWIG_AsUnsignedInt(PyObject
*obj
)
714 return swig_numeric_cast(unsigned int,
715 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
716 "unsigned int", UINT_MAX
));
719 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
723 SWIGSTATICINLINE(int)
724 SWIG_CheckUnsignedInt(PyObject
* obj
)
726 SWIG_AsUnsignedInt(obj
);
727 if (PyErr_Occurred()) {
735 wxString
Log_TimeStamp(){
737 wxLog::TimeStamp(&msg
);
740 void wxLog_Destroy(wxLog
*self
){ delete self
; }
742 // A wxLog class that can be derived from in wxPython
743 class wxPyLog
: public wxLog
{
745 wxPyLog() : wxLog() {}
747 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
749 bool blocked
= wxPyBeginBlockThreads();
750 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
751 PyObject
* s
= wx2PyString(szString
);
752 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
755 wxPyEndBlockThreads(blocked
);
757 wxLog::DoLog(level
, szString
, t
);
760 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
762 bool blocked
= wxPyBeginBlockThreads();
763 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
764 PyObject
* s
= wx2PyString(szString
);
765 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
768 wxPyEndBlockThreads(blocked
);
770 wxLog::DoLogString(szString
, t
);
779 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
782 #include <wx/joystick.h>
785 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
786 // A C++ stub class for wxJoystick for platforms that don't have it.
787 class wxJoystick
: public wxObject
{
789 wxJoystick(int joystick
= wxJOYSTICK1
) {
790 bool blocked
= wxPyBeginBlockThreads();
791 PyErr_SetString(PyExc_NotImplementedError
,
792 "wxJoystick is not available on this platform.");
793 wxPyEndBlockThreads(blocked
);
795 wxPoint
GetPosition() { return wxPoint(-1,-1); }
796 int GetZPosition() { return -1; }
797 int GetButtonState() { return -1; }
798 int GetPOVPosition() { return -1; }
799 int GetPOVCTSPosition() { return -1; }
800 int GetRudderPosition() { return -1; }
801 int GetUPosition() { return -1; }
802 int GetVPosition() { return -1; }
803 int GetMovementThreshold() { return -1; }
804 void SetMovementThreshold(int threshold
) {}
806 bool IsOk(void) { return False
; }
807 int GetNumberJoysticks() { return -1; }
808 int GetManufacturerId() { return -1; }
809 int GetProductId() { return -1; }
810 wxString
GetProductName() { return ""; }
811 int GetXMin() { return -1; }
812 int GetYMin() { return -1; }
813 int GetZMin() { return -1; }
814 int GetXMax() { return -1; }
815 int GetYMax() { return -1; }
816 int GetZMax() { return -1; }
817 int GetNumberButtons() { return -1; }
818 int GetNumberAxes() { return -1; }
819 int GetMaxButtons() { return -1; }
820 int GetMaxAxes() { return -1; }
821 int GetPollingMin() { return -1; }
822 int GetPollingMax() { return -1; }
823 int GetRudderMin() { return -1; }
824 int GetRudderMax() { return -1; }
825 int GetUMin() { return -1; }
826 int GetUMax() { return -1; }
827 int GetVMin() { return -1; }
828 int GetVMax() { return -1; }
830 bool HasRudder() { return False
; }
831 bool HasZ() { return False
; }
832 bool HasU() { return False
; }
833 bool HasV() { return False
; }
834 bool HasPOV() { return False
; }
835 bool HasPOV4Dir() { return False
; }
836 bool HasPOVCTS() { return False
; }
838 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
839 bool ReleaseCapture() { return False
; }
844 #include <wx/sound.h>
848 // A C++ stub class for wxWave for platforms that don't have it.
849 class wxSound
: public wxObject
853 bool blocked
= wxPyBeginBlockThreads();
854 PyErr_SetString(PyExc_NotImplementedError
,
855 "wxSound is not available on this platform.");
856 wxPyEndBlockThreads(blocked
);
858 wxSound(const wxString
&, bool) {
859 bool blocked
= wxPyBeginBlockThreads();
860 PyErr_SetString(PyExc_NotImplementedError
,
861 "wxSound is not available on this platform.");
862 wxPyEndBlockThreads(blocked
);
864 wxSound(int, const wxByte
*) {
865 bool blocked
= wxPyBeginBlockThreads();
866 PyErr_SetString(PyExc_NotImplementedError
,
867 "wxSound is not available on this platform.");
868 wxPyEndBlockThreads(blocked
);
873 bool Create(const wxString
&, bool) { return false; }
874 bool Create(int, const wxByte
*) { return false; };
875 bool IsOk() { return false; };
876 bool Play(unsigned) const { return false; }
877 static bool Play(const wxString
&, unsigned) { return false; }
878 static void Stop() {}
884 #include <wx/mimetype.h>
886 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
888 if (self
->GetMimeType(&str
))
889 return wx2PyString(str
);
893 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
895 if (self
->GetMimeTypes(arr
))
896 return wxArrayString2PyList_helper(arr
);
900 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
902 if (self
->GetExtensions(arr
))
903 return wxArrayString2PyList_helper(arr
);
907 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
909 if (self
->GetIcon(&loc
))
910 return new wxIcon(loc
);
914 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
916 if (self
->GetIcon(&loc
)) {
917 wxString iconFile
= loc
.GetFileName();
922 // Make a tuple and put the values in it
923 bool blocked
= wxPyBeginBlockThreads();
924 PyObject
* tuple
= PyTuple_New(3);
925 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
926 wxT("wxIcon"), True
));
927 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
928 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
929 wxPyEndBlockThreads(blocked
);
935 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
937 if (self
->GetDescription(&str
))
938 return wx2PyString(str
);
942 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
944 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
945 return wx2PyString(str
);
949 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
951 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
952 return wx2PyString(str
);
956 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
958 wxArrayString commands
;
959 if (self
->GetAllCommands(&verbs
, &commands
,
960 wxFileType::MessageParameters(filename
, mimetype
))) {
961 bool blocked
= wxPyBeginBlockThreads();
962 PyObject
* tuple
= PyTuple_New(2);
963 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
964 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
965 wxPyEndBlockThreads(blocked
);
971 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
972 return wxFileType::ExpandCommand(command
,
973 wxFileType::MessageParameters(filename
, mimetype
));
975 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
977 self
->EnumAllFileTypes(arr
);
978 return wxArrayString2PyList_helper(arr
);
981 #include <wx/artprov.h>
983 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
984 static const wxString
wxPyART_MENU(wxART_MENU
);
985 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
986 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
987 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
988 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
989 static const wxString
wxPyART_OTHER(wxART_OTHER
);
990 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
991 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
992 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
993 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
994 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
995 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
996 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
997 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
998 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
999 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1000 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1001 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1002 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1003 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1004 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1005 static const wxString
wxPyART_HELP(wxART_HELP
);
1006 static const wxString
wxPyART_TIP(wxART_TIP
);
1007 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1008 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1009 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1010 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1011 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1012 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1013 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1014 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1015 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1016 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1017 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1018 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1019 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1020 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1021 // Python aware wxArtProvider
1022 class wxPyArtProvider
: public wxArtProvider
{
1025 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1026 const wxArtClient
& client
,
1027 const wxSize
& size
) {
1028 wxBitmap rval
= wxNullBitmap
;
1029 bool blocked
= wxPyBeginBlockThreads();
1030 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1031 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1035 s1
= wx2PyString(id
);
1036 s2
= wx2PyString(client
);
1037 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1042 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1047 wxPyEndBlockThreads(blocked
);
1054 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1058 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1059 PyObject
* ret
= PyTuple_New(3);
1061 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1062 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1063 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1068 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1073 cont
= self
->GetFirstGroup(value
, index
);
1074 return __EnumerationHelper(cont
, value
, index
);
1076 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1080 cont
= self
->GetNextGroup(value
, index
);
1081 return __EnumerationHelper(cont
, value
, index
);
1083 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1088 cont
= self
->GetFirstEntry(value
, index
);
1089 return __EnumerationHelper(cont
, value
, index
);
1091 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1095 cont
= self
->GetNextEntry(value
, index
);
1096 return __EnumerationHelper(cont
, value
, index
);
1098 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1100 self
->Read(key
, &rv
, defaultVal
);
1104 SWIGSTATICINLINE(double)
1105 SWIG_AsDouble(PyObject
*obj
)
1107 if (PyNumber_Check(obj
))
1108 return PyFloat_AsDouble(obj
);
1110 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1111 obj
->ob_type
->tp_name
);
1112 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1119 SWIGSTATICINLINE(int)
1120 SWIG_CheckDouble(PyObject
* obj
)
1123 if (PyErr_Occurred()) {
1131 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1133 self
->Read(key
, &rv
, defaultVal
);
1136 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1138 self
->Read(key
, &rv
, defaultVal
);
1142 #include <wx/datetime.h>
1145 static const wxString
wxPyDateFormatStr(wxT("%c"));
1146 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1148 #define LOCAL_TZ wxDateTime::Local
1151 #if UINT_MAX < LONG_MAX
1152 #define SWIG_FromUnsignedInt SWIG_FromLong
1154 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1157 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1158 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1159 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1160 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1161 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1162 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
< *other
) : False
; }
1163 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
<= *other
) : False
; }
1164 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
> *other
) : True
; }
1165 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
>= *other
) : True
; }
1166 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
== *other
) : False
; }
1167 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
!= *other
) : True
; }
1168 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1170 const wxChar
* _date
= date
;
1171 rv
= self
->ParseRfc822Date(_date
);
1172 if (rv
== NULL
) return -1;
1175 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1177 const wxChar
* _date
= date
;
1178 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1179 if (rv
== NULL
) return -1;
1182 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1184 const wxChar
* _datetime
= datetime
;
1185 rv
= self
->ParseDateTime(_datetime
);
1186 if (rv
== NULL
) return -1;
1187 return rv
- _datetime
;
1189 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1191 const wxChar
* _date
= date
;
1192 rv
= self
->ParseDate(_date
);
1193 if (rv
== NULL
) return -1;
1196 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1198 const wxChar
* _time
= time
;
1199 rv
= self
->ParseTime(_time
);
1200 if (rv
== NULL
) return -1;
1203 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1204 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1205 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1206 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1207 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1208 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1209 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1210 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1211 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1212 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1213 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1214 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1215 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1216 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1217 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1218 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1220 #include <wx/dataobj.h>
1222 // Create a new class for wxPython to use
1223 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1225 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1226 : wxDataObjectSimple(format
) {}
1228 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1229 bool GetDataHere(void *buf
) const;
1230 bool SetData(size_t len
, const void *buf
) const;
1234 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1236 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1237 // We need to get the data for this object and write it to buf. I think
1238 // the best way to do this for wxPython is to have the Python method
1239 // return either a string or None and then act appropriately with the
1243 bool blocked
= wxPyBeginBlockThreads();
1244 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1246 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1248 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1250 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1254 wxPyEndBlockThreads(blocked
);
1258 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1259 // For this one we simply need to make a string from buf and len
1260 // and send it to the Python method.
1262 bool blocked
= wxPyBeginBlockThreads();
1263 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1264 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1265 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1268 wxPyEndBlockThreads(blocked
);
1272 // Create a new class for wxPython to use
1273 class wxPyTextDataObject
: public wxTextDataObject
{
1275 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1276 : wxTextDataObject(text
) {}
1278 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1279 DEC_PYCALLBACK_STRING__const(GetText
);
1280 DEC_PYCALLBACK__STRING(SetText
);
1284 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1285 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1286 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1289 // Create a new class for wxPython to use
1290 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1292 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1293 : wxBitmapDataObject(bitmap
) {}
1295 wxBitmap
GetBitmap() const;
1296 void SetBitmap(const wxBitmap
& bitmap
);
1300 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1301 wxBitmap
* rval
= &wxNullBitmap
;
1302 bool blocked
= wxPyBeginBlockThreads();
1303 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1306 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1308 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1313 wxPyEndBlockThreads(blocked
);
1317 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1318 bool blocked
= wxPyBeginBlockThreads();
1319 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1320 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1321 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1324 wxPyEndBlockThreads(blocked
);
1327 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1328 if (PyString_Check(data
)) {
1329 // for Python we just call SetData here since we always need it to make a copy.
1330 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1333 // raise a TypeError if not a string
1334 PyErr_SetString(PyExc_TypeError
, "String expected.");
1337 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1338 if (PyString_Check(data
)) {
1339 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1342 // raise a TypeError if not a string
1343 PyErr_SetString(PyExc_TypeError
, "String expected.");
1347 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1348 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1351 class wxMetafileDataObject
: public wxDataObjectSimple
1354 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
1358 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1361 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1362 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1363 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1364 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1365 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1368 class wxPyTextDropTarget
: public wxTextDropTarget
{
1370 wxPyTextDropTarget() {}
1372 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1374 DEC_PYCALLBACK__(OnLeave
);
1375 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1376 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1377 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1378 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1383 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1384 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1385 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1386 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1387 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1388 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1392 class wxPyFileDropTarget
: public wxFileDropTarget
{
1394 wxPyFileDropTarget() {}
1396 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1398 DEC_PYCALLBACK__(OnLeave
);
1399 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1400 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1401 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1402 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1407 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1408 const wxArrayString
& filenames
) {
1410 bool blocked
= wxPyBeginBlockThreads();
1411 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1412 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1413 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1416 wxPyEndBlockThreads(blocked
);
1422 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1423 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1424 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1425 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1426 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1431 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1433 #include "wx/display.h"
1435 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1436 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1437 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1438 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1439 PyObject
* pyList
= NULL
;
1440 wxArrayVideoModes arr
= self
->GetModes(mode
);
1441 bool blocked
= wxPyBeginBlockThreads();
1442 pyList
= PyList_New(0);
1443 for (int i
=0; i
< arr
.GetCount(); i
++) {
1444 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1445 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1446 PyList_Append(pyList
, pyObj
);
1448 wxPyEndBlockThreads(blocked
);
1454 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1455 PyObject
*resultobj
;
1458 PyObject
* obj0
= 0 ;
1460 (char *) "index", NULL
1463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1464 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1465 if (PyErr_Occurred()) SWIG_fail
;
1467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1468 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1470 wxPyEndAllowThreads(__tstate
);
1471 if (PyErr_Occurred()) SWIG_fail
;
1474 wxColour
* resultptr
;
1475 resultptr
= new wxColour((wxColour
&) result
);
1476 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1484 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1485 PyObject
*resultobj
;
1488 PyObject
* obj0
= 0 ;
1490 (char *) "index", NULL
1493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1494 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1495 if (PyErr_Occurred()) SWIG_fail
;
1497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1498 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1500 wxPyEndAllowThreads(__tstate
);
1501 if (PyErr_Occurred()) SWIG_fail
;
1505 resultptr
= new wxFont((wxFont
&) result
);
1506 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1514 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1515 PyObject
*resultobj
;
1518 PyObject
* obj0
= 0 ;
1520 (char *) "index", NULL
1523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1524 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1525 if (PyErr_Occurred()) SWIG_fail
;
1527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1528 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1530 wxPyEndAllowThreads(__tstate
);
1531 if (PyErr_Occurred()) SWIG_fail
;
1533 resultobj
= SWIG_FromInt((int)result
);
1540 static PyObject
*_wrap_SystemSettings_HasFeature(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_HasFeature",kwnames
,&obj0
)) goto fail
;
1550 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1551 if (PyErr_Occurred()) SWIG_fail
;
1553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1554 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1556 wxPyEndAllowThreads(__tstate
);
1557 if (PyErr_Occurred()) SWIG_fail
;
1560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1568 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1569 PyObject
*resultobj
;
1575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1578 result
= (int)wxSystemSettings::GetScreenType();
1580 wxPyEndAllowThreads(__tstate
);
1581 if (PyErr_Occurred()) SWIG_fail
;
1583 resultobj
= SWIG_FromInt((int)result
);
1590 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
*resultobj
;
1593 PyObject
* obj0
= 0 ;
1595 (char *) "screen", NULL
1598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1599 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1600 if (PyErr_Occurred()) SWIG_fail
;
1602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1603 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1605 wxPyEndAllowThreads(__tstate
);
1606 if (PyErr_Occurred()) SWIG_fail
;
1608 Py_INCREF(Py_None
); resultobj
= Py_None
;
1615 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1618 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1620 return Py_BuildValue((char *)"");
1622 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
*resultobj
;
1624 wxSystemOptions
*result
;
1629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1632 result
= (wxSystemOptions
*)new wxSystemOptions();
1634 wxPyEndAllowThreads(__tstate
);
1635 if (PyErr_Occurred()) SWIG_fail
;
1637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1644 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1645 PyObject
*resultobj
;
1646 wxString
*arg1
= 0 ;
1647 wxString
*arg2
= 0 ;
1648 bool temp1
= False
;
1649 bool temp2
= False
;
1650 PyObject
* obj0
= 0 ;
1651 PyObject
* obj1
= 0 ;
1653 (char *) "name",(char *) "value", NULL
1656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1658 arg1
= wxString_in_helper(obj0
);
1659 if (arg1
== NULL
) SWIG_fail
;
1663 arg2
= wxString_in_helper(obj1
);
1664 if (arg2
== NULL
) SWIG_fail
;
1668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1669 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1671 wxPyEndAllowThreads(__tstate
);
1672 if (PyErr_Occurred()) SWIG_fail
;
1674 Py_INCREF(Py_None
); resultobj
= Py_None
;
1697 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1698 PyObject
*resultobj
;
1699 wxString
*arg1
= 0 ;
1701 bool temp1
= False
;
1702 PyObject
* obj0
= 0 ;
1703 PyObject
* obj1
= 0 ;
1705 (char *) "name",(char *) "value", NULL
1708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1710 arg1
= wxString_in_helper(obj0
);
1711 if (arg1
== NULL
) SWIG_fail
;
1714 arg2
= (int) SWIG_AsInt(obj1
);
1715 if (PyErr_Occurred()) SWIG_fail
;
1717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1718 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1720 wxPyEndAllowThreads(__tstate
);
1721 if (PyErr_Occurred()) SWIG_fail
;
1723 Py_INCREF(Py_None
); resultobj
= Py_None
;
1738 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1739 PyObject
*resultobj
;
1740 wxString
*arg1
= 0 ;
1742 bool temp1
= False
;
1743 PyObject
* obj0
= 0 ;
1745 (char *) "name", NULL
1748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1750 arg1
= wxString_in_helper(obj0
);
1751 if (arg1
== NULL
) SWIG_fail
;
1755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1756 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1758 wxPyEndAllowThreads(__tstate
);
1759 if (PyErr_Occurred()) SWIG_fail
;
1763 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1765 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1782 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
*resultobj
;
1784 wxString
*arg1
= 0 ;
1786 bool temp1
= False
;
1787 PyObject
* obj0
= 0 ;
1789 (char *) "name", NULL
1792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1794 arg1
= wxString_in_helper(obj0
);
1795 if (arg1
== NULL
) SWIG_fail
;
1799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1800 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1802 wxPyEndAllowThreads(__tstate
);
1803 if (PyErr_Occurred()) SWIG_fail
;
1805 resultobj
= SWIG_FromInt((int)result
);
1820 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
*resultobj
;
1822 wxString
*arg1
= 0 ;
1824 bool temp1
= False
;
1825 PyObject
* obj0
= 0 ;
1827 (char *) "name", NULL
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1832 arg1
= wxString_in_helper(obj0
);
1833 if (arg1
== NULL
) SWIG_fail
;
1837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1838 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1840 wxPyEndAllowThreads(__tstate
);
1841 if (PyErr_Occurred()) SWIG_fail
;
1844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1860 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1862 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1863 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1865 return Py_BuildValue((char *)"");
1867 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1868 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1873 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1878 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1880 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1887 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
1888 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1893 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1898 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1900 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1907 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
1908 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1913 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1918 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1920 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1927 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1928 PyObject
*resultobj
;
1934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1937 result
= (long)wxNewId();
1939 wxPyEndAllowThreads(__tstate
);
1940 if (PyErr_Occurred()) SWIG_fail
;
1942 resultobj
= SWIG_FromLong((long)result
);
1949 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1950 PyObject
*resultobj
;
1952 PyObject
* obj0
= 0 ;
1957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
1958 arg1
= (long) SWIG_AsLong(obj0
);
1959 if (PyErr_Occurred()) SWIG_fail
;
1961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1964 wxPyEndAllowThreads(__tstate
);
1965 if (PyErr_Occurred()) SWIG_fail
;
1967 Py_INCREF(Py_None
); resultobj
= Py_None
;
1974 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
*resultobj
;
1981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1984 result
= (long)wxGetCurrentId();
1986 wxPyEndAllowThreads(__tstate
);
1987 if (PyErr_Occurred()) SWIG_fail
;
1989 resultobj
= SWIG_FromLong((long)result
);
1996 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1997 PyObject
*resultobj
;
2002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2007 wxPyEndAllowThreads(__tstate
);
2008 if (PyErr_Occurred()) SWIG_fail
;
2010 Py_INCREF(Py_None
); resultobj
= Py_None
;
2017 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2018 PyObject
*resultobj
;
2023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2028 wxPyEndAllowThreads(__tstate
);
2029 if (PyErr_Occurred()) SWIG_fail
;
2031 Py_INCREF(Py_None
); resultobj
= Py_None
;
2038 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2039 PyObject
*resultobj
;
2040 bool arg1
= (bool) True
;
2042 PyObject
* obj0
= 0 ;
2044 (char *) "resetTimer", NULL
2047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2049 arg1
= (bool) SWIG_AsBool(obj0
);
2050 if (PyErr_Occurred()) SWIG_fail
;
2053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2054 result
= (long)wxGetElapsedTime(arg1
);
2056 wxPyEndAllowThreads(__tstate
);
2057 if (PyErr_Occurred()) SWIG_fail
;
2059 resultobj
= SWIG_FromLong((long)result
);
2066 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2067 PyObject
*resultobj
;
2068 int *arg1
= (int *) 0 ;
2069 int *arg2
= (int *) 0 ;
2078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2081 wxGetMousePosition(arg1
,arg2
);
2083 wxPyEndAllowThreads(__tstate
);
2084 if (PyErr_Occurred()) SWIG_fail
;
2086 Py_INCREF(Py_None
); resultobj
= Py_None
;
2088 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2089 resultobj
= t_output_helper(resultobj
,o
);
2092 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2093 resultobj
= t_output_helper(resultobj
,o
);
2101 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2102 PyObject
*resultobj
;
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2111 result
= (bool)wxIsBusy();
2113 wxPyEndAllowThreads(__tstate
);
2114 if (PyErr_Occurred()) SWIG_fail
;
2117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2125 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
*resultobj
;
2132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2137 wxPyEndAllowThreads(__tstate
);
2138 if (PyErr_Occurred()) SWIG_fail
;
2142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2153 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
*resultobj
;
2155 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2156 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2158 bool temp1
= False
;
2159 PyObject
* obj0
= 0 ;
2161 (char *) "command", NULL
2164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2167 arg1
= wxString_in_helper(obj0
);
2168 if (arg1
== NULL
) SWIG_fail
;
2173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2174 result
= (bool)wxShell((wxString
const &)*arg1
);
2176 wxPyEndAllowThreads(__tstate
);
2177 if (PyErr_Occurred()) SWIG_fail
;
2180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2196 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
*resultobj
;
2202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2207 wxPyEndAllowThreads(__tstate
);
2208 if (PyErr_Occurred()) SWIG_fail
;
2210 Py_INCREF(Py_None
); resultobj
= Py_None
;
2217 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2218 PyObject
*resultobj
;
2219 int *arg1
= (int *) 0 ;
2220 int *arg2
= (int *) 0 ;
2230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2233 result
= (int)wxGetOsVersion(arg1
,arg2
);
2235 wxPyEndAllowThreads(__tstate
);
2236 if (PyErr_Occurred()) SWIG_fail
;
2238 resultobj
= SWIG_FromInt((int)result
);
2240 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2241 resultobj
= t_output_helper(resultobj
,o
);
2244 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2245 resultobj
= t_output_helper(resultobj
,o
);
2253 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
*resultobj
;
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2263 result
= wxGetOsDescription();
2265 wxPyEndAllowThreads(__tstate
);
2266 if (PyErr_Occurred()) SWIG_fail
;
2270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2281 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2282 PyObject
*resultobj
;
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2291 result
= (long)wxGetFreeMemory();
2293 wxPyEndAllowThreads(__tstate
);
2294 if (PyErr_Occurred()) SWIG_fail
;
2296 resultobj
= SWIG_FromLong((long)result
);
2303 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2304 PyObject
*resultobj
;
2307 PyObject
* obj0
= 0 ;
2309 (char *) "wFlags", NULL
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2313 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2314 if (PyErr_Occurred()) SWIG_fail
;
2316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2317 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2319 wxPyEndAllowThreads(__tstate
);
2320 if (PyErr_Occurred()) SWIG_fail
;
2323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2331 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
*resultobj
;
2334 PyObject
* obj0
= 0 ;
2336 (char *) "secs", NULL
2339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2340 arg1
= (int) SWIG_AsInt(obj0
);
2341 if (PyErr_Occurred()) SWIG_fail
;
2343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2346 wxPyEndAllowThreads(__tstate
);
2347 if (PyErr_Occurred()) SWIG_fail
;
2349 Py_INCREF(Py_None
); resultobj
= Py_None
;
2356 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2357 PyObject
*resultobj
;
2358 unsigned long arg1
;
2359 PyObject
* obj0
= 0 ;
2361 (char *) "milliseconds", NULL
2364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2365 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2366 if (PyErr_Occurred()) SWIG_fail
;
2368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2371 wxPyEndAllowThreads(__tstate
);
2372 if (PyErr_Occurred()) SWIG_fail
;
2374 Py_INCREF(Py_None
); resultobj
= Py_None
;
2381 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
*resultobj
;
2384 PyObject
* obj0
= 0 ;
2386 (char *) "enable", NULL
2389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2390 arg1
= (bool) SWIG_AsBool(obj0
);
2391 if (PyErr_Occurred()) SWIG_fail
;
2393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2394 wxEnableTopLevelWindows(arg1
);
2396 wxPyEndAllowThreads(__tstate
);
2397 if (PyErr_Occurred()) SWIG_fail
;
2399 Py_INCREF(Py_None
); resultobj
= Py_None
;
2406 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2407 PyObject
*resultobj
;
2408 wxString
*arg1
= 0 ;
2410 bool temp1
= False
;
2411 PyObject
* obj0
= 0 ;
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2418 arg1
= wxString_in_helper(obj0
);
2419 if (arg1
== NULL
) SWIG_fail
;
2423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2424 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2426 wxPyEndAllowThreads(__tstate
);
2427 if (PyErr_Occurred()) SWIG_fail
;
2431 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2433 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2450 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2451 PyObject
*resultobj
;
2457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2460 result
= wxGetEmailAddress();
2462 wxPyEndAllowThreads(__tstate
);
2463 if (PyErr_Occurred()) SWIG_fail
;
2467 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2469 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2478 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2479 PyObject
*resultobj
;
2485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2488 result
= wxGetHostName();
2490 wxPyEndAllowThreads(__tstate
);
2491 if (PyErr_Occurred()) SWIG_fail
;
2495 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2497 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2506 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2507 PyObject
*resultobj
;
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2516 result
= wxGetFullHostName();
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_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2535 PyObject
*resultobj
;
2541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2544 result
= wxGetUserId();
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_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2563 PyObject
*resultobj
;
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 result
= wxGetUserName();
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_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
*resultobj
;
2597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2600 result
= wxGetHomeDir();
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_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
*resultobj
;
2620 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2621 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2623 bool temp1
= False
;
2624 PyObject
* obj0
= 0 ;
2626 (char *) "user", NULL
2629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2632 arg1
= wxString_in_helper(obj0
);
2633 if (arg1
== NULL
) SWIG_fail
;
2638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2639 result
= wxGetUserHome((wxString
const &)*arg1
);
2641 wxPyEndAllowThreads(__tstate
);
2642 if (PyErr_Occurred()) SWIG_fail
;
2646 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2648 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2665 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2666 PyObject
*resultobj
;
2667 unsigned long result
;
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2675 result
= (unsigned long)wxGetProcessId();
2677 wxPyEndAllowThreads(__tstate
);
2678 if (PyErr_Occurred()) SWIG_fail
;
2680 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2687 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2688 PyObject
*resultobj
;
2693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2698 wxPyEndAllowThreads(__tstate
);
2699 if (PyErr_Occurred()) SWIG_fail
;
2701 Py_INCREF(Py_None
); resultobj
= Py_None
;
2708 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
*resultobj
;
2710 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2711 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2712 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2713 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2714 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2715 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2716 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2717 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2718 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2719 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2720 int arg6
= (int) 0 ;
2721 wxWindow
*arg7
= (wxWindow
*) NULL
;
2722 int arg8
= (int) -1 ;
2723 int arg9
= (int) -1 ;
2725 bool temp1
= False
;
2726 bool temp2
= False
;
2727 bool temp3
= False
;
2728 bool temp4
= False
;
2729 bool temp5
= False
;
2730 PyObject
* obj0
= 0 ;
2731 PyObject
* obj1
= 0 ;
2732 PyObject
* obj2
= 0 ;
2733 PyObject
* obj3
= 0 ;
2734 PyObject
* obj4
= 0 ;
2735 PyObject
* obj5
= 0 ;
2736 PyObject
* obj6
= 0 ;
2737 PyObject
* obj7
= 0 ;
2738 PyObject
* obj8
= 0 ;
2740 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2746 arg1
= wxString_in_helper(obj0
);
2747 if (arg1
== NULL
) SWIG_fail
;
2753 arg2
= wxString_in_helper(obj1
);
2754 if (arg2
== NULL
) SWIG_fail
;
2760 arg3
= wxString_in_helper(obj2
);
2761 if (arg3
== NULL
) SWIG_fail
;
2767 arg4
= wxString_in_helper(obj3
);
2768 if (arg4
== NULL
) SWIG_fail
;
2774 arg5
= wxString_in_helper(obj4
);
2775 if (arg5
== NULL
) SWIG_fail
;
2780 arg6
= (int) SWIG_AsInt(obj5
);
2781 if (PyErr_Occurred()) SWIG_fail
;
2784 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2788 arg8
= (int) SWIG_AsInt(obj7
);
2789 if (PyErr_Occurred()) SWIG_fail
;
2792 arg9
= (int) SWIG_AsInt(obj8
);
2793 if (PyErr_Occurred()) SWIG_fail
;
2796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2797 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2799 wxPyEndAllowThreads(__tstate
);
2800 if (PyErr_Occurred()) SWIG_fail
;
2804 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2806 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2855 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2856 PyObject
*resultobj
;
2857 wxString
*arg1
= 0 ;
2858 wxString
*arg2
= 0 ;
2859 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2860 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2861 wxWindow
*arg4
= (wxWindow
*) NULL
;
2863 bool temp1
= False
;
2864 bool temp2
= False
;
2865 bool temp3
= False
;
2866 PyObject
* obj0
= 0 ;
2867 PyObject
* obj1
= 0 ;
2868 PyObject
* obj2
= 0 ;
2869 PyObject
* obj3
= 0 ;
2871 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2876 arg1
= wxString_in_helper(obj0
);
2877 if (arg1
== NULL
) SWIG_fail
;
2881 arg2
= wxString_in_helper(obj1
);
2882 if (arg2
== NULL
) SWIG_fail
;
2887 arg3
= wxString_in_helper(obj2
);
2888 if (arg3
== NULL
) SWIG_fail
;
2893 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2898 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2900 wxPyEndAllowThreads(__tstate
);
2901 if (PyErr_Occurred()) SWIG_fail
;
2905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2940 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2941 PyObject
*resultobj
;
2942 wxString
*arg1
= 0 ;
2943 wxString
*arg2
= 0 ;
2944 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2945 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2946 wxWindow
*arg4
= (wxWindow
*) NULL
;
2948 bool temp1
= False
;
2949 bool temp2
= False
;
2950 bool temp3
= False
;
2951 PyObject
* obj0
= 0 ;
2952 PyObject
* obj1
= 0 ;
2953 PyObject
* obj2
= 0 ;
2954 PyObject
* obj3
= 0 ;
2956 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2961 arg1
= wxString_in_helper(obj0
);
2962 if (arg1
== NULL
) SWIG_fail
;
2966 arg2
= wxString_in_helper(obj1
);
2967 if (arg2
== NULL
) SWIG_fail
;
2972 arg3
= wxString_in_helper(obj2
);
2973 if (arg3
== NULL
) SWIG_fail
;
2978 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2983 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2985 wxPyEndAllowThreads(__tstate
);
2986 if (PyErr_Occurred()) SWIG_fail
;
2990 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2992 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3025 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
*resultobj
;
3027 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3028 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3029 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3030 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3031 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3032 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3033 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3034 wxWindow
*arg5
= (wxWindow
*) NULL
;
3036 bool temp1
= False
;
3037 bool temp2
= False
;
3039 PyObject
* obj0
= 0 ;
3040 PyObject
* obj1
= 0 ;
3041 PyObject
* obj2
= 0 ;
3042 PyObject
* obj3
= 0 ;
3043 PyObject
* obj4
= 0 ;
3045 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3051 arg1
= wxString_in_helper(obj0
);
3052 if (arg1
== NULL
) SWIG_fail
;
3058 arg2
= wxString_in_helper(obj1
);
3059 if (arg2
== NULL
) SWIG_fail
;
3064 arg3
= (long) SWIG_AsLong(obj2
);
3065 if (PyErr_Occurred()) SWIG_fail
;
3070 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3074 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3079 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3081 wxPyEndAllowThreads(__tstate
);
3082 if (PyErr_Occurred()) SWIG_fail
;
3086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3113 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3114 PyObject
*resultobj
;
3115 wxString
*arg1
= 0 ;
3116 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3117 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3118 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3119 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3120 wxWindow
*arg4
= (wxWindow
*) NULL
;
3121 int arg5
= (int) -1 ;
3122 int arg6
= (int) -1 ;
3123 bool arg7
= (bool) True
;
3125 bool temp1
= False
;
3126 bool temp2
= False
;
3127 bool temp3
= False
;
3128 PyObject
* obj0
= 0 ;
3129 PyObject
* obj1
= 0 ;
3130 PyObject
* obj2
= 0 ;
3131 PyObject
* obj3
= 0 ;
3132 PyObject
* obj4
= 0 ;
3133 PyObject
* obj5
= 0 ;
3134 PyObject
* obj6
= 0 ;
3136 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3141 arg1
= wxString_in_helper(obj0
);
3142 if (arg1
== NULL
) SWIG_fail
;
3147 arg2
= wxString_in_helper(obj1
);
3148 if (arg2
== NULL
) SWIG_fail
;
3154 arg3
= wxString_in_helper(obj2
);
3155 if (arg3
== NULL
) SWIG_fail
;
3160 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3164 arg5
= (int) SWIG_AsInt(obj4
);
3165 if (PyErr_Occurred()) SWIG_fail
;
3168 arg6
= (int) SWIG_AsInt(obj5
);
3169 if (PyErr_Occurred()) SWIG_fail
;
3172 arg7
= (bool) SWIG_AsBool(obj6
);
3173 if (PyErr_Occurred()) SWIG_fail
;
3176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3177 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3179 wxPyEndAllowThreads(__tstate
);
3180 if (PyErr_Occurred()) SWIG_fail
;
3184 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3186 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3219 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3220 PyObject
*resultobj
;
3221 wxString
*arg1
= 0 ;
3222 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3223 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3224 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3225 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3226 wxWindow
*arg4
= (wxWindow
*) NULL
;
3228 bool temp1
= False
;
3229 bool temp2
= False
;
3230 bool temp3
= False
;
3231 PyObject
* obj0
= 0 ;
3232 PyObject
* obj1
= 0 ;
3233 PyObject
* obj2
= 0 ;
3234 PyObject
* obj3
= 0 ;
3236 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3241 arg1
= wxString_in_helper(obj0
);
3242 if (arg1
== NULL
) SWIG_fail
;
3247 arg2
= wxString_in_helper(obj1
);
3248 if (arg2
== NULL
) SWIG_fail
;
3254 arg3
= wxString_in_helper(obj2
);
3255 if (arg3
== NULL
) SWIG_fail
;
3260 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3272 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3274 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3307 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3308 PyObject
*resultobj
;
3309 wxString
*arg1
= 0 ;
3310 wxString
*arg2
= 0 ;
3312 wxString
*arg4
= (wxString
*) 0 ;
3313 wxWindow
*arg5
= (wxWindow
*) NULL
;
3314 int arg6
= (int) -1 ;
3315 int arg7
= (int) -1 ;
3316 bool arg8
= (bool) True
;
3317 int arg9
= (int) 150 ;
3318 int arg10
= (int) 200 ;
3320 bool temp1
= False
;
3321 bool temp2
= False
;
3322 PyObject
* obj0
= 0 ;
3323 PyObject
* obj1
= 0 ;
3324 PyObject
* obj2
= 0 ;
3325 PyObject
* obj3
= 0 ;
3326 PyObject
* obj4
= 0 ;
3327 PyObject
* obj5
= 0 ;
3328 PyObject
* obj6
= 0 ;
3329 PyObject
* obj7
= 0 ;
3330 PyObject
* obj8
= 0 ;
3332 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3337 arg1
= wxString_in_helper(obj0
);
3338 if (arg1
== NULL
) SWIG_fail
;
3342 arg2
= wxString_in_helper(obj1
);
3343 if (arg2
== NULL
) SWIG_fail
;
3347 arg3
= PyList_Size(obj2
);
3348 arg4
= wxString_LIST_helper(obj2
);
3349 if (arg4
== NULL
) SWIG_fail
;
3352 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3356 arg6
= (int) SWIG_AsInt(obj4
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3360 arg7
= (int) SWIG_AsInt(obj5
);
3361 if (PyErr_Occurred()) SWIG_fail
;
3364 arg8
= (bool) SWIG_AsBool(obj6
);
3365 if (PyErr_Occurred()) SWIG_fail
;
3368 arg9
= (int) SWIG_AsInt(obj7
);
3369 if (PyErr_Occurred()) SWIG_fail
;
3372 arg10
= (int) SWIG_AsInt(obj8
);
3373 if (PyErr_Occurred()) SWIG_fail
;
3376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3377 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3379 wxPyEndAllowThreads(__tstate
);
3380 if (PyErr_Occurred()) SWIG_fail
;
3384 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3386 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3398 if (arg4
) delete [] arg4
;
3411 if (arg4
) delete [] arg4
;
3417 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
*resultobj
;
3419 wxString
*arg1
= 0 ;
3420 wxString
*arg2
= 0 ;
3422 wxString
*arg4
= (wxString
*) 0 ;
3423 wxWindow
*arg5
= (wxWindow
*) NULL
;
3424 int arg6
= (int) -1 ;
3425 int arg7
= (int) -1 ;
3426 bool arg8
= (bool) True
;
3427 int arg9
= (int) 150 ;
3428 int arg10
= (int) 200 ;
3430 bool temp1
= False
;
3431 bool temp2
= False
;
3432 PyObject
* obj0
= 0 ;
3433 PyObject
* obj1
= 0 ;
3434 PyObject
* obj2
= 0 ;
3435 PyObject
* obj3
= 0 ;
3436 PyObject
* obj4
= 0 ;
3437 PyObject
* obj5
= 0 ;
3438 PyObject
* obj6
= 0 ;
3439 PyObject
* obj7
= 0 ;
3440 PyObject
* obj8
= 0 ;
3442 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3447 arg1
= wxString_in_helper(obj0
);
3448 if (arg1
== NULL
) SWIG_fail
;
3452 arg2
= wxString_in_helper(obj1
);
3453 if (arg2
== NULL
) SWIG_fail
;
3457 arg3
= PyList_Size(obj2
);
3458 arg4
= wxString_LIST_helper(obj2
);
3459 if (arg4
== NULL
) SWIG_fail
;
3462 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3466 arg6
= (int) SWIG_AsInt(obj4
);
3467 if (PyErr_Occurred()) SWIG_fail
;
3470 arg7
= (int) SWIG_AsInt(obj5
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3474 arg8
= (bool) SWIG_AsBool(obj6
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3478 arg9
= (int) SWIG_AsInt(obj7
);
3479 if (PyErr_Occurred()) SWIG_fail
;
3482 arg10
= (int) SWIG_AsInt(obj8
);
3483 if (PyErr_Occurred()) SWIG_fail
;
3486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3487 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3489 wxPyEndAllowThreads(__tstate
);
3490 if (PyErr_Occurred()) SWIG_fail
;
3492 resultobj
= SWIG_FromInt((int)result
);
3502 if (arg4
) delete [] arg4
;
3515 if (arg4
) delete [] arg4
;
3521 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3522 PyObject
*resultobj
;
3523 wxString
*arg1
= 0 ;
3524 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3525 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3526 int arg3
= (int) wxOK
|wxCENTRE
;
3527 wxWindow
*arg4
= (wxWindow
*) NULL
;
3528 int arg5
= (int) -1 ;
3529 int arg6
= (int) -1 ;
3531 bool temp1
= False
;
3532 bool temp2
= False
;
3533 PyObject
* obj0
= 0 ;
3534 PyObject
* obj1
= 0 ;
3535 PyObject
* obj2
= 0 ;
3536 PyObject
* obj3
= 0 ;
3537 PyObject
* obj4
= 0 ;
3538 PyObject
* obj5
= 0 ;
3540 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3545 arg1
= wxString_in_helper(obj0
);
3546 if (arg1
== NULL
) SWIG_fail
;
3551 arg2
= wxString_in_helper(obj1
);
3552 if (arg2
== NULL
) SWIG_fail
;
3557 arg3
= (int) SWIG_AsInt(obj2
);
3558 if (PyErr_Occurred()) SWIG_fail
;
3561 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3565 arg5
= (int) SWIG_AsInt(obj4
);
3566 if (PyErr_Occurred()) SWIG_fail
;
3569 arg6
= (int) SWIG_AsInt(obj5
);
3570 if (PyErr_Occurred()) SWIG_fail
;
3573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3574 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3576 wxPyEndAllowThreads(__tstate
);
3577 if (PyErr_Occurred()) SWIG_fail
;
3579 resultobj
= SWIG_FromInt((int)result
);
3602 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3603 PyObject
*resultobj
;
3604 wxString
*arg1
= 0 ;
3605 wxString
*arg2
= 0 ;
3606 wxString
*arg3
= 0 ;
3608 long arg5
= (long) 0 ;
3609 long arg6
= (long) 100 ;
3610 wxWindow
*arg7
= (wxWindow
*) NULL
;
3611 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3612 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3614 bool temp1
= False
;
3615 bool temp2
= False
;
3616 bool temp3
= False
;
3618 PyObject
* obj0
= 0 ;
3619 PyObject
* obj1
= 0 ;
3620 PyObject
* obj2
= 0 ;
3621 PyObject
* obj3
= 0 ;
3622 PyObject
* obj4
= 0 ;
3623 PyObject
* obj5
= 0 ;
3624 PyObject
* obj6
= 0 ;
3625 PyObject
* obj7
= 0 ;
3627 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3632 arg1
= wxString_in_helper(obj0
);
3633 if (arg1
== NULL
) SWIG_fail
;
3637 arg2
= wxString_in_helper(obj1
);
3638 if (arg2
== NULL
) SWIG_fail
;
3642 arg3
= wxString_in_helper(obj2
);
3643 if (arg3
== NULL
) SWIG_fail
;
3646 arg4
= (long) SWIG_AsLong(obj3
);
3647 if (PyErr_Occurred()) SWIG_fail
;
3649 arg5
= (long) SWIG_AsLong(obj4
);
3650 if (PyErr_Occurred()) SWIG_fail
;
3653 arg6
= (long) SWIG_AsLong(obj5
);
3654 if (PyErr_Occurred()) SWIG_fail
;
3657 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3663 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3668 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3670 wxPyEndAllowThreads(__tstate
);
3671 if (PyErr_Occurred()) SWIG_fail
;
3673 resultobj
= SWIG_FromLong((long)result
);
3704 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
*resultobj
;
3711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3714 result
= (bool)wxColourDisplay();
3716 wxPyEndAllowThreads(__tstate
);
3717 if (PyErr_Occurred()) SWIG_fail
;
3720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3728 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
*resultobj
;
3735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3738 result
= (int)wxDisplayDepth();
3740 wxPyEndAllowThreads(__tstate
);
3741 if (PyErr_Occurred()) SWIG_fail
;
3743 resultobj
= SWIG_FromInt((int)result
);
3750 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
*resultobj
;
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 result
= (int)wxGetDisplayDepth();
3762 wxPyEndAllowThreads(__tstate
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3765 resultobj
= SWIG_FromInt((int)result
);
3772 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
*resultobj
;
3774 int *arg1
= (int *) 0 ;
3775 int *arg2
= (int *) 0 ;
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 wxDisplaySize(arg1
,arg2
);
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) SWIG_fail
;
3792 Py_INCREF(Py_None
); resultobj
= Py_None
;
3794 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3795 resultobj
= t_output_helper(resultobj
,o
);
3798 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3799 resultobj
= t_output_helper(resultobj
,o
);
3807 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3808 PyObject
*resultobj
;
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3817 result
= wxGetDisplaySize();
3819 wxPyEndAllowThreads(__tstate
);
3820 if (PyErr_Occurred()) SWIG_fail
;
3824 resultptr
= new wxSize((wxSize
&) result
);
3825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3833 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
*resultobj
;
3835 int *arg1
= (int *) 0 ;
3836 int *arg2
= (int *) 0 ;
3845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 wxDisplaySizeMM(arg1
,arg2
);
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) SWIG_fail
;
3853 Py_INCREF(Py_None
); resultobj
= Py_None
;
3855 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3856 resultobj
= t_output_helper(resultobj
,o
);
3859 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3860 resultobj
= t_output_helper(resultobj
,o
);
3868 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3869 PyObject
*resultobj
;
3875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3878 result
= wxGetDisplaySizeMM();
3880 wxPyEndAllowThreads(__tstate
);
3881 if (PyErr_Occurred()) SWIG_fail
;
3885 resultptr
= new wxSize((wxSize
&) result
);
3886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3894 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
*resultobj
;
3896 int *arg1
= (int *) 0 ;
3897 int *arg2
= (int *) 0 ;
3898 int *arg3
= (int *) 0 ;
3899 int *arg4
= (int *) 0 ;
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3915 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3917 wxPyEndAllowThreads(__tstate
);
3918 if (PyErr_Occurred()) SWIG_fail
;
3920 Py_INCREF(Py_None
); resultobj
= Py_None
;
3922 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3923 resultobj
= t_output_helper(resultobj
,o
);
3926 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3927 resultobj
= t_output_helper(resultobj
,o
);
3930 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3931 resultobj
= t_output_helper(resultobj
,o
);
3934 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3935 resultobj
= t_output_helper(resultobj
,o
);
3943 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
*resultobj
;
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3953 result
= wxGetClientDisplayRect();
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3960 resultptr
= new wxRect((wxRect
&) result
);
3961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3969 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3970 PyObject
*resultobj
;
3971 wxCursor
*arg1
= 0 ;
3972 PyObject
* obj0
= 0 ;
3974 (char *) "cursor", NULL
3977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
3979 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3982 PyErr_SetString(PyExc_TypeError
,"null reference");
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3989 wxPyEndAllowThreads(__tstate
);
3990 if (PyErr_Occurred()) SWIG_fail
;
3992 Py_INCREF(Py_None
); resultobj
= Py_None
;
3999 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
*resultobj
;
4001 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4002 PyObject
* obj0
= 0 ;
4004 (char *) "cursor", NULL
4007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4014 wxBeginBusyCursor(arg1
);
4016 wxPyEndAllowThreads(__tstate
);
4017 if (PyErr_Occurred()) SWIG_fail
;
4019 Py_INCREF(Py_None
); resultobj
= Py_None
;
4026 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4027 PyObject
*resultobj
;
4033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 result
= (wxWindow
*)wxGetActiveWindow();
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) SWIG_fail
;
4042 resultobj
= wxPyMake_wxObject(result
);
4050 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4055 PyObject
* obj0
= 0 ;
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4063 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4073 resultobj
= wxPyMake_wxObject(result
);
4081 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
*resultobj
;
4086 PyObject
* obj0
= 0 ;
4091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4094 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4100 wxPyEndAllowThreads(__tstate
);
4101 if (PyErr_Occurred()) SWIG_fail
;
4104 resultobj
= wxPyMake_wxObject(result
);
4112 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
*resultobj
;
4114 wxWindow
*arg1
= (wxWindow
*) 0 ;
4116 PyObject
* obj0
= 0 ;
4118 (char *) "win", NULL
4121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4126 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4128 wxPyEndAllowThreads(__tstate
);
4129 if (PyErr_Occurred()) SWIG_fail
;
4132 resultobj
= wxPyMake_wxObject(result
);
4140 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4141 PyObject
*resultobj
;
4144 PyObject
* obj0
= 0 ;
4146 (char *) "key", NULL
4149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4150 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4154 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4156 wxPyEndAllowThreads(__tstate
);
4157 if (PyErr_Occurred()) SWIG_fail
;
4160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4168 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4169 PyObject
*resultobj
;
4174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4177 wxWakeUpMainThread();
4179 wxPyEndAllowThreads(__tstate
);
4180 if (PyErr_Occurred()) SWIG_fail
;
4182 Py_INCREF(Py_None
); resultobj
= Py_None
;
4189 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
;
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4200 wxPyEndAllowThreads(__tstate
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4203 Py_INCREF(Py_None
); resultobj
= Py_None
;
4210 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
*resultobj
;
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4224 Py_INCREF(Py_None
); resultobj
= Py_None
;
4231 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
*resultobj
;
4233 wxMutexGuiLocker
*result
;
4238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4241 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4243 wxPyEndAllowThreads(__tstate
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4253 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
*resultobj
;
4255 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4256 PyObject
* obj0
= 0 ;
4258 (char *) "self", NULL
4261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4271 Py_INCREF(Py_None
); resultobj
= Py_None
;
4278 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4281 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4283 return Py_BuildValue((char *)"");
4285 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
*resultobj
;
4292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4295 result
= (bool)wxThread_IsMain();
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) SWIG_fail
;
4301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4309 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
*resultobj
;
4311 wxString
*arg1
= 0 ;
4313 bool temp1
= False
;
4314 PyObject
* obj0
= 0 ;
4316 (char *) "tip", NULL
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4321 arg1
= wxString_in_helper(obj0
);
4322 if (arg1
== NULL
) SWIG_fail
;
4326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4327 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4329 wxPyEndAllowThreads(__tstate
);
4330 if (PyErr_Occurred()) SWIG_fail
;
4333 resultobj
= wxPyMake_wxObject(result
);
4349 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
;
4351 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4352 wxString
*arg2
= 0 ;
4353 bool temp2
= False
;
4354 PyObject
* obj0
= 0 ;
4355 PyObject
* obj1
= 0 ;
4357 (char *) "self",(char *) "tip", NULL
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4364 arg2
= wxString_in_helper(obj1
);
4365 if (arg2
== NULL
) SWIG_fail
;
4369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4370 (arg1
)->SetTip((wxString
const &)*arg2
);
4372 wxPyEndAllowThreads(__tstate
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4375 Py_INCREF(Py_None
); resultobj
= Py_None
;
4390 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
;
4392 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4394 PyObject
* obj0
= 0 ;
4396 (char *) "self", NULL
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4404 result
= (arg1
)->GetTip();
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4411 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4413 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4422 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
*resultobj
;
4424 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4426 PyObject
* obj0
= 0 ;
4428 (char *) "self", NULL
4431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4436 result
= (wxWindow
*)(arg1
)->GetWindow();
4438 wxPyEndAllowThreads(__tstate
);
4439 if (PyErr_Occurred()) SWIG_fail
;
4442 resultobj
= wxPyMake_wxObject(result
);
4450 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4451 PyObject
*resultobj
;
4453 PyObject
* obj0
= 0 ;
4455 (char *) "flag", NULL
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4459 arg1
= (bool) SWIG_AsBool(obj0
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4463 wxToolTip::Enable(arg1
);
4465 wxPyEndAllowThreads(__tstate
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4468 Py_INCREF(Py_None
); resultobj
= Py_None
;
4475 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4476 PyObject
*resultobj
;
4478 PyObject
* obj0
= 0 ;
4480 (char *) "milliseconds", NULL
4483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4484 arg1
= (long) SWIG_AsLong(obj0
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4488 wxToolTip::SetDelay(arg1
);
4490 wxPyEndAllowThreads(__tstate
);
4491 if (PyErr_Occurred()) SWIG_fail
;
4493 Py_INCREF(Py_None
); resultobj
= Py_None
;
4500 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4503 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4505 return Py_BuildValue((char *)"");
4507 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
*resultobj
;
4509 wxWindow
*arg1
= (wxWindow
*) 0 ;
4513 PyObject
* obj0
= 0 ;
4514 PyObject
* obj1
= 0 ;
4516 (char *) "window",(char *) "size", NULL
4519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4524 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4528 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4530 wxPyEndAllowThreads(__tstate
);
4531 if (PyErr_Occurred()) SWIG_fail
;
4533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4540 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
*resultobj
;
4542 wxCaret
*arg1
= (wxCaret
*) 0 ;
4543 PyObject
* obj0
= 0 ;
4545 (char *) "self", NULL
4548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4555 wxPyEndAllowThreads(__tstate
);
4556 if (PyErr_Occurred()) SWIG_fail
;
4558 Py_INCREF(Py_None
); resultobj
= Py_None
;
4565 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
*resultobj
;
4567 wxCaret
*arg1
= (wxCaret
*) 0 ;
4569 PyObject
* obj0
= 0 ;
4571 (char *) "self", NULL
4574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 result
= (bool)(arg1
)->IsOk();
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4593 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
*resultobj
;
4595 wxCaret
*arg1
= (wxCaret
*) 0 ;
4597 PyObject
* obj0
= 0 ;
4599 (char *) "self", NULL
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4607 result
= (bool)(arg1
)->IsVisible();
4609 wxPyEndAllowThreads(__tstate
);
4610 if (PyErr_Occurred()) SWIG_fail
;
4613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4621 static PyObject
*_wrap_Caret_GetPosition(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_GetPosition",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
= (arg1
)->GetPosition();
4637 wxPyEndAllowThreads(__tstate
);
4638 if (PyErr_Occurred()) SWIG_fail
;
4641 wxPoint
* resultptr
;
4642 resultptr
= new wxPoint((wxPoint
&) result
);
4643 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4651 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4652 PyObject
*resultobj
;
4653 wxCaret
*arg1
= (wxCaret
*) 0 ;
4654 int *arg2
= (int *) 0 ;
4655 int *arg3
= (int *) 0 ;
4658 PyObject
* obj0
= 0 ;
4660 (char *) "self", NULL
4665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4670 (arg1
)->GetPosition(arg2
,arg3
);
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4675 Py_INCREF(Py_None
); resultobj
= Py_None
;
4677 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4678 resultobj
= t_output_helper(resultobj
,o
);
4681 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4682 resultobj
= t_output_helper(resultobj
,o
);
4690 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
*resultobj
;
4692 wxCaret
*arg1
= (wxCaret
*) 0 ;
4694 PyObject
* obj0
= 0 ;
4696 (char *) "self", NULL
4699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 result
= (arg1
)->GetSize();
4706 wxPyEndAllowThreads(__tstate
);
4707 if (PyErr_Occurred()) SWIG_fail
;
4711 resultptr
= new wxSize((wxSize
&) result
);
4712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4720 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4721 PyObject
*resultobj
;
4722 wxCaret
*arg1
= (wxCaret
*) 0 ;
4723 int *arg2
= (int *) 0 ;
4724 int *arg3
= (int *) 0 ;
4727 PyObject
* obj0
= 0 ;
4729 (char *) "self", NULL
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4739 (arg1
)->GetSize(arg2
,arg3
);
4741 wxPyEndAllowThreads(__tstate
);
4742 if (PyErr_Occurred()) SWIG_fail
;
4744 Py_INCREF(Py_None
); resultobj
= Py_None
;
4746 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4747 resultobj
= t_output_helper(resultobj
,o
);
4750 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4751 resultobj
= t_output_helper(resultobj
,o
);
4759 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4760 PyObject
*resultobj
;
4761 wxCaret
*arg1
= (wxCaret
*) 0 ;
4763 PyObject
* obj0
= 0 ;
4765 (char *) "self", NULL
4768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4773 result
= (wxWindow
*)(arg1
)->GetWindow();
4775 wxPyEndAllowThreads(__tstate
);
4776 if (PyErr_Occurred()) SWIG_fail
;
4779 resultobj
= wxPyMake_wxObject(result
);
4787 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
*resultobj
;
4789 wxCaret
*arg1
= (wxCaret
*) 0 ;
4792 PyObject
* obj0
= 0 ;
4793 PyObject
* obj1
= 0 ;
4794 PyObject
* obj2
= 0 ;
4796 (char *) "self",(char *) "x",(char *) "y", NULL
4799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4802 arg2
= (int) SWIG_AsInt(obj1
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4804 arg3
= (int) SWIG_AsInt(obj2
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4808 (arg1
)->Move(arg2
,arg3
);
4810 wxPyEndAllowThreads(__tstate
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4813 Py_INCREF(Py_None
); resultobj
= Py_None
;
4820 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4821 PyObject
*resultobj
;
4822 wxCaret
*arg1
= (wxCaret
*) 0 ;
4825 PyObject
* obj0
= 0 ;
4826 PyObject
* obj1
= 0 ;
4828 (char *) "self",(char *) "pt", NULL
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4836 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 (arg1
)->Move((wxPoint
const &)*arg2
);
4842 wxPyEndAllowThreads(__tstate
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4845 Py_INCREF(Py_None
); resultobj
= Py_None
;
4852 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4853 PyObject
*resultobj
;
4854 wxCaret
*arg1
= (wxCaret
*) 0 ;
4857 PyObject
* obj0
= 0 ;
4858 PyObject
* obj1
= 0 ;
4859 PyObject
* obj2
= 0 ;
4861 (char *) "self",(char *) "width",(char *) "height", NULL
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4867 arg2
= (int) SWIG_AsInt(obj1
);
4868 if (PyErr_Occurred()) SWIG_fail
;
4869 arg3
= (int) SWIG_AsInt(obj2
);
4870 if (PyErr_Occurred()) SWIG_fail
;
4872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4873 (arg1
)->SetSize(arg2
,arg3
);
4875 wxPyEndAllowThreads(__tstate
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4878 Py_INCREF(Py_None
); resultobj
= Py_None
;
4885 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
*resultobj
;
4887 wxCaret
*arg1
= (wxCaret
*) 0 ;
4890 PyObject
* obj0
= 0 ;
4891 PyObject
* obj1
= 0 ;
4893 (char *) "self",(char *) "size", NULL
4896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4901 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 (arg1
)->SetSize((wxSize
const &)*arg2
);
4907 wxPyEndAllowThreads(__tstate
);
4908 if (PyErr_Occurred()) SWIG_fail
;
4910 Py_INCREF(Py_None
); resultobj
= Py_None
;
4917 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
*resultobj
;
4919 wxCaret
*arg1
= (wxCaret
*) 0 ;
4920 int arg2
= (int) True
;
4921 PyObject
* obj0
= 0 ;
4922 PyObject
* obj1
= 0 ;
4924 (char *) "self",(char *) "show", NULL
4927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4931 arg2
= (int) SWIG_AsInt(obj1
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4938 wxPyEndAllowThreads(__tstate
);
4939 if (PyErr_Occurred()) SWIG_fail
;
4941 Py_INCREF(Py_None
); resultobj
= Py_None
;
4948 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4949 PyObject
*resultobj
;
4950 wxCaret
*arg1
= (wxCaret
*) 0 ;
4951 PyObject
* obj0
= 0 ;
4953 (char *) "self", NULL
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4966 Py_INCREF(Py_None
); resultobj
= Py_None
;
4973 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
4975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4976 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4978 return Py_BuildValue((char *)"");
4980 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4981 PyObject
*resultobj
;
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4990 result
= (int)wxCaret_GetBlinkTime();
4992 wxPyEndAllowThreads(__tstate
);
4993 if (PyErr_Occurred()) SWIG_fail
;
4995 resultobj
= SWIG_FromInt((int)result
);
5002 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
*resultobj
;
5005 PyObject
* obj0
= 0 ;
5007 (char *) "milliseconds", NULL
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5011 arg1
= (int) SWIG_AsInt(obj0
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 wxCaret_SetBlinkTime(arg1
);
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5020 Py_INCREF(Py_None
); resultobj
= Py_None
;
5027 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
*resultobj
;
5029 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5030 wxBusyCursor
*result
;
5031 PyObject
* obj0
= 0 ;
5033 (char *) "cursor", NULL
5036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5055 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5056 PyObject
*resultobj
;
5057 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5058 PyObject
* obj0
= 0 ;
5060 (char *) "self", NULL
5063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5073 Py_INCREF(Py_None
); resultobj
= Py_None
;
5080 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5083 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5085 return Py_BuildValue((char *)"");
5087 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
*resultobj
;
5089 wxWindow
*arg1
= (wxWindow
*) NULL
;
5090 wxWindowDisabler
*result
;
5091 PyObject
* obj0
= 0 ;
5093 (char *) "winToSkip", NULL
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5115 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5116 PyObject
*resultobj
;
5117 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5118 PyObject
* obj0
= 0 ;
5120 (char *) "self", NULL
5123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 wxPyEndAllowThreads(__tstate
);
5131 if (PyErr_Occurred()) SWIG_fail
;
5133 Py_INCREF(Py_None
); resultobj
= Py_None
;
5140 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5143 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5145 return Py_BuildValue((char *)"");
5147 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
*resultobj
;
5149 wxString
*arg1
= 0 ;
5151 bool temp1
= False
;
5152 PyObject
* obj0
= 0 ;
5154 (char *) "message", NULL
5157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5159 arg1
= wxString_in_helper(obj0
);
5160 if (arg1
== NULL
) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5185 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
;
5187 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5188 PyObject
* obj0
= 0 ;
5190 (char *) "self", NULL
5193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5203 Py_INCREF(Py_None
); resultobj
= Py_None
;
5210 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5213 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5215 return Py_BuildValue((char *)"");
5217 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
*resultobj
;
5219 wxStopWatch
*result
;
5224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5227 result
= (wxStopWatch
*)new wxStopWatch();
5229 wxPyEndAllowThreads(__tstate
);
5230 if (PyErr_Occurred()) SWIG_fail
;
5232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5239 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
*resultobj
;
5241 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5242 long arg2
= (long) 0 ;
5243 PyObject
* obj0
= 0 ;
5244 PyObject
* obj1
= 0 ;
5246 (char *) "self",(char *) "t0", NULL
5249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5253 arg2
= (long) SWIG_AsLong(obj1
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5258 (arg1
)->Start(arg2
);
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) SWIG_fail
;
5263 Py_INCREF(Py_None
); resultobj
= Py_None
;
5270 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
*resultobj
;
5272 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5273 PyObject
* obj0
= 0 ;
5275 (char *) "self", NULL
5278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5285 wxPyEndAllowThreads(__tstate
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5288 Py_INCREF(Py_None
); resultobj
= Py_None
;
5295 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5296 PyObject
*resultobj
;
5297 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5298 PyObject
* obj0
= 0 ;
5300 (char *) "self", NULL
5303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5310 wxPyEndAllowThreads(__tstate
);
5311 if (PyErr_Occurred()) SWIG_fail
;
5313 Py_INCREF(Py_None
); resultobj
= Py_None
;
5320 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
*resultobj
;
5322 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5324 PyObject
* obj0
= 0 ;
5326 (char *) "self", NULL
5329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5339 resultobj
= SWIG_FromLong((long)result
);
5346 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5349 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5351 return Py_BuildValue((char *)"");
5353 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5354 PyObject
*resultobj
;
5355 int arg1
= (int) 9 ;
5356 wxFileHistory
*result
;
5357 PyObject
* obj0
= 0 ;
5359 (char *) "maxFiles", NULL
5362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5364 arg1
= (int) SWIG_AsInt(obj0
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5369 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5371 wxPyEndAllowThreads(__tstate
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5381 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
*resultobj
;
5383 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5384 PyObject
* obj0
= 0 ;
5386 (char *) "self", NULL
5389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5396 wxPyEndAllowThreads(__tstate
);
5397 if (PyErr_Occurred()) SWIG_fail
;
5399 Py_INCREF(Py_None
); resultobj
= Py_None
;
5406 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5407 PyObject
*resultobj
;
5408 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5409 wxString
*arg2
= 0 ;
5410 bool temp2
= False
;
5411 PyObject
* obj0
= 0 ;
5412 PyObject
* obj1
= 0 ;
5414 (char *) "self",(char *) "file", NULL
5417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5421 arg2
= wxString_in_helper(obj1
);
5422 if (arg2
== NULL
) SWIG_fail
;
5426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5432 Py_INCREF(Py_None
); resultobj
= Py_None
;
5447 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5448 PyObject
*resultobj
;
5449 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5451 PyObject
* obj0
= 0 ;
5452 PyObject
* obj1
= 0 ;
5454 (char *) "self",(char *) "i", NULL
5457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5460 arg2
= (int) SWIG_AsInt(obj1
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5464 (arg1
)->RemoveFileFromHistory(arg2
);
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5469 Py_INCREF(Py_None
); resultobj
= Py_None
;
5476 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5477 PyObject
*resultobj
;
5478 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5480 PyObject
* obj0
= 0 ;
5482 (char *) "self", NULL
5485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5490 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5492 wxPyEndAllowThreads(__tstate
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5495 resultobj
= SWIG_FromInt((int)result
);
5502 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5503 PyObject
*resultobj
;
5504 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5505 wxMenu
*arg2
= (wxMenu
*) 0 ;
5506 PyObject
* obj0
= 0 ;
5507 PyObject
* obj1
= 0 ;
5509 (char *) "self",(char *) "menu", NULL
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5515 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5519 (arg1
)->UseMenu(arg2
);
5521 wxPyEndAllowThreads(__tstate
);
5522 if (PyErr_Occurred()) SWIG_fail
;
5524 Py_INCREF(Py_None
); resultobj
= Py_None
;
5531 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5532 PyObject
*resultobj
;
5533 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5534 wxMenu
*arg2
= (wxMenu
*) 0 ;
5535 PyObject
* obj0
= 0 ;
5536 PyObject
* obj1
= 0 ;
5538 (char *) "self",(char *) "menu", NULL
5541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 (arg1
)->RemoveMenu(arg2
);
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5553 Py_INCREF(Py_None
); resultobj
= Py_None
;
5560 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5561 PyObject
*resultobj
;
5562 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5563 wxConfigBase
*arg2
= 0 ;
5564 PyObject
* obj0
= 0 ;
5565 PyObject
* obj1
= 0 ;
5567 (char *) "self",(char *) "config", NULL
5570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5574 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5577 PyErr_SetString(PyExc_TypeError
,"null reference");
5581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5582 (arg1
)->Load(*arg2
);
5584 wxPyEndAllowThreads(__tstate
);
5585 if (PyErr_Occurred()) SWIG_fail
;
5587 Py_INCREF(Py_None
); resultobj
= Py_None
;
5594 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5595 PyObject
*resultobj
;
5596 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5597 wxConfigBase
*arg2
= 0 ;
5598 PyObject
* obj0
= 0 ;
5599 PyObject
* obj1
= 0 ;
5601 (char *) "self",(char *) "config", NULL
5604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5608 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5611 PyErr_SetString(PyExc_TypeError
,"null reference");
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 (arg1
)->Save(*arg2
);
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5621 Py_INCREF(Py_None
); resultobj
= Py_None
;
5628 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5629 PyObject
*resultobj
;
5630 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5631 PyObject
* obj0
= 0 ;
5633 (char *) "self", NULL
5636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 (arg1
)->AddFilesToMenu();
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5646 Py_INCREF(Py_None
); resultobj
= Py_None
;
5653 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5654 PyObject
*resultobj
;
5655 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5656 wxMenu
*arg2
= (wxMenu
*) 0 ;
5657 PyObject
* obj0
= 0 ;
5658 PyObject
* obj1
= 0 ;
5660 (char *) "self",(char *) "menu", NULL
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 (arg1
)->AddFilesToMenu(arg2
);
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5675 Py_INCREF(Py_None
); resultobj
= Py_None
;
5682 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
*resultobj
;
5684 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5687 PyObject
* obj0
= 0 ;
5688 PyObject
* obj1
= 0 ;
5690 (char *) "self",(char *) "i", NULL
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5696 arg2
= (int) SWIG_AsInt(obj1
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5707 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5709 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5718 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
*resultobj
;
5720 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5722 PyObject
* obj0
= 0 ;
5724 (char *) "self", NULL
5727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5732 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5737 resultobj
= SWIG_FromInt((int)result
);
5744 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5747 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5749 return Py_BuildValue((char *)"");
5751 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5752 PyObject
*resultobj
;
5753 wxString
*arg1
= 0 ;
5754 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5755 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5756 wxSingleInstanceChecker
*result
;
5757 bool temp1
= False
;
5758 bool temp2
= False
;
5759 PyObject
* obj0
= 0 ;
5760 PyObject
* obj1
= 0 ;
5762 (char *) "name",(char *) "path", NULL
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5767 arg1
= wxString_in_helper(obj0
);
5768 if (arg1
== NULL
) SWIG_fail
;
5773 arg2
= wxString_in_helper(obj1
);
5774 if (arg2
== NULL
) SWIG_fail
;
5779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5780 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5782 wxPyEndAllowThreads(__tstate
);
5783 if (PyErr_Occurred()) SWIG_fail
;
5785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5808 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5809 PyObject
*resultobj
;
5810 wxSingleInstanceChecker
*result
;
5815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5818 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5820 wxPyEndAllowThreads(__tstate
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5830 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
*resultobj
;
5832 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5833 PyObject
* obj0
= 0 ;
5835 (char *) "self", NULL
5838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5845 wxPyEndAllowThreads(__tstate
);
5846 if (PyErr_Occurred()) SWIG_fail
;
5848 Py_INCREF(Py_None
); resultobj
= Py_None
;
5855 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
;
5857 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5858 wxString
*arg2
= 0 ;
5859 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5860 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5862 bool temp2
= False
;
5863 bool temp3
= False
;
5864 PyObject
* obj0
= 0 ;
5865 PyObject
* obj1
= 0 ;
5866 PyObject
* obj2
= 0 ;
5868 (char *) "self",(char *) "name",(char *) "path", NULL
5871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5875 arg2
= wxString_in_helper(obj1
);
5876 if (arg2
== NULL
) SWIG_fail
;
5881 arg3
= wxString_in_helper(obj2
);
5882 if (arg3
== NULL
) SWIG_fail
;
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5918 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
*resultobj
;
5920 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5922 PyObject
* obj0
= 0 ;
5924 (char *) "self", NULL
5927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5932 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5946 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5949 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5951 return Py_BuildValue((char *)"");
5953 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
*resultobj
;
5955 wxWindow
*arg1
= (wxWindow
*) 0 ;
5958 PyObject
* obj0
= 0 ;
5959 PyObject
* obj1
= 0 ;
5960 PyObject
* obj2
= 0 ;
5962 (char *) "window",(char *) "dc",(char *) "method", NULL
5965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5968 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5969 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5972 PyErr_SetString(PyExc_TypeError
,"null reference");
5975 arg3
= (int) SWIG_AsInt(obj2
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) SWIG_fail
;
5984 Py_INCREF(Py_None
); resultobj
= Py_None
;
5991 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5992 PyObject
*resultobj
;
5993 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5994 PyObject
* obj0
= 0 ;
5996 (char *) "self", NULL
5999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6009 Py_INCREF(Py_None
); resultobj
= Py_None
;
6016 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
*resultobj
;
6018 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6020 PyObject
* obj0
= 0 ;
6022 (char *) "self", NULL
6025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6030 result
= (arg1
)->GetTip();
6032 wxPyEndAllowThreads(__tstate
);
6033 if (PyErr_Occurred()) SWIG_fail
;
6037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6048 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
*resultobj
;
6050 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6052 PyObject
* obj0
= 0 ;
6054 (char *) "self", NULL
6057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 result
= (size_t)(arg1
)->GetCurrentTip();
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6067 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6074 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
;
6076 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6077 wxString
*arg2
= 0 ;
6079 bool temp2
= False
;
6080 PyObject
* obj0
= 0 ;
6081 PyObject
* obj1
= 0 ;
6083 (char *) "self",(char *) "tip", NULL
6086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6090 arg2
= wxString_in_helper(obj1
);
6091 if (arg2
== NULL
) SWIG_fail
;
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6103 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6105 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6122 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6125 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6127 return Py_BuildValue((char *)"");
6129 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
*resultobj
;
6132 wxPyTipProvider
*result
;
6133 PyObject
* obj0
= 0 ;
6135 (char *) "currentTip", NULL
6138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6139 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6155 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
*resultobj
;
6157 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6158 PyObject
*arg2
= (PyObject
*) 0 ;
6159 PyObject
*arg3
= (PyObject
*) 0 ;
6160 PyObject
* obj0
= 0 ;
6161 PyObject
* obj1
= 0 ;
6162 PyObject
* obj2
= 0 ;
6164 (char *) "self",(char *) "self",(char *) "_class", NULL
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6174 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6176 wxPyEndAllowThreads(__tstate
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6179 Py_INCREF(Py_None
); resultobj
= Py_None
;
6186 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6189 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6191 return Py_BuildValue((char *)"");
6193 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
*resultobj
;
6195 wxWindow
*arg1
= (wxWindow
*) 0 ;
6196 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6197 bool arg3
= (bool) True
;
6199 PyObject
* obj0
= 0 ;
6200 PyObject
* obj1
= 0 ;
6201 PyObject
* obj2
= 0 ;
6203 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6212 arg3
= (bool) SWIG_AsBool(obj2
);
6213 if (PyErr_Occurred()) SWIG_fail
;
6216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6231 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6232 PyObject
*resultobj
;
6233 wxString
*arg1
= 0 ;
6235 wxTipProvider
*result
;
6236 bool temp1
= False
;
6237 PyObject
* obj0
= 0 ;
6238 PyObject
* obj1
= 0 ;
6240 (char *) "filename",(char *) "currentTip", NULL
6243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6245 arg1
= wxString_in_helper(obj0
);
6246 if (arg1
== NULL
) SWIG_fail
;
6249 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6255 wxPyEndAllowThreads(__tstate
);
6256 if (PyErr_Occurred()) SWIG_fail
;
6258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6273 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
*resultobj
;
6275 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6276 int arg2
= (int) -1 ;
6278 PyObject
* obj0
= 0 ;
6279 PyObject
* obj1
= 0 ;
6281 (char *) "owner",(char *) "id", NULL
6284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6290 arg2
= (int) SWIG_AsInt(obj1
);
6291 if (PyErr_Occurred()) SWIG_fail
;
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6295 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6307 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
*resultobj
;
6309 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6310 PyObject
* obj0
= 0 ;
6312 (char *) "self", NULL
6315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6322 wxPyEndAllowThreads(__tstate
);
6323 if (PyErr_Occurred()) SWIG_fail
;
6325 Py_INCREF(Py_None
); resultobj
= Py_None
;
6332 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6333 PyObject
*resultobj
;
6334 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6335 PyObject
*arg2
= (PyObject
*) 0 ;
6336 PyObject
*arg3
= (PyObject
*) 0 ;
6337 int arg4
= (int) 1 ;
6338 PyObject
* obj0
= 0 ;
6339 PyObject
* obj1
= 0 ;
6340 PyObject
* obj2
= 0 ;
6341 PyObject
* obj3
= 0 ;
6343 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6352 arg4
= (int) SWIG_AsInt(obj3
);
6353 if (PyErr_Occurred()) SWIG_fail
;
6356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6357 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6359 wxPyEndAllowThreads(__tstate
);
6360 if (PyErr_Occurred()) SWIG_fail
;
6362 Py_INCREF(Py_None
); resultobj
= Py_None
;
6369 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
*resultobj
;
6371 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6372 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6373 int arg3
= (int) -1 ;
6374 PyObject
* obj0
= 0 ;
6375 PyObject
* obj1
= 0 ;
6376 PyObject
* obj2
= 0 ;
6378 (char *) "self",(char *) "owner",(char *) "id", NULL
6381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6387 arg3
= (int) SWIG_AsInt(obj2
);
6388 if (PyErr_Occurred()) SWIG_fail
;
6391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6392 (arg1
)->SetOwner(arg2
,arg3
);
6394 wxPyEndAllowThreads(__tstate
);
6395 if (PyErr_Occurred()) SWIG_fail
;
6397 Py_INCREF(Py_None
); resultobj
= Py_None
;
6404 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
*resultobj
;
6406 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6407 int arg2
= (int) -1 ;
6408 bool arg3
= (bool) False
;
6410 PyObject
* obj0
= 0 ;
6411 PyObject
* obj1
= 0 ;
6412 PyObject
* obj2
= 0 ;
6414 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6421 arg2
= (int) SWIG_AsInt(obj1
);
6422 if (PyErr_Occurred()) SWIG_fail
;
6425 arg3
= (bool) SWIG_AsBool(obj2
);
6426 if (PyErr_Occurred()) SWIG_fail
;
6429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6430 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) SWIG_fail
;
6436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6444 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6445 PyObject
*resultobj
;
6446 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6447 PyObject
* obj0
= 0 ;
6449 (char *) "self", NULL
6452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 wxPyEndAllowThreads(__tstate
);
6460 if (PyErr_Occurred()) SWIG_fail
;
6462 Py_INCREF(Py_None
); resultobj
= Py_None
;
6469 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
*resultobj
;
6471 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6473 PyObject
* obj0
= 0 ;
6475 (char *) "self", NULL
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6483 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6485 wxPyEndAllowThreads(__tstate
);
6486 if (PyErr_Occurred()) SWIG_fail
;
6489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6497 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
*resultobj
;
6499 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6501 PyObject
* obj0
= 0 ;
6503 (char *) "self", NULL
6506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6511 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6513 wxPyEndAllowThreads(__tstate
);
6514 if (PyErr_Occurred()) SWIG_fail
;
6516 resultobj
= SWIG_FromInt((int)result
);
6523 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6524 PyObject
*resultobj
;
6525 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6527 PyObject
* obj0
= 0 ;
6529 (char *) "self", NULL
6532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6537 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6539 wxPyEndAllowThreads(__tstate
);
6540 if (PyErr_Occurred()) SWIG_fail
;
6543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6551 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
*resultobj
;
6553 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6555 PyObject
* obj0
= 0 ;
6557 (char *) "self", NULL
6560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6567 wxPyEndAllowThreads(__tstate
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6570 resultobj
= SWIG_FromInt((int)result
);
6577 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6580 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6582 return Py_BuildValue((char *)"");
6584 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6585 PyObject
*resultobj
;
6586 int arg1
= (int) 0 ;
6587 int arg2
= (int) 0 ;
6588 wxTimerEvent
*result
;
6589 PyObject
* obj0
= 0 ;
6590 PyObject
* obj1
= 0 ;
6592 (char *) "timerid",(char *) "interval", NULL
6595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6597 arg1
= (int) SWIG_AsInt(obj0
);
6598 if (PyErr_Occurred()) SWIG_fail
;
6601 arg2
= (int) SWIG_AsInt(obj1
);
6602 if (PyErr_Occurred()) SWIG_fail
;
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6606 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6618 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6619 PyObject
*resultobj
;
6620 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6622 PyObject
* obj0
= 0 ;
6624 (char *) "self", NULL
6627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6632 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6634 wxPyEndAllowThreads(__tstate
);
6635 if (PyErr_Occurred()) SWIG_fail
;
6637 resultobj
= SWIG_FromInt((int)result
);
6644 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6647 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6649 return Py_BuildValue((char *)"");
6651 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6652 PyObject
*resultobj
;
6654 wxTimerRunner
*result
;
6655 PyObject
* obj0
= 0 ;
6657 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6659 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6662 PyErr_SetString(PyExc_TypeError
,"null reference");
6666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6667 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6669 wxPyEndAllowThreads(__tstate
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6679 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6680 PyObject
*resultobj
;
6683 bool arg3
= (bool) False
;
6684 wxTimerRunner
*result
;
6685 PyObject
* obj0
= 0 ;
6686 PyObject
* obj1
= 0 ;
6687 PyObject
* obj2
= 0 ;
6689 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6691 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6694 PyErr_SetString(PyExc_TypeError
,"null reference");
6697 arg2
= (int) SWIG_AsInt(obj1
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6700 arg3
= (bool) SWIG_AsBool(obj2
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6705 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6707 wxPyEndAllowThreads(__tstate
);
6708 if (PyErr_Occurred()) SWIG_fail
;
6710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6717 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6722 argc
= PyObject_Length(args
);
6723 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6724 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6730 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6738 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6741 if ((argc
>= 2) && (argc
<= 3)) {
6745 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6753 _v
= SWIG_CheckInt(argv
[1]);
6756 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6758 _v
= SWIG_CheckBool(argv
[2]);
6760 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6766 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6771 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6772 PyObject
*resultobj
;
6773 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6774 PyObject
* obj0
= 0 ;
6776 (char *) "self", NULL
6779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6786 wxPyEndAllowThreads(__tstate
);
6787 if (PyErr_Occurred()) SWIG_fail
;
6789 Py_INCREF(Py_None
); resultobj
= Py_None
;
6796 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6797 PyObject
*resultobj
;
6798 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6800 bool arg3
= (bool) False
;
6801 PyObject
* obj0
= 0 ;
6802 PyObject
* obj1
= 0 ;
6803 PyObject
* obj2
= 0 ;
6805 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6811 arg2
= (int) SWIG_AsInt(obj1
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6814 arg3
= (bool) SWIG_AsBool(obj2
);
6815 if (PyErr_Occurred()) SWIG_fail
;
6818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6819 (arg1
)->Start(arg2
,arg3
);
6821 wxPyEndAllowThreads(__tstate
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6824 Py_INCREF(Py_None
); resultobj
= Py_None
;
6831 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6834 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6836 return Py_BuildValue((char *)"");
6838 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
*resultobj
;
6845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6848 result
= (wxLog
*)new wxLog();
6850 wxPyEndAllowThreads(__tstate
);
6851 if (PyErr_Occurred()) SWIG_fail
;
6853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
6860 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6861 PyObject
*resultobj
;
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6870 result
= (bool)wxLog::IsEnabled();
6872 wxPyEndAllowThreads(__tstate
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6884 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
;
6886 bool arg1
= (bool) True
;
6888 PyObject
* obj0
= 0 ;
6890 (char *) "doIt", NULL
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6895 arg1
= (bool) SWIG_AsBool(obj0
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6900 result
= (bool)wxLog::EnableLogging(arg1
);
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6914 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
*resultobj
;
6917 wxChar
*arg2
= (wxChar
*) 0 ;
6919 PyObject
* obj0
= 0 ;
6920 PyObject
* obj1
= 0 ;
6921 PyObject
* obj2
= 0 ;
6923 (char *) "level",(char *) "szString",(char *) "t", NULL
6926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6927 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
6930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6931 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
6932 if (PyErr_Occurred()) SWIG_fail
;
6934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6935 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6937 wxPyEndAllowThreads(__tstate
);
6938 if (PyErr_Occurred()) SWIG_fail
;
6940 Py_INCREF(Py_None
); resultobj
= Py_None
;
6947 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
*resultobj
;
6949 wxLog
*arg1
= (wxLog
*) 0 ;
6950 PyObject
* obj0
= 0 ;
6952 (char *) "self", NULL
6955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
6957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6962 wxPyEndAllowThreads(__tstate
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6965 Py_INCREF(Py_None
); resultobj
= Py_None
;
6972 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
*resultobj
;
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 wxLog::FlushActive();
6983 wxPyEndAllowThreads(__tstate
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6986 Py_INCREF(Py_None
); resultobj
= Py_None
;
6993 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
*resultobj
;
7000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 result
= (wxLog
*)wxLog::GetActiveTarget();
7005 wxPyEndAllowThreads(__tstate
);
7006 if (PyErr_Occurred()) SWIG_fail
;
7008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7015 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7016 PyObject
*resultobj
;
7017 wxLog
*arg1
= (wxLog
*) 0 ;
7019 PyObject
* obj0
= 0 ;
7021 (char *) "pLogger", NULL
7024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7041 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
;
7047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7052 wxPyEndAllowThreads(__tstate
);
7053 if (PyErr_Occurred()) SWIG_fail
;
7055 Py_INCREF(Py_None
); resultobj
= Py_None
;
7062 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7063 PyObject
*resultobj
;
7068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 Py_INCREF(Py_None
); resultobj
= Py_None
;
7083 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
;
7085 bool arg1
= (bool) True
;
7086 PyObject
* obj0
= 0 ;
7088 (char *) "bVerbose", NULL
7091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7093 arg1
= (bool) SWIG_AsBool(obj0
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7098 wxLog::SetVerbose(arg1
);
7100 wxPyEndAllowThreads(__tstate
);
7101 if (PyErr_Occurred()) SWIG_fail
;
7103 Py_INCREF(Py_None
); resultobj
= Py_None
;
7110 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7111 PyObject
*resultobj
;
7113 PyObject
* obj0
= 0 ;
7115 (char *) "logLevel", NULL
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7119 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7120 if (PyErr_Occurred()) SWIG_fail
;
7122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7123 wxLog::SetLogLevel(arg1
);
7125 wxPyEndAllowThreads(__tstate
);
7126 if (PyErr_Occurred()) SWIG_fail
;
7128 Py_INCREF(Py_None
); resultobj
= Py_None
;
7135 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7136 PyObject
*resultobj
;
7141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7144 wxLog::DontCreateOnDemand();
7146 wxPyEndAllowThreads(__tstate
);
7147 if (PyErr_Occurred()) SWIG_fail
;
7149 Py_INCREF(Py_None
); resultobj
= Py_None
;
7156 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7157 PyObject
*resultobj
;
7159 PyObject
* obj0
= 0 ;
7161 (char *) "ulMask", NULL
7164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7165 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7166 if (PyErr_Occurred()) SWIG_fail
;
7168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7169 wxLog::SetTraceMask(arg1
);
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7174 Py_INCREF(Py_None
); resultobj
= Py_None
;
7181 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
*resultobj
;
7183 wxString
*arg1
= 0 ;
7184 bool temp1
= False
;
7185 PyObject
* obj0
= 0 ;
7187 (char *) "str", NULL
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7192 arg1
= wxString_in_helper(obj0
);
7193 if (arg1
== NULL
) SWIG_fail
;
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 wxLog::AddTraceMask((wxString
const &)*arg1
);
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7203 Py_INCREF(Py_None
); resultobj
= Py_None
;
7218 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7219 PyObject
*resultobj
;
7220 wxString
*arg1
= 0 ;
7221 bool temp1
= False
;
7222 PyObject
* obj0
= 0 ;
7224 (char *) "str", NULL
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7229 arg1
= wxString_in_helper(obj0
);
7230 if (arg1
== NULL
) SWIG_fail
;
7234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7235 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7237 wxPyEndAllowThreads(__tstate
);
7238 if (PyErr_Occurred()) SWIG_fail
;
7240 Py_INCREF(Py_None
); resultobj
= Py_None
;
7255 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
*resultobj
;
7261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7264 wxLog::ClearTraceMasks();
7266 wxPyEndAllowThreads(__tstate
);
7267 if (PyErr_Occurred()) SWIG_fail
;
7269 Py_INCREF(Py_None
); resultobj
= Py_None
;
7276 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
*resultobj
;
7278 wxArrayString
*result
;
7283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7287 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7288 result
= (wxArrayString
*) &_result_ref
;
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7295 resultobj
= wxArrayString2PyList_helper(*result
);
7303 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7304 PyObject
*resultobj
;
7305 wxChar
*arg1
= (wxChar
*) 0 ;
7306 PyObject
* obj0
= 0 ;
7311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7316 wxLog::SetTimestamp((wxChar
const *)arg1
);
7318 wxPyEndAllowThreads(__tstate
);
7319 if (PyErr_Occurred()) SWIG_fail
;
7321 Py_INCREF(Py_None
); resultobj
= Py_None
;
7328 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
*resultobj
;
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7338 result
= (bool)wxLog::GetVerbose();
7340 wxPyEndAllowThreads(__tstate
);
7341 if (PyErr_Occurred()) SWIG_fail
;
7344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7352 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7353 PyObject
*resultobj
;
7359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 result
= (wxTraceMask
)wxLog::GetTraceMask();
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7374 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
*resultobj
;
7376 wxChar
*arg1
= (wxChar
*) 0 ;
7378 PyObject
* obj0
= 0 ;
7380 (char *) "mask", NULL
7383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7388 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7390 wxPyEndAllowThreads(__tstate
);
7391 if (PyErr_Occurred()) SWIG_fail
;
7394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7402 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7403 PyObject
*resultobj
;
7409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7412 result
= (wxLogLevel
)wxLog::GetLogLevel();
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7424 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
*resultobj
;
7431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 result
= (wxChar
*)wxLog::GetTimestamp();
7436 wxPyEndAllowThreads(__tstate
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7446 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
*resultobj
;
7453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7456 result
= Log_TimeStamp();
7458 wxPyEndAllowThreads(__tstate
);
7459 if (PyErr_Occurred()) SWIG_fail
;
7463 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7465 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7474 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
*resultobj
;
7476 wxLog
*arg1
= (wxLog
*) 0 ;
7477 PyObject
* obj0
= 0 ;
7479 (char *) "self", NULL
7482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7487 wxLog_Destroy(arg1
);
7489 wxPyEndAllowThreads(__tstate
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7492 Py_INCREF(Py_None
); resultobj
= Py_None
;
7499 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7502 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7504 return Py_BuildValue((char *)"");
7506 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7507 PyObject
*resultobj
;
7508 wxLogStderr
*result
;
7513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7516 result
= (wxLogStderr
*)new wxLogStderr();
7518 wxPyEndAllowThreads(__tstate
);
7519 if (PyErr_Occurred()) SWIG_fail
;
7521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7528 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7530 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7531 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7533 return Py_BuildValue((char *)"");
7535 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7536 PyObject
*resultobj
;
7537 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7538 wxLogTextCtrl
*result
;
7539 PyObject
* obj0
= 0 ;
7541 (char *) "pTextCtrl", NULL
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7549 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7551 wxPyEndAllowThreads(__tstate
);
7552 if (PyErr_Occurred()) SWIG_fail
;
7554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7561 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7564 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7566 return Py_BuildValue((char *)"");
7568 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
*resultobj
;
7575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7578 result
= (wxLogGui
*)new wxLogGui();
7580 wxPyEndAllowThreads(__tstate
);
7581 if (PyErr_Occurred()) SWIG_fail
;
7583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7590 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7593 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7595 return Py_BuildValue((char *)"");
7597 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7598 PyObject
*resultobj
;
7599 wxFrame
*arg1
= (wxFrame
*) 0 ;
7600 wxString
*arg2
= 0 ;
7601 bool arg3
= (bool) True
;
7602 bool arg4
= (bool) True
;
7603 wxLogWindow
*result
;
7604 bool temp2
= False
;
7605 PyObject
* obj0
= 0 ;
7606 PyObject
* obj1
= 0 ;
7607 PyObject
* obj2
= 0 ;
7608 PyObject
* obj3
= 0 ;
7610 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7617 arg2
= wxString_in_helper(obj1
);
7618 if (arg2
== NULL
) SWIG_fail
;
7622 arg3
= (bool) SWIG_AsBool(obj2
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7626 arg4
= (bool) SWIG_AsBool(obj3
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7633 wxPyEndAllowThreads(__tstate
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7651 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7652 PyObject
*resultobj
;
7653 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7654 bool arg2
= (bool) True
;
7655 PyObject
* obj0
= 0 ;
7656 PyObject
* obj1
= 0 ;
7658 (char *) "self",(char *) "bShow", NULL
7661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7665 arg2
= (bool) SWIG_AsBool(obj1
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7672 wxPyEndAllowThreads(__tstate
);
7673 if (PyErr_Occurred()) SWIG_fail
;
7675 Py_INCREF(Py_None
); resultobj
= Py_None
;
7682 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7683 PyObject
*resultobj
;
7684 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7686 PyObject
* obj0
= 0 ;
7688 (char *) "self", NULL
7691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7696 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7698 wxPyEndAllowThreads(__tstate
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7702 resultobj
= wxPyMake_wxObject(result
);
7710 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
*resultobj
;
7712 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7714 PyObject
* obj0
= 0 ;
7716 (char *) "self", NULL
7719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7724 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7726 wxPyEndAllowThreads(__tstate
);
7727 if (PyErr_Occurred()) SWIG_fail
;
7729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7736 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7737 PyObject
*resultobj
;
7738 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7740 PyObject
* obj0
= 0 ;
7742 (char *) "self", NULL
7745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7750 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7752 wxPyEndAllowThreads(__tstate
);
7753 if (PyErr_Occurred()) SWIG_fail
;
7756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7764 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
*resultobj
;
7766 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7768 PyObject
* obj0
= 0 ;
7769 PyObject
* obj1
= 0 ;
7771 (char *) "self",(char *) "bDoPass", NULL
7774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7777 arg2
= (bool) SWIG_AsBool(obj1
);
7778 if (PyErr_Occurred()) SWIG_fail
;
7780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7781 (arg1
)->PassMessages(arg2
);
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) SWIG_fail
;
7786 Py_INCREF(Py_None
); resultobj
= Py_None
;
7793 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7796 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7798 return Py_BuildValue((char *)"");
7800 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
*resultobj
;
7802 wxLog
*arg1
= (wxLog
*) 0 ;
7804 PyObject
* obj0
= 0 ;
7806 (char *) "logger", NULL
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7814 result
= (wxLogChain
*)new wxLogChain(arg1
);
7816 wxPyEndAllowThreads(__tstate
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
7826 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7827 PyObject
*resultobj
;
7828 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7829 wxLog
*arg2
= (wxLog
*) 0 ;
7830 PyObject
* obj0
= 0 ;
7831 PyObject
* obj1
= 0 ;
7833 (char *) "self",(char *) "logger", NULL
7836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7839 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
7840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7843 (arg1
)->SetLog(arg2
);
7845 wxPyEndAllowThreads(__tstate
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7848 Py_INCREF(Py_None
); resultobj
= Py_None
;
7855 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7856 PyObject
*resultobj
;
7857 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7859 PyObject
* obj0
= 0 ;
7860 PyObject
* obj1
= 0 ;
7862 (char *) "self",(char *) "bDoPass", NULL
7865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7868 arg2
= (bool) SWIG_AsBool(obj1
);
7869 if (PyErr_Occurred()) SWIG_fail
;
7871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7872 (arg1
)->PassMessages(arg2
);
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7877 Py_INCREF(Py_None
); resultobj
= Py_None
;
7884 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7885 PyObject
*resultobj
;
7886 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7888 PyObject
* obj0
= 0 ;
7890 (char *) "self", NULL
7893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7898 result
= (bool)(arg1
)->IsPassingMessages();
7900 wxPyEndAllowThreads(__tstate
);
7901 if (PyErr_Occurred()) SWIG_fail
;
7904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7912 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7913 PyObject
*resultobj
;
7914 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7916 PyObject
* obj0
= 0 ;
7918 (char *) "self", NULL
7921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7926 result
= (wxLog
*)(arg1
)->GetOldLog();
7928 wxPyEndAllowThreads(__tstate
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7938 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
7940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7941 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7943 return Py_BuildValue((char *)"");
7945 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7946 PyObject
*resultobj
;
7947 unsigned long result
;
7952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7955 result
= (unsigned long)wxSysErrorCode();
7957 wxPyEndAllowThreads(__tstate
);
7958 if (PyErr_Occurred()) SWIG_fail
;
7960 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7967 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7968 PyObject
*resultobj
;
7969 unsigned long arg1
= (unsigned long) 0 ;
7971 PyObject
* obj0
= 0 ;
7973 (char *) "nErrCode", NULL
7976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7978 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
7979 if (PyErr_Occurred()) SWIG_fail
;
7982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7983 result
= wxSysErrorMsg(arg1
);
7985 wxPyEndAllowThreads(__tstate
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7990 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7992 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8001 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
*resultobj
;
8003 wxString
*arg1
= 0 ;
8004 bool temp1
= False
;
8005 PyObject
* obj0
= 0 ;
8007 (char *) "msg", NULL
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8012 arg1
= wxString_in_helper(obj0
);
8013 if (arg1
== NULL
) SWIG_fail
;
8017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8018 wxLogFatalError((wxString
const &)*arg1
);
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8023 Py_INCREF(Py_None
); resultobj
= Py_None
;
8038 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8039 PyObject
*resultobj
;
8040 wxString
*arg1
= 0 ;
8041 bool temp1
= False
;
8042 PyObject
* obj0
= 0 ;
8044 (char *) "msg", NULL
8047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8049 arg1
= wxString_in_helper(obj0
);
8050 if (arg1
== NULL
) SWIG_fail
;
8054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8055 wxLogError((wxString
const &)*arg1
);
8057 wxPyEndAllowThreads(__tstate
);
8058 if (PyErr_Occurred()) SWIG_fail
;
8060 Py_INCREF(Py_None
); resultobj
= Py_None
;
8075 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8076 PyObject
*resultobj
;
8077 wxString
*arg1
= 0 ;
8078 bool temp1
= False
;
8079 PyObject
* obj0
= 0 ;
8081 (char *) "msg", NULL
8084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8086 arg1
= wxString_in_helper(obj0
);
8087 if (arg1
== NULL
) SWIG_fail
;
8091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8092 wxLogWarning((wxString
const &)*arg1
);
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8097 Py_INCREF(Py_None
); resultobj
= Py_None
;
8112 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
*resultobj
;
8114 wxString
*arg1
= 0 ;
8115 bool temp1
= False
;
8116 PyObject
* obj0
= 0 ;
8118 (char *) "msg", NULL
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8123 arg1
= wxString_in_helper(obj0
);
8124 if (arg1
== NULL
) SWIG_fail
;
8128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8129 wxLogMessage((wxString
const &)*arg1
);
8131 wxPyEndAllowThreads(__tstate
);
8132 if (PyErr_Occurred()) SWIG_fail
;
8134 Py_INCREF(Py_None
); resultobj
= Py_None
;
8149 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8150 PyObject
*resultobj
;
8151 wxString
*arg1
= 0 ;
8152 bool temp1
= False
;
8153 PyObject
* obj0
= 0 ;
8155 (char *) "msg", NULL
8158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8160 arg1
= wxString_in_helper(obj0
);
8161 if (arg1
== NULL
) SWIG_fail
;
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 wxLogInfo((wxString
const &)*arg1
);
8168 wxPyEndAllowThreads(__tstate
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8171 Py_INCREF(Py_None
); resultobj
= Py_None
;
8186 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8187 PyObject
*resultobj
;
8188 wxString
*arg1
= 0 ;
8189 bool temp1
= False
;
8190 PyObject
* obj0
= 0 ;
8192 (char *) "msg", NULL
8195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8197 arg1
= wxString_in_helper(obj0
);
8198 if (arg1
== NULL
) SWIG_fail
;
8202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8203 wxLogDebug((wxString
const &)*arg1
);
8205 wxPyEndAllowThreads(__tstate
);
8206 if (PyErr_Occurred()) SWIG_fail
;
8208 Py_INCREF(Py_None
); resultobj
= Py_None
;
8223 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8224 PyObject
*resultobj
;
8225 wxString
*arg1
= 0 ;
8226 bool temp1
= False
;
8227 PyObject
* obj0
= 0 ;
8229 (char *) "msg", NULL
8232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8234 arg1
= wxString_in_helper(obj0
);
8235 if (arg1
== NULL
) SWIG_fail
;
8239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8240 wxLogVerbose((wxString
const &)*arg1
);
8242 wxPyEndAllowThreads(__tstate
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8245 Py_INCREF(Py_None
); resultobj
= Py_None
;
8260 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8261 PyObject
*resultobj
;
8262 wxString
*arg1
= 0 ;
8263 bool temp1
= False
;
8264 PyObject
* obj0
= 0 ;
8266 (char *) "msg", NULL
8269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8271 arg1
= wxString_in_helper(obj0
);
8272 if (arg1
== NULL
) SWIG_fail
;
8276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8277 wxLogStatus((wxString
const &)*arg1
);
8279 wxPyEndAllowThreads(__tstate
);
8280 if (PyErr_Occurred()) SWIG_fail
;
8282 Py_INCREF(Py_None
); resultobj
= Py_None
;
8297 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8298 PyObject
*resultobj
;
8299 wxFrame
*arg1
= (wxFrame
*) 0 ;
8300 wxString
*arg2
= 0 ;
8301 bool temp2
= False
;
8302 PyObject
* obj0
= 0 ;
8303 PyObject
* obj1
= 0 ;
8305 (char *) "pFrame",(char *) "msg", NULL
8308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8312 arg2
= wxString_in_helper(obj1
);
8313 if (arg2
== NULL
) SWIG_fail
;
8317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8320 wxPyEndAllowThreads(__tstate
);
8321 if (PyErr_Occurred()) SWIG_fail
;
8323 Py_INCREF(Py_None
); resultobj
= Py_None
;
8338 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8339 PyObject
*resultobj
;
8340 wxString
*arg1
= 0 ;
8341 bool temp1
= False
;
8342 PyObject
* obj0
= 0 ;
8344 (char *) "msg", NULL
8347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8349 arg1
= wxString_in_helper(obj0
);
8350 if (arg1
== NULL
) SWIG_fail
;
8354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8355 wxLogSysError((wxString
const &)*arg1
);
8357 wxPyEndAllowThreads(__tstate
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8360 Py_INCREF(Py_None
); resultobj
= Py_None
;
8375 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8376 PyObject
*resultobj
;
8377 unsigned long arg1
;
8378 wxString
*arg2
= 0 ;
8379 bool temp2
= False
;
8380 PyObject
* obj0
= 0 ;
8381 PyObject
* obj1
= 0 ;
8383 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8384 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8385 if (PyErr_Occurred()) SWIG_fail
;
8387 arg2
= wxString_in_helper(obj1
);
8388 if (arg2
== NULL
) SWIG_fail
;
8392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8393 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8398 Py_INCREF(Py_None
); resultobj
= Py_None
;
8413 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8414 PyObject
*resultobj
;
8415 wxString
*arg1
= 0 ;
8416 wxString
*arg2
= 0 ;
8417 bool temp1
= False
;
8418 bool temp2
= False
;
8419 PyObject
* obj0
= 0 ;
8420 PyObject
* obj1
= 0 ;
8422 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8424 arg1
= wxString_in_helper(obj0
);
8425 if (arg1
== NULL
) SWIG_fail
;
8429 arg2
= wxString_in_helper(obj1
);
8430 if (arg2
== NULL
) SWIG_fail
;
8434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8435 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8440 Py_INCREF(Py_None
); resultobj
= Py_None
;
8463 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8468 argc
= PyObject_Length(args
);
8469 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8470 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8475 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8479 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8482 return _wrap_LogTrace__SWIG_1(self
,args
);
8488 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8491 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8494 return _wrap_LogTrace__SWIG_0(self
,args
);
8499 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8504 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8505 PyObject
*resultobj
;
8506 unsigned long arg1
;
8507 wxString
*arg2
= 0 ;
8508 bool temp2
= False
;
8509 PyObject
* obj0
= 0 ;
8510 PyObject
* obj1
= 0 ;
8512 (char *) "level",(char *) "msg", NULL
8515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8516 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8517 if (PyErr_Occurred()) SWIG_fail
;
8519 arg2
= wxString_in_helper(obj1
);
8520 if (arg2
== NULL
) SWIG_fail
;
8524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8525 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8527 wxPyEndAllowThreads(__tstate
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8530 Py_INCREF(Py_None
); resultobj
= Py_None
;
8545 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
*resultobj
;
8547 wxString
*arg1
= 0 ;
8548 wxString
*arg2
= 0 ;
8549 bool temp1
= False
;
8550 bool temp2
= False
;
8551 PyObject
* obj0
= 0 ;
8552 PyObject
* obj1
= 0 ;
8554 (char *) "title",(char *) "text", NULL
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8559 arg1
= wxString_in_helper(obj0
);
8560 if (arg1
== NULL
) SWIG_fail
;
8564 arg2
= wxString_in_helper(obj1
);
8565 if (arg2
== NULL
) SWIG_fail
;
8569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8570 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8572 wxPyEndAllowThreads(__tstate
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8575 Py_INCREF(Py_None
); resultobj
= Py_None
;
8598 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8599 PyObject
*resultobj
;
8605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8608 result
= (wxLogNull
*)new wxLogNull();
8610 wxPyEndAllowThreads(__tstate
);
8611 if (PyErr_Occurred()) SWIG_fail
;
8613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8620 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8621 PyObject
*resultobj
;
8622 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8623 PyObject
* obj0
= 0 ;
8625 (char *) "self", NULL
8628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8638 Py_INCREF(Py_None
); resultobj
= Py_None
;
8645 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8647 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8648 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8650 return Py_BuildValue((char *)"");
8652 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8653 PyObject
*resultobj
;
8659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8662 result
= (wxPyLog
*)new wxPyLog();
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8674 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8675 PyObject
*resultobj
;
8676 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8677 PyObject
*arg2
= (PyObject
*) 0 ;
8678 PyObject
*arg3
= (PyObject
*) 0 ;
8679 PyObject
* obj0
= 0 ;
8680 PyObject
* obj1
= 0 ;
8681 PyObject
* obj2
= 0 ;
8683 (char *) "self",(char *) "self",(char *) "_class", NULL
8686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8693 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8695 wxPyEndAllowThreads(__tstate
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8698 Py_INCREF(Py_None
); resultobj
= Py_None
;
8705 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8708 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8710 return Py_BuildValue((char *)"");
8712 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8713 PyObject
*resultobj
;
8715 int arg2
= (int) wxSIGTERM
;
8717 PyObject
* obj0
= 0 ;
8718 PyObject
* obj1
= 0 ;
8720 (char *) "pid",(char *) "sig", NULL
8723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8724 arg1
= (int) SWIG_AsInt(obj0
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8727 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8728 if (PyErr_Occurred()) SWIG_fail
;
8731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8732 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8734 wxPyEndAllowThreads(__tstate
);
8735 if (PyErr_Occurred()) SWIG_fail
;
8737 resultobj
= SWIG_FromInt((int)result
);
8744 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8745 PyObject
*resultobj
;
8748 PyObject
* obj0
= 0 ;
8750 (char *) "pid", NULL
8753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8754 arg1
= (int) SWIG_AsInt(obj0
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8758 result
= (bool)wxPyProcess::Exists(arg1
);
8760 wxPyEndAllowThreads(__tstate
);
8761 if (PyErr_Occurred()) SWIG_fail
;
8764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8772 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8773 PyObject
*resultobj
;
8774 wxString
*arg1
= 0 ;
8775 int arg2
= (int) wxEXEC_ASYNC
;
8776 wxPyProcess
*result
;
8777 bool temp1
= False
;
8778 PyObject
* obj0
= 0 ;
8779 PyObject
* obj1
= 0 ;
8781 (char *) "cmd",(char *) "flags", NULL
8784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8786 arg1
= wxString_in_helper(obj0
);
8787 if (arg1
== NULL
) SWIG_fail
;
8791 arg2
= (int) SWIG_AsInt(obj1
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8796 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8798 wxPyEndAllowThreads(__tstate
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
8816 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8817 PyObject
*resultobj
;
8818 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8819 int arg2
= (int) -1 ;
8820 wxPyProcess
*result
;
8821 PyObject
* obj0
= 0 ;
8822 PyObject
* obj1
= 0 ;
8824 (char *) "parent",(char *) "id", NULL
8827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
8830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8833 arg2
= (int) SWIG_AsInt(obj1
);
8834 if (PyErr_Occurred()) SWIG_fail
;
8837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8838 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8840 wxPyEndAllowThreads(__tstate
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
8850 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8851 PyObject
*resultobj
;
8852 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8853 PyObject
*arg2
= (PyObject
*) 0 ;
8854 PyObject
*arg3
= (PyObject
*) 0 ;
8855 PyObject
* obj0
= 0 ;
8856 PyObject
* obj1
= 0 ;
8857 PyObject
* obj2
= 0 ;
8859 (char *) "self",(char *) "self",(char *) "_class", NULL
8862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8871 wxPyEndAllowThreads(__tstate
);
8872 if (PyErr_Occurred()) SWIG_fail
;
8874 Py_INCREF(Py_None
); resultobj
= Py_None
;
8881 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8882 PyObject
*resultobj
;
8883 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8886 PyObject
* obj0
= 0 ;
8887 PyObject
* obj1
= 0 ;
8888 PyObject
* obj2
= 0 ;
8890 (char *) "self",(char *) "pid",(char *) "status", NULL
8893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8896 arg2
= (int) SWIG_AsInt(obj1
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8898 arg3
= (int) SWIG_AsInt(obj2
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 (arg1
)->base_OnTerminate(arg2
,arg3
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 Py_INCREF(Py_None
); resultobj
= Py_None
;
8914 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
;
8916 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8917 PyObject
* obj0
= 0 ;
8919 (char *) "self", NULL
8922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8932 Py_INCREF(Py_None
); resultobj
= Py_None
;
8939 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8940 PyObject
*resultobj
;
8941 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8943 PyObject
* obj0
= 0 ;
8945 (char *) "self", NULL
8948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8953 result
= (bool)(arg1
)->IsRedirected();
8955 wxPyEndAllowThreads(__tstate
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8967 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8968 PyObject
*resultobj
;
8969 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8970 PyObject
* obj0
= 0 ;
8972 (char *) "self", NULL
8975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
8976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 wxPyEndAllowThreads(__tstate
);
8983 if (PyErr_Occurred()) SWIG_fail
;
8985 Py_INCREF(Py_None
); resultobj
= Py_None
;
8992 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8993 PyObject
*resultobj
;
8994 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8995 wxInputStream
*result
;
8996 PyObject
* obj0
= 0 ;
8998 (char *) "self", NULL
9001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9006 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9008 wxPyEndAllowThreads(__tstate
);
9009 if (PyErr_Occurred()) SWIG_fail
;
9012 wxPyInputStream
* _ptr
= NULL
;
9015 _ptr
= new wxPyInputStream(result
);
9017 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9025 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9026 PyObject
*resultobj
;
9027 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9028 wxInputStream
*result
;
9029 PyObject
* obj0
= 0 ;
9031 (char *) "self", NULL
9034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9041 wxPyEndAllowThreads(__tstate
);
9042 if (PyErr_Occurred()) SWIG_fail
;
9045 wxPyInputStream
* _ptr
= NULL
;
9048 _ptr
= new wxPyInputStream(result
);
9050 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9058 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9059 PyObject
*resultobj
;
9060 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9061 wxOutputStream
*result
;
9062 PyObject
* obj0
= 0 ;
9064 (char *) "self", NULL
9067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9084 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
*resultobj
;
9086 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9087 PyObject
* obj0
= 0 ;
9089 (char *) "self", NULL
9092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9097 (arg1
)->CloseOutput();
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9102 Py_INCREF(Py_None
); resultobj
= Py_None
;
9109 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9110 PyObject
*resultobj
;
9111 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9113 PyObject
* obj0
= 0 ;
9115 (char *) "self", NULL
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9125 wxPyEndAllowThreads(__tstate
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9137 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9138 PyObject
*resultobj
;
9139 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9141 PyObject
* obj0
= 0 ;
9143 (char *) "self", NULL
9146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9165 static PyObject
*_wrap_Process_IsErrorAvailable(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_IsErrorAvailable",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
)->IsErrorAvailable();
9181 wxPyEndAllowThreads(__tstate
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9193 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9195 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9196 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9198 return Py_BuildValue((char *)"");
9200 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9201 PyObject
*resultobj
;
9202 int arg1
= (int) 0 ;
9203 int arg2
= (int) 0 ;
9204 int arg3
= (int) 0 ;
9205 wxProcessEvent
*result
;
9206 PyObject
* obj0
= 0 ;
9207 PyObject
* obj1
= 0 ;
9208 PyObject
* obj2
= 0 ;
9210 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9215 arg1
= (int) SWIG_AsInt(obj0
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9219 arg2
= (int) SWIG_AsInt(obj1
);
9220 if (PyErr_Occurred()) SWIG_fail
;
9223 arg3
= (int) SWIG_AsInt(obj2
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9228 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9230 wxPyEndAllowThreads(__tstate
);
9231 if (PyErr_Occurred()) SWIG_fail
;
9233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9240 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
*resultobj
;
9242 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9244 PyObject
* obj0
= 0 ;
9246 (char *) "self", NULL
9249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 result
= (int)(arg1
)->GetPid();
9256 wxPyEndAllowThreads(__tstate
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9259 resultobj
= SWIG_FromInt((int)result
);
9266 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9267 PyObject
*resultobj
;
9268 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9270 PyObject
* obj0
= 0 ;
9272 (char *) "self", NULL
9275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9280 result
= (int)(arg1
)->GetExitCode();
9282 wxPyEndAllowThreads(__tstate
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9285 resultobj
= SWIG_FromInt((int)result
);
9292 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9293 PyObject
*resultobj
;
9294 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9296 PyObject
* obj0
= 0 ;
9297 PyObject
* obj1
= 0 ;
9299 (char *) "self",(char *) "m_pid", NULL
9302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9305 arg2
= (int) SWIG_AsInt(obj1
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9307 if (arg1
) (arg1
)->m_pid
= arg2
;
9309 Py_INCREF(Py_None
); resultobj
= Py_None
;
9316 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9317 PyObject
*resultobj
;
9318 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9320 PyObject
* obj0
= 0 ;
9322 (char *) "self", NULL
9325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9328 result
= (int) ((arg1
)->m_pid
);
9330 resultobj
= SWIG_FromInt((int)result
);
9337 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9338 PyObject
*resultobj
;
9339 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9341 PyObject
* obj0
= 0 ;
9342 PyObject
* obj1
= 0 ;
9344 (char *) "self",(char *) "m_exitcode", NULL
9347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9350 arg2
= (int) SWIG_AsInt(obj1
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9352 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9354 Py_INCREF(Py_None
); resultobj
= Py_None
;
9361 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
;
9363 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9365 PyObject
* obj0
= 0 ;
9367 (char *) "self", NULL
9370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9373 result
= (int) ((arg1
)->m_exitcode
);
9375 resultobj
= SWIG_FromInt((int)result
);
9382 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9385 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9387 return Py_BuildValue((char *)"");
9389 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
*resultobj
;
9391 wxString
*arg1
= 0 ;
9392 int arg2
= (int) wxEXEC_ASYNC
;
9393 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9395 bool temp1
= False
;
9396 PyObject
* obj0
= 0 ;
9397 PyObject
* obj1
= 0 ;
9398 PyObject
* obj2
= 0 ;
9400 (char *) "command",(char *) "flags",(char *) "process", NULL
9403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9405 arg1
= wxString_in_helper(obj0
);
9406 if (arg1
== NULL
) SWIG_fail
;
9410 arg2
= (int) SWIG_AsInt(obj1
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9414 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9419 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9421 wxPyEndAllowThreads(__tstate
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9424 resultobj
= SWIG_FromLong((long)result
);
9439 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9440 PyObject
*resultobj
;
9441 int arg1
= (int) wxJOYSTICK1
;
9443 PyObject
* obj0
= 0 ;
9445 (char *) "joystick", NULL
9448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9450 arg1
= (int) SWIG_AsInt(obj0
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9455 result
= (wxJoystick
*)new wxJoystick(arg1
);
9457 wxPyEndAllowThreads(__tstate
);
9458 if (PyErr_Occurred()) SWIG_fail
;
9460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9467 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9468 PyObject
*resultobj
;
9469 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9470 PyObject
* obj0
= 0 ;
9472 (char *) "self", NULL
9475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9485 Py_INCREF(Py_None
); resultobj
= Py_None
;
9492 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
;
9494 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9496 PyObject
* obj0
= 0 ;
9498 (char *) "self", NULL
9501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 result
= (arg1
)->GetPosition();
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9512 wxPoint
* resultptr
;
9513 resultptr
= new wxPoint((wxPoint
&) result
);
9514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9522 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9523 PyObject
*resultobj
;
9524 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9526 PyObject
* obj0
= 0 ;
9528 (char *) "self", NULL
9531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",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();
9536 result
= (int)(arg1
)->GetZPosition();
9538 wxPyEndAllowThreads(__tstate
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9541 resultobj
= SWIG_FromInt((int)result
);
9548 static PyObject
*_wrap_Joystick_GetButtonState(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_GetButtonState",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
= (int)(arg1
)->GetButtonState();
9564 wxPyEndAllowThreads(__tstate
);
9565 if (PyErr_Occurred()) SWIG_fail
;
9567 resultobj
= SWIG_FromInt((int)result
);
9574 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9575 PyObject
*resultobj
;
9576 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9578 PyObject
* obj0
= 0 ;
9580 (char *) "self", NULL
9583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9588 result
= (int)(arg1
)->GetPOVPosition();
9590 wxPyEndAllowThreads(__tstate
);
9591 if (PyErr_Occurred()) SWIG_fail
;
9593 resultobj
= SWIG_FromInt((int)result
);
9600 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9601 PyObject
*resultobj
;
9602 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9604 PyObject
* obj0
= 0 ;
9606 (char *) "self", NULL
9609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 result
= (int)(arg1
)->GetPOVCTSPosition();
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9619 resultobj
= SWIG_FromInt((int)result
);
9626 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9627 PyObject
*resultobj
;
9628 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9630 PyObject
* obj0
= 0 ;
9632 (char *) "self", NULL
9635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9640 result
= (int)(arg1
)->GetRudderPosition();
9642 wxPyEndAllowThreads(__tstate
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9645 resultobj
= SWIG_FromInt((int)result
);
9652 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9653 PyObject
*resultobj
;
9654 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9656 PyObject
* obj0
= 0 ;
9658 (char *) "self", NULL
9661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9666 result
= (int)(arg1
)->GetUPosition();
9668 wxPyEndAllowThreads(__tstate
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9671 resultobj
= SWIG_FromInt((int)result
);
9678 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
*resultobj
;
9680 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9682 PyObject
* obj0
= 0 ;
9684 (char *) "self", NULL
9687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9692 result
= (int)(arg1
)->GetVPosition();
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9697 resultobj
= SWIG_FromInt((int)result
);
9704 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
*resultobj
;
9706 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9708 PyObject
* obj0
= 0 ;
9710 (char *) "self", NULL
9713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9718 result
= (int)(arg1
)->GetMovementThreshold();
9720 wxPyEndAllowThreads(__tstate
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9723 resultobj
= SWIG_FromInt((int)result
);
9730 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9731 PyObject
*resultobj
;
9732 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9734 PyObject
* obj0
= 0 ;
9735 PyObject
* obj1
= 0 ;
9737 (char *) "self",(char *) "threshold", NULL
9740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9743 arg2
= (int) SWIG_AsInt(obj1
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 (arg1
)->SetMovementThreshold(arg2
);
9749 wxPyEndAllowThreads(__tstate
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9752 Py_INCREF(Py_None
); resultobj
= Py_None
;
9759 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
*resultobj
;
9761 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9763 PyObject
* obj0
= 0 ;
9765 (char *) "self", NULL
9768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 result
= (bool)(arg1
)->IsOk();
9775 wxPyEndAllowThreads(__tstate
);
9776 if (PyErr_Occurred()) SWIG_fail
;
9779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9787 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9788 PyObject
*resultobj
;
9789 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9791 PyObject
* obj0
= 0 ;
9793 (char *) "self", NULL
9796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 result
= (int)(arg1
)->GetNumberJoysticks();
9803 wxPyEndAllowThreads(__tstate
);
9804 if (PyErr_Occurred()) SWIG_fail
;
9806 resultobj
= SWIG_FromInt((int)result
);
9813 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9814 PyObject
*resultobj
;
9815 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9817 PyObject
* obj0
= 0 ;
9819 (char *) "self", NULL
9822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9827 result
= (int)(arg1
)->GetManufacturerId();
9829 wxPyEndAllowThreads(__tstate
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9832 resultobj
= SWIG_FromInt((int)result
);
9839 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9840 PyObject
*resultobj
;
9841 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9843 PyObject
* obj0
= 0 ;
9845 (char *) "self", NULL
9848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9853 result
= (int)(arg1
)->GetProductId();
9855 wxPyEndAllowThreads(__tstate
);
9856 if (PyErr_Occurred()) SWIG_fail
;
9858 resultobj
= SWIG_FromInt((int)result
);
9865 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9866 PyObject
*resultobj
;
9867 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9869 PyObject
* obj0
= 0 ;
9871 (char *) "self", NULL
9874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9879 result
= (arg1
)->GetProductName();
9881 wxPyEndAllowThreads(__tstate
);
9882 if (PyErr_Occurred()) SWIG_fail
;
9886 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9888 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9897 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9898 PyObject
*resultobj
;
9899 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9901 PyObject
* obj0
= 0 ;
9903 (char *) "self", NULL
9906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 result
= (int)(arg1
)->GetXMin();
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9916 resultobj
= SWIG_FromInt((int)result
);
9923 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9924 PyObject
*resultobj
;
9925 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9927 PyObject
* obj0
= 0 ;
9929 (char *) "self", NULL
9932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9937 result
= (int)(arg1
)->GetYMin();
9939 wxPyEndAllowThreads(__tstate
);
9940 if (PyErr_Occurred()) SWIG_fail
;
9942 resultobj
= SWIG_FromInt((int)result
);
9949 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9950 PyObject
*resultobj
;
9951 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9953 PyObject
* obj0
= 0 ;
9955 (char *) "self", NULL
9958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
9959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9963 result
= (int)(arg1
)->GetZMin();
9965 wxPyEndAllowThreads(__tstate
);
9966 if (PyErr_Occurred()) SWIG_fail
;
9968 resultobj
= SWIG_FromInt((int)result
);
9975 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9976 PyObject
*resultobj
;
9977 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9979 PyObject
* obj0
= 0 ;
9981 (char *) "self", NULL
9984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
9985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9989 result
= (int)(arg1
)->GetXMax();
9991 wxPyEndAllowThreads(__tstate
);
9992 if (PyErr_Occurred()) SWIG_fail
;
9994 resultobj
= SWIG_FromInt((int)result
);
10001 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
*resultobj
;
10003 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10005 PyObject
* obj0
= 0 ;
10006 char *kwnames
[] = {
10007 (char *) "self", NULL
10010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10015 result
= (int)(arg1
)->GetYMax();
10017 wxPyEndAllowThreads(__tstate
);
10018 if (PyErr_Occurred()) SWIG_fail
;
10020 resultobj
= SWIG_FromInt((int)result
);
10027 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10028 PyObject
*resultobj
;
10029 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10031 PyObject
* obj0
= 0 ;
10032 char *kwnames
[] = {
10033 (char *) "self", NULL
10036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 result
= (int)(arg1
)->GetZMax();
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10046 resultobj
= SWIG_FromInt((int)result
);
10053 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10054 PyObject
*resultobj
;
10055 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10057 PyObject
* obj0
= 0 ;
10058 char *kwnames
[] = {
10059 (char *) "self", NULL
10062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 result
= (int)(arg1
)->GetNumberButtons();
10069 wxPyEndAllowThreads(__tstate
);
10070 if (PyErr_Occurred()) SWIG_fail
;
10072 resultobj
= SWIG_FromInt((int)result
);
10079 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10080 PyObject
*resultobj
;
10081 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10083 PyObject
* obj0
= 0 ;
10084 char *kwnames
[] = {
10085 (char *) "self", NULL
10088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10093 result
= (int)(arg1
)->GetNumberAxes();
10095 wxPyEndAllowThreads(__tstate
);
10096 if (PyErr_Occurred()) SWIG_fail
;
10098 resultobj
= SWIG_FromInt((int)result
);
10105 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10106 PyObject
*resultobj
;
10107 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10109 PyObject
* obj0
= 0 ;
10110 char *kwnames
[] = {
10111 (char *) "self", NULL
10114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 result
= (int)(arg1
)->GetMaxButtons();
10121 wxPyEndAllowThreads(__tstate
);
10122 if (PyErr_Occurred()) SWIG_fail
;
10124 resultobj
= SWIG_FromInt((int)result
);
10131 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10132 PyObject
*resultobj
;
10133 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10135 PyObject
* obj0
= 0 ;
10136 char *kwnames
[] = {
10137 (char *) "self", NULL
10140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 result
= (int)(arg1
)->GetMaxAxes();
10147 wxPyEndAllowThreads(__tstate
);
10148 if (PyErr_Occurred()) SWIG_fail
;
10150 resultobj
= SWIG_FromInt((int)result
);
10157 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10158 PyObject
*resultobj
;
10159 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10161 PyObject
* obj0
= 0 ;
10162 char *kwnames
[] = {
10163 (char *) "self", NULL
10166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 result
= (int)(arg1
)->GetPollingMin();
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10176 resultobj
= SWIG_FromInt((int)result
);
10183 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10184 PyObject
*resultobj
;
10185 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10187 PyObject
* obj0
= 0 ;
10188 char *kwnames
[] = {
10189 (char *) "self", NULL
10192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 result
= (int)(arg1
)->GetPollingMax();
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10202 resultobj
= SWIG_FromInt((int)result
);
10209 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10210 PyObject
*resultobj
;
10211 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10213 PyObject
* obj0
= 0 ;
10214 char *kwnames
[] = {
10215 (char *) "self", NULL
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10223 result
= (int)(arg1
)->GetRudderMin();
10225 wxPyEndAllowThreads(__tstate
);
10226 if (PyErr_Occurred()) SWIG_fail
;
10228 resultobj
= SWIG_FromInt((int)result
);
10235 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10236 PyObject
*resultobj
;
10237 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10239 PyObject
* obj0
= 0 ;
10240 char *kwnames
[] = {
10241 (char *) "self", NULL
10244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 result
= (int)(arg1
)->GetRudderMax();
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10254 resultobj
= SWIG_FromInt((int)result
);
10261 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10262 PyObject
*resultobj
;
10263 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10265 PyObject
* obj0
= 0 ;
10266 char *kwnames
[] = {
10267 (char *) "self", NULL
10270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 result
= (int)(arg1
)->GetUMin();
10277 wxPyEndAllowThreads(__tstate
);
10278 if (PyErr_Occurred()) SWIG_fail
;
10280 resultobj
= SWIG_FromInt((int)result
);
10287 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10288 PyObject
*resultobj
;
10289 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10291 PyObject
* obj0
= 0 ;
10292 char *kwnames
[] = {
10293 (char *) "self", NULL
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10301 result
= (int)(arg1
)->GetUMax();
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10306 resultobj
= SWIG_FromInt((int)result
);
10313 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10314 PyObject
*resultobj
;
10315 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10317 PyObject
* obj0
= 0 ;
10318 char *kwnames
[] = {
10319 (char *) "self", NULL
10322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10327 result
= (int)(arg1
)->GetVMin();
10329 wxPyEndAllowThreads(__tstate
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10332 resultobj
= SWIG_FromInt((int)result
);
10339 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
*resultobj
;
10341 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10343 PyObject
* obj0
= 0 ;
10344 char *kwnames
[] = {
10345 (char *) "self", NULL
10348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10353 result
= (int)(arg1
)->GetVMax();
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10358 resultobj
= SWIG_FromInt((int)result
);
10365 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10366 PyObject
*resultobj
;
10367 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10369 PyObject
* obj0
= 0 ;
10370 char *kwnames
[] = {
10371 (char *) "self", NULL
10374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10379 result
= (bool)(arg1
)->HasRudder();
10381 wxPyEndAllowThreads(__tstate
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10393 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10394 PyObject
*resultobj
;
10395 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10397 PyObject
* obj0
= 0 ;
10398 char *kwnames
[] = {
10399 (char *) "self", NULL
10402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10407 result
= (bool)(arg1
)->HasZ();
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10421 static PyObject
*_wrap_Joystick_HasU(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_HasU",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
)->HasU();
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10449 static PyObject
*_wrap_Joystick_HasV(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_HasV",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
)->HasV();
10465 wxPyEndAllowThreads(__tstate
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10477 static PyObject
*_wrap_Joystick_HasPOV(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_HasPOV",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
)->HasPOV();
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10505 static PyObject
*_wrap_Joystick_HasPOV4Dir(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_HasPOV4Dir",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
)->HasPOV4Dir();
10521 wxPyEndAllowThreads(__tstate
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10533 static PyObject
*_wrap_Joystick_HasPOVCTS(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_HasPOVCTS",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
)->HasPOVCTS();
10549 wxPyEndAllowThreads(__tstate
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10561 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10562 PyObject
*resultobj
;
10563 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10564 wxWindow
*arg2
= (wxWindow
*) 0 ;
10565 int arg3
= (int) 0 ;
10567 PyObject
* obj0
= 0 ;
10568 PyObject
* obj1
= 0 ;
10569 PyObject
* obj2
= 0 ;
10570 char *kwnames
[] = {
10571 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10580 arg3
= (int) SWIG_AsInt(obj2
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10587 wxPyEndAllowThreads(__tstate
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10599 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
*resultobj
;
10601 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10603 PyObject
* obj0
= 0 ;
10604 char *kwnames
[] = {
10605 (char *) "self", NULL
10608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10613 result
= (bool)(arg1
)->ReleaseCapture();
10615 wxPyEndAllowThreads(__tstate
);
10616 if (PyErr_Occurred()) SWIG_fail
;
10619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10627 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10630 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10632 return Py_BuildValue((char *)"");
10634 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
*resultobj
;
10636 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10637 wxPoint
*arg2
= (wxPoint
*) 0 ;
10638 PyObject
* obj0
= 0 ;
10639 PyObject
* obj1
= 0 ;
10640 char *kwnames
[] = {
10641 (char *) "self",(char *) "m_pos", NULL
10644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10649 if (arg1
) (arg1
)->m_pos
= *arg2
;
10651 Py_INCREF(Py_None
); resultobj
= Py_None
;
10658 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10659 PyObject
*resultobj
;
10660 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10662 PyObject
* obj0
= 0 ;
10663 char *kwnames
[] = {
10664 (char *) "self", NULL
10667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10670 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10679 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10680 PyObject
*resultobj
;
10681 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10683 PyObject
* obj0
= 0 ;
10684 PyObject
* obj1
= 0 ;
10685 char *kwnames
[] = {
10686 (char *) "self",(char *) "m_zPosition", NULL
10689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10692 arg2
= (int) SWIG_AsInt(obj1
);
10693 if (PyErr_Occurred()) SWIG_fail
;
10694 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10696 Py_INCREF(Py_None
); resultobj
= Py_None
;
10703 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10704 PyObject
*resultobj
;
10705 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10707 PyObject
* obj0
= 0 ;
10708 char *kwnames
[] = {
10709 (char *) "self", NULL
10712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10715 result
= (int) ((arg1
)->m_zPosition
);
10717 resultobj
= SWIG_FromInt((int)result
);
10724 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10725 PyObject
*resultobj
;
10726 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10728 PyObject
* obj0
= 0 ;
10729 PyObject
* obj1
= 0 ;
10730 char *kwnames
[] = {
10731 (char *) "self",(char *) "m_buttonChange", NULL
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10737 arg2
= (int) SWIG_AsInt(obj1
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10739 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10741 Py_INCREF(Py_None
); resultobj
= Py_None
;
10748 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10749 PyObject
*resultobj
;
10750 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10752 PyObject
* obj0
= 0 ;
10753 char *kwnames
[] = {
10754 (char *) "self", NULL
10757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10760 result
= (int) ((arg1
)->m_buttonChange
);
10762 resultobj
= SWIG_FromInt((int)result
);
10769 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
;
10771 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10773 PyObject
* obj0
= 0 ;
10774 PyObject
* obj1
= 0 ;
10775 char *kwnames
[] = {
10776 (char *) "self",(char *) "m_buttonState", NULL
10779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10782 arg2
= (int) SWIG_AsInt(obj1
);
10783 if (PyErr_Occurred()) SWIG_fail
;
10784 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10786 Py_INCREF(Py_None
); resultobj
= Py_None
;
10793 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10794 PyObject
*resultobj
;
10795 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10797 PyObject
* obj0
= 0 ;
10798 char *kwnames
[] = {
10799 (char *) "self", NULL
10802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10805 result
= (int) ((arg1
)->m_buttonState
);
10807 resultobj
= SWIG_FromInt((int)result
);
10814 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10815 PyObject
*resultobj
;
10816 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10818 PyObject
* obj0
= 0 ;
10819 PyObject
* obj1
= 0 ;
10820 char *kwnames
[] = {
10821 (char *) "self",(char *) "m_joyStick", NULL
10824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10827 arg2
= (int) SWIG_AsInt(obj1
);
10828 if (PyErr_Occurred()) SWIG_fail
;
10829 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10831 Py_INCREF(Py_None
); resultobj
= Py_None
;
10838 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10839 PyObject
*resultobj
;
10840 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10842 PyObject
* obj0
= 0 ;
10843 char *kwnames
[] = {
10844 (char *) "self", NULL
10847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10850 result
= (int) ((arg1
)->m_joyStick
);
10852 resultobj
= SWIG_FromInt((int)result
);
10859 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10860 PyObject
*resultobj
;
10861 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10862 int arg2
= (int) 0 ;
10863 int arg3
= (int) wxJOYSTICK1
;
10864 int arg4
= (int) 0 ;
10865 wxJoystickEvent
*result
;
10866 PyObject
* obj0
= 0 ;
10867 PyObject
* obj1
= 0 ;
10868 PyObject
* obj2
= 0 ;
10869 PyObject
* obj3
= 0 ;
10870 char *kwnames
[] = {
10871 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10876 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10877 if (PyErr_Occurred()) SWIG_fail
;
10880 arg2
= (int) SWIG_AsInt(obj1
);
10881 if (PyErr_Occurred()) SWIG_fail
;
10884 arg3
= (int) SWIG_AsInt(obj2
);
10885 if (PyErr_Occurred()) SWIG_fail
;
10888 arg4
= (int) SWIG_AsInt(obj3
);
10889 if (PyErr_Occurred()) SWIG_fail
;
10892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
10905 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10906 PyObject
*resultobj
;
10907 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10909 PyObject
* obj0
= 0 ;
10910 char *kwnames
[] = {
10911 (char *) "self", NULL
10914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10919 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10921 wxPyEndAllowThreads(__tstate
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10925 wxPoint
* resultptr
;
10926 resultptr
= new wxPoint((wxPoint
&) result
);
10927 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10935 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10936 PyObject
*resultobj
;
10937 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10939 PyObject
* obj0
= 0 ;
10940 char *kwnames
[] = {
10941 (char *) "self", NULL
10944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
10945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10949 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
10951 wxPyEndAllowThreads(__tstate
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10954 resultobj
= SWIG_FromInt((int)result
);
10961 static PyObject
*_wrap_JoystickEvent_GetButtonState(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_GetButtonState",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
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
10977 wxPyEndAllowThreads(__tstate
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10980 resultobj
= SWIG_FromInt((int)result
);
10987 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10988 PyObject
*resultobj
;
10989 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10991 PyObject
* obj0
= 0 ;
10992 char *kwnames
[] = {
10993 (char *) "self", NULL
10996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
10997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11001 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11003 wxPyEndAllowThreads(__tstate
);
11004 if (PyErr_Occurred()) SWIG_fail
;
11006 resultobj
= SWIG_FromInt((int)result
);
11013 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11014 PyObject
*resultobj
;
11015 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11017 PyObject
* obj0
= 0 ;
11018 char *kwnames
[] = {
11019 (char *) "self", NULL
11022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11032 resultobj
= SWIG_FromInt((int)result
);
11039 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11040 PyObject
*resultobj
;
11041 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11043 PyObject
* obj0
= 0 ;
11044 PyObject
* obj1
= 0 ;
11045 char *kwnames
[] = {
11046 (char *) "self",(char *) "stick", NULL
11049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11052 arg2
= (int) SWIG_AsInt(obj1
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11056 (arg1
)->SetJoystick(arg2
);
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11061 Py_INCREF(Py_None
); resultobj
= Py_None
;
11068 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
;
11070 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11072 PyObject
* obj0
= 0 ;
11073 PyObject
* obj1
= 0 ;
11074 char *kwnames
[] = {
11075 (char *) "self",(char *) "state", NULL
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11081 arg2
= (int) SWIG_AsInt(obj1
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11085 (arg1
)->SetButtonState(arg2
);
11087 wxPyEndAllowThreads(__tstate
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11090 Py_INCREF(Py_None
); resultobj
= Py_None
;
11097 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11098 PyObject
*resultobj
;
11099 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11101 PyObject
* obj0
= 0 ;
11102 PyObject
* obj1
= 0 ;
11103 char *kwnames
[] = {
11104 (char *) "self",(char *) "change", NULL
11107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11110 arg2
= (int) SWIG_AsInt(obj1
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11114 (arg1
)->SetButtonChange(arg2
);
11116 wxPyEndAllowThreads(__tstate
);
11117 if (PyErr_Occurred()) SWIG_fail
;
11119 Py_INCREF(Py_None
); resultobj
= Py_None
;
11126 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11127 PyObject
*resultobj
;
11128 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11129 wxPoint
*arg2
= 0 ;
11131 PyObject
* obj0
= 0 ;
11132 PyObject
* obj1
= 0 ;
11133 char *kwnames
[] = {
11134 (char *) "self",(char *) "pos", NULL
11137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11142 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11146 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11148 wxPyEndAllowThreads(__tstate
);
11149 if (PyErr_Occurred()) SWIG_fail
;
11151 Py_INCREF(Py_None
); resultobj
= Py_None
;
11158 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11159 PyObject
*resultobj
;
11160 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11162 PyObject
* obj0
= 0 ;
11163 PyObject
* obj1
= 0 ;
11164 char *kwnames
[] = {
11165 (char *) "self",(char *) "zPos", NULL
11168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11171 arg2
= (int) SWIG_AsInt(obj1
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 (arg1
)->SetZPosition(arg2
);
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11180 Py_INCREF(Py_None
); resultobj
= Py_None
;
11187 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11188 PyObject
*resultobj
;
11189 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11191 PyObject
* obj0
= 0 ;
11192 char *kwnames
[] = {
11193 (char *) "self", NULL
11196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11215 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11216 PyObject
*resultobj
;
11217 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11219 PyObject
* obj0
= 0 ;
11220 char *kwnames
[] = {
11221 (char *) "self", NULL
11224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11229 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11231 wxPyEndAllowThreads(__tstate
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11243 static PyObject
*_wrap_JoystickEvent_IsZMove(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_IsZMove",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
)->IsZMove();
11259 wxPyEndAllowThreads(__tstate
);
11260 if (PyErr_Occurred()) SWIG_fail
;
11263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11271 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11272 PyObject
*resultobj
;
11273 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11274 int arg2
= (int) wxJOY_BUTTON_ANY
;
11276 PyObject
* obj0
= 0 ;
11277 PyObject
* obj1
= 0 ;
11278 char *kwnames
[] = {
11279 (char *) "self",(char *) "but", NULL
11282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11286 arg2
= (int) SWIG_AsInt(obj1
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11291 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11305 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11306 PyObject
*resultobj
;
11307 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11308 int arg2
= (int) wxJOY_BUTTON_ANY
;
11310 PyObject
* obj0
= 0 ;
11311 PyObject
* obj1
= 0 ;
11312 char *kwnames
[] = {
11313 (char *) "self",(char *) "but", NULL
11316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11320 arg2
= (int) SWIG_AsInt(obj1
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11325 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11339 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11340 PyObject
*resultobj
;
11341 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11342 int arg2
= (int) wxJOY_BUTTON_ANY
;
11344 PyObject
* obj0
= 0 ;
11345 PyObject
* obj1
= 0 ;
11346 char *kwnames
[] = {
11347 (char *) "self",(char *) "but", NULL
11350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11354 arg2
= (int) SWIG_AsInt(obj1
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11359 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11361 wxPyEndAllowThreads(__tstate
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11373 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11375 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11376 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11378 return Py_BuildValue((char *)"");
11380 static PyObject
*_wrap_new_Sound__SWIG_0(PyObject
*self
, PyObject
*args
) {
11381 PyObject
*resultobj
;
11384 if(!PyArg_ParseTuple(args
,(char *)":new_Sound")) goto fail
;
11386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11387 result
= (wxSound
*)new wxSound();
11389 wxPyEndAllowThreads(__tstate
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11399 static PyObject
*_wrap_new_Sound__SWIG_1(PyObject
*self
, PyObject
*args
) {
11400 PyObject
*resultobj
;
11401 wxString
*arg1
= 0 ;
11402 bool arg2
= (bool) false ;
11404 bool temp1
= False
;
11405 PyObject
* obj0
= 0 ;
11406 PyObject
* obj1
= 0 ;
11408 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_Sound",&obj0
,&obj1
)) goto fail
;
11410 arg1
= wxString_in_helper(obj0
);
11411 if (arg1
== NULL
) SWIG_fail
;
11415 arg2
= (bool) SWIG_AsBool(obj1
);
11416 if (PyErr_Occurred()) SWIG_fail
;
11419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11420 result
= (wxSound
*)new wxSound((wxString
const &)*arg1
,arg2
);
11422 wxPyEndAllowThreads(__tstate
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11440 static PyObject
*_wrap_new_Sound__SWIG_2(PyObject
*self
, PyObject
*args
) {
11441 PyObject
*resultobj
;
11443 wxByte
*arg2
= (wxByte
*) 0 ;
11445 PyObject
* obj0
= 0 ;
11446 PyObject
* obj1
= 0 ;
11448 if(!PyArg_ParseTuple(args
,(char *)"OO:new_Sound",&obj0
,&obj1
)) goto fail
;
11449 arg1
= (int) SWIG_AsInt(obj0
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxByte
,
11452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11455 result
= (wxSound
*)new wxSound(arg1
,(wxByte
const *)arg2
);
11457 wxPyEndAllowThreads(__tstate
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11467 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
) {
11472 argc
= PyObject_Length(args
);
11473 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11474 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11477 return _wrap_new_Sound__SWIG_0(self
,args
);
11479 if ((argc
>= 1) && (argc
<= 2)) {
11482 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11486 return _wrap_new_Sound__SWIG_1(self
,args
);
11488 _v
= SWIG_CheckBool(argv
[1]);
11490 return _wrap_new_Sound__SWIG_1(self
,args
);
11496 _v
= SWIG_CheckInt(argv
[0]);
11500 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11508 return _wrap_new_Sound__SWIG_2(self
,args
);
11513 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Sound'");
11518 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11519 PyObject
*resultobj
;
11520 wxSound
*arg1
= (wxSound
*) 0 ;
11521 PyObject
* obj0
= 0 ;
11522 char *kwnames
[] = {
11523 (char *) "self", NULL
11526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11536 Py_INCREF(Py_None
); resultobj
= Py_None
;
11543 static PyObject
*_wrap_Sound_Create__SWIG_0(PyObject
*self
, PyObject
*args
) {
11544 PyObject
*resultobj
;
11545 wxSound
*arg1
= (wxSound
*) 0 ;
11546 wxString
*arg2
= 0 ;
11547 bool arg3
= (bool) false ;
11549 bool temp2
= False
;
11550 PyObject
* obj0
= 0 ;
11551 PyObject
* obj1
= 0 ;
11552 PyObject
* obj2
= 0 ;
11554 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11558 arg2
= wxString_in_helper(obj1
);
11559 if (arg2
== NULL
) SWIG_fail
;
11563 arg3
= (bool) SWIG_AsBool(obj2
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11568 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,arg3
);
11570 wxPyEndAllowThreads(__tstate
);
11571 if (PyErr_Occurred()) SWIG_fail
;
11574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11590 static PyObject
*_wrap_Sound_Create__SWIG_1(PyObject
*self
, PyObject
*args
) {
11591 PyObject
*resultobj
;
11592 wxSound
*arg1
= (wxSound
*) 0 ;
11594 wxByte
*arg3
= (wxByte
*) 0 ;
11596 PyObject
* obj0
= 0 ;
11597 PyObject
* obj1
= 0 ;
11598 PyObject
* obj2
= 0 ;
11600 if(!PyArg_ParseTuple(args
,(char *)"OOO:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11603 arg2
= (int) SWIG_AsInt(obj1
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11605 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxByte
,
11606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11609 result
= (bool)(arg1
)->Create(arg2
,(wxByte
const *)arg3
);
11611 wxPyEndAllowThreads(__tstate
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11623 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
) {
11628 argc
= PyObject_Length(args
);
11629 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
11630 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11632 if ((argc
>= 2) && (argc
<= 3)) {
11636 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11645 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11649 return _wrap_Sound_Create__SWIG_0(self
,args
);
11651 _v
= SWIG_CheckBool(argv
[2]);
11653 return _wrap_Sound_Create__SWIG_0(self
,args
);
11662 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11670 _v
= SWIG_CheckInt(argv
[1]);
11674 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11682 return _wrap_Sound_Create__SWIG_1(self
,args
);
11688 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Sound_Create'");
11693 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11694 PyObject
*resultobj
;
11695 wxSound
*arg1
= (wxSound
*) 0 ;
11697 PyObject
* obj0
= 0 ;
11698 char *kwnames
[] = {
11699 (char *) "self", NULL
11702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11707 result
= (bool)(arg1
)->IsOk();
11709 wxPyEndAllowThreads(__tstate
);
11710 if (PyErr_Occurred()) SWIG_fail
;
11713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11721 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
) {
11722 PyObject
*resultobj
;
11723 wxSound
*arg1
= (wxSound
*) 0 ;
11724 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11726 PyObject
* obj0
= 0 ;
11727 PyObject
* obj1
= 0 ;
11729 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_Play",&obj0
,&obj1
)) goto fail
;
11730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11733 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11752 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
) {
11753 PyObject
*resultobj
;
11754 wxString
*arg1
= 0 ;
11755 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11757 bool temp1
= False
;
11758 PyObject
* obj0
= 0 ;
11759 PyObject
* obj1
= 0 ;
11761 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_PlaySound",&obj0
,&obj1
)) goto fail
;
11763 arg1
= wxString_in_helper(obj0
);
11764 if (arg1
== NULL
) SWIG_fail
;
11768 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11769 if (PyErr_Occurred()) SWIG_fail
;
11772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11773 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11775 wxPyEndAllowThreads(__tstate
);
11776 if (PyErr_Occurred()) SWIG_fail
;
11779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11795 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11796 PyObject
*resultobj
;
11797 char *kwnames
[] = {
11801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11809 Py_INCREF(Py_None
); resultobj
= Py_None
;
11816 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11819 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11821 return Py_BuildValue((char *)"");
11823 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
*resultobj
;
11825 wxString
*arg1
= 0 ;
11826 wxString
*arg2
= 0 ;
11827 wxString
*arg3
= 0 ;
11828 wxString
*arg4
= 0 ;
11829 wxFileTypeInfo
*result
;
11830 bool temp1
= False
;
11831 bool temp2
= False
;
11832 bool temp3
= False
;
11833 bool temp4
= False
;
11834 PyObject
* obj0
= 0 ;
11835 PyObject
* obj1
= 0 ;
11836 PyObject
* obj2
= 0 ;
11837 PyObject
* obj3
= 0 ;
11838 char *kwnames
[] = {
11839 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11844 arg1
= wxString_in_helper(obj0
);
11845 if (arg1
== NULL
) SWIG_fail
;
11849 arg2
= wxString_in_helper(obj1
);
11850 if (arg2
== NULL
) SWIG_fail
;
11854 arg3
= wxString_in_helper(obj2
);
11855 if (arg3
== NULL
) SWIG_fail
;
11859 arg4
= wxString_in_helper(obj3
);
11860 if (arg4
== NULL
) SWIG_fail
;
11864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11865 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11867 wxPyEndAllowThreads(__tstate
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11909 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11910 PyObject
*resultobj
;
11911 wxArrayString
*arg1
= 0 ;
11912 wxFileTypeInfo
*result
;
11913 bool temp1
= False
;
11914 PyObject
* obj0
= 0 ;
11915 char *kwnames
[] = {
11916 (char *) "sArray", NULL
11919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11921 if (! PySequence_Check(obj0
)) {
11922 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11925 arg1
= new wxArrayString
;
11927 int i
, len
=PySequence_Length(obj0
);
11928 for (i
=0; i
<len
; i
++) {
11929 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11931 PyObject
* str
= PyObject_Unicode(item
);
11933 PyObject
* str
= PyObject_Str(item
);
11935 if (PyErr_Occurred()) SWIG_fail
;
11936 arg1
->Add(Py2wxString(str
));
11942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11943 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11945 wxPyEndAllowThreads(__tstate
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11950 if (temp1
) delete arg1
;
11955 if (temp1
) delete arg1
;
11961 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11962 PyObject
*resultobj
;
11963 wxFileTypeInfo
*result
;
11964 char *kwnames
[] = {
11968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11971 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11973 wxPyEndAllowThreads(__tstate
);
11974 if (PyErr_Occurred()) SWIG_fail
;
11976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11983 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11984 PyObject
*resultobj
;
11985 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11987 PyObject
* obj0
= 0 ;
11988 char *kwnames
[] = {
11989 (char *) "self", NULL
11992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
11993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11997 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
11999 wxPyEndAllowThreads(__tstate
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12011 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12012 PyObject
*resultobj
;
12013 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12014 wxString
*arg2
= 0 ;
12015 int arg3
= (int) 0 ;
12016 bool temp2
= False
;
12017 PyObject
* obj0
= 0 ;
12018 PyObject
* obj1
= 0 ;
12019 PyObject
* obj2
= 0 ;
12020 char *kwnames
[] = {
12021 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12028 arg2
= wxString_in_helper(obj1
);
12029 if (arg2
== NULL
) SWIG_fail
;
12033 arg3
= (int) SWIG_AsInt(obj2
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12038 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12040 wxPyEndAllowThreads(__tstate
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12043 Py_INCREF(Py_None
); resultobj
= Py_None
;
12058 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
*resultobj
;
12060 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12061 wxString
*arg2
= 0 ;
12062 bool temp2
= False
;
12063 PyObject
* obj0
= 0 ;
12064 PyObject
* obj1
= 0 ;
12065 char *kwnames
[] = {
12066 (char *) "self",(char *) "shortDesc", NULL
12069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12073 arg2
= wxString_in_helper(obj1
);
12074 if (arg2
== NULL
) SWIG_fail
;
12078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12079 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12081 wxPyEndAllowThreads(__tstate
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12084 Py_INCREF(Py_None
); resultobj
= Py_None
;
12099 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12100 PyObject
*resultobj
;
12101 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12103 PyObject
* obj0
= 0 ;
12104 char *kwnames
[] = {
12105 (char *) "self", NULL
12108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12114 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12115 result
= (wxString
*) &_result_ref
;
12118 wxPyEndAllowThreads(__tstate
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12123 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12125 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12134 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12135 PyObject
*resultobj
;
12136 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12138 PyObject
* obj0
= 0 ;
12139 char *kwnames
[] = {
12140 (char *) "self", NULL
12143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12150 result
= (wxString
*) &_result_ref
;
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12158 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12160 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12169 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12170 PyObject
*resultobj
;
12171 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12173 PyObject
* obj0
= 0 ;
12174 char *kwnames
[] = {
12175 (char *) "self", NULL
12178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12184 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12185 result
= (wxString
*) &_result_ref
;
12188 wxPyEndAllowThreads(__tstate
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12193 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12195 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12204 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
;
12206 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12208 PyObject
* obj0
= 0 ;
12209 char *kwnames
[] = {
12210 (char *) "self", NULL
12213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12220 result
= (wxString
*) &_result_ref
;
12223 wxPyEndAllowThreads(__tstate
);
12224 if (PyErr_Occurred()) SWIG_fail
;
12228 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12230 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12239 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12240 PyObject
*resultobj
;
12241 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12243 PyObject
* obj0
= 0 ;
12244 char *kwnames
[] = {
12245 (char *) "self", NULL
12248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12254 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12255 result
= (wxString
*) &_result_ref
;
12258 wxPyEndAllowThreads(__tstate
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12263 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12265 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12274 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12275 PyObject
*resultobj
;
12276 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12277 wxArrayString
*result
;
12278 PyObject
* obj0
= 0 ;
12279 char *kwnames
[] = {
12280 (char *) "self", NULL
12283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12290 result
= (wxArrayString
*) &_result_ref
;
12293 wxPyEndAllowThreads(__tstate
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12297 resultobj
= wxArrayString2PyList_helper(*result
);
12305 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12306 PyObject
*resultobj
;
12307 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12309 PyObject
* obj0
= 0 ;
12310 char *kwnames
[] = {
12311 (char *) "self", NULL
12314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12319 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12321 wxPyEndAllowThreads(__tstate
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12324 resultobj
= SWIG_FromInt((int)result
);
12331 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12332 PyObject
*resultobj
;
12333 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12335 PyObject
* obj0
= 0 ;
12336 char *kwnames
[] = {
12337 (char *) "self", NULL
12340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12347 result
= (wxString
*) &_result_ref
;
12350 wxPyEndAllowThreads(__tstate
);
12351 if (PyErr_Occurred()) SWIG_fail
;
12355 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12357 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12366 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12367 PyObject
*resultobj
;
12368 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12370 PyObject
* obj0
= 0 ;
12371 char *kwnames
[] = {
12372 (char *) "self", NULL
12375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12382 wxPyEndAllowThreads(__tstate
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12385 resultobj
= SWIG_FromInt((int)result
);
12392 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12395 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12397 return Py_BuildValue((char *)"");
12399 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12400 PyObject
*resultobj
;
12401 wxFileTypeInfo
*arg1
= 0 ;
12402 wxFileType
*result
;
12403 PyObject
* obj0
= 0 ;
12404 char *kwnames
[] = {
12405 (char *) "ftInfo", NULL
12408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12410 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12412 if (arg1
== NULL
) {
12413 PyErr_SetString(PyExc_TypeError
,"null reference");
12417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12418 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12420 wxPyEndAllowThreads(__tstate
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12430 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12431 PyObject
*resultobj
;
12432 wxFileType
*arg1
= (wxFileType
*) 0 ;
12433 PyObject
* obj0
= 0 ;
12434 char *kwnames
[] = {
12435 (char *) "self", NULL
12438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12445 wxPyEndAllowThreads(__tstate
);
12446 if (PyErr_Occurred()) SWIG_fail
;
12448 Py_INCREF(Py_None
); resultobj
= Py_None
;
12455 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12456 PyObject
*resultobj
;
12457 wxFileType
*arg1
= (wxFileType
*) 0 ;
12459 PyObject
* obj0
= 0 ;
12460 char *kwnames
[] = {
12461 (char *) "self", NULL
12464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12469 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12471 wxPyEndAllowThreads(__tstate
);
12472 if (PyErr_Occurred()) SWIG_fail
;
12474 resultobj
= result
;
12481 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12482 PyObject
*resultobj
;
12483 wxFileType
*arg1
= (wxFileType
*) 0 ;
12485 PyObject
* obj0
= 0 ;
12486 char *kwnames
[] = {
12487 (char *) "self", NULL
12490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12495 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12497 wxPyEndAllowThreads(__tstate
);
12498 if (PyErr_Occurred()) SWIG_fail
;
12500 resultobj
= result
;
12507 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12508 PyObject
*resultobj
;
12509 wxFileType
*arg1
= (wxFileType
*) 0 ;
12511 PyObject
* obj0
= 0 ;
12512 char *kwnames
[] = {
12513 (char *) "self", NULL
12516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12521 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12523 wxPyEndAllowThreads(__tstate
);
12524 if (PyErr_Occurred()) SWIG_fail
;
12526 resultobj
= result
;
12533 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12534 PyObject
*resultobj
;
12535 wxFileType
*arg1
= (wxFileType
*) 0 ;
12537 PyObject
* obj0
= 0 ;
12538 char *kwnames
[] = {
12539 (char *) "self", NULL
12542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12547 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12549 wxPyEndAllowThreads(__tstate
);
12550 if (PyErr_Occurred()) SWIG_fail
;
12552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12559 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12560 PyObject
*resultobj
;
12561 wxFileType
*arg1
= (wxFileType
*) 0 ;
12563 PyObject
* obj0
= 0 ;
12564 char *kwnames
[] = {
12565 (char *) "self", NULL
12568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12573 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12575 wxPyEndAllowThreads(__tstate
);
12576 if (PyErr_Occurred()) SWIG_fail
;
12578 resultobj
= result
;
12585 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12586 PyObject
*resultobj
;
12587 wxFileType
*arg1
= (wxFileType
*) 0 ;
12589 PyObject
* obj0
= 0 ;
12590 char *kwnames
[] = {
12591 (char *) "self", NULL
12594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12601 wxPyEndAllowThreads(__tstate
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12604 resultobj
= result
;
12611 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12612 PyObject
*resultobj
;
12613 wxFileType
*arg1
= (wxFileType
*) 0 ;
12614 wxString
*arg2
= 0 ;
12615 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12616 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12618 bool temp2
= False
;
12619 bool temp3
= False
;
12620 PyObject
* obj0
= 0 ;
12621 PyObject
* obj1
= 0 ;
12622 PyObject
* obj2
= 0 ;
12623 char *kwnames
[] = {
12624 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12631 arg2
= wxString_in_helper(obj1
);
12632 if (arg2
== NULL
) SWIG_fail
;
12637 arg3
= wxString_in_helper(obj2
);
12638 if (arg3
== NULL
) SWIG_fail
;
12643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12644 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12646 wxPyEndAllowThreads(__tstate
);
12647 if (PyErr_Occurred()) SWIG_fail
;
12649 resultobj
= result
;
12672 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12673 PyObject
*resultobj
;
12674 wxFileType
*arg1
= (wxFileType
*) 0 ;
12675 wxString
*arg2
= 0 ;
12676 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12677 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12679 bool temp2
= False
;
12680 bool temp3
= False
;
12681 PyObject
* obj0
= 0 ;
12682 PyObject
* obj1
= 0 ;
12683 PyObject
* obj2
= 0 ;
12684 char *kwnames
[] = {
12685 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12692 arg2
= wxString_in_helper(obj1
);
12693 if (arg2
== NULL
) SWIG_fail
;
12698 arg3
= wxString_in_helper(obj2
);
12699 if (arg3
== NULL
) SWIG_fail
;
12704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12705 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12707 wxPyEndAllowThreads(__tstate
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12710 resultobj
= result
;
12733 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12734 PyObject
*resultobj
;
12735 wxFileType
*arg1
= (wxFileType
*) 0 ;
12736 wxString
*arg2
= 0 ;
12737 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12738 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12740 bool temp2
= False
;
12741 bool temp3
= False
;
12742 PyObject
* obj0
= 0 ;
12743 PyObject
* obj1
= 0 ;
12744 PyObject
* obj2
= 0 ;
12745 char *kwnames
[] = {
12746 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12753 arg2
= wxString_in_helper(obj1
);
12754 if (arg2
== NULL
) SWIG_fail
;
12759 arg3
= wxString_in_helper(obj2
);
12760 if (arg3
== NULL
) SWIG_fail
;
12765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12766 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12768 wxPyEndAllowThreads(__tstate
);
12769 if (PyErr_Occurred()) SWIG_fail
;
12771 resultobj
= result
;
12794 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12795 PyObject
*resultobj
;
12796 wxFileType
*arg1
= (wxFileType
*) 0 ;
12797 wxString
*arg2
= 0 ;
12798 wxString
*arg3
= 0 ;
12799 bool arg4
= (bool) True
;
12801 bool temp2
= False
;
12802 bool temp3
= False
;
12803 PyObject
* obj0
= 0 ;
12804 PyObject
* obj1
= 0 ;
12805 PyObject
* obj2
= 0 ;
12806 PyObject
* obj3
= 0 ;
12807 char *kwnames
[] = {
12808 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12815 arg2
= wxString_in_helper(obj1
);
12816 if (arg2
== NULL
) SWIG_fail
;
12820 arg3
= wxString_in_helper(obj2
);
12821 if (arg3
== NULL
) SWIG_fail
;
12825 arg4
= (bool) SWIG_AsBool(obj3
);
12826 if (PyErr_Occurred()) SWIG_fail
;
12829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12830 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12832 wxPyEndAllowThreads(__tstate
);
12833 if (PyErr_Occurred()) SWIG_fail
;
12836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12860 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12861 PyObject
*resultobj
;
12862 wxFileType
*arg1
= (wxFileType
*) 0 ;
12863 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12864 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12865 int arg3
= (int) 0 ;
12867 bool temp2
= False
;
12868 PyObject
* obj0
= 0 ;
12869 PyObject
* obj1
= 0 ;
12870 PyObject
* obj2
= 0 ;
12871 char *kwnames
[] = {
12872 (char *) "self",(char *) "cmd",(char *) "index", NULL
12875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12880 arg2
= wxString_in_helper(obj1
);
12881 if (arg2
== NULL
) SWIG_fail
;
12886 arg3
= (int) SWIG_AsInt(obj2
);
12887 if (PyErr_Occurred()) SWIG_fail
;
12890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12891 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12893 wxPyEndAllowThreads(__tstate
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12913 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12914 PyObject
*resultobj
;
12915 wxFileType
*arg1
= (wxFileType
*) 0 ;
12917 PyObject
* obj0
= 0 ;
12918 char *kwnames
[] = {
12919 (char *) "self", NULL
12922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12927 result
= (bool)(arg1
)->Unassociate();
12929 wxPyEndAllowThreads(__tstate
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12941 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12942 PyObject
*resultobj
;
12943 wxString
*arg1
= 0 ;
12944 wxString
*arg2
= 0 ;
12945 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12946 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12948 bool temp1
= False
;
12949 bool temp2
= False
;
12950 bool temp3
= False
;
12951 PyObject
* obj0
= 0 ;
12952 PyObject
* obj1
= 0 ;
12953 PyObject
* obj2
= 0 ;
12954 char *kwnames
[] = {
12955 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12960 arg1
= wxString_in_helper(obj0
);
12961 if (arg1
== NULL
) SWIG_fail
;
12965 arg2
= wxString_in_helper(obj1
);
12966 if (arg2
== NULL
) SWIG_fail
;
12971 arg3
= wxString_in_helper(obj2
);
12972 if (arg3
== NULL
) SWIG_fail
;
12977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12978 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12980 wxPyEndAllowThreads(__tstate
);
12981 if (PyErr_Occurred()) SWIG_fail
;
12985 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12987 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13020 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
13022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13023 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13025 return Py_BuildValue((char *)"");
13027 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
13028 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13033 static PyObject
*_wrap_TheMimeTypesManager_get() {
13036 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13041 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13042 PyObject
*resultobj
;
13043 wxString
*arg1
= 0 ;
13044 wxString
*arg2
= 0 ;
13046 bool temp1
= False
;
13047 bool temp2
= False
;
13048 PyObject
* obj0
= 0 ;
13049 PyObject
* obj1
= 0 ;
13050 char *kwnames
[] = {
13051 (char *) "mimeType",(char *) "wildcard", NULL
13054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13056 arg1
= wxString_in_helper(obj0
);
13057 if (arg1
== NULL
) SWIG_fail
;
13061 arg2
= wxString_in_helper(obj1
);
13062 if (arg2
== NULL
) SWIG_fail
;
13066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13067 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13069 wxPyEndAllowThreads(__tstate
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13097 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13098 PyObject
*resultobj
;
13099 wxMimeTypesManager
*result
;
13100 char *kwnames
[] = {
13104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13107 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13109 wxPyEndAllowThreads(__tstate
);
13110 if (PyErr_Occurred()) SWIG_fail
;
13112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13119 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13120 PyObject
*resultobj
;
13121 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13122 int arg2
= (int) wxMAILCAP_ALL
;
13123 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13124 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13125 bool temp3
= False
;
13126 PyObject
* obj0
= 0 ;
13127 PyObject
* obj1
= 0 ;
13128 PyObject
* obj2
= 0 ;
13129 char *kwnames
[] = {
13130 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13137 arg2
= (int) SWIG_AsInt(obj1
);
13138 if (PyErr_Occurred()) SWIG_fail
;
13142 arg3
= wxString_in_helper(obj2
);
13143 if (arg3
== NULL
) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13154 Py_INCREF(Py_None
); resultobj
= Py_None
;
13169 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13170 PyObject
*resultobj
;
13171 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13172 PyObject
* obj0
= 0 ;
13173 char *kwnames
[] = {
13174 (char *) "self", NULL
13177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13182 (arg1
)->ClearData();
13184 wxPyEndAllowThreads(__tstate
);
13185 if (PyErr_Occurred()) SWIG_fail
;
13187 Py_INCREF(Py_None
); resultobj
= Py_None
;
13194 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13195 PyObject
*resultobj
;
13196 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13197 wxString
*arg2
= 0 ;
13198 wxFileType
*result
;
13199 bool temp2
= False
;
13200 PyObject
* obj0
= 0 ;
13201 PyObject
* obj1
= 0 ;
13202 char *kwnames
[] = {
13203 (char *) "self",(char *) "ext", NULL
13206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13210 arg2
= wxString_in_helper(obj1
);
13211 if (arg2
== NULL
) SWIG_fail
;
13215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13216 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13218 wxPyEndAllowThreads(__tstate
);
13219 if (PyErr_Occurred()) SWIG_fail
;
13221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13236 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13237 PyObject
*resultobj
;
13238 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13239 wxString
*arg2
= 0 ;
13240 wxFileType
*result
;
13241 bool temp2
= False
;
13242 PyObject
* obj0
= 0 ;
13243 PyObject
* obj1
= 0 ;
13244 char *kwnames
[] = {
13245 (char *) "self",(char *) "mimeType", NULL
13248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13252 arg2
= wxString_in_helper(obj1
);
13253 if (arg2
== NULL
) SWIG_fail
;
13257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13260 wxPyEndAllowThreads(__tstate
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13278 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13279 PyObject
*resultobj
;
13280 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13281 wxString
*arg2
= 0 ;
13282 bool arg3
= (bool) False
;
13284 bool temp2
= False
;
13285 PyObject
* obj0
= 0 ;
13286 PyObject
* obj1
= 0 ;
13287 PyObject
* obj2
= 0 ;
13288 char *kwnames
[] = {
13289 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13296 arg2
= wxString_in_helper(obj1
);
13297 if (arg2
== NULL
) SWIG_fail
;
13301 arg3
= (bool) SWIG_AsBool(obj2
);
13302 if (PyErr_Occurred()) SWIG_fail
;
13305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13306 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13308 wxPyEndAllowThreads(__tstate
);
13309 if (PyErr_Occurred()) SWIG_fail
;
13312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13328 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13329 PyObject
*resultobj
;
13330 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13331 wxString
*arg2
= 0 ;
13333 bool temp2
= False
;
13334 PyObject
* obj0
= 0 ;
13335 PyObject
* obj1
= 0 ;
13336 char *kwnames
[] = {
13337 (char *) "self",(char *) "filename", NULL
13340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13344 arg2
= wxString_in_helper(obj1
);
13345 if (arg2
== NULL
) SWIG_fail
;
13349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13350 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13352 wxPyEndAllowThreads(__tstate
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13372 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13373 PyObject
*resultobj
;
13374 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13376 PyObject
* obj0
= 0 ;
13377 char *kwnames
[] = {
13378 (char *) "self", NULL
13381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13386 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13388 wxPyEndAllowThreads(__tstate
);
13389 if (PyErr_Occurred()) SWIG_fail
;
13391 resultobj
= result
;
13398 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13399 PyObject
*resultobj
;
13400 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13401 wxFileTypeInfo
*arg2
= 0 ;
13402 PyObject
* obj0
= 0 ;
13403 PyObject
* obj1
= 0 ;
13404 char *kwnames
[] = {
13405 (char *) "self",(char *) "ft", NULL
13408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13412 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13414 if (arg2
== NULL
) {
13415 PyErr_SetString(PyExc_TypeError
,"null reference");
13419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13420 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13422 wxPyEndAllowThreads(__tstate
);
13423 if (PyErr_Occurred()) SWIG_fail
;
13425 Py_INCREF(Py_None
); resultobj
= Py_None
;
13432 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13433 PyObject
*resultobj
;
13434 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13435 wxFileTypeInfo
*arg2
= 0 ;
13436 wxFileType
*result
;
13437 PyObject
* obj0
= 0 ;
13438 PyObject
* obj1
= 0 ;
13439 char *kwnames
[] = {
13440 (char *) "self",(char *) "ftInfo", NULL
13443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13447 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13449 if (arg2
== NULL
) {
13450 PyErr_SetString(PyExc_TypeError
,"null reference");
13454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13455 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13457 wxPyEndAllowThreads(__tstate
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13467 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13468 PyObject
*resultobj
;
13469 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13470 wxFileType
*arg2
= (wxFileType
*) 0 ;
13472 PyObject
* obj0
= 0 ;
13473 PyObject
* obj1
= 0 ;
13474 char *kwnames
[] = {
13475 (char *) "self",(char *) "ft", NULL
13478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 result
= (bool)(arg1
)->Unassociate(arg2
);
13487 wxPyEndAllowThreads(__tstate
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13499 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13500 PyObject
*resultobj
;
13501 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13502 PyObject
* obj0
= 0 ;
13503 char *kwnames
[] = {
13504 (char *) "self", NULL
13507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13514 wxPyEndAllowThreads(__tstate
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13517 Py_INCREF(Py_None
); resultobj
= Py_None
;
13524 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13527 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13529 return Py_BuildValue((char *)"");
13531 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13532 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13537 static PyObject
*_wrap_ART_TOOLBAR_get() {
13542 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13544 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13551 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13552 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13557 static PyObject
*_wrap_ART_MENU_get() {
13562 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13564 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13571 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13572 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13577 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13582 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13584 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13591 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13592 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13597 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13602 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13604 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13611 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13612 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13617 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13622 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13624 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13631 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13632 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13637 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13642 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13644 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13651 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13652 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13657 static PyObject
*_wrap_ART_OTHER_get() {
13662 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13664 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13671 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13672 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13677 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13682 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13684 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13691 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13692 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13697 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13702 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13704 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13711 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13712 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13717 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13722 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13724 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13731 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13732 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13737 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13742 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13744 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13751 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13752 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13757 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13762 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13764 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13771 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13772 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13777 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13782 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13784 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13791 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13792 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13797 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13802 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13804 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13811 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13812 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13817 static PyObject
*_wrap_ART_GO_BACK_get() {
13822 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13824 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13831 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13832 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13837 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13842 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13844 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13851 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13852 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13857 static PyObject
*_wrap_ART_GO_UP_get() {
13862 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13864 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13871 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13872 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13877 static PyObject
*_wrap_ART_GO_DOWN_get() {
13882 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13884 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13891 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
13892 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13897 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13902 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13904 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13911 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
13912 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13917 static PyObject
*_wrap_ART_GO_HOME_get() {
13922 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13924 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13931 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
13932 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13937 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13942 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13944 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13951 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
13952 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13957 static PyObject
*_wrap_ART_PRINT_get() {
13962 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13964 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13971 static int _wrap_ART_HELP_set(PyObject
*_val
) {
13972 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13977 static PyObject
*_wrap_ART_HELP_get() {
13982 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13984 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13991 static int _wrap_ART_TIP_set(PyObject
*_val
) {
13992 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
13997 static PyObject
*_wrap_ART_TIP_get() {
14002 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14004 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14011 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
14012 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14017 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14022 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14024 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14031 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
14032 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14037 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14042 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14044 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14051 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
14052 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14057 static PyObject
*_wrap_ART_NEW_DIR_get() {
14062 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14064 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14071 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14072 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14077 static PyObject
*_wrap_ART_FOLDER_get() {
14082 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14084 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14091 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14092 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14097 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14102 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14104 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14111 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14112 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14117 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14122 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14124 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14131 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14132 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14137 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14142 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14144 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14151 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14152 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14157 static PyObject
*_wrap_ART_TICK_MARK_get() {
14162 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14164 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14171 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14172 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14177 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14182 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14184 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14191 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14192 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14197 static PyObject
*_wrap_ART_ERROR_get() {
14202 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14204 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14211 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14212 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14217 static PyObject
*_wrap_ART_QUESTION_get() {
14222 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14224 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14231 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14232 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14237 static PyObject
*_wrap_ART_WARNING_get() {
14242 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14244 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14251 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14252 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14257 static PyObject
*_wrap_ART_INFORMATION_get() {
14262 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14264 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14271 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14272 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14277 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14282 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14284 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14291 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14292 PyObject
*resultobj
;
14293 wxPyArtProvider
*result
;
14294 char *kwnames
[] = {
14298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14301 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14303 wxPyEndAllowThreads(__tstate
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14313 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14314 PyObject
*resultobj
;
14315 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14316 PyObject
*arg2
= (PyObject
*) 0 ;
14317 PyObject
*arg3
= (PyObject
*) 0 ;
14318 PyObject
* obj0
= 0 ;
14319 PyObject
* obj1
= 0 ;
14320 PyObject
* obj2
= 0 ;
14321 char *kwnames
[] = {
14322 (char *) "self",(char *) "self",(char *) "_class", NULL
14325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14332 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14334 wxPyEndAllowThreads(__tstate
);
14335 if (PyErr_Occurred()) SWIG_fail
;
14337 Py_INCREF(Py_None
); resultobj
= Py_None
;
14344 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14345 PyObject
*resultobj
;
14346 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14347 PyObject
* obj0
= 0 ;
14348 char *kwnames
[] = {
14349 (char *) "provider", NULL
14352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14357 wxPyArtProvider::PushProvider(arg1
);
14359 wxPyEndAllowThreads(__tstate
);
14360 if (PyErr_Occurred()) SWIG_fail
;
14362 Py_INCREF(Py_None
); resultobj
= Py_None
;
14369 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14370 PyObject
*resultobj
;
14372 char *kwnames
[] = {
14376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14379 result
= (bool)wxPyArtProvider::PopProvider();
14381 wxPyEndAllowThreads(__tstate
);
14382 if (PyErr_Occurred()) SWIG_fail
;
14385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14393 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14394 PyObject
*resultobj
;
14395 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14397 PyObject
* obj0
= 0 ;
14398 char *kwnames
[] = {
14399 (char *) "provider", NULL
14402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14407 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14409 wxPyEndAllowThreads(__tstate
);
14410 if (PyErr_Occurred()) SWIG_fail
;
14413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14421 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14422 PyObject
*resultobj
;
14423 wxString
*arg1
= 0 ;
14424 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14425 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14426 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14427 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14429 bool temp1
= False
;
14430 bool temp2
= False
;
14432 PyObject
* obj0
= 0 ;
14433 PyObject
* obj1
= 0 ;
14434 PyObject
* obj2
= 0 ;
14435 char *kwnames
[] = {
14436 (char *) "id",(char *) "client",(char *) "size", NULL
14439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14441 arg1
= wxString_in_helper(obj0
);
14442 if (arg1
== NULL
) SWIG_fail
;
14447 arg2
= wxString_in_helper(obj1
);
14448 if (arg2
== NULL
) SWIG_fail
;
14455 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14460 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14466 wxBitmap
* resultptr
;
14467 resultptr
= new wxBitmap((wxBitmap
&) result
);
14468 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14492 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14493 PyObject
*resultobj
;
14494 wxString
*arg1
= 0 ;
14495 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14496 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14497 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14498 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14500 bool temp1
= False
;
14501 bool temp2
= False
;
14503 PyObject
* obj0
= 0 ;
14504 PyObject
* obj1
= 0 ;
14505 PyObject
* obj2
= 0 ;
14506 char *kwnames
[] = {
14507 (char *) "id",(char *) "client",(char *) "size", NULL
14510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14512 arg1
= wxString_in_helper(obj0
);
14513 if (arg1
== NULL
) SWIG_fail
;
14518 arg2
= wxString_in_helper(obj1
);
14519 if (arg2
== NULL
) SWIG_fail
;
14526 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14531 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14533 wxPyEndAllowThreads(__tstate
);
14534 if (PyErr_Occurred()) SWIG_fail
;
14537 wxIcon
* resultptr
;
14538 resultptr
= new wxIcon((wxIcon
&) result
);
14539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14563 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14564 PyObject
*resultobj
;
14565 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14566 PyObject
* obj0
= 0 ;
14567 char *kwnames
[] = {
14568 (char *) "self", NULL
14571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14576 wxPyArtProvider_Destroy(arg1
);
14578 wxPyEndAllowThreads(__tstate
);
14579 if (PyErr_Occurred()) SWIG_fail
;
14581 Py_INCREF(Py_None
); resultobj
= Py_None
;
14588 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14591 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14593 return Py_BuildValue((char *)"");
14595 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14596 PyObject
*resultobj
;
14597 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14598 PyObject
* obj0
= 0 ;
14599 char *kwnames
[] = {
14600 (char *) "self", NULL
14603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14610 wxPyEndAllowThreads(__tstate
);
14611 if (PyErr_Occurred()) SWIG_fail
;
14613 Py_INCREF(Py_None
); resultobj
= Py_None
;
14620 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14621 PyObject
*resultobj
;
14622 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14623 wxConfigBase
*result
;
14624 PyObject
* obj0
= 0 ;
14625 char *kwnames
[] = {
14626 (char *) "config", NULL
14629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14634 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14636 wxPyEndAllowThreads(__tstate
);
14637 if (PyErr_Occurred()) SWIG_fail
;
14639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14646 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14647 PyObject
*resultobj
;
14648 bool arg1
= (bool) True
;
14649 wxConfigBase
*result
;
14650 PyObject
* obj0
= 0 ;
14651 char *kwnames
[] = {
14652 (char *) "createOnDemand", NULL
14655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14657 arg1
= (bool) SWIG_AsBool(obj0
);
14658 if (PyErr_Occurred()) SWIG_fail
;
14661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14662 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14664 wxPyEndAllowThreads(__tstate
);
14665 if (PyErr_Occurred()) SWIG_fail
;
14667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14674 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14675 PyObject
*resultobj
;
14676 wxConfigBase
*result
;
14677 char *kwnames
[] = {
14681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14684 result
= (wxConfigBase
*)wxConfigBase::Create();
14686 wxPyEndAllowThreads(__tstate
);
14687 if (PyErr_Occurred()) SWIG_fail
;
14689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14696 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14697 PyObject
*resultobj
;
14698 char *kwnames
[] = {
14702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14705 wxConfigBase::DontCreateOnDemand();
14707 wxPyEndAllowThreads(__tstate
);
14708 if (PyErr_Occurred()) SWIG_fail
;
14710 Py_INCREF(Py_None
); resultobj
= Py_None
;
14717 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14718 PyObject
*resultobj
;
14719 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14720 wxString
*arg2
= 0 ;
14721 bool temp2
= False
;
14722 PyObject
* obj0
= 0 ;
14723 PyObject
* obj1
= 0 ;
14724 char *kwnames
[] = {
14725 (char *) "self",(char *) "path", NULL
14728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14732 arg2
= wxString_in_helper(obj1
);
14733 if (arg2
== NULL
) SWIG_fail
;
14737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14738 (arg1
)->SetPath((wxString
const &)*arg2
);
14740 wxPyEndAllowThreads(__tstate
);
14741 if (PyErr_Occurred()) SWIG_fail
;
14743 Py_INCREF(Py_None
); resultobj
= Py_None
;
14758 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14759 PyObject
*resultobj
;
14760 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14762 PyObject
* obj0
= 0 ;
14763 char *kwnames
[] = {
14764 (char *) "self", NULL
14767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14773 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14774 result
= (wxString
*) &_result_ref
;
14777 wxPyEndAllowThreads(__tstate
);
14778 if (PyErr_Occurred()) SWIG_fail
;
14782 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14784 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14793 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14794 PyObject
*resultobj
;
14795 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14797 PyObject
* obj0
= 0 ;
14798 char *kwnames
[] = {
14799 (char *) "self", NULL
14802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14807 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14809 wxPyEndAllowThreads(__tstate
);
14810 if (PyErr_Occurred()) SWIG_fail
;
14812 resultobj
= result
;
14819 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14820 PyObject
*resultobj
;
14821 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14824 PyObject
* obj0
= 0 ;
14825 PyObject
* obj1
= 0 ;
14826 char *kwnames
[] = {
14827 (char *) "self",(char *) "index", NULL
14830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14833 arg2
= (long) SWIG_AsLong(obj1
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14837 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14839 wxPyEndAllowThreads(__tstate
);
14840 if (PyErr_Occurred()) SWIG_fail
;
14842 resultobj
= result
;
14849 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14850 PyObject
*resultobj
;
14851 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14853 PyObject
* obj0
= 0 ;
14854 char *kwnames
[] = {
14855 (char *) "self", NULL
14858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14863 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14865 wxPyEndAllowThreads(__tstate
);
14866 if (PyErr_Occurred()) SWIG_fail
;
14868 resultobj
= result
;
14875 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14876 PyObject
*resultobj
;
14877 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14880 PyObject
* obj0
= 0 ;
14881 PyObject
* obj1
= 0 ;
14882 char *kwnames
[] = {
14883 (char *) "self",(char *) "index", NULL
14886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14889 arg2
= (long) SWIG_AsLong(obj1
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14893 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14895 wxPyEndAllowThreads(__tstate
);
14896 if (PyErr_Occurred()) SWIG_fail
;
14898 resultobj
= result
;
14905 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14906 PyObject
*resultobj
;
14907 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14908 bool arg2
= (bool) False
;
14910 PyObject
* obj0
= 0 ;
14911 PyObject
* obj1
= 0 ;
14912 char *kwnames
[] = {
14913 (char *) "self",(char *) "recursive", NULL
14916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14920 arg2
= (bool) SWIG_AsBool(obj1
);
14921 if (PyErr_Occurred()) SWIG_fail
;
14924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14925 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14927 wxPyEndAllowThreads(__tstate
);
14928 if (PyErr_Occurred()) SWIG_fail
;
14930 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14937 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14938 PyObject
*resultobj
;
14939 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14940 bool arg2
= (bool) False
;
14942 PyObject
* obj0
= 0 ;
14943 PyObject
* obj1
= 0 ;
14944 char *kwnames
[] = {
14945 (char *) "self",(char *) "recursive", NULL
14948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14952 arg2
= (bool) SWIG_AsBool(obj1
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14957 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14959 wxPyEndAllowThreads(__tstate
);
14960 if (PyErr_Occurred()) SWIG_fail
;
14962 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14969 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14970 PyObject
*resultobj
;
14971 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14972 wxString
*arg2
= 0 ;
14974 bool temp2
= False
;
14975 PyObject
* obj0
= 0 ;
14976 PyObject
* obj1
= 0 ;
14977 char *kwnames
[] = {
14978 (char *) "self",(char *) "name", NULL
14981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14985 arg2
= wxString_in_helper(obj1
);
14986 if (arg2
== NULL
) SWIG_fail
;
14990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14991 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
14993 wxPyEndAllowThreads(__tstate
);
14994 if (PyErr_Occurred()) SWIG_fail
;
14997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15013 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15014 PyObject
*resultobj
;
15015 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15016 wxString
*arg2
= 0 ;
15018 bool temp2
= False
;
15019 PyObject
* obj0
= 0 ;
15020 PyObject
* obj1
= 0 ;
15021 char *kwnames
[] = {
15022 (char *) "self",(char *) "name", NULL
15025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15029 arg2
= wxString_in_helper(obj1
);
15030 if (arg2
== NULL
) SWIG_fail
;
15034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15035 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15037 wxPyEndAllowThreads(__tstate
);
15038 if (PyErr_Occurred()) SWIG_fail
;
15041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15057 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15058 PyObject
*resultobj
;
15059 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15060 wxString
*arg2
= 0 ;
15062 bool temp2
= False
;
15063 PyObject
* obj0
= 0 ;
15064 PyObject
* obj1
= 0 ;
15065 char *kwnames
[] = {
15066 (char *) "self",(char *) "name", NULL
15069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15073 arg2
= wxString_in_helper(obj1
);
15074 if (arg2
== NULL
) SWIG_fail
;
15078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15079 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15081 wxPyEndAllowThreads(__tstate
);
15082 if (PyErr_Occurred()) SWIG_fail
;
15085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15101 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15102 PyObject
*resultobj
;
15103 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15104 wxString
*arg2
= 0 ;
15106 bool temp2
= False
;
15107 PyObject
* obj0
= 0 ;
15108 PyObject
* obj1
= 0 ;
15109 char *kwnames
[] = {
15110 (char *) "self",(char *) "name", NULL
15113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15117 arg2
= wxString_in_helper(obj1
);
15118 if (arg2
== NULL
) SWIG_fail
;
15122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15123 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15125 wxPyEndAllowThreads(__tstate
);
15126 if (PyErr_Occurred()) SWIG_fail
;
15128 resultobj
= SWIG_FromInt((int)result
);
15143 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15144 PyObject
*resultobj
;
15145 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15146 wxString
*arg2
= 0 ;
15147 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15148 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15150 bool temp2
= False
;
15151 bool temp3
= False
;
15152 PyObject
* obj0
= 0 ;
15153 PyObject
* obj1
= 0 ;
15154 PyObject
* obj2
= 0 ;
15155 char *kwnames
[] = {
15156 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15163 arg2
= wxString_in_helper(obj1
);
15164 if (arg2
== NULL
) SWIG_fail
;
15169 arg3
= wxString_in_helper(obj2
);
15170 if (arg3
== NULL
) SWIG_fail
;
15175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15176 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15178 wxPyEndAllowThreads(__tstate
);
15179 if (PyErr_Occurred()) SWIG_fail
;
15183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15210 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15211 PyObject
*resultobj
;
15212 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15213 wxString
*arg2
= 0 ;
15214 long arg3
= (long) 0 ;
15216 bool temp2
= False
;
15217 PyObject
* obj0
= 0 ;
15218 PyObject
* obj1
= 0 ;
15219 PyObject
* obj2
= 0 ;
15220 char *kwnames
[] = {
15221 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15228 arg2
= wxString_in_helper(obj1
);
15229 if (arg2
== NULL
) SWIG_fail
;
15233 arg3
= (long) SWIG_AsLong(obj2
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15238 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15240 wxPyEndAllowThreads(__tstate
);
15241 if (PyErr_Occurred()) SWIG_fail
;
15243 resultobj
= SWIG_FromLong((long)result
);
15258 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15259 PyObject
*resultobj
;
15260 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15261 wxString
*arg2
= 0 ;
15262 double arg3
= (double) 0.0 ;
15264 bool temp2
= False
;
15265 PyObject
* obj0
= 0 ;
15266 PyObject
* obj1
= 0 ;
15267 PyObject
* obj2
= 0 ;
15268 char *kwnames
[] = {
15269 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15276 arg2
= wxString_in_helper(obj1
);
15277 if (arg2
== NULL
) SWIG_fail
;
15281 arg3
= (double) SWIG_AsDouble(obj2
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15286 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15288 wxPyEndAllowThreads(__tstate
);
15289 if (PyErr_Occurred()) SWIG_fail
;
15291 resultobj
= SWIG_FromDouble((double)result
);
15306 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15307 PyObject
*resultobj
;
15308 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15309 wxString
*arg2
= 0 ;
15310 bool arg3
= (bool) False
;
15312 bool temp2
= False
;
15313 PyObject
* obj0
= 0 ;
15314 PyObject
* obj1
= 0 ;
15315 PyObject
* obj2
= 0 ;
15316 char *kwnames
[] = {
15317 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15324 arg2
= wxString_in_helper(obj1
);
15325 if (arg2
== NULL
) SWIG_fail
;
15329 arg3
= (bool) SWIG_AsBool(obj2
);
15330 if (PyErr_Occurred()) SWIG_fail
;
15333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15334 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15336 wxPyEndAllowThreads(__tstate
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15356 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15357 PyObject
*resultobj
;
15358 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15359 wxString
*arg2
= 0 ;
15360 wxString
*arg3
= 0 ;
15362 bool temp2
= False
;
15363 bool temp3
= False
;
15364 PyObject
* obj0
= 0 ;
15365 PyObject
* obj1
= 0 ;
15366 PyObject
* obj2
= 0 ;
15367 char *kwnames
[] = {
15368 (char *) "self",(char *) "key",(char *) "value", NULL
15371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15375 arg2
= wxString_in_helper(obj1
);
15376 if (arg2
== NULL
) SWIG_fail
;
15380 arg3
= wxString_in_helper(obj2
);
15381 if (arg3
== NULL
) SWIG_fail
;
15385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15386 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15388 wxPyEndAllowThreads(__tstate
);
15389 if (PyErr_Occurred()) SWIG_fail
;
15392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15416 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15417 PyObject
*resultobj
;
15418 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15419 wxString
*arg2
= 0 ;
15422 bool temp2
= False
;
15423 PyObject
* obj0
= 0 ;
15424 PyObject
* obj1
= 0 ;
15425 PyObject
* obj2
= 0 ;
15426 char *kwnames
[] = {
15427 (char *) "self",(char *) "key",(char *) "value", NULL
15430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15434 arg2
= wxString_in_helper(obj1
);
15435 if (arg2
== NULL
) SWIG_fail
;
15438 arg3
= (long) SWIG_AsLong(obj2
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15442 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15444 wxPyEndAllowThreads(__tstate
);
15445 if (PyErr_Occurred()) SWIG_fail
;
15448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15464 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15465 PyObject
*resultobj
;
15466 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15467 wxString
*arg2
= 0 ;
15470 bool temp2
= False
;
15471 PyObject
* obj0
= 0 ;
15472 PyObject
* obj1
= 0 ;
15473 PyObject
* obj2
= 0 ;
15474 char *kwnames
[] = {
15475 (char *) "self",(char *) "key",(char *) "value", NULL
15478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15482 arg2
= wxString_in_helper(obj1
);
15483 if (arg2
== NULL
) SWIG_fail
;
15486 arg3
= (double) SWIG_AsDouble(obj2
);
15487 if (PyErr_Occurred()) SWIG_fail
;
15489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15490 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15492 wxPyEndAllowThreads(__tstate
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15512 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15513 PyObject
*resultobj
;
15514 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15515 wxString
*arg2
= 0 ;
15518 bool temp2
= False
;
15519 PyObject
* obj0
= 0 ;
15520 PyObject
* obj1
= 0 ;
15521 PyObject
* obj2
= 0 ;
15522 char *kwnames
[] = {
15523 (char *) "self",(char *) "key",(char *) "value", NULL
15526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15530 arg2
= wxString_in_helper(obj1
);
15531 if (arg2
== NULL
) SWIG_fail
;
15534 arg3
= (bool) SWIG_AsBool(obj2
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15538 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15540 wxPyEndAllowThreads(__tstate
);
15541 if (PyErr_Occurred()) SWIG_fail
;
15544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15560 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15561 PyObject
*resultobj
;
15562 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15563 bool arg2
= (bool) False
;
15565 PyObject
* obj0
= 0 ;
15566 PyObject
* obj1
= 0 ;
15567 char *kwnames
[] = {
15568 (char *) "self",(char *) "currentOnly", NULL
15571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15575 arg2
= (bool) SWIG_AsBool(obj1
);
15576 if (PyErr_Occurred()) SWIG_fail
;
15579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15580 result
= (bool)(arg1
)->Flush(arg2
);
15582 wxPyEndAllowThreads(__tstate
);
15583 if (PyErr_Occurred()) SWIG_fail
;
15586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15594 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15595 PyObject
*resultobj
;
15596 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15597 wxString
*arg2
= 0 ;
15598 wxString
*arg3
= 0 ;
15600 bool temp2
= False
;
15601 bool temp3
= False
;
15602 PyObject
* obj0
= 0 ;
15603 PyObject
* obj1
= 0 ;
15604 PyObject
* obj2
= 0 ;
15605 char *kwnames
[] = {
15606 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15613 arg2
= wxString_in_helper(obj1
);
15614 if (arg2
== NULL
) SWIG_fail
;
15618 arg3
= wxString_in_helper(obj2
);
15619 if (arg3
== NULL
) SWIG_fail
;
15623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15624 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15626 wxPyEndAllowThreads(__tstate
);
15627 if (PyErr_Occurred()) SWIG_fail
;
15630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15654 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15655 PyObject
*resultobj
;
15656 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15657 wxString
*arg2
= 0 ;
15658 wxString
*arg3
= 0 ;
15660 bool temp2
= False
;
15661 bool temp3
= False
;
15662 PyObject
* obj0
= 0 ;
15663 PyObject
* obj1
= 0 ;
15664 PyObject
* obj2
= 0 ;
15665 char *kwnames
[] = {
15666 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15673 arg2
= wxString_in_helper(obj1
);
15674 if (arg2
== NULL
) SWIG_fail
;
15678 arg3
= wxString_in_helper(obj2
);
15679 if (arg3
== NULL
) SWIG_fail
;
15683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15684 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15686 wxPyEndAllowThreads(__tstate
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15714 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15715 PyObject
*resultobj
;
15716 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15717 wxString
*arg2
= 0 ;
15718 bool arg3
= (bool) True
;
15720 bool temp2
= False
;
15721 PyObject
* obj0
= 0 ;
15722 PyObject
* obj1
= 0 ;
15723 PyObject
* obj2
= 0 ;
15724 char *kwnames
[] = {
15725 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15732 arg2
= wxString_in_helper(obj1
);
15733 if (arg2
== NULL
) SWIG_fail
;
15737 arg3
= (bool) SWIG_AsBool(obj2
);
15738 if (PyErr_Occurred()) SWIG_fail
;
15741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15742 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15744 wxPyEndAllowThreads(__tstate
);
15745 if (PyErr_Occurred()) SWIG_fail
;
15748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15764 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15765 PyObject
*resultobj
;
15766 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15767 wxString
*arg2
= 0 ;
15769 bool temp2
= False
;
15770 PyObject
* obj0
= 0 ;
15771 PyObject
* obj1
= 0 ;
15772 char *kwnames
[] = {
15773 (char *) "self",(char *) "key", NULL
15776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15780 arg2
= wxString_in_helper(obj1
);
15781 if (arg2
== NULL
) SWIG_fail
;
15785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15786 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15788 wxPyEndAllowThreads(__tstate
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15808 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15809 PyObject
*resultobj
;
15810 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15812 PyObject
* obj0
= 0 ;
15813 char *kwnames
[] = {
15814 (char *) "self", NULL
15817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15822 result
= (bool)(arg1
)->DeleteAll();
15824 wxPyEndAllowThreads(__tstate
);
15825 if (PyErr_Occurred()) SWIG_fail
;
15828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15836 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15837 PyObject
*resultobj
;
15838 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15839 bool arg2
= (bool) True
;
15840 PyObject
* obj0
= 0 ;
15841 PyObject
* obj1
= 0 ;
15842 char *kwnames
[] = {
15843 (char *) "self",(char *) "doIt", NULL
15846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15850 arg2
= (bool) SWIG_AsBool(obj1
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15855 (arg1
)->SetExpandEnvVars(arg2
);
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15860 Py_INCREF(Py_None
); resultobj
= Py_None
;
15867 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15868 PyObject
*resultobj
;
15869 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15871 PyObject
* obj0
= 0 ;
15872 char *kwnames
[] = {
15873 (char *) "self", NULL
15876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15881 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15883 wxPyEndAllowThreads(__tstate
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15895 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15896 PyObject
*resultobj
;
15897 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15898 bool arg2
= (bool) True
;
15899 PyObject
* obj0
= 0 ;
15900 PyObject
* obj1
= 0 ;
15901 char *kwnames
[] = {
15902 (char *) "self",(char *) "doIt", NULL
15905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15909 arg2
= (bool) SWIG_AsBool(obj1
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15914 (arg1
)->SetRecordDefaults(arg2
);
15916 wxPyEndAllowThreads(__tstate
);
15917 if (PyErr_Occurred()) SWIG_fail
;
15919 Py_INCREF(Py_None
); resultobj
= Py_None
;
15926 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15927 PyObject
*resultobj
;
15928 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15930 PyObject
* obj0
= 0 ;
15931 char *kwnames
[] = {
15932 (char *) "self", NULL
15935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15940 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15942 wxPyEndAllowThreads(__tstate
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15954 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15955 PyObject
*resultobj
;
15956 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15957 wxString
*arg2
= 0 ;
15959 bool temp2
= False
;
15960 PyObject
* obj0
= 0 ;
15961 PyObject
* obj1
= 0 ;
15962 char *kwnames
[] = {
15963 (char *) "self",(char *) "str", NULL
15966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15970 arg2
= wxString_in_helper(obj1
);
15971 if (arg2
== NULL
) SWIG_fail
;
15975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15976 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15978 wxPyEndAllowThreads(__tstate
);
15979 if (PyErr_Occurred()) SWIG_fail
;
15983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16002 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16003 PyObject
*resultobj
;
16004 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16006 PyObject
* obj0
= 0 ;
16007 char *kwnames
[] = {
16008 (char *) "self", NULL
16011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16016 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16018 wxPyEndAllowThreads(__tstate
);
16019 if (PyErr_Occurred()) SWIG_fail
;
16023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16034 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16035 PyObject
*resultobj
;
16036 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16038 PyObject
* obj0
= 0 ;
16039 char *kwnames
[] = {
16040 (char *) "self", NULL
16043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16048 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16050 wxPyEndAllowThreads(__tstate
);
16051 if (PyErr_Occurred()) SWIG_fail
;
16055 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16057 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16066 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16067 PyObject
*resultobj
;
16068 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16069 wxString
*arg2
= 0 ;
16070 bool temp2
= False
;
16071 PyObject
* obj0
= 0 ;
16072 PyObject
* obj1
= 0 ;
16073 char *kwnames
[] = {
16074 (char *) "self",(char *) "appName", NULL
16077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16081 arg2
= wxString_in_helper(obj1
);
16082 if (arg2
== NULL
) SWIG_fail
;
16086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16087 (arg1
)->SetAppName((wxString
const &)*arg2
);
16089 wxPyEndAllowThreads(__tstate
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16092 Py_INCREF(Py_None
); resultobj
= Py_None
;
16107 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16108 PyObject
*resultobj
;
16109 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16110 wxString
*arg2
= 0 ;
16111 bool temp2
= False
;
16112 PyObject
* obj0
= 0 ;
16113 PyObject
* obj1
= 0 ;
16114 char *kwnames
[] = {
16115 (char *) "self",(char *) "vendorName", NULL
16118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16122 arg2
= wxString_in_helper(obj1
);
16123 if (arg2
== NULL
) SWIG_fail
;
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16133 Py_INCREF(Py_None
); resultobj
= Py_None
;
16148 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16149 PyObject
*resultobj
;
16150 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16152 PyObject
* obj0
= 0 ;
16153 PyObject
* obj1
= 0 ;
16154 char *kwnames
[] = {
16155 (char *) "self",(char *) "style", NULL
16158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16161 arg2
= (long) SWIG_AsLong(obj1
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16165 (arg1
)->SetStyle(arg2
);
16167 wxPyEndAllowThreads(__tstate
);
16168 if (PyErr_Occurred()) SWIG_fail
;
16170 Py_INCREF(Py_None
); resultobj
= Py_None
;
16177 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16178 PyObject
*resultobj
;
16179 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16181 PyObject
* obj0
= 0 ;
16182 char *kwnames
[] = {
16183 (char *) "self", NULL
16186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16191 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16193 wxPyEndAllowThreads(__tstate
);
16194 if (PyErr_Occurred()) SWIG_fail
;
16196 resultobj
= SWIG_FromLong((long)result
);
16203 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16206 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16208 return Py_BuildValue((char *)"");
16210 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16211 PyObject
*resultobj
;
16212 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16213 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16214 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16215 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16216 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16217 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16218 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16219 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16220 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16222 bool temp1
= False
;
16223 bool temp2
= False
;
16224 bool temp3
= False
;
16225 bool temp4
= False
;
16226 PyObject
* obj0
= 0 ;
16227 PyObject
* obj1
= 0 ;
16228 PyObject
* obj2
= 0 ;
16229 PyObject
* obj3
= 0 ;
16230 PyObject
* obj4
= 0 ;
16231 char *kwnames
[] = {
16232 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16238 arg1
= wxString_in_helper(obj0
);
16239 if (arg1
== NULL
) SWIG_fail
;
16245 arg2
= wxString_in_helper(obj1
);
16246 if (arg2
== NULL
) SWIG_fail
;
16252 arg3
= wxString_in_helper(obj2
);
16253 if (arg3
== NULL
) SWIG_fail
;
16259 arg4
= wxString_in_helper(obj3
);
16260 if (arg4
== NULL
) SWIG_fail
;
16265 arg5
= (long) SWIG_AsLong(obj4
);
16266 if (PyErr_Occurred()) SWIG_fail
;
16269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16270 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16272 wxPyEndAllowThreads(__tstate
);
16273 if (PyErr_Occurred()) SWIG_fail
;
16275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16314 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16315 PyObject
*resultobj
;
16316 wxConfig
*arg1
= (wxConfig
*) 0 ;
16317 PyObject
* obj0
= 0 ;
16318 char *kwnames
[] = {
16319 (char *) "self", NULL
16322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16329 wxPyEndAllowThreads(__tstate
);
16330 if (PyErr_Occurred()) SWIG_fail
;
16332 Py_INCREF(Py_None
); resultobj
= Py_None
;
16339 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16342 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16344 return Py_BuildValue((char *)"");
16346 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16347 PyObject
*resultobj
;
16348 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16349 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16350 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16351 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16352 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16353 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16354 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16355 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16356 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16357 wxFileConfig
*result
;
16358 bool temp1
= False
;
16359 bool temp2
= False
;
16360 bool temp3
= False
;
16361 bool temp4
= False
;
16362 PyObject
* obj0
= 0 ;
16363 PyObject
* obj1
= 0 ;
16364 PyObject
* obj2
= 0 ;
16365 PyObject
* obj3
= 0 ;
16366 PyObject
* obj4
= 0 ;
16367 char *kwnames
[] = {
16368 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16374 arg1
= wxString_in_helper(obj0
);
16375 if (arg1
== NULL
) SWIG_fail
;
16381 arg2
= wxString_in_helper(obj1
);
16382 if (arg2
== NULL
) SWIG_fail
;
16388 arg3
= wxString_in_helper(obj2
);
16389 if (arg3
== NULL
) SWIG_fail
;
16395 arg4
= wxString_in_helper(obj3
);
16396 if (arg4
== NULL
) SWIG_fail
;
16401 arg5
= (long) SWIG_AsLong(obj4
);
16402 if (PyErr_Occurred()) SWIG_fail
;
16405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16406 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16408 wxPyEndAllowThreads(__tstate
);
16409 if (PyErr_Occurred()) SWIG_fail
;
16411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16450 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16451 PyObject
*resultobj
;
16452 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16453 PyObject
* obj0
= 0 ;
16454 char *kwnames
[] = {
16455 (char *) "self", NULL
16458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 wxPyEndAllowThreads(__tstate
);
16466 if (PyErr_Occurred()) SWIG_fail
;
16468 Py_INCREF(Py_None
); resultobj
= Py_None
;
16475 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16478 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16480 return Py_BuildValue((char *)"");
16482 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16483 PyObject
*resultobj
;
16484 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16485 wxString
*arg2
= 0 ;
16486 wxConfigPathChanger
*result
;
16487 bool temp2
= False
;
16488 PyObject
* obj0
= 0 ;
16489 PyObject
* obj1
= 0 ;
16490 char *kwnames
[] = {
16491 (char *) "config",(char *) "entry", NULL
16494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16498 arg2
= wxString_in_helper(obj1
);
16499 if (arg2
== NULL
) SWIG_fail
;
16503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16504 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16506 wxPyEndAllowThreads(__tstate
);
16507 if (PyErr_Occurred()) SWIG_fail
;
16509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16524 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16525 PyObject
*resultobj
;
16526 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16527 PyObject
* obj0
= 0 ;
16528 char *kwnames
[] = {
16529 (char *) "self", NULL
16532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16539 wxPyEndAllowThreads(__tstate
);
16540 if (PyErr_Occurred()) SWIG_fail
;
16542 Py_INCREF(Py_None
); resultobj
= Py_None
;
16549 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16550 PyObject
*resultobj
;
16551 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16553 PyObject
* obj0
= 0 ;
16554 char *kwnames
[] = {
16555 (char *) "self", NULL
16558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16564 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16565 result
= (wxString
*) &_result_ref
;
16568 wxPyEndAllowThreads(__tstate
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16573 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16575 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16584 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16587 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16589 return Py_BuildValue((char *)"");
16591 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16592 PyObject
*resultobj
;
16593 wxString
*arg1
= 0 ;
16595 bool temp1
= False
;
16596 PyObject
* obj0
= 0 ;
16597 char *kwnames
[] = {
16598 (char *) "sz", NULL
16601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16603 arg1
= wxString_in_helper(obj0
);
16604 if (arg1
== NULL
) SWIG_fail
;
16608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16609 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16611 wxPyEndAllowThreads(__tstate
);
16612 if (PyErr_Occurred()) SWIG_fail
;
16616 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16618 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16635 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16636 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16641 static PyObject
*_wrap_DateFormatStr_get() {
16646 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16648 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16655 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16656 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16661 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16666 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16668 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16675 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16676 PyObject
*resultobj
;
16678 PyObject
* obj0
= 0 ;
16679 char *kwnames
[] = {
16680 (char *) "country", NULL
16683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16684 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16688 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16690 wxPyEndAllowThreads(__tstate
);
16691 if (PyErr_Occurred()) SWIG_fail
;
16693 Py_INCREF(Py_None
); resultobj
= Py_None
;
16700 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16701 PyObject
*resultobj
;
16703 char *kwnames
[] = {
16707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16710 result
= (int)wxDateTime::GetCountry();
16712 wxPyEndAllowThreads(__tstate
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16715 resultobj
= SWIG_FromInt((int)result
);
16722 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16723 PyObject
*resultobj
;
16724 int arg1
= (int) wxDateTime::Country_Default
;
16726 PyObject
* obj0
= 0 ;
16727 char *kwnames
[] = {
16728 (char *) "country", NULL
16731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16733 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16738 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16740 wxPyEndAllowThreads(__tstate
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16752 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16753 PyObject
*resultobj
;
16754 int arg1
= (int) wxDateTime::Gregorian
;
16756 PyObject
* obj0
= 0 ;
16757 char *kwnames
[] = {
16758 (char *) "cal", NULL
16761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16763 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16768 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16770 wxPyEndAllowThreads(__tstate
);
16771 if (PyErr_Occurred()) SWIG_fail
;
16773 resultobj
= SWIG_FromInt((int)result
);
16780 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16781 PyObject
*resultobj
;
16784 PyObject
* obj0
= 0 ;
16785 char *kwnames
[] = {
16786 (char *) "year", NULL
16789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16790 arg1
= (int) SWIG_AsInt(obj0
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16794 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16796 wxPyEndAllowThreads(__tstate
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16799 resultobj
= SWIG_FromInt((int)result
);
16806 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16807 PyObject
*resultobj
;
16808 int arg1
= (int) wxDateTime::Gregorian
;
16810 PyObject
* obj0
= 0 ;
16811 char *kwnames
[] = {
16812 (char *) "cal", NULL
16815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16817 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16818 if (PyErr_Occurred()) SWIG_fail
;
16821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16822 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16827 resultobj
= SWIG_FromInt((int)result
);
16834 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16835 PyObject
*resultobj
;
16836 int arg1
= (int) wxDateTime::Inv_Year
;
16837 int arg2
= (int) wxDateTime::Gregorian
;
16839 PyObject
* obj0
= 0 ;
16840 PyObject
* obj1
= 0 ;
16841 char *kwnames
[] = {
16842 (char *) "year",(char *) "cal", NULL
16845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16847 arg1
= (int) SWIG_AsInt(obj0
);
16848 if (PyErr_Occurred()) SWIG_fail
;
16851 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16852 if (PyErr_Occurred()) SWIG_fail
;
16855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16856 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16858 wxPyEndAllowThreads(__tstate
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16870 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16871 PyObject
*resultobj
;
16872 int arg1
= (int) wxDateTime::Inv_Year
;
16874 PyObject
* obj0
= 0 ;
16875 char *kwnames
[] = {
16876 (char *) "year", NULL
16879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16881 arg1
= (int) SWIG_AsInt(obj0
);
16882 if (PyErr_Occurred()) SWIG_fail
;
16885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16886 result
= (int)wxDateTime::GetCentury(arg1
);
16888 wxPyEndAllowThreads(__tstate
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16891 resultobj
= SWIG_FromInt((int)result
);
16898 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16899 PyObject
*resultobj
;
16901 int arg2
= (int) wxDateTime::Gregorian
;
16903 PyObject
* obj0
= 0 ;
16904 PyObject
* obj1
= 0 ;
16905 char *kwnames
[] = {
16906 (char *) "year",(char *) "cal", NULL
16909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16910 arg1
= (int) SWIG_AsInt(obj0
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16913 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16914 if (PyErr_Occurred()) SWIG_fail
;
16917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16918 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16920 wxPyEndAllowThreads(__tstate
);
16921 if (PyErr_Occurred()) SWIG_fail
;
16923 resultobj
= SWIG_FromInt((int)result
);
16930 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16931 PyObject
*resultobj
;
16933 int arg2
= (int) wxDateTime::Inv_Year
;
16934 int arg3
= (int) wxDateTime::Gregorian
;
16936 PyObject
* obj0
= 0 ;
16937 PyObject
* obj1
= 0 ;
16938 PyObject
* obj2
= 0 ;
16939 char *kwnames
[] = {
16940 (char *) "month",(char *) "year",(char *) "cal", NULL
16943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16944 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16947 arg2
= (int) SWIG_AsInt(obj1
);
16948 if (PyErr_Occurred()) SWIG_fail
;
16951 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16956 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16961 resultobj
= SWIG_FromInt((int)result
);
16968 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16969 PyObject
*resultobj
;
16971 int arg2
= (int) wxDateTime::Name_Full
;
16973 PyObject
* obj0
= 0 ;
16974 PyObject
* obj1
= 0 ;
16975 char *kwnames
[] = {
16976 (char *) "month",(char *) "flags", NULL
16979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16980 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16981 if (PyErr_Occurred()) SWIG_fail
;
16983 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16988 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16990 wxPyEndAllowThreads(__tstate
);
16991 if (PyErr_Occurred()) SWIG_fail
;
16995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17006 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17007 PyObject
*resultobj
;
17009 int arg2
= (int) wxDateTime::Name_Full
;
17011 PyObject
* obj0
= 0 ;
17012 PyObject
* obj1
= 0 ;
17013 char *kwnames
[] = {
17014 (char *) "weekday",(char *) "flags", NULL
17017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17018 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17021 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17022 if (PyErr_Occurred()) SWIG_fail
;
17025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17026 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17028 wxPyEndAllowThreads(__tstate
);
17029 if (PyErr_Occurred()) SWIG_fail
;
17033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17044 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17045 PyObject
*resultobj
;
17046 wxString
*arg1
= (wxString
*) 0 ;
17047 wxString
*arg2
= (wxString
*) 0 ;
17048 bool temp1
= False
;
17049 bool temp2
= False
;
17050 PyObject
* obj0
= 0 ;
17051 PyObject
* obj1
= 0 ;
17052 char *kwnames
[] = {
17053 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17058 arg1
= wxString_in_helper(obj0
);
17059 if (arg1
== NULL
) SWIG_fail
;
17063 arg2
= wxString_in_helper(obj1
);
17064 if (arg2
== NULL
) SWIG_fail
;
17068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17069 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17071 wxPyEndAllowThreads(__tstate
);
17072 if (PyErr_Occurred()) SWIG_fail
;
17074 Py_INCREF(Py_None
); resultobj
= Py_None
;
17097 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17098 PyObject
*resultobj
;
17099 int arg1
= (int) wxDateTime::Inv_Year
;
17100 int arg2
= (int) wxDateTime::Country_Default
;
17102 PyObject
* obj0
= 0 ;
17103 PyObject
* obj1
= 0 ;
17104 char *kwnames
[] = {
17105 (char *) "year",(char *) "country", NULL
17108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17110 arg1
= (int) SWIG_AsInt(obj0
);
17111 if (PyErr_Occurred()) SWIG_fail
;
17114 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17115 if (PyErr_Occurred()) SWIG_fail
;
17118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17119 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17121 wxPyEndAllowThreads(__tstate
);
17122 if (PyErr_Occurred()) SWIG_fail
;
17125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17133 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17134 PyObject
*resultobj
;
17135 int arg1
= (int) wxDateTime::Inv_Year
;
17136 int arg2
= (int) wxDateTime::Country_Default
;
17138 PyObject
* obj0
= 0 ;
17139 PyObject
* obj1
= 0 ;
17140 char *kwnames
[] = {
17141 (char *) "year",(char *) "country", NULL
17144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17146 arg1
= (int) SWIG_AsInt(obj0
);
17147 if (PyErr_Occurred()) SWIG_fail
;
17150 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17155 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17157 wxPyEndAllowThreads(__tstate
);
17158 if (PyErr_Occurred()) SWIG_fail
;
17161 wxDateTime
* resultptr
;
17162 resultptr
= new wxDateTime((wxDateTime
&) result
);
17163 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17171 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17172 PyObject
*resultobj
;
17173 int arg1
= (int) wxDateTime::Inv_Year
;
17174 int arg2
= (int) wxDateTime::Country_Default
;
17176 PyObject
* obj0
= 0 ;
17177 PyObject
* obj1
= 0 ;
17178 char *kwnames
[] = {
17179 (char *) "year",(char *) "country", NULL
17182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17184 arg1
= (int) SWIG_AsInt(obj0
);
17185 if (PyErr_Occurred()) SWIG_fail
;
17188 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17193 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17195 wxPyEndAllowThreads(__tstate
);
17196 if (PyErr_Occurred()) SWIG_fail
;
17199 wxDateTime
* resultptr
;
17200 resultptr
= new wxDateTime((wxDateTime
&) result
);
17201 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17209 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17210 PyObject
*resultobj
;
17212 char *kwnames
[] = {
17216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17219 result
= wxDateTime::Now();
17221 wxPyEndAllowThreads(__tstate
);
17222 if (PyErr_Occurred()) SWIG_fail
;
17225 wxDateTime
* resultptr
;
17226 resultptr
= new wxDateTime((wxDateTime
&) result
);
17227 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17235 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17236 PyObject
*resultobj
;
17238 char *kwnames
[] = {
17242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17245 result
= wxDateTime::UNow();
17247 wxPyEndAllowThreads(__tstate
);
17248 if (PyErr_Occurred()) SWIG_fail
;
17251 wxDateTime
* resultptr
;
17252 resultptr
= new wxDateTime((wxDateTime
&) result
);
17253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17261 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17262 PyObject
*resultobj
;
17264 char *kwnames
[] = {
17268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 result
= wxDateTime::Today();
17273 wxPyEndAllowThreads(__tstate
);
17274 if (PyErr_Occurred()) SWIG_fail
;
17277 wxDateTime
* resultptr
;
17278 resultptr
= new wxDateTime((wxDateTime
&) result
);
17279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17287 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17288 PyObject
*resultobj
;
17289 wxDateTime
*result
;
17290 char *kwnames
[] = {
17294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17297 result
= (wxDateTime
*)new wxDateTime();
17299 wxPyEndAllowThreads(__tstate
);
17300 if (PyErr_Occurred()) SWIG_fail
;
17302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17309 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17310 PyObject
*resultobj
;
17312 wxDateTime
*result
;
17313 PyObject
* obj0
= 0 ;
17314 char *kwnames
[] = {
17315 (char *) "timet", NULL
17318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17319 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17323 result
= (wxDateTime
*)new wxDateTime(arg1
);
17325 wxPyEndAllowThreads(__tstate
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17335 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17336 PyObject
*resultobj
;
17338 wxDateTime
*result
;
17339 PyObject
* obj0
= 0 ;
17340 char *kwnames
[] = {
17341 (char *) "jdn", NULL
17344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17345 arg1
= (double) SWIG_AsDouble(obj0
);
17346 if (PyErr_Occurred()) SWIG_fail
;
17348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17349 result
= (wxDateTime
*)new wxDateTime(arg1
);
17351 wxPyEndAllowThreads(__tstate
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17361 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17362 PyObject
*resultobj
;
17364 int arg2
= (int) 0 ;
17365 int arg3
= (int) 0 ;
17366 int arg4
= (int) 0 ;
17367 wxDateTime
*result
;
17368 PyObject
* obj0
= 0 ;
17369 PyObject
* obj1
= 0 ;
17370 PyObject
* obj2
= 0 ;
17371 PyObject
* obj3
= 0 ;
17372 char *kwnames
[] = {
17373 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17377 arg1
= (int) SWIG_AsInt(obj0
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17380 arg2
= (int) SWIG_AsInt(obj1
);
17381 if (PyErr_Occurred()) SWIG_fail
;
17384 arg3
= (int) SWIG_AsInt(obj2
);
17385 if (PyErr_Occurred()) SWIG_fail
;
17388 arg4
= (int) SWIG_AsInt(obj3
);
17389 if (PyErr_Occurred()) SWIG_fail
;
17392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17393 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17395 wxPyEndAllowThreads(__tstate
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17405 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17406 PyObject
*resultobj
;
17408 int arg2
= (int) wxDateTime::Inv_Month
;
17409 int arg3
= (int) wxDateTime::Inv_Year
;
17410 int arg4
= (int) 0 ;
17411 int arg5
= (int) 0 ;
17412 int arg6
= (int) 0 ;
17413 int arg7
= (int) 0 ;
17414 wxDateTime
*result
;
17415 PyObject
* obj0
= 0 ;
17416 PyObject
* obj1
= 0 ;
17417 PyObject
* obj2
= 0 ;
17418 PyObject
* obj3
= 0 ;
17419 PyObject
* obj4
= 0 ;
17420 PyObject
* obj5
= 0 ;
17421 PyObject
* obj6
= 0 ;
17422 char *kwnames
[] = {
17423 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17427 arg1
= (int) SWIG_AsInt(obj0
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17430 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17431 if (PyErr_Occurred()) SWIG_fail
;
17434 arg3
= (int) SWIG_AsInt(obj2
);
17435 if (PyErr_Occurred()) SWIG_fail
;
17438 arg4
= (int) SWIG_AsInt(obj3
);
17439 if (PyErr_Occurred()) SWIG_fail
;
17442 arg5
= (int) SWIG_AsInt(obj4
);
17443 if (PyErr_Occurred()) SWIG_fail
;
17446 arg6
= (int) SWIG_AsInt(obj5
);
17447 if (PyErr_Occurred()) SWIG_fail
;
17450 arg7
= (int) SWIG_AsInt(obj6
);
17451 if (PyErr_Occurred()) SWIG_fail
;
17454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17455 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17457 wxPyEndAllowThreads(__tstate
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17467 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17468 PyObject
*resultobj
;
17469 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17470 PyObject
* obj0
= 0 ;
17471 char *kwnames
[] = {
17472 (char *) "self", NULL
17475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17482 wxPyEndAllowThreads(__tstate
);
17483 if (PyErr_Occurred()) SWIG_fail
;
17485 Py_INCREF(Py_None
); resultobj
= Py_None
;
17492 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17493 PyObject
*resultobj
;
17494 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17495 wxDateTime
*result
;
17496 PyObject
* obj0
= 0 ;
17497 char *kwnames
[] = {
17498 (char *) "self", NULL
17501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17507 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17508 result
= (wxDateTime
*) &_result_ref
;
17511 wxPyEndAllowThreads(__tstate
);
17512 if (PyErr_Occurred()) SWIG_fail
;
17514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17521 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17522 PyObject
*resultobj
;
17523 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17525 wxDateTime
*result
;
17526 PyObject
* obj0
= 0 ;
17527 PyObject
* obj1
= 0 ;
17528 char *kwnames
[] = {
17529 (char *) "self",(char *) "timet", NULL
17532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17535 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17540 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17541 result
= (wxDateTime
*) &_result_ref
;
17544 wxPyEndAllowThreads(__tstate
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17554 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17555 PyObject
*resultobj
;
17556 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17558 wxDateTime
*result
;
17559 PyObject
* obj0
= 0 ;
17560 PyObject
* obj1
= 0 ;
17561 char *kwnames
[] = {
17562 (char *) "self",(char *) "jdn", NULL
17565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17568 arg2
= (double) SWIG_AsDouble(obj1
);
17569 if (PyErr_Occurred()) SWIG_fail
;
17571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17573 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17574 result
= (wxDateTime
*) &_result_ref
;
17577 wxPyEndAllowThreads(__tstate
);
17578 if (PyErr_Occurred()) SWIG_fail
;
17580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17587 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17588 PyObject
*resultobj
;
17589 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17591 int arg3
= (int) 0 ;
17592 int arg4
= (int) 0 ;
17593 int arg5
= (int) 0 ;
17594 wxDateTime
*result
;
17595 PyObject
* obj0
= 0 ;
17596 PyObject
* obj1
= 0 ;
17597 PyObject
* obj2
= 0 ;
17598 PyObject
* obj3
= 0 ;
17599 PyObject
* obj4
= 0 ;
17600 char *kwnames
[] = {
17601 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17607 arg2
= (int) SWIG_AsInt(obj1
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17610 arg3
= (int) SWIG_AsInt(obj2
);
17611 if (PyErr_Occurred()) SWIG_fail
;
17614 arg4
= (int) SWIG_AsInt(obj3
);
17615 if (PyErr_Occurred()) SWIG_fail
;
17618 arg5
= (int) SWIG_AsInt(obj4
);
17619 if (PyErr_Occurred()) SWIG_fail
;
17622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17624 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17625 result
= (wxDateTime
*) &_result_ref
;
17628 wxPyEndAllowThreads(__tstate
);
17629 if (PyErr_Occurred()) SWIG_fail
;
17631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17638 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17639 PyObject
*resultobj
;
17640 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17642 int arg3
= (int) wxDateTime::Inv_Month
;
17643 int arg4
= (int) wxDateTime::Inv_Year
;
17644 int arg5
= (int) 0 ;
17645 int arg6
= (int) 0 ;
17646 int arg7
= (int) 0 ;
17647 int arg8
= (int) 0 ;
17648 wxDateTime
*result
;
17649 PyObject
* obj0
= 0 ;
17650 PyObject
* obj1
= 0 ;
17651 PyObject
* obj2
= 0 ;
17652 PyObject
* obj3
= 0 ;
17653 PyObject
* obj4
= 0 ;
17654 PyObject
* obj5
= 0 ;
17655 PyObject
* obj6
= 0 ;
17656 PyObject
* obj7
= 0 ;
17657 char *kwnames
[] = {
17658 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17664 arg2
= (int) SWIG_AsInt(obj1
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17667 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17671 arg4
= (int) SWIG_AsInt(obj3
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17675 arg5
= (int) SWIG_AsInt(obj4
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17679 arg6
= (int) SWIG_AsInt(obj5
);
17680 if (PyErr_Occurred()) SWIG_fail
;
17683 arg7
= (int) SWIG_AsInt(obj6
);
17684 if (PyErr_Occurred()) SWIG_fail
;
17687 arg8
= (int) SWIG_AsInt(obj7
);
17688 if (PyErr_Occurred()) SWIG_fail
;
17691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17694 result
= (wxDateTime
*) &_result_ref
;
17697 wxPyEndAllowThreads(__tstate
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17707 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17708 PyObject
*resultobj
;
17709 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17710 wxDateTime
*result
;
17711 PyObject
* obj0
= 0 ;
17712 char *kwnames
[] = {
17713 (char *) "self", NULL
17716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17722 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17723 result
= (wxDateTime
*) &_result_ref
;
17726 wxPyEndAllowThreads(__tstate
);
17727 if (PyErr_Occurred()) SWIG_fail
;
17729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17736 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17737 PyObject
*resultobj
;
17738 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17740 wxDateTime
*result
;
17741 PyObject
* obj0
= 0 ;
17742 PyObject
* obj1
= 0 ;
17743 char *kwnames
[] = {
17744 (char *) "self",(char *) "year", NULL
17747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17750 arg2
= (int) SWIG_AsInt(obj1
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17755 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17756 result
= (wxDateTime
*) &_result_ref
;
17759 wxPyEndAllowThreads(__tstate
);
17760 if (PyErr_Occurred()) SWIG_fail
;
17762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17769 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17770 PyObject
*resultobj
;
17771 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17773 wxDateTime
*result
;
17774 PyObject
* obj0
= 0 ;
17775 PyObject
* obj1
= 0 ;
17776 char *kwnames
[] = {
17777 (char *) "self",(char *) "month", NULL
17780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17783 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17788 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17789 result
= (wxDateTime
*) &_result_ref
;
17792 wxPyEndAllowThreads(__tstate
);
17793 if (PyErr_Occurred()) SWIG_fail
;
17795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17802 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17803 PyObject
*resultobj
;
17804 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17806 wxDateTime
*result
;
17807 PyObject
* obj0
= 0 ;
17808 PyObject
* obj1
= 0 ;
17809 char *kwnames
[] = {
17810 (char *) "self",(char *) "day", NULL
17813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17816 arg2
= (int) SWIG_AsInt(obj1
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17821 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17822 result
= (wxDateTime
*) &_result_ref
;
17825 wxPyEndAllowThreads(__tstate
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17835 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17836 PyObject
*resultobj
;
17837 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17839 wxDateTime
*result
;
17840 PyObject
* obj0
= 0 ;
17841 PyObject
* obj1
= 0 ;
17842 char *kwnames
[] = {
17843 (char *) "self",(char *) "hour", NULL
17846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17849 arg2
= (int) SWIG_AsInt(obj1
);
17850 if (PyErr_Occurred()) SWIG_fail
;
17852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17854 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17855 result
= (wxDateTime
*) &_result_ref
;
17858 wxPyEndAllowThreads(__tstate
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17868 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17869 PyObject
*resultobj
;
17870 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17872 wxDateTime
*result
;
17873 PyObject
* obj0
= 0 ;
17874 PyObject
* obj1
= 0 ;
17875 char *kwnames
[] = {
17876 (char *) "self",(char *) "minute", NULL
17879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17882 arg2
= (int) SWIG_AsInt(obj1
);
17883 if (PyErr_Occurred()) SWIG_fail
;
17885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17887 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17888 result
= (wxDateTime
*) &_result_ref
;
17891 wxPyEndAllowThreads(__tstate
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17901 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17902 PyObject
*resultobj
;
17903 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17905 wxDateTime
*result
;
17906 PyObject
* obj0
= 0 ;
17907 PyObject
* obj1
= 0 ;
17908 char *kwnames
[] = {
17909 (char *) "self",(char *) "second", NULL
17912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17915 arg2
= (int) SWIG_AsInt(obj1
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17920 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17921 result
= (wxDateTime
*) &_result_ref
;
17924 wxPyEndAllowThreads(__tstate
);
17925 if (PyErr_Occurred()) SWIG_fail
;
17927 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17934 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17935 PyObject
*resultobj
;
17936 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17938 wxDateTime
*result
;
17939 PyObject
* obj0
= 0 ;
17940 PyObject
* obj1
= 0 ;
17941 char *kwnames
[] = {
17942 (char *) "self",(char *) "millisecond", NULL
17945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17948 arg2
= (int) SWIG_AsInt(obj1
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17953 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17954 result
= (wxDateTime
*) &_result_ref
;
17957 wxPyEndAllowThreads(__tstate
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17967 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17968 PyObject
*resultobj
;
17969 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17971 int arg3
= (int) wxDateTime::Monday_First
;
17972 wxDateTime
*result
;
17973 PyObject
* obj0
= 0 ;
17974 PyObject
* obj1
= 0 ;
17975 PyObject
* obj2
= 0 ;
17976 char *kwnames
[] = {
17977 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17983 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17984 if (PyErr_Occurred()) SWIG_fail
;
17986 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17987 if (PyErr_Occurred()) SWIG_fail
;
17990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17992 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17993 result
= (wxDateTime
*) &_result_ref
;
17996 wxPyEndAllowThreads(__tstate
);
17997 if (PyErr_Occurred()) SWIG_fail
;
17999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18006 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18007 PyObject
*resultobj
;
18008 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18010 int arg3
= (int) wxDateTime::Monday_First
;
18012 PyObject
* obj0
= 0 ;
18013 PyObject
* obj1
= 0 ;
18014 PyObject
* obj2
= 0 ;
18015 char *kwnames
[] = {
18016 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18022 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18023 if (PyErr_Occurred()) SWIG_fail
;
18025 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18030 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18032 wxPyEndAllowThreads(__tstate
);
18033 if (PyErr_Occurred()) SWIG_fail
;
18036 wxDateTime
* resultptr
;
18037 resultptr
= new wxDateTime((wxDateTime
&) result
);
18038 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18046 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18047 PyObject
*resultobj
;
18048 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18050 wxDateTime
*result
;
18051 PyObject
* obj0
= 0 ;
18052 PyObject
* obj1
= 0 ;
18053 char *kwnames
[] = {
18054 (char *) "self",(char *) "weekday", NULL
18057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18060 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18061 if (PyErr_Occurred()) SWIG_fail
;
18063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18065 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18066 result
= (wxDateTime
*) &_result_ref
;
18069 wxPyEndAllowThreads(__tstate
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18079 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18080 PyObject
*resultobj
;
18081 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18084 PyObject
* obj0
= 0 ;
18085 PyObject
* obj1
= 0 ;
18086 char *kwnames
[] = {
18087 (char *) "self",(char *) "weekday", NULL
18090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18093 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18097 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18099 wxPyEndAllowThreads(__tstate
);
18100 if (PyErr_Occurred()) SWIG_fail
;
18103 wxDateTime
* resultptr
;
18104 resultptr
= new wxDateTime((wxDateTime
&) result
);
18105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18113 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18114 PyObject
*resultobj
;
18115 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18117 wxDateTime
*result
;
18118 PyObject
* obj0
= 0 ;
18119 PyObject
* obj1
= 0 ;
18120 char *kwnames
[] = {
18121 (char *) "self",(char *) "weekday", NULL
18124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18127 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18132 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18133 result
= (wxDateTime
*) &_result_ref
;
18136 wxPyEndAllowThreads(__tstate
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18146 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18147 PyObject
*resultobj
;
18148 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18151 PyObject
* obj0
= 0 ;
18152 PyObject
* obj1
= 0 ;
18153 char *kwnames
[] = {
18154 (char *) "self",(char *) "weekday", NULL
18157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18160 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18161 if (PyErr_Occurred()) SWIG_fail
;
18163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18164 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18166 wxPyEndAllowThreads(__tstate
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18170 wxDateTime
* resultptr
;
18171 resultptr
= new wxDateTime((wxDateTime
&) result
);
18172 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18180 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18181 PyObject
*resultobj
;
18182 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18184 int arg3
= (int) 1 ;
18185 int arg4
= (int) wxDateTime::Inv_Month
;
18186 int arg5
= (int) wxDateTime::Inv_Year
;
18188 PyObject
* obj0
= 0 ;
18189 PyObject
* obj1
= 0 ;
18190 PyObject
* obj2
= 0 ;
18191 PyObject
* obj3
= 0 ;
18192 PyObject
* obj4
= 0 ;
18193 char *kwnames
[] = {
18194 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18200 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18201 if (PyErr_Occurred()) SWIG_fail
;
18203 arg3
= (int) SWIG_AsInt(obj2
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18207 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18211 arg5
= (int) SWIG_AsInt(obj4
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18216 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18218 wxPyEndAllowThreads(__tstate
);
18219 if (PyErr_Occurred()) SWIG_fail
;
18222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18230 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18231 PyObject
*resultobj
;
18232 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18234 int arg3
= (int) wxDateTime::Inv_Month
;
18235 int arg4
= (int) wxDateTime::Inv_Year
;
18237 PyObject
* obj0
= 0 ;
18238 PyObject
* obj1
= 0 ;
18239 PyObject
* obj2
= 0 ;
18240 PyObject
* obj3
= 0 ;
18241 char *kwnames
[] = {
18242 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18248 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18251 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18255 arg4
= (int) SWIG_AsInt(obj3
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18260 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18262 wxPyEndAllowThreads(__tstate
);
18263 if (PyErr_Occurred()) SWIG_fail
;
18266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18274 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18275 PyObject
*resultobj
;
18276 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18278 int arg3
= (int) wxDateTime::Inv_Month
;
18279 int arg4
= (int) wxDateTime::Inv_Year
;
18281 PyObject
* obj0
= 0 ;
18282 PyObject
* obj1
= 0 ;
18283 PyObject
* obj2
= 0 ;
18284 PyObject
* obj3
= 0 ;
18285 char *kwnames
[] = {
18286 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18292 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18293 if (PyErr_Occurred()) SWIG_fail
;
18295 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18299 arg4
= (int) SWIG_AsInt(obj3
);
18300 if (PyErr_Occurred()) SWIG_fail
;
18303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18304 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18306 wxPyEndAllowThreads(__tstate
);
18307 if (PyErr_Occurred()) SWIG_fail
;
18310 wxDateTime
* resultptr
;
18311 resultptr
= new wxDateTime((wxDateTime
&) result
);
18312 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18320 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18321 PyObject
*resultobj
;
18322 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18324 int arg3
= (int) wxDateTime::Mon
;
18325 int arg4
= (int) wxDateTime::Monday_First
;
18327 PyObject
* obj0
= 0 ;
18328 PyObject
* obj1
= 0 ;
18329 PyObject
* obj2
= 0 ;
18330 PyObject
* obj3
= 0 ;
18331 char *kwnames
[] = {
18332 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18338 arg2
= (int) SWIG_AsInt(obj1
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18342 if (PyErr_Occurred()) SWIG_fail
;
18345 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18346 if (PyErr_Occurred()) SWIG_fail
;
18349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18350 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18352 wxPyEndAllowThreads(__tstate
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18364 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18365 PyObject
*resultobj
;
18366 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18368 int arg3
= (int) wxDateTime::Mon
;
18369 int arg4
= (int) wxDateTime::Monday_First
;
18371 PyObject
* obj0
= 0 ;
18372 PyObject
* obj1
= 0 ;
18373 PyObject
* obj2
= 0 ;
18374 PyObject
* obj3
= 0 ;
18375 char *kwnames
[] = {
18376 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18382 arg2
= (int) SWIG_AsInt(obj1
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18385 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18389 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18390 if (PyErr_Occurred()) SWIG_fail
;
18393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18394 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18396 wxPyEndAllowThreads(__tstate
);
18397 if (PyErr_Occurred()) SWIG_fail
;
18400 wxDateTime
* resultptr
;
18401 resultptr
= new wxDateTime((wxDateTime
&) result
);
18402 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18410 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18411 PyObject
*resultobj
;
18412 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18413 int arg2
= (int) wxDateTime::Inv_Month
;
18414 int arg3
= (int) wxDateTime::Inv_Year
;
18415 wxDateTime
*result
;
18416 PyObject
* obj0
= 0 ;
18417 PyObject
* obj1
= 0 ;
18418 PyObject
* obj2
= 0 ;
18419 char *kwnames
[] = {
18420 (char *) "self",(char *) "month",(char *) "year", NULL
18423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18427 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18431 arg3
= (int) SWIG_AsInt(obj2
);
18432 if (PyErr_Occurred()) SWIG_fail
;
18435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18437 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18438 result
= (wxDateTime
*) &_result_ref
;
18441 wxPyEndAllowThreads(__tstate
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18451 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18452 PyObject
*resultobj
;
18453 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18454 int arg2
= (int) wxDateTime::Inv_Month
;
18455 int arg3
= (int) wxDateTime::Inv_Year
;
18457 PyObject
* obj0
= 0 ;
18458 PyObject
* obj1
= 0 ;
18459 PyObject
* obj2
= 0 ;
18460 char *kwnames
[] = {
18461 (char *) "self",(char *) "month",(char *) "year", NULL
18464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18468 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18472 arg3
= (int) SWIG_AsInt(obj2
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18477 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18483 wxDateTime
* resultptr
;
18484 resultptr
= new wxDateTime((wxDateTime
&) result
);
18485 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18493 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18494 PyObject
*resultobj
;
18495 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18497 wxDateTime
*result
;
18498 PyObject
* obj0
= 0 ;
18499 PyObject
* obj1
= 0 ;
18500 char *kwnames
[] = {
18501 (char *) "self",(char *) "yday", NULL
18504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18507 arg2
= (int) SWIG_AsInt(obj1
);
18508 if (PyErr_Occurred()) SWIG_fail
;
18510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18512 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18513 result
= (wxDateTime
*) &_result_ref
;
18516 wxPyEndAllowThreads(__tstate
);
18517 if (PyErr_Occurred()) SWIG_fail
;
18519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18526 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18527 PyObject
*resultobj
;
18528 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18531 PyObject
* obj0
= 0 ;
18532 PyObject
* obj1
= 0 ;
18533 char *kwnames
[] = {
18534 (char *) "self",(char *) "yday", NULL
18537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18540 arg2
= (int) SWIG_AsInt(obj1
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18544 result
= (arg1
)->GetYearDay(arg2
);
18546 wxPyEndAllowThreads(__tstate
);
18547 if (PyErr_Occurred()) SWIG_fail
;
18550 wxDateTime
* resultptr
;
18551 resultptr
= new wxDateTime((wxDateTime
&) result
);
18552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18560 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18561 PyObject
*resultobj
;
18562 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18564 PyObject
* obj0
= 0 ;
18565 char *kwnames
[] = {
18566 (char *) "self", NULL
18569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18574 result
= (double)(arg1
)->GetJulianDayNumber();
18576 wxPyEndAllowThreads(__tstate
);
18577 if (PyErr_Occurred()) SWIG_fail
;
18579 resultobj
= SWIG_FromDouble((double)result
);
18586 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18587 PyObject
*resultobj
;
18588 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18590 PyObject
* obj0
= 0 ;
18591 char *kwnames
[] = {
18592 (char *) "self", NULL
18595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18600 result
= (double)(arg1
)->GetJDN();
18602 wxPyEndAllowThreads(__tstate
);
18603 if (PyErr_Occurred()) SWIG_fail
;
18605 resultobj
= SWIG_FromDouble((double)result
);
18612 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18613 PyObject
*resultobj
;
18614 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18616 PyObject
* obj0
= 0 ;
18617 char *kwnames
[] = {
18618 (char *) "self", NULL
18621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18626 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18628 wxPyEndAllowThreads(__tstate
);
18629 if (PyErr_Occurred()) SWIG_fail
;
18631 resultobj
= SWIG_FromDouble((double)result
);
18638 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18639 PyObject
*resultobj
;
18640 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18642 PyObject
* obj0
= 0 ;
18643 char *kwnames
[] = {
18644 (char *) "self", NULL
18647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18652 result
= (double)(arg1
)->GetMJD();
18654 wxPyEndAllowThreads(__tstate
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18657 resultobj
= SWIG_FromDouble((double)result
);
18664 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18665 PyObject
*resultobj
;
18666 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18668 PyObject
* obj0
= 0 ;
18669 char *kwnames
[] = {
18670 (char *) "self", NULL
18673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18678 result
= (double)(arg1
)->GetRataDie();
18680 wxPyEndAllowThreads(__tstate
);
18681 if (PyErr_Occurred()) SWIG_fail
;
18683 resultobj
= SWIG_FromDouble((double)result
);
18690 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18691 PyObject
*resultobj
;
18692 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18693 wxDateTime::TimeZone
*arg2
= 0 ;
18694 bool arg3
= (bool) False
;
18696 bool temp2
= False
;
18697 PyObject
* obj0
= 0 ;
18698 PyObject
* obj1
= 0 ;
18699 PyObject
* obj2
= 0 ;
18700 char *kwnames
[] = {
18701 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18708 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18712 arg3
= (bool) SWIG_AsBool(obj2
);
18713 if (PyErr_Occurred()) SWIG_fail
;
18716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18717 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18719 wxPyEndAllowThreads(__tstate
);
18720 if (PyErr_Occurred()) SWIG_fail
;
18723 wxDateTime
* resultptr
;
18724 resultptr
= new wxDateTime((wxDateTime
&) result
);
18725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18728 if (temp2
) delete arg2
;
18733 if (temp2
) delete arg2
;
18739 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18740 PyObject
*resultobj
;
18741 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18742 wxDateTime::TimeZone
*arg2
= 0 ;
18743 bool arg3
= (bool) False
;
18744 wxDateTime
*result
;
18745 bool temp2
= False
;
18746 PyObject
* obj0
= 0 ;
18747 PyObject
* obj1
= 0 ;
18748 PyObject
* obj2
= 0 ;
18749 char *kwnames
[] = {
18750 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18757 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18761 arg3
= (bool) SWIG_AsBool(obj2
);
18762 if (PyErr_Occurred()) SWIG_fail
;
18765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18767 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18768 result
= (wxDateTime
*) &_result_ref
;
18771 wxPyEndAllowThreads(__tstate
);
18772 if (PyErr_Occurred()) SWIG_fail
;
18774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18776 if (temp2
) delete arg2
;
18781 if (temp2
) delete arg2
;
18787 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18788 PyObject
*resultobj
;
18789 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18790 bool arg2
= (bool) False
;
18792 PyObject
* obj0
= 0 ;
18793 PyObject
* obj1
= 0 ;
18794 char *kwnames
[] = {
18795 (char *) "self",(char *) "noDST", NULL
18798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18802 arg2
= (bool) SWIG_AsBool(obj1
);
18803 if (PyErr_Occurred()) SWIG_fail
;
18806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18807 result
= (arg1
)->ToGMT(arg2
);
18809 wxPyEndAllowThreads(__tstate
);
18810 if (PyErr_Occurred()) SWIG_fail
;
18813 wxDateTime
* resultptr
;
18814 resultptr
= new wxDateTime((wxDateTime
&) result
);
18815 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18823 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18824 PyObject
*resultobj
;
18825 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18826 bool arg2
= (bool) False
;
18827 wxDateTime
*result
;
18828 PyObject
* obj0
= 0 ;
18829 PyObject
* obj1
= 0 ;
18830 char *kwnames
[] = {
18831 (char *) "self",(char *) "noDST", NULL
18834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18838 arg2
= (bool) SWIG_AsBool(obj1
);
18839 if (PyErr_Occurred()) SWIG_fail
;
18842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18844 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18845 result
= (wxDateTime
*) &_result_ref
;
18848 wxPyEndAllowThreads(__tstate
);
18849 if (PyErr_Occurred()) SWIG_fail
;
18851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18858 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18859 PyObject
*resultobj
;
18860 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18861 int arg2
= (int) wxDateTime::Country_Default
;
18863 PyObject
* obj0
= 0 ;
18864 PyObject
* obj1
= 0 ;
18865 char *kwnames
[] = {
18866 (char *) "self",(char *) "country", NULL
18869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18873 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18874 if (PyErr_Occurred()) SWIG_fail
;
18877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18878 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18880 wxPyEndAllowThreads(__tstate
);
18881 if (PyErr_Occurred()) SWIG_fail
;
18883 resultobj
= SWIG_FromInt((int)result
);
18890 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18891 PyObject
*resultobj
;
18892 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18894 PyObject
* obj0
= 0 ;
18895 char *kwnames
[] = {
18896 (char *) "self", NULL
18899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18904 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18906 wxPyEndAllowThreads(__tstate
);
18907 if (PyErr_Occurred()) SWIG_fail
;
18910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18918 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18919 PyObject
*resultobj
;
18920 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18922 PyObject
* obj0
= 0 ;
18923 char *kwnames
[] = {
18924 (char *) "self", NULL
18927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18932 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18934 wxPyEndAllowThreads(__tstate
);
18935 if (PyErr_Occurred()) SWIG_fail
;
18937 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
18944 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18945 PyObject
*resultobj
;
18946 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18947 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18948 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18950 bool temp2
= False
;
18951 PyObject
* obj0
= 0 ;
18952 PyObject
* obj1
= 0 ;
18953 char *kwnames
[] = {
18954 (char *) "self",(char *) "tz", NULL
18957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18962 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18968 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18970 wxPyEndAllowThreads(__tstate
);
18971 if (PyErr_Occurred()) SWIG_fail
;
18973 resultobj
= SWIG_FromInt((int)result
);
18975 if (temp2
) delete arg2
;
18980 if (temp2
) delete arg2
;
18986 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18987 PyObject
*resultobj
;
18988 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18989 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18990 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18992 bool temp2
= False
;
18993 PyObject
* obj0
= 0 ;
18994 PyObject
* obj1
= 0 ;
18995 char *kwnames
[] = {
18996 (char *) "self",(char *) "tz", NULL
18999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19004 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19010 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19012 wxPyEndAllowThreads(__tstate
);
19013 if (PyErr_Occurred()) SWIG_fail
;
19015 resultobj
= SWIG_FromInt((int)result
);
19017 if (temp2
) delete arg2
;
19022 if (temp2
) delete arg2
;
19028 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19029 PyObject
*resultobj
;
19030 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19031 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19032 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19034 bool temp2
= False
;
19035 PyObject
* obj0
= 0 ;
19036 PyObject
* obj1
= 0 ;
19037 char *kwnames
[] = {
19038 (char *) "self",(char *) "tz", NULL
19041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19046 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19052 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19054 wxPyEndAllowThreads(__tstate
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19057 resultobj
= SWIG_FromInt((int)result
);
19059 if (temp2
) delete arg2
;
19064 if (temp2
) delete arg2
;
19070 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
;
19072 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19073 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19074 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19076 bool temp2
= False
;
19077 PyObject
* obj0
= 0 ;
19078 PyObject
* obj1
= 0 ;
19079 char *kwnames
[] = {
19080 (char *) "self",(char *) "tz", NULL
19083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19088 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19094 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19096 wxPyEndAllowThreads(__tstate
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19099 resultobj
= SWIG_FromInt((int)result
);
19101 if (temp2
) delete arg2
;
19106 if (temp2
) delete arg2
;
19112 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19113 PyObject
*resultobj
;
19114 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19115 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19116 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19118 bool temp2
= False
;
19119 PyObject
* obj0
= 0 ;
19120 PyObject
* obj1
= 0 ;
19121 char *kwnames
[] = {
19122 (char *) "self",(char *) "tz", NULL
19125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19130 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19136 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19138 wxPyEndAllowThreads(__tstate
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19141 resultobj
= SWIG_FromInt((int)result
);
19143 if (temp2
) delete arg2
;
19148 if (temp2
) delete arg2
;
19154 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19155 PyObject
*resultobj
;
19156 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19157 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19158 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19160 bool temp2
= False
;
19161 PyObject
* obj0
= 0 ;
19162 PyObject
* obj1
= 0 ;
19163 char *kwnames
[] = {
19164 (char *) "self",(char *) "tz", NULL
19167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19172 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19178 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19183 resultobj
= SWIG_FromInt((int)result
);
19185 if (temp2
) delete arg2
;
19190 if (temp2
) delete arg2
;
19196 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19197 PyObject
*resultobj
;
19198 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19199 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19200 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19202 bool temp2
= False
;
19203 PyObject
* obj0
= 0 ;
19204 PyObject
* obj1
= 0 ;
19205 char *kwnames
[] = {
19206 (char *) "self",(char *) "tz", NULL
19209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19214 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19220 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19222 wxPyEndAllowThreads(__tstate
);
19223 if (PyErr_Occurred()) SWIG_fail
;
19225 resultobj
= SWIG_FromInt((int)result
);
19227 if (temp2
) delete arg2
;
19232 if (temp2
) delete arg2
;
19238 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19239 PyObject
*resultobj
;
19240 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19241 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19242 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19244 bool temp2
= False
;
19245 PyObject
* obj0
= 0 ;
19246 PyObject
* obj1
= 0 ;
19247 char *kwnames
[] = {
19248 (char *) "self",(char *) "tz", NULL
19251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19256 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19262 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19264 wxPyEndAllowThreads(__tstate
);
19265 if (PyErr_Occurred()) SWIG_fail
;
19267 resultobj
= SWIG_FromInt((int)result
);
19269 if (temp2
) delete arg2
;
19274 if (temp2
) delete arg2
;
19280 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19281 PyObject
*resultobj
;
19282 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19283 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19284 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19286 bool temp2
= False
;
19287 PyObject
* obj0
= 0 ;
19288 PyObject
* obj1
= 0 ;
19289 char *kwnames
[] = {
19290 (char *) "self",(char *) "tz", NULL
19293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19298 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19304 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19306 wxPyEndAllowThreads(__tstate
);
19307 if (PyErr_Occurred()) SWIG_fail
;
19309 resultobj
= SWIG_FromInt((int)result
);
19311 if (temp2
) delete arg2
;
19316 if (temp2
) delete arg2
;
19322 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19323 PyObject
*resultobj
;
19324 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19325 int arg2
= (int) wxDateTime::Monday_First
;
19326 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19327 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19329 bool temp3
= False
;
19330 PyObject
* obj0
= 0 ;
19331 PyObject
* obj1
= 0 ;
19332 PyObject
* obj2
= 0 ;
19333 char *kwnames
[] = {
19334 (char *) "self",(char *) "flags",(char *) "tz", NULL
19337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19341 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19346 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19352 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19354 wxPyEndAllowThreads(__tstate
);
19355 if (PyErr_Occurred()) SWIG_fail
;
19357 resultobj
= SWIG_FromInt((int)result
);
19359 if (temp3
) delete arg3
;
19364 if (temp3
) delete arg3
;
19370 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19371 PyObject
*resultobj
;
19372 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19373 int arg2
= (int) wxDateTime::Monday_First
;
19374 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19375 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19377 bool temp3
= False
;
19378 PyObject
* obj0
= 0 ;
19379 PyObject
* obj1
= 0 ;
19380 PyObject
* obj2
= 0 ;
19381 char *kwnames
[] = {
19382 (char *) "self",(char *) "flags",(char *) "tz", NULL
19385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19389 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19390 if (PyErr_Occurred()) SWIG_fail
;
19394 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19400 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19402 wxPyEndAllowThreads(__tstate
);
19403 if (PyErr_Occurred()) SWIG_fail
;
19405 resultobj
= SWIG_FromInt((int)result
);
19407 if (temp3
) delete arg3
;
19412 if (temp3
) delete arg3
;
19418 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19419 PyObject
*resultobj
;
19420 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19421 int arg2
= (int) wxDateTime::Country_Default
;
19423 PyObject
* obj0
= 0 ;
19424 PyObject
* obj1
= 0 ;
19425 char *kwnames
[] = {
19426 (char *) "self",(char *) "country", NULL
19429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19433 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19434 if (PyErr_Occurred()) SWIG_fail
;
19437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19438 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19440 wxPyEndAllowThreads(__tstate
);
19441 if (PyErr_Occurred()) SWIG_fail
;
19444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19452 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19453 PyObject
*resultobj
;
19454 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19455 wxDateTime
*arg2
= 0 ;
19457 PyObject
* obj0
= 0 ;
19458 PyObject
* obj1
= 0 ;
19459 char *kwnames
[] = {
19460 (char *) "self",(char *) "datetime", NULL
19463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19467 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19469 if (arg2
== NULL
) {
19470 PyErr_SetString(PyExc_TypeError
,"null reference");
19474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19475 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19477 wxPyEndAllowThreads(__tstate
);
19478 if (PyErr_Occurred()) SWIG_fail
;
19481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19489 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19490 PyObject
*resultobj
;
19491 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19492 wxDateTime
*arg2
= 0 ;
19494 PyObject
* obj0
= 0 ;
19495 PyObject
* obj1
= 0 ;
19496 char *kwnames
[] = {
19497 (char *) "self",(char *) "datetime", NULL
19500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19504 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19506 if (arg2
== NULL
) {
19507 PyErr_SetString(PyExc_TypeError
,"null reference");
19511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19512 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19514 wxPyEndAllowThreads(__tstate
);
19515 if (PyErr_Occurred()) SWIG_fail
;
19518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19526 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19527 PyObject
*resultobj
;
19528 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19529 wxDateTime
*arg2
= 0 ;
19531 PyObject
* obj0
= 0 ;
19532 PyObject
* obj1
= 0 ;
19533 char *kwnames
[] = {
19534 (char *) "self",(char *) "datetime", NULL
19537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) 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");
19548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19549 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19551 wxPyEndAllowThreads(__tstate
);
19552 if (PyErr_Occurred()) SWIG_fail
;
19555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19563 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19564 PyObject
*resultobj
;
19565 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19566 wxDateTime
*arg2
= 0 ;
19567 wxDateTime
*arg3
= 0 ;
19569 PyObject
* obj0
= 0 ;
19570 PyObject
* obj1
= 0 ;
19571 PyObject
* obj2
= 0 ;
19572 char *kwnames
[] = {
19573 (char *) "self",(char *) "t1",(char *) "t2", NULL
19576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19580 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19582 if (arg2
== NULL
) {
19583 PyErr_SetString(PyExc_TypeError
,"null reference");
19586 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19587 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19589 if (arg3
== NULL
) {
19590 PyErr_SetString(PyExc_TypeError
,"null reference");
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19597 wxPyEndAllowThreads(__tstate
);
19598 if (PyErr_Occurred()) SWIG_fail
;
19601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19609 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19610 PyObject
*resultobj
;
19611 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19612 wxDateTime
*arg2
= 0 ;
19613 wxDateTime
*arg3
= 0 ;
19615 PyObject
* obj0
= 0 ;
19616 PyObject
* obj1
= 0 ;
19617 PyObject
* obj2
= 0 ;
19618 char *kwnames
[] = {
19619 (char *) "self",(char *) "t1",(char *) "t2", NULL
19622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19626 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19628 if (arg2
== NULL
) {
19629 PyErr_SetString(PyExc_TypeError
,"null reference");
19632 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19633 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19635 if (arg3
== NULL
) {
19636 PyErr_SetString(PyExc_TypeError
,"null reference");
19640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19641 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19643 wxPyEndAllowThreads(__tstate
);
19644 if (PyErr_Occurred()) SWIG_fail
;
19647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19655 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19656 PyObject
*resultobj
;
19657 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19658 wxDateTime
*arg2
= 0 ;
19660 PyObject
* obj0
= 0 ;
19661 PyObject
* obj1
= 0 ;
19662 char *kwnames
[] = {
19663 (char *) "self",(char *) "dt", NULL
19666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19670 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19672 if (arg2
== NULL
) {
19673 PyErr_SetString(PyExc_TypeError
,"null reference");
19677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19678 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19680 wxPyEndAllowThreads(__tstate
);
19681 if (PyErr_Occurred()) SWIG_fail
;
19684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19692 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19693 PyObject
*resultobj
;
19694 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19695 wxDateTime
*arg2
= 0 ;
19697 PyObject
* obj0
= 0 ;
19698 PyObject
* obj1
= 0 ;
19699 char *kwnames
[] = {
19700 (char *) "self",(char *) "dt", NULL
19703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19707 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19709 if (arg2
== NULL
) {
19710 PyErr_SetString(PyExc_TypeError
,"null reference");
19714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19715 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19717 wxPyEndAllowThreads(__tstate
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19729 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19730 PyObject
*resultobj
;
19731 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19732 wxDateTime
*arg2
= 0 ;
19733 wxTimeSpan
*arg3
= 0 ;
19735 PyObject
* obj0
= 0 ;
19736 PyObject
* obj1
= 0 ;
19737 PyObject
* obj2
= 0 ;
19738 char *kwnames
[] = {
19739 (char *) "self",(char *) "dt",(char *) "ts", NULL
19742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19745 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19746 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19748 if (arg2
== NULL
) {
19749 PyErr_SetString(PyExc_TypeError
,"null reference");
19752 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19753 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19755 if (arg3
== NULL
) {
19756 PyErr_SetString(PyExc_TypeError
,"null reference");
19760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19761 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19763 wxPyEndAllowThreads(__tstate
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19775 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19776 PyObject
*resultobj
;
19777 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19778 wxTimeSpan
*arg2
= 0 ;
19779 wxDateTime
*result
;
19780 PyObject
* obj0
= 0 ;
19781 PyObject
* obj1
= 0 ;
19782 char *kwnames
[] = {
19783 (char *) "self",(char *) "diff", NULL
19786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19789 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19790 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19792 if (arg2
== NULL
) {
19793 PyErr_SetString(PyExc_TypeError
,"null reference");
19797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19799 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19800 result
= (wxDateTime
*) &_result_ref
;
19803 wxPyEndAllowThreads(__tstate
);
19804 if (PyErr_Occurred()) SWIG_fail
;
19806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19813 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19814 PyObject
*resultobj
;
19815 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19816 wxDateSpan
*arg2
= 0 ;
19817 wxDateTime
*result
;
19818 PyObject
* obj0
= 0 ;
19819 PyObject
* obj1
= 0 ;
19820 char *kwnames
[] = {
19821 (char *) "self",(char *) "diff", NULL
19824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19828 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19830 if (arg2
== NULL
) {
19831 PyErr_SetString(PyExc_TypeError
,"null reference");
19835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19837 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19838 result
= (wxDateTime
*) &_result_ref
;
19841 wxPyEndAllowThreads(__tstate
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19851 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19852 PyObject
*resultobj
;
19853 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19854 wxTimeSpan
*arg2
= 0 ;
19855 wxDateTime
*result
;
19856 PyObject
* obj0
= 0 ;
19857 PyObject
* obj1
= 0 ;
19858 char *kwnames
[] = {
19859 (char *) "self",(char *) "diff", NULL
19862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19866 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19868 if (arg2
== NULL
) {
19869 PyErr_SetString(PyExc_TypeError
,"null reference");
19873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19875 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19876 result
= (wxDateTime
*) &_result_ref
;
19879 wxPyEndAllowThreads(__tstate
);
19880 if (PyErr_Occurred()) SWIG_fail
;
19882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19889 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19890 PyObject
*resultobj
;
19891 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19892 wxDateSpan
*arg2
= 0 ;
19893 wxDateTime
*result
;
19894 PyObject
* obj0
= 0 ;
19895 PyObject
* obj1
= 0 ;
19896 char *kwnames
[] = {
19897 (char *) "self",(char *) "diff", NULL
19900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19904 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19906 if (arg2
== NULL
) {
19907 PyErr_SetString(PyExc_TypeError
,"null reference");
19911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19913 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19914 result
= (wxDateTime
*) &_result_ref
;
19917 wxPyEndAllowThreads(__tstate
);
19918 if (PyErr_Occurred()) SWIG_fail
;
19920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19927 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19928 PyObject
*resultobj
;
19929 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19930 wxDateTime
*arg2
= 0 ;
19932 PyObject
* obj0
= 0 ;
19933 PyObject
* obj1
= 0 ;
19934 char *kwnames
[] = {
19935 (char *) "self",(char *) "dt", NULL
19938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19941 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19942 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19944 if (arg2
== NULL
) {
19945 PyErr_SetString(PyExc_TypeError
,"null reference");
19949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19950 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19952 wxPyEndAllowThreads(__tstate
);
19953 if (PyErr_Occurred()) SWIG_fail
;
19956 wxTimeSpan
* resultptr
;
19957 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
19966 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
19967 PyObject
*resultobj
;
19968 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19969 wxTimeSpan
*arg2
= 0 ;
19970 wxDateTime
*result
;
19971 PyObject
* obj0
= 0 ;
19972 PyObject
* obj1
= 0 ;
19974 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19977 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19978 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19980 if (arg2
== NULL
) {
19981 PyErr_SetString(PyExc_TypeError
,"null reference");
19985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19987 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19988 result
= (wxDateTime
*) &_result_ref
;
19991 wxPyEndAllowThreads(__tstate
);
19992 if (PyErr_Occurred()) SWIG_fail
;
19994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20001 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
20002 PyObject
*resultobj
;
20003 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20004 wxDateSpan
*arg2
= 0 ;
20005 wxDateTime
*result
;
20006 PyObject
* obj0
= 0 ;
20007 PyObject
* obj1
= 0 ;
20009 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20012 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20013 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20015 if (arg2
== NULL
) {
20016 PyErr_SetString(PyExc_TypeError
,"null reference");
20020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20022 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20023 result
= (wxDateTime
*) &_result_ref
;
20026 wxPyEndAllowThreads(__tstate
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20036 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20041 argc
= PyObject_Length(args
);
20042 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20043 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20049 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20059 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20067 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20075 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20085 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20093 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20098 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20103 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20104 PyObject
*resultobj
;
20105 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20106 wxTimeSpan
*arg2
= 0 ;
20107 wxDateTime
*result
;
20108 PyObject
* obj0
= 0 ;
20109 PyObject
* obj1
= 0 ;
20111 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20114 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20115 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20117 if (arg2
== NULL
) {
20118 PyErr_SetString(PyExc_TypeError
,"null reference");
20122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20124 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20125 result
= (wxDateTime
*) &_result_ref
;
20128 wxPyEndAllowThreads(__tstate
);
20129 if (PyErr_Occurred()) SWIG_fail
;
20131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20138 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20139 PyObject
*resultobj
;
20140 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20141 wxDateSpan
*arg2
= 0 ;
20142 wxDateTime
*result
;
20143 PyObject
* obj0
= 0 ;
20144 PyObject
* obj1
= 0 ;
20146 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20149 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20150 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20152 if (arg2
== NULL
) {
20153 PyErr_SetString(PyExc_TypeError
,"null reference");
20157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20159 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20160 result
= (wxDateTime
*) &_result_ref
;
20163 wxPyEndAllowThreads(__tstate
);
20164 if (PyErr_Occurred()) SWIG_fail
;
20166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20173 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20178 argc
= PyObject_Length(args
);
20179 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20180 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20186 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20196 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20204 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20212 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20222 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20230 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20235 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20240 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20241 PyObject
*resultobj
;
20242 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20243 wxTimeSpan
*arg2
= 0 ;
20245 PyObject
* obj0
= 0 ;
20246 PyObject
* obj1
= 0 ;
20248 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20251 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20252 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20254 if (arg2
== NULL
) {
20255 PyErr_SetString(PyExc_TypeError
,"null reference");
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20260 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20262 wxPyEndAllowThreads(__tstate
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20266 wxDateTime
* resultptr
;
20267 resultptr
= new wxDateTime((wxDateTime
&) result
);
20268 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20276 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20277 PyObject
*resultobj
;
20278 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20279 wxDateSpan
*arg2
= 0 ;
20281 PyObject
* obj0
= 0 ;
20282 PyObject
* obj1
= 0 ;
20284 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20288 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20290 if (arg2
== NULL
) {
20291 PyErr_SetString(PyExc_TypeError
,"null reference");
20295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20296 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20298 wxPyEndAllowThreads(__tstate
);
20299 if (PyErr_Occurred()) SWIG_fail
;
20302 wxDateTime
* resultptr
;
20303 resultptr
= new wxDateTime((wxDateTime
&) result
);
20304 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20312 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20317 argc
= PyObject_Length(args
);
20318 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20319 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20325 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20335 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20343 return _wrap_DateTime___add____SWIG_0(self
,args
);
20351 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20361 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20369 return _wrap_DateTime___add____SWIG_1(self
,args
);
20374 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20379 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20380 PyObject
*resultobj
;
20381 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20382 wxDateTime
*arg2
= 0 ;
20384 PyObject
* obj0
= 0 ;
20385 PyObject
* obj1
= 0 ;
20387 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20391 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20393 if (arg2
== NULL
) {
20394 PyErr_SetString(PyExc_TypeError
,"null reference");
20398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20399 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20401 wxPyEndAllowThreads(__tstate
);
20402 if (PyErr_Occurred()) SWIG_fail
;
20405 wxTimeSpan
* resultptr
;
20406 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20407 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20415 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20416 PyObject
*resultobj
;
20417 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20418 wxTimeSpan
*arg2
= 0 ;
20420 PyObject
* obj0
= 0 ;
20421 PyObject
* obj1
= 0 ;
20423 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20427 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20429 if (arg2
== NULL
) {
20430 PyErr_SetString(PyExc_TypeError
,"null reference");
20434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20435 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20437 wxPyEndAllowThreads(__tstate
);
20438 if (PyErr_Occurred()) SWIG_fail
;
20441 wxDateTime
* resultptr
;
20442 resultptr
= new wxDateTime((wxDateTime
&) result
);
20443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20451 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20452 PyObject
*resultobj
;
20453 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20454 wxDateSpan
*arg2
= 0 ;
20456 PyObject
* obj0
= 0 ;
20457 PyObject
* obj1
= 0 ;
20459 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20463 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20465 if (arg2
== NULL
) {
20466 PyErr_SetString(PyExc_TypeError
,"null reference");
20470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20471 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20473 wxPyEndAllowThreads(__tstate
);
20474 if (PyErr_Occurred()) SWIG_fail
;
20477 wxDateTime
* resultptr
;
20478 resultptr
= new wxDateTime((wxDateTime
&) result
);
20479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20487 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20492 argc
= PyObject_Length(args
);
20493 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20494 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20500 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20510 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20518 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20526 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20536 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20544 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20552 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20562 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20570 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20575 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20580 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20581 PyObject
*resultobj
;
20582 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20583 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20585 PyObject
* obj0
= 0 ;
20586 PyObject
* obj1
= 0 ;
20588 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20591 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20595 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20597 wxPyEndAllowThreads(__tstate
);
20598 if (PyErr_Occurred()) SWIG_fail
;
20601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20609 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20610 PyObject
*resultobj
;
20611 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20612 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20614 PyObject
* obj0
= 0 ;
20615 PyObject
* obj1
= 0 ;
20617 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20620 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20624 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20626 wxPyEndAllowThreads(__tstate
);
20627 if (PyErr_Occurred()) SWIG_fail
;
20630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20638 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20639 PyObject
*resultobj
;
20640 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20641 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20643 PyObject
* obj0
= 0 ;
20644 PyObject
* obj1
= 0 ;
20646 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20649 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20653 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20655 wxPyEndAllowThreads(__tstate
);
20656 if (PyErr_Occurred()) SWIG_fail
;
20659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20667 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20668 PyObject
*resultobj
;
20669 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20670 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20672 PyObject
* obj0
= 0 ;
20673 PyObject
* obj1
= 0 ;
20675 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20678 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20682 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20684 wxPyEndAllowThreads(__tstate
);
20685 if (PyErr_Occurred()) SWIG_fail
;
20688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20696 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20697 PyObject
*resultobj
;
20698 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20699 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20701 PyObject
* obj0
= 0 ;
20702 PyObject
* obj1
= 0 ;
20704 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20711 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20713 wxPyEndAllowThreads(__tstate
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20725 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20726 PyObject
*resultobj
;
20727 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20728 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20730 PyObject
* obj0
= 0 ;
20731 PyObject
* obj1
= 0 ;
20733 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20740 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20742 wxPyEndAllowThreads(__tstate
);
20743 if (PyErr_Occurred()) SWIG_fail
;
20746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20754 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20755 PyObject
*resultobj
;
20756 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20757 wxString
*arg2
= 0 ;
20759 bool temp2
= False
;
20760 PyObject
* obj0
= 0 ;
20761 PyObject
* obj1
= 0 ;
20762 char *kwnames
[] = {
20763 (char *) "self",(char *) "date", NULL
20766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20770 arg2
= wxString_in_helper(obj1
);
20771 if (arg2
== NULL
) SWIG_fail
;
20775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20776 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20778 wxPyEndAllowThreads(__tstate
);
20779 if (PyErr_Occurred()) SWIG_fail
;
20781 resultobj
= SWIG_FromInt((int)result
);
20796 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20797 PyObject
*resultobj
;
20798 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20799 wxString
*arg2
= 0 ;
20800 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20801 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20802 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20803 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20805 bool temp2
= False
;
20806 bool temp3
= False
;
20807 PyObject
* obj0
= 0 ;
20808 PyObject
* obj1
= 0 ;
20809 PyObject
* obj2
= 0 ;
20810 PyObject
* obj3
= 0 ;
20811 char *kwnames
[] = {
20812 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20819 arg2
= wxString_in_helper(obj1
);
20820 if (arg2
== NULL
) SWIG_fail
;
20825 arg3
= wxString_in_helper(obj2
);
20826 if (arg3
== NULL
) SWIG_fail
;
20831 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20832 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20834 if (arg4
== NULL
) {
20835 PyErr_SetString(PyExc_TypeError
,"null reference");
20840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20841 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20843 wxPyEndAllowThreads(__tstate
);
20844 if (PyErr_Occurred()) SWIG_fail
;
20846 resultobj
= SWIG_FromInt((int)result
);
20869 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20870 PyObject
*resultobj
;
20871 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20872 wxString
*arg2
= 0 ;
20874 bool temp2
= False
;
20875 PyObject
* obj0
= 0 ;
20876 PyObject
* obj1
= 0 ;
20877 char *kwnames
[] = {
20878 (char *) "self",(char *) "datetime", NULL
20881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20885 arg2
= wxString_in_helper(obj1
);
20886 if (arg2
== NULL
) SWIG_fail
;
20890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20891 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20893 wxPyEndAllowThreads(__tstate
);
20894 if (PyErr_Occurred()) SWIG_fail
;
20896 resultobj
= SWIG_FromInt((int)result
);
20911 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20912 PyObject
*resultobj
;
20913 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20914 wxString
*arg2
= 0 ;
20916 bool temp2
= False
;
20917 PyObject
* obj0
= 0 ;
20918 PyObject
* obj1
= 0 ;
20919 char *kwnames
[] = {
20920 (char *) "self",(char *) "date", NULL
20923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20927 arg2
= wxString_in_helper(obj1
);
20928 if (arg2
== NULL
) SWIG_fail
;
20932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20933 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20935 wxPyEndAllowThreads(__tstate
);
20936 if (PyErr_Occurred()) SWIG_fail
;
20938 resultobj
= SWIG_FromInt((int)result
);
20953 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20954 PyObject
*resultobj
;
20955 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20956 wxString
*arg2
= 0 ;
20958 bool temp2
= False
;
20959 PyObject
* obj0
= 0 ;
20960 PyObject
* obj1
= 0 ;
20961 char *kwnames
[] = {
20962 (char *) "self",(char *) "time", NULL
20965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20969 arg2
= wxString_in_helper(obj1
);
20970 if (arg2
== NULL
) SWIG_fail
;
20974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20975 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20977 wxPyEndAllowThreads(__tstate
);
20978 if (PyErr_Occurred()) SWIG_fail
;
20980 resultobj
= SWIG_FromInt((int)result
);
20995 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20996 PyObject
*resultobj
;
20997 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20998 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
20999 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21000 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21001 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21003 bool temp2
= False
;
21004 bool temp3
= False
;
21005 PyObject
* obj0
= 0 ;
21006 PyObject
* obj1
= 0 ;
21007 PyObject
* obj2
= 0 ;
21008 char *kwnames
[] = {
21009 (char *) "self",(char *) "format",(char *) "tz", NULL
21012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21017 arg2
= wxString_in_helper(obj1
);
21018 if (arg2
== NULL
) SWIG_fail
;
21024 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21030 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21032 wxPyEndAllowThreads(__tstate
);
21033 if (PyErr_Occurred()) SWIG_fail
;
21037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21047 if (temp3
) delete arg3
;
21056 if (temp3
) delete arg3
;
21062 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21063 PyObject
*resultobj
;
21064 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21066 PyObject
* obj0
= 0 ;
21067 char *kwnames
[] = {
21068 (char *) "self", NULL
21071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21076 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21078 wxPyEndAllowThreads(__tstate
);
21079 if (PyErr_Occurred()) SWIG_fail
;
21083 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21085 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21094 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21095 PyObject
*resultobj
;
21096 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21098 PyObject
* obj0
= 0 ;
21099 char *kwnames
[] = {
21100 (char *) "self", NULL
21103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21108 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21110 wxPyEndAllowThreads(__tstate
);
21111 if (PyErr_Occurred()) SWIG_fail
;
21115 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21117 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21126 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21127 PyObject
*resultobj
;
21128 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21130 PyObject
* obj0
= 0 ;
21131 char *kwnames
[] = {
21132 (char *) "self", NULL
21135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21140 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21142 wxPyEndAllowThreads(__tstate
);
21143 if (PyErr_Occurred()) SWIG_fail
;
21147 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21149 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21158 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21159 PyObject
*resultobj
;
21160 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21162 PyObject
* obj0
= 0 ;
21163 char *kwnames
[] = {
21164 (char *) "self", NULL
21167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21172 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21174 wxPyEndAllowThreads(__tstate
);
21175 if (PyErr_Occurred()) SWIG_fail
;
21179 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21181 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21190 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21193 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21195 return Py_BuildValue((char *)"");
21197 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21198 PyObject
*resultobj
;
21201 PyObject
* obj0
= 0 ;
21202 char *kwnames
[] = {
21203 (char *) "sec", NULL
21206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21207 arg1
= (long) SWIG_AsLong(obj0
);
21208 if (PyErr_Occurred()) SWIG_fail
;
21210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21211 result
= wxTimeSpan::Seconds(arg1
);
21213 wxPyEndAllowThreads(__tstate
);
21214 if (PyErr_Occurred()) SWIG_fail
;
21217 wxTimeSpan
* resultptr
;
21218 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21219 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21227 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21228 PyObject
*resultobj
;
21230 char *kwnames
[] = {
21234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21237 result
= wxTimeSpan::Second();
21239 wxPyEndAllowThreads(__tstate
);
21240 if (PyErr_Occurred()) SWIG_fail
;
21243 wxTimeSpan
* resultptr
;
21244 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21245 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21253 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21254 PyObject
*resultobj
;
21257 PyObject
* obj0
= 0 ;
21258 char *kwnames
[] = {
21259 (char *) "min", NULL
21262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21263 arg1
= (long) SWIG_AsLong(obj0
);
21264 if (PyErr_Occurred()) SWIG_fail
;
21266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21267 result
= wxTimeSpan::Minutes(arg1
);
21269 wxPyEndAllowThreads(__tstate
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21273 wxTimeSpan
* resultptr
;
21274 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21275 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21283 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21284 PyObject
*resultobj
;
21286 char *kwnames
[] = {
21290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21293 result
= wxTimeSpan::Minute();
21295 wxPyEndAllowThreads(__tstate
);
21296 if (PyErr_Occurred()) SWIG_fail
;
21299 wxTimeSpan
* resultptr
;
21300 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21301 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21309 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21310 PyObject
*resultobj
;
21313 PyObject
* obj0
= 0 ;
21314 char *kwnames
[] = {
21315 (char *) "hours", NULL
21318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21319 arg1
= (long) SWIG_AsLong(obj0
);
21320 if (PyErr_Occurred()) SWIG_fail
;
21322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21323 result
= wxTimeSpan::Hours(arg1
);
21325 wxPyEndAllowThreads(__tstate
);
21326 if (PyErr_Occurred()) SWIG_fail
;
21329 wxTimeSpan
* resultptr
;
21330 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21331 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21339 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
;
21342 char *kwnames
[] = {
21346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21349 result
= wxTimeSpan::Hour();
21351 wxPyEndAllowThreads(__tstate
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21355 wxTimeSpan
* resultptr
;
21356 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21357 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21365 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21366 PyObject
*resultobj
;
21369 PyObject
* obj0
= 0 ;
21370 char *kwnames
[] = {
21371 (char *) "days", NULL
21374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21375 arg1
= (long) SWIG_AsLong(obj0
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21379 result
= wxTimeSpan::Days(arg1
);
21381 wxPyEndAllowThreads(__tstate
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21385 wxTimeSpan
* resultptr
;
21386 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21387 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21395 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21396 PyObject
*resultobj
;
21398 char *kwnames
[] = {
21402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21405 result
= wxTimeSpan::Day();
21407 wxPyEndAllowThreads(__tstate
);
21408 if (PyErr_Occurred()) SWIG_fail
;
21411 wxTimeSpan
* resultptr
;
21412 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21413 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21421 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21422 PyObject
*resultobj
;
21425 PyObject
* obj0
= 0 ;
21426 char *kwnames
[] = {
21427 (char *) "days", NULL
21430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21431 arg1
= (long) SWIG_AsLong(obj0
);
21432 if (PyErr_Occurred()) SWIG_fail
;
21434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21435 result
= wxTimeSpan::Weeks(arg1
);
21437 wxPyEndAllowThreads(__tstate
);
21438 if (PyErr_Occurred()) SWIG_fail
;
21441 wxTimeSpan
* resultptr
;
21442 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21451 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21452 PyObject
*resultobj
;
21454 char *kwnames
[] = {
21458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21461 result
= wxTimeSpan::Week();
21463 wxPyEndAllowThreads(__tstate
);
21464 if (PyErr_Occurred()) SWIG_fail
;
21467 wxTimeSpan
* resultptr
;
21468 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21469 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21477 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21478 PyObject
*resultobj
;
21479 long arg1
= (long) 0 ;
21480 long arg2
= (long) 0 ;
21481 long arg3
= (long) 0 ;
21482 long arg4
= (long) 0 ;
21483 wxTimeSpan
*result
;
21484 PyObject
* obj0
= 0 ;
21485 PyObject
* obj1
= 0 ;
21486 PyObject
* obj2
= 0 ;
21487 PyObject
* obj3
= 0 ;
21488 char *kwnames
[] = {
21489 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21494 arg1
= (long) SWIG_AsLong(obj0
);
21495 if (PyErr_Occurred()) SWIG_fail
;
21498 arg2
= (long) SWIG_AsLong(obj1
);
21499 if (PyErr_Occurred()) SWIG_fail
;
21502 arg3
= (long) SWIG_AsLong(obj2
);
21503 if (PyErr_Occurred()) SWIG_fail
;
21506 arg4
= (long) SWIG_AsLong(obj3
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21511 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21513 wxPyEndAllowThreads(__tstate
);
21514 if (PyErr_Occurred()) SWIG_fail
;
21516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21523 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21524 PyObject
*resultobj
;
21525 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21526 PyObject
* obj0
= 0 ;
21527 char *kwnames
[] = {
21528 (char *) "self", NULL
21531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21538 wxPyEndAllowThreads(__tstate
);
21539 if (PyErr_Occurred()) SWIG_fail
;
21541 Py_INCREF(Py_None
); resultobj
= Py_None
;
21548 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21549 PyObject
*resultobj
;
21550 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21551 wxTimeSpan
*arg2
= 0 ;
21552 wxTimeSpan
*result
;
21553 PyObject
* obj0
= 0 ;
21554 PyObject
* obj1
= 0 ;
21555 char *kwnames
[] = {
21556 (char *) "self",(char *) "diff", NULL
21559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21563 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21565 if (arg2
== NULL
) {
21566 PyErr_SetString(PyExc_TypeError
,"null reference");
21570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21572 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21573 result
= (wxTimeSpan
*) &_result_ref
;
21576 wxPyEndAllowThreads(__tstate
);
21577 if (PyErr_Occurred()) SWIG_fail
;
21579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21586 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21587 PyObject
*resultobj
;
21588 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21589 wxTimeSpan
*arg2
= 0 ;
21590 wxTimeSpan
*result
;
21591 PyObject
* obj0
= 0 ;
21592 PyObject
* obj1
= 0 ;
21593 char *kwnames
[] = {
21594 (char *) "self",(char *) "diff", NULL
21597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21600 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21601 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21603 if (arg2
== NULL
) {
21604 PyErr_SetString(PyExc_TypeError
,"null reference");
21608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21610 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21611 result
= (wxTimeSpan
*) &_result_ref
;
21614 wxPyEndAllowThreads(__tstate
);
21615 if (PyErr_Occurred()) SWIG_fail
;
21617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21624 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21625 PyObject
*resultobj
;
21626 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21628 wxTimeSpan
*result
;
21629 PyObject
* obj0
= 0 ;
21630 PyObject
* obj1
= 0 ;
21631 char *kwnames
[] = {
21632 (char *) "self",(char *) "n", NULL
21635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21638 arg2
= (int) SWIG_AsInt(obj1
);
21639 if (PyErr_Occurred()) SWIG_fail
;
21641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21643 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21644 result
= (wxTimeSpan
*) &_result_ref
;
21647 wxPyEndAllowThreads(__tstate
);
21648 if (PyErr_Occurred()) SWIG_fail
;
21650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21657 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21658 PyObject
*resultobj
;
21659 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21660 wxTimeSpan
*result
;
21661 PyObject
* obj0
= 0 ;
21662 char *kwnames
[] = {
21663 (char *) "self", NULL
21666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21672 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21673 result
= (wxTimeSpan
*) &_result_ref
;
21676 wxPyEndAllowThreads(__tstate
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21686 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21687 PyObject
*resultobj
;
21688 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21690 PyObject
* obj0
= 0 ;
21691 char *kwnames
[] = {
21692 (char *) "self", NULL
21695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21700 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21702 wxPyEndAllowThreads(__tstate
);
21703 if (PyErr_Occurred()) SWIG_fail
;
21706 wxTimeSpan
* resultptr
;
21707 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21716 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21717 PyObject
*resultobj
;
21718 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21719 wxTimeSpan
*arg2
= 0 ;
21720 wxTimeSpan
*result
;
21721 PyObject
* obj0
= 0 ;
21722 PyObject
* obj1
= 0 ;
21723 char *kwnames
[] = {
21724 (char *) "self",(char *) "diff", NULL
21727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21731 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21733 if (arg2
== NULL
) {
21734 PyErr_SetString(PyExc_TypeError
,"null reference");
21738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21740 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21741 result
= (wxTimeSpan
*) &_result_ref
;
21744 wxPyEndAllowThreads(__tstate
);
21745 if (PyErr_Occurred()) SWIG_fail
;
21747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21754 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21755 PyObject
*resultobj
;
21756 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21757 wxTimeSpan
*arg2
= 0 ;
21758 wxTimeSpan
*result
;
21759 PyObject
* obj0
= 0 ;
21760 PyObject
* obj1
= 0 ;
21761 char *kwnames
[] = {
21762 (char *) "self",(char *) "diff", NULL
21765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21768 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21769 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21771 if (arg2
== NULL
) {
21772 PyErr_SetString(PyExc_TypeError
,"null reference");
21776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21778 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21779 result
= (wxTimeSpan
*) &_result_ref
;
21782 wxPyEndAllowThreads(__tstate
);
21783 if (PyErr_Occurred()) SWIG_fail
;
21785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21792 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21793 PyObject
*resultobj
;
21794 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21796 wxTimeSpan
*result
;
21797 PyObject
* obj0
= 0 ;
21798 PyObject
* obj1
= 0 ;
21799 char *kwnames
[] = {
21800 (char *) "self",(char *) "n", NULL
21803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21806 arg2
= (int) SWIG_AsInt(obj1
);
21807 if (PyErr_Occurred()) SWIG_fail
;
21809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21811 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21812 result
= (wxTimeSpan
*) &_result_ref
;
21815 wxPyEndAllowThreads(__tstate
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21825 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21826 PyObject
*resultobj
;
21827 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21828 wxTimeSpan
*result
;
21829 PyObject
* obj0
= 0 ;
21830 char *kwnames
[] = {
21831 (char *) "self", NULL
21834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21840 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21841 result
= (wxTimeSpan
*) &_result_ref
;
21844 wxPyEndAllowThreads(__tstate
);
21845 if (PyErr_Occurred()) SWIG_fail
;
21847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21854 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21855 PyObject
*resultobj
;
21856 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21857 wxTimeSpan
*arg2
= 0 ;
21859 PyObject
* obj0
= 0 ;
21860 PyObject
* obj1
= 0 ;
21861 char *kwnames
[] = {
21862 (char *) "self",(char *) "other", NULL
21865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21869 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21871 if (arg2
== NULL
) {
21872 PyErr_SetString(PyExc_TypeError
,"null reference");
21876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21877 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21879 wxPyEndAllowThreads(__tstate
);
21880 if (PyErr_Occurred()) SWIG_fail
;
21883 wxTimeSpan
* resultptr
;
21884 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21885 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21893 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21894 PyObject
*resultobj
;
21895 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21896 wxTimeSpan
*arg2
= 0 ;
21898 PyObject
* obj0
= 0 ;
21899 PyObject
* obj1
= 0 ;
21900 char *kwnames
[] = {
21901 (char *) "self",(char *) "other", NULL
21904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21908 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21910 if (arg2
== NULL
) {
21911 PyErr_SetString(PyExc_TypeError
,"null reference");
21915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21916 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21918 wxPyEndAllowThreads(__tstate
);
21919 if (PyErr_Occurred()) SWIG_fail
;
21922 wxTimeSpan
* resultptr
;
21923 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21924 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21932 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
;
21934 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21937 PyObject
* obj0
= 0 ;
21938 PyObject
* obj1
= 0 ;
21939 char *kwnames
[] = {
21940 (char *) "self",(char *) "n", NULL
21943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21946 arg2
= (int) SWIG_AsInt(obj1
);
21947 if (PyErr_Occurred()) SWIG_fail
;
21949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21950 result
= wxTimeSpan___mul__(arg1
,arg2
);
21952 wxPyEndAllowThreads(__tstate
);
21953 if (PyErr_Occurred()) SWIG_fail
;
21956 wxTimeSpan
* resultptr
;
21957 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21966 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21967 PyObject
*resultobj
;
21968 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21971 PyObject
* obj0
= 0 ;
21972 PyObject
* obj1
= 0 ;
21973 char *kwnames
[] = {
21974 (char *) "self",(char *) "n", NULL
21977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21980 arg2
= (int) SWIG_AsInt(obj1
);
21981 if (PyErr_Occurred()) SWIG_fail
;
21983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21984 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21986 wxPyEndAllowThreads(__tstate
);
21987 if (PyErr_Occurred()) SWIG_fail
;
21990 wxTimeSpan
* resultptr
;
21991 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21992 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22000 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22001 PyObject
*resultobj
;
22002 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22003 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22005 PyObject
* obj0
= 0 ;
22006 PyObject
* obj1
= 0 ;
22007 char *kwnames
[] = {
22008 (char *) "self",(char *) "other", NULL
22011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22018 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22020 wxPyEndAllowThreads(__tstate
);
22021 if (PyErr_Occurred()) SWIG_fail
;
22024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22032 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22033 PyObject
*resultobj
;
22034 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22035 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22037 PyObject
* obj0
= 0 ;
22038 PyObject
* obj1
= 0 ;
22039 char *kwnames
[] = {
22040 (char *) "self",(char *) "other", NULL
22043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22046 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22050 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22052 wxPyEndAllowThreads(__tstate
);
22053 if (PyErr_Occurred()) SWIG_fail
;
22056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22064 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22065 PyObject
*resultobj
;
22066 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22067 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22069 PyObject
* obj0
= 0 ;
22070 PyObject
* obj1
= 0 ;
22071 char *kwnames
[] = {
22072 (char *) "self",(char *) "other", NULL
22075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22082 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22084 wxPyEndAllowThreads(__tstate
);
22085 if (PyErr_Occurred()) SWIG_fail
;
22088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22096 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22097 PyObject
*resultobj
;
22098 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22099 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22101 PyObject
* obj0
= 0 ;
22102 PyObject
* obj1
= 0 ;
22103 char *kwnames
[] = {
22104 (char *) "self",(char *) "other", NULL
22107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22110 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22114 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22116 wxPyEndAllowThreads(__tstate
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22128 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22129 PyObject
*resultobj
;
22130 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22131 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22133 PyObject
* obj0
= 0 ;
22134 PyObject
* obj1
= 0 ;
22135 char *kwnames
[] = {
22136 (char *) "self",(char *) "other", NULL
22139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22146 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22148 wxPyEndAllowThreads(__tstate
);
22149 if (PyErr_Occurred()) SWIG_fail
;
22152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22160 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22161 PyObject
*resultobj
;
22162 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22163 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22165 PyObject
* obj0
= 0 ;
22166 PyObject
* obj1
= 0 ;
22167 char *kwnames
[] = {
22168 (char *) "self",(char *) "other", NULL
22171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22178 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22180 wxPyEndAllowThreads(__tstate
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22192 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22193 PyObject
*resultobj
;
22194 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22196 PyObject
* obj0
= 0 ;
22197 char *kwnames
[] = {
22198 (char *) "self", NULL
22201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22206 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22208 wxPyEndAllowThreads(__tstate
);
22209 if (PyErr_Occurred()) SWIG_fail
;
22212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22220 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22221 PyObject
*resultobj
;
22222 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22224 PyObject
* obj0
= 0 ;
22225 char *kwnames
[] = {
22226 (char *) "self", NULL
22229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22234 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22236 wxPyEndAllowThreads(__tstate
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22248 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22249 PyObject
*resultobj
;
22250 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22252 PyObject
* obj0
= 0 ;
22253 char *kwnames
[] = {
22254 (char *) "self", NULL
22257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22262 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22264 wxPyEndAllowThreads(__tstate
);
22265 if (PyErr_Occurred()) SWIG_fail
;
22268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22276 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22277 PyObject
*resultobj
;
22278 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22279 wxTimeSpan
*arg2
= 0 ;
22281 PyObject
* obj0
= 0 ;
22282 PyObject
* obj1
= 0 ;
22283 char *kwnames
[] = {
22284 (char *) "self",(char *) "ts", NULL
22287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22290 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22291 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22293 if (arg2
== NULL
) {
22294 PyErr_SetString(PyExc_TypeError
,"null reference");
22298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22299 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22301 wxPyEndAllowThreads(__tstate
);
22302 if (PyErr_Occurred()) SWIG_fail
;
22305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22313 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22314 PyObject
*resultobj
;
22315 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22316 wxTimeSpan
*arg2
= 0 ;
22318 PyObject
* obj0
= 0 ;
22319 PyObject
* obj1
= 0 ;
22320 char *kwnames
[] = {
22321 (char *) "self",(char *) "ts", NULL
22324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22327 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22328 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22330 if (arg2
== NULL
) {
22331 PyErr_SetString(PyExc_TypeError
,"null reference");
22335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22336 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22338 wxPyEndAllowThreads(__tstate
);
22339 if (PyErr_Occurred()) SWIG_fail
;
22342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22350 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22351 PyObject
*resultobj
;
22352 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22353 wxTimeSpan
*arg2
= 0 ;
22355 PyObject
* obj0
= 0 ;
22356 PyObject
* obj1
= 0 ;
22357 char *kwnames
[] = {
22358 (char *) "self",(char *) "t", NULL
22361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22365 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22367 if (arg2
== NULL
) {
22368 PyErr_SetString(PyExc_TypeError
,"null reference");
22372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22373 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22375 wxPyEndAllowThreads(__tstate
);
22376 if (PyErr_Occurred()) SWIG_fail
;
22379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22387 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22388 PyObject
*resultobj
;
22389 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22391 PyObject
* obj0
= 0 ;
22392 char *kwnames
[] = {
22393 (char *) "self", NULL
22396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22401 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22403 wxPyEndAllowThreads(__tstate
);
22404 if (PyErr_Occurred()) SWIG_fail
;
22406 resultobj
= SWIG_FromInt((int)result
);
22413 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22414 PyObject
*resultobj
;
22415 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22417 PyObject
* obj0
= 0 ;
22418 char *kwnames
[] = {
22419 (char *) "self", NULL
22422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22427 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22429 wxPyEndAllowThreads(__tstate
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22432 resultobj
= SWIG_FromInt((int)result
);
22439 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22440 PyObject
*resultobj
;
22441 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22443 PyObject
* obj0
= 0 ;
22444 char *kwnames
[] = {
22445 (char *) "self", NULL
22448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22453 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22455 wxPyEndAllowThreads(__tstate
);
22456 if (PyErr_Occurred()) SWIG_fail
;
22458 resultobj
= SWIG_FromInt((int)result
);
22465 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22466 PyObject
*resultobj
;
22467 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22469 PyObject
* obj0
= 0 ;
22470 char *kwnames
[] = {
22471 (char *) "self", NULL
22474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22479 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22481 wxPyEndAllowThreads(__tstate
);
22482 if (PyErr_Occurred()) SWIG_fail
;
22484 resultobj
= SWIG_FromInt((int)result
);
22491 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22492 PyObject
*resultobj
;
22493 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22495 PyObject
* obj0
= 0 ;
22496 char *kwnames
[] = {
22497 (char *) "self", NULL
22500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22505 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22507 wxPyEndAllowThreads(__tstate
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22511 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22512 hi
= PyLong_FromLong( (&result
)->GetHi() );
22513 lo
= PyLong_FromLong( (&result
)->GetLo() );
22514 shifter
= PyLong_FromLong(32);
22515 shifted
= PyNumber_Lshift(hi
, shifter
);
22516 resultobj
= PyNumber_Or(shifted
, lo
);
22519 Py_DECREF(shifter
);
22520 Py_DECREF(shifted
);
22528 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22529 PyObject
*resultobj
;
22530 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22532 PyObject
* obj0
= 0 ;
22533 char *kwnames
[] = {
22534 (char *) "self", NULL
22537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22542 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22544 wxPyEndAllowThreads(__tstate
);
22545 if (PyErr_Occurred()) SWIG_fail
;
22548 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22549 hi
= PyLong_FromLong( (&result
)->GetHi() );
22550 lo
= PyLong_FromLong( (&result
)->GetLo() );
22551 shifter
= PyLong_FromLong(32);
22552 shifted
= PyNumber_Lshift(hi
, shifter
);
22553 resultobj
= PyNumber_Or(shifted
, lo
);
22556 Py_DECREF(shifter
);
22557 Py_DECREF(shifted
);
22565 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22566 PyObject
*resultobj
;
22567 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22568 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22569 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22571 bool temp2
= False
;
22572 PyObject
* obj0
= 0 ;
22573 PyObject
* obj1
= 0 ;
22574 char *kwnames
[] = {
22575 (char *) "self",(char *) "format", NULL
22578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22583 arg2
= wxString_in_helper(obj1
);
22584 if (arg2
== NULL
) SWIG_fail
;
22589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22590 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22592 wxPyEndAllowThreads(__tstate
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22616 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22619 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22621 return Py_BuildValue((char *)"");
22623 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22624 PyObject
*resultobj
;
22625 int arg1
= (int) 0 ;
22626 int arg2
= (int) 0 ;
22627 int arg3
= (int) 0 ;
22628 int arg4
= (int) 0 ;
22629 wxDateSpan
*result
;
22630 PyObject
* obj0
= 0 ;
22631 PyObject
* obj1
= 0 ;
22632 PyObject
* obj2
= 0 ;
22633 PyObject
* obj3
= 0 ;
22634 char *kwnames
[] = {
22635 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22640 arg1
= (int) SWIG_AsInt(obj0
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22644 arg2
= (int) SWIG_AsInt(obj1
);
22645 if (PyErr_Occurred()) SWIG_fail
;
22648 arg3
= (int) SWIG_AsInt(obj2
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22652 arg4
= (int) SWIG_AsInt(obj3
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22657 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22659 wxPyEndAllowThreads(__tstate
);
22660 if (PyErr_Occurred()) SWIG_fail
;
22662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22669 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22670 PyObject
*resultobj
;
22671 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22672 PyObject
* obj0
= 0 ;
22673 char *kwnames
[] = {
22674 (char *) "self", NULL
22677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22684 wxPyEndAllowThreads(__tstate
);
22685 if (PyErr_Occurred()) SWIG_fail
;
22687 Py_INCREF(Py_None
); resultobj
= Py_None
;
22694 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22695 PyObject
*resultobj
;
22698 PyObject
* obj0
= 0 ;
22699 char *kwnames
[] = {
22700 (char *) "days", NULL
22703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22704 arg1
= (int) SWIG_AsInt(obj0
);
22705 if (PyErr_Occurred()) SWIG_fail
;
22707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22708 result
= wxDateSpan::Days(arg1
);
22710 wxPyEndAllowThreads(__tstate
);
22711 if (PyErr_Occurred()) SWIG_fail
;
22714 wxDateSpan
* resultptr
;
22715 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22716 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22724 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22725 PyObject
*resultobj
;
22727 char *kwnames
[] = {
22731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22734 result
= wxDateSpan::Day();
22736 wxPyEndAllowThreads(__tstate
);
22737 if (PyErr_Occurred()) SWIG_fail
;
22740 wxDateSpan
* resultptr
;
22741 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22742 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22750 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22751 PyObject
*resultobj
;
22754 PyObject
* obj0
= 0 ;
22755 char *kwnames
[] = {
22756 (char *) "weeks", NULL
22759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22760 arg1
= (int) SWIG_AsInt(obj0
);
22761 if (PyErr_Occurred()) SWIG_fail
;
22763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22764 result
= wxDateSpan::Weeks(arg1
);
22766 wxPyEndAllowThreads(__tstate
);
22767 if (PyErr_Occurred()) SWIG_fail
;
22770 wxDateSpan
* resultptr
;
22771 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22772 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22780 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22781 PyObject
*resultobj
;
22783 char *kwnames
[] = {
22787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22790 result
= wxDateSpan::Week();
22792 wxPyEndAllowThreads(__tstate
);
22793 if (PyErr_Occurred()) SWIG_fail
;
22796 wxDateSpan
* resultptr
;
22797 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22806 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22807 PyObject
*resultobj
;
22810 PyObject
* obj0
= 0 ;
22811 char *kwnames
[] = {
22812 (char *) "mon", NULL
22815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22816 arg1
= (int) SWIG_AsInt(obj0
);
22817 if (PyErr_Occurred()) SWIG_fail
;
22819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22820 result
= wxDateSpan::Months(arg1
);
22822 wxPyEndAllowThreads(__tstate
);
22823 if (PyErr_Occurred()) SWIG_fail
;
22826 wxDateSpan
* resultptr
;
22827 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22836 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22837 PyObject
*resultobj
;
22839 char *kwnames
[] = {
22843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22846 result
= wxDateSpan::Month();
22848 wxPyEndAllowThreads(__tstate
);
22849 if (PyErr_Occurred()) SWIG_fail
;
22852 wxDateSpan
* resultptr
;
22853 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22854 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22862 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22863 PyObject
*resultobj
;
22866 PyObject
* obj0
= 0 ;
22867 char *kwnames
[] = {
22868 (char *) "years", NULL
22871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22872 arg1
= (int) SWIG_AsInt(obj0
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22876 result
= wxDateSpan::Years(arg1
);
22878 wxPyEndAllowThreads(__tstate
);
22879 if (PyErr_Occurred()) SWIG_fail
;
22882 wxDateSpan
* resultptr
;
22883 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22892 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22893 PyObject
*resultobj
;
22895 char *kwnames
[] = {
22899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22902 result
= wxDateSpan::Year();
22904 wxPyEndAllowThreads(__tstate
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22908 wxDateSpan
* resultptr
;
22909 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22918 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22919 PyObject
*resultobj
;
22920 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22922 wxDateSpan
*result
;
22923 PyObject
* obj0
= 0 ;
22924 PyObject
* obj1
= 0 ;
22925 char *kwnames
[] = {
22926 (char *) "self",(char *) "n", NULL
22929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22932 arg2
= (int) SWIG_AsInt(obj1
);
22933 if (PyErr_Occurred()) SWIG_fail
;
22935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22937 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22938 result
= (wxDateSpan
*) &_result_ref
;
22941 wxPyEndAllowThreads(__tstate
);
22942 if (PyErr_Occurred()) SWIG_fail
;
22944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22951 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22952 PyObject
*resultobj
;
22953 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22955 wxDateSpan
*result
;
22956 PyObject
* obj0
= 0 ;
22957 PyObject
* obj1
= 0 ;
22958 char *kwnames
[] = {
22959 (char *) "self",(char *) "n", NULL
22962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22965 arg2
= (int) SWIG_AsInt(obj1
);
22966 if (PyErr_Occurred()) SWIG_fail
;
22968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22970 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22971 result
= (wxDateSpan
*) &_result_ref
;
22974 wxPyEndAllowThreads(__tstate
);
22975 if (PyErr_Occurred()) SWIG_fail
;
22977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22984 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22985 PyObject
*resultobj
;
22986 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22988 wxDateSpan
*result
;
22989 PyObject
* obj0
= 0 ;
22990 PyObject
* obj1
= 0 ;
22991 char *kwnames
[] = {
22992 (char *) "self",(char *) "n", NULL
22995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
22996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22998 arg2
= (int) SWIG_AsInt(obj1
);
22999 if (PyErr_Occurred()) SWIG_fail
;
23001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23003 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23004 result
= (wxDateSpan
*) &_result_ref
;
23007 wxPyEndAllowThreads(__tstate
);
23008 if (PyErr_Occurred()) SWIG_fail
;
23010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23017 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23018 PyObject
*resultobj
;
23019 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23021 wxDateSpan
*result
;
23022 PyObject
* obj0
= 0 ;
23023 PyObject
* obj1
= 0 ;
23024 char *kwnames
[] = {
23025 (char *) "self",(char *) "n", NULL
23028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23031 arg2
= (int) SWIG_AsInt(obj1
);
23032 if (PyErr_Occurred()) SWIG_fail
;
23034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23036 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23037 result
= (wxDateSpan
*) &_result_ref
;
23040 wxPyEndAllowThreads(__tstate
);
23041 if (PyErr_Occurred()) SWIG_fail
;
23043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23050 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23051 PyObject
*resultobj
;
23052 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23054 PyObject
* obj0
= 0 ;
23055 char *kwnames
[] = {
23056 (char *) "self", NULL
23059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23064 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23066 wxPyEndAllowThreads(__tstate
);
23067 if (PyErr_Occurred()) SWIG_fail
;
23069 resultobj
= SWIG_FromInt((int)result
);
23076 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23077 PyObject
*resultobj
;
23078 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23080 PyObject
* obj0
= 0 ;
23081 char *kwnames
[] = {
23082 (char *) "self", NULL
23085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23090 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23092 wxPyEndAllowThreads(__tstate
);
23093 if (PyErr_Occurred()) SWIG_fail
;
23095 resultobj
= SWIG_FromInt((int)result
);
23102 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23103 PyObject
*resultobj
;
23104 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23106 PyObject
* obj0
= 0 ;
23107 char *kwnames
[] = {
23108 (char *) "self", NULL
23111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23116 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23118 wxPyEndAllowThreads(__tstate
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23121 resultobj
= SWIG_FromInt((int)result
);
23128 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23129 PyObject
*resultobj
;
23130 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23132 PyObject
* obj0
= 0 ;
23133 char *kwnames
[] = {
23134 (char *) "self", NULL
23137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23142 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23144 wxPyEndAllowThreads(__tstate
);
23145 if (PyErr_Occurred()) SWIG_fail
;
23147 resultobj
= SWIG_FromInt((int)result
);
23154 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23155 PyObject
*resultobj
;
23156 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23158 PyObject
* obj0
= 0 ;
23159 char *kwnames
[] = {
23160 (char *) "self", NULL
23163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23168 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23170 wxPyEndAllowThreads(__tstate
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23173 resultobj
= SWIG_FromInt((int)result
);
23180 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23181 PyObject
*resultobj
;
23182 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23183 wxDateSpan
*arg2
= 0 ;
23184 wxDateSpan
*result
;
23185 PyObject
* obj0
= 0 ;
23186 PyObject
* obj1
= 0 ;
23187 char *kwnames
[] = {
23188 (char *) "self",(char *) "other", NULL
23191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23195 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23197 if (arg2
== NULL
) {
23198 PyErr_SetString(PyExc_TypeError
,"null reference");
23202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23204 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23205 result
= (wxDateSpan
*) &_result_ref
;
23208 wxPyEndAllowThreads(__tstate
);
23209 if (PyErr_Occurred()) SWIG_fail
;
23211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23218 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23219 PyObject
*resultobj
;
23220 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23221 wxDateSpan
*arg2
= 0 ;
23222 wxDateSpan
*result
;
23223 PyObject
* obj0
= 0 ;
23224 PyObject
* obj1
= 0 ;
23225 char *kwnames
[] = {
23226 (char *) "self",(char *) "other", NULL
23229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23235 if (arg2
== NULL
) {
23236 PyErr_SetString(PyExc_TypeError
,"null reference");
23240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23242 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23243 result
= (wxDateSpan
*) &_result_ref
;
23246 wxPyEndAllowThreads(__tstate
);
23247 if (PyErr_Occurred()) SWIG_fail
;
23249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23256 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23257 PyObject
*resultobj
;
23258 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23259 wxDateSpan
*result
;
23260 PyObject
* obj0
= 0 ;
23261 char *kwnames
[] = {
23262 (char *) "self", NULL
23265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23271 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23272 result
= (wxDateSpan
*) &_result_ref
;
23275 wxPyEndAllowThreads(__tstate
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23285 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23286 PyObject
*resultobj
;
23287 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23289 wxDateSpan
*result
;
23290 PyObject
* obj0
= 0 ;
23291 PyObject
* obj1
= 0 ;
23292 char *kwnames
[] = {
23293 (char *) "self",(char *) "factor", NULL
23296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23299 arg2
= (int) SWIG_AsInt(obj1
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23304 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23305 result
= (wxDateSpan
*) &_result_ref
;
23308 wxPyEndAllowThreads(__tstate
);
23309 if (PyErr_Occurred()) SWIG_fail
;
23311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23318 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23319 PyObject
*resultobj
;
23320 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23321 wxDateSpan
*arg2
= 0 ;
23322 wxDateSpan
*result
;
23323 PyObject
* obj0
= 0 ;
23324 PyObject
* obj1
= 0 ;
23325 char *kwnames
[] = {
23326 (char *) "self",(char *) "other", NULL
23329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23332 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23333 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23335 if (arg2
== NULL
) {
23336 PyErr_SetString(PyExc_TypeError
,"null reference");
23340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23342 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23343 result
= (wxDateSpan
*) &_result_ref
;
23346 wxPyEndAllowThreads(__tstate
);
23347 if (PyErr_Occurred()) SWIG_fail
;
23349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23356 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23357 PyObject
*resultobj
;
23358 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23359 wxDateSpan
*arg2
= 0 ;
23360 wxDateSpan
*result
;
23361 PyObject
* obj0
= 0 ;
23362 PyObject
* obj1
= 0 ;
23363 char *kwnames
[] = {
23364 (char *) "self",(char *) "other", NULL
23367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23371 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23373 if (arg2
== NULL
) {
23374 PyErr_SetString(PyExc_TypeError
,"null reference");
23378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23380 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23381 result
= (wxDateSpan
*) &_result_ref
;
23384 wxPyEndAllowThreads(__tstate
);
23385 if (PyErr_Occurred()) SWIG_fail
;
23387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23394 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23395 PyObject
*resultobj
;
23396 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23397 wxDateSpan
*result
;
23398 PyObject
* obj0
= 0 ;
23399 char *kwnames
[] = {
23400 (char *) "self", NULL
23403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23409 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23410 result
= (wxDateSpan
*) &_result_ref
;
23413 wxPyEndAllowThreads(__tstate
);
23414 if (PyErr_Occurred()) SWIG_fail
;
23416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23423 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23424 PyObject
*resultobj
;
23425 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23427 wxDateSpan
*result
;
23428 PyObject
* obj0
= 0 ;
23429 PyObject
* obj1
= 0 ;
23430 char *kwnames
[] = {
23431 (char *) "self",(char *) "factor", NULL
23434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23437 arg2
= (int) SWIG_AsInt(obj1
);
23438 if (PyErr_Occurred()) SWIG_fail
;
23440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23442 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23443 result
= (wxDateSpan
*) &_result_ref
;
23446 wxPyEndAllowThreads(__tstate
);
23447 if (PyErr_Occurred()) SWIG_fail
;
23449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23456 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23457 PyObject
*resultobj
;
23458 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23459 wxDateSpan
*arg2
= 0 ;
23461 PyObject
* obj0
= 0 ;
23462 PyObject
* obj1
= 0 ;
23463 char *kwnames
[] = {
23464 (char *) "self",(char *) "other", NULL
23467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23471 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23473 if (arg2
== NULL
) {
23474 PyErr_SetString(PyExc_TypeError
,"null reference");
23478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23479 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23481 wxPyEndAllowThreads(__tstate
);
23482 if (PyErr_Occurred()) SWIG_fail
;
23485 wxDateSpan
* resultptr
;
23486 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23487 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23495 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23496 PyObject
*resultobj
;
23497 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23498 wxDateSpan
*arg2
= 0 ;
23500 PyObject
* obj0
= 0 ;
23501 PyObject
* obj1
= 0 ;
23502 char *kwnames
[] = {
23503 (char *) "self",(char *) "other", NULL
23506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23510 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23512 if (arg2
== NULL
) {
23513 PyErr_SetString(PyExc_TypeError
,"null reference");
23517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23518 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23520 wxPyEndAllowThreads(__tstate
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23524 wxDateSpan
* resultptr
;
23525 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23534 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23535 PyObject
*resultobj
;
23536 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23539 PyObject
* obj0
= 0 ;
23540 PyObject
* obj1
= 0 ;
23541 char *kwnames
[] = {
23542 (char *) "self",(char *) "n", NULL
23545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23548 arg2
= (int) SWIG_AsInt(obj1
);
23549 if (PyErr_Occurred()) SWIG_fail
;
23551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23552 result
= wxDateSpan___mul__(arg1
,arg2
);
23554 wxPyEndAllowThreads(__tstate
);
23555 if (PyErr_Occurred()) SWIG_fail
;
23558 wxDateSpan
* resultptr
;
23559 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23560 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23568 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23569 PyObject
*resultobj
;
23570 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23573 PyObject
* obj0
= 0 ;
23574 PyObject
* obj1
= 0 ;
23575 char *kwnames
[] = {
23576 (char *) "self",(char *) "n", NULL
23579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23582 arg2
= (int) SWIG_AsInt(obj1
);
23583 if (PyErr_Occurred()) SWIG_fail
;
23585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23586 result
= wxDateSpan___rmul__(arg1
,arg2
);
23588 wxPyEndAllowThreads(__tstate
);
23589 if (PyErr_Occurred()) SWIG_fail
;
23592 wxDateSpan
* resultptr
;
23593 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23602 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23603 PyObject
*resultobj
;
23604 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23605 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23607 PyObject
* obj0
= 0 ;
23608 PyObject
* obj1
= 0 ;
23609 char *kwnames
[] = {
23610 (char *) "self",(char *) "other", NULL
23613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23620 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23622 wxPyEndAllowThreads(__tstate
);
23623 if (PyErr_Occurred()) SWIG_fail
;
23626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23634 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23635 PyObject
*resultobj
;
23636 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23637 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23639 PyObject
* obj0
= 0 ;
23640 PyObject
* obj1
= 0 ;
23641 char *kwnames
[] = {
23642 (char *) "self",(char *) "other", NULL
23645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23652 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23654 wxPyEndAllowThreads(__tstate
);
23655 if (PyErr_Occurred()) SWIG_fail
;
23658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23666 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23668 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23669 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23671 return Py_BuildValue((char *)"");
23673 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23674 PyObject
*resultobj
;
23676 char *kwnames
[] = {
23680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23683 result
= (long)wxGetLocalTime();
23685 wxPyEndAllowThreads(__tstate
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23688 resultobj
= SWIG_FromLong((long)result
);
23695 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23696 PyObject
*resultobj
;
23698 char *kwnames
[] = {
23702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23705 result
= (long)wxGetUTCTime();
23707 wxPyEndAllowThreads(__tstate
);
23708 if (PyErr_Occurred()) SWIG_fail
;
23710 resultobj
= SWIG_FromLong((long)result
);
23717 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23718 PyObject
*resultobj
;
23720 char *kwnames
[] = {
23724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23727 result
= (long)wxGetCurrentTime();
23729 wxPyEndAllowThreads(__tstate
);
23730 if (PyErr_Occurred()) SWIG_fail
;
23732 resultobj
= SWIG_FromLong((long)result
);
23739 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23740 PyObject
*resultobj
;
23742 char *kwnames
[] = {
23746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23749 result
= wxGetLocalTimeMillis();
23751 wxPyEndAllowThreads(__tstate
);
23752 if (PyErr_Occurred()) SWIG_fail
;
23755 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23756 hi
= PyLong_FromLong( (&result
)->GetHi() );
23757 lo
= PyLong_FromLong( (&result
)->GetLo() );
23758 shifter
= PyLong_FromLong(32);
23759 shifted
= PyNumber_Lshift(hi
, shifter
);
23760 resultobj
= PyNumber_Or(shifted
, lo
);
23763 Py_DECREF(shifter
);
23764 Py_DECREF(shifted
);
23772 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23773 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23778 static PyObject
*_wrap_DefaultDateTime_get() {
23781 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23786 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23787 PyObject
*resultobj
;
23789 wxDataFormat
*result
;
23790 PyObject
* obj0
= 0 ;
23791 char *kwnames
[] = {
23792 (char *) "type", NULL
23795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23796 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23797 if (PyErr_Occurred()) SWIG_fail
;
23799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23800 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23802 wxPyEndAllowThreads(__tstate
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23812 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23813 PyObject
*resultobj
;
23814 wxString
*arg1
= 0 ;
23815 wxDataFormat
*result
;
23816 bool temp1
= False
;
23817 PyObject
* obj0
= 0 ;
23818 char *kwnames
[] = {
23819 (char *) "format", NULL
23822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23824 arg1
= wxString_in_helper(obj0
);
23825 if (arg1
== NULL
) SWIG_fail
;
23829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23830 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23832 wxPyEndAllowThreads(__tstate
);
23833 if (PyErr_Occurred()) SWIG_fail
;
23835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23850 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23851 PyObject
*resultobj
;
23852 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23853 PyObject
* obj0
= 0 ;
23854 char *kwnames
[] = {
23855 (char *) "self", NULL
23858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23865 wxPyEndAllowThreads(__tstate
);
23866 if (PyErr_Occurred()) SWIG_fail
;
23868 Py_INCREF(Py_None
); resultobj
= Py_None
;
23875 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23876 PyObject
*resultobj
;
23877 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23880 PyObject
* obj0
= 0 ;
23881 PyObject
* obj1
= 0 ;
23883 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23886 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23887 if (PyErr_Occurred()) SWIG_fail
;
23889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23890 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23892 wxPyEndAllowThreads(__tstate
);
23893 if (PyErr_Occurred()) SWIG_fail
;
23896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23904 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23905 PyObject
*resultobj
;
23906 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23909 PyObject
* obj0
= 0 ;
23910 PyObject
* obj1
= 0 ;
23912 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23915 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23916 if (PyErr_Occurred()) SWIG_fail
;
23918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23919 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23921 wxPyEndAllowThreads(__tstate
);
23922 if (PyErr_Occurred()) SWIG_fail
;
23925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23933 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
23934 PyObject
*resultobj
;
23935 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23936 wxDataFormat
*arg2
= 0 ;
23938 PyObject
* obj0
= 0 ;
23939 PyObject
* obj1
= 0 ;
23941 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23944 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23945 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23947 if (arg2
== NULL
) {
23948 PyErr_SetString(PyExc_TypeError
,"null reference");
23952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23953 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23955 wxPyEndAllowThreads(__tstate
);
23956 if (PyErr_Occurred()) SWIG_fail
;
23959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23967 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23972 argc
= PyObject_Length(args
);
23973 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23974 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23980 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23990 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23998 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24006 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24014 _v
= SWIG_CheckInt(argv
[1]);
24016 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24021 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24026 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
24027 PyObject
*resultobj
;
24028 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24029 wxDataFormat
*arg2
= 0 ;
24031 PyObject
* obj0
= 0 ;
24032 PyObject
* obj1
= 0 ;
24034 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24038 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24040 if (arg2
== NULL
) {
24041 PyErr_SetString(PyExc_TypeError
,"null reference");
24045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24046 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24048 wxPyEndAllowThreads(__tstate
);
24049 if (PyErr_Occurred()) SWIG_fail
;
24052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24060 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24065 argc
= PyObject_Length(args
);
24066 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24067 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24073 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24083 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24091 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24099 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24107 _v
= SWIG_CheckInt(argv
[1]);
24109 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24114 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24119 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24120 PyObject
*resultobj
;
24121 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24123 PyObject
* obj0
= 0 ;
24124 PyObject
* obj1
= 0 ;
24125 char *kwnames
[] = {
24126 (char *) "self",(char *) "format", NULL
24129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24132 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24133 if (PyErr_Occurred()) SWIG_fail
;
24135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24136 (arg1
)->SetType((wxDataFormatId
)arg2
);
24138 wxPyEndAllowThreads(__tstate
);
24139 if (PyErr_Occurred()) SWIG_fail
;
24141 Py_INCREF(Py_None
); resultobj
= Py_None
;
24148 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24149 PyObject
*resultobj
;
24150 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24152 PyObject
* obj0
= 0 ;
24153 char *kwnames
[] = {
24154 (char *) "self", NULL
24157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24162 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24164 wxPyEndAllowThreads(__tstate
);
24165 if (PyErr_Occurred()) SWIG_fail
;
24167 resultobj
= SWIG_FromInt((int)result
);
24174 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24175 PyObject
*resultobj
;
24176 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24178 PyObject
* obj0
= 0 ;
24179 char *kwnames
[] = {
24180 (char *) "self", NULL
24183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24188 result
= ((wxDataFormat
const *)arg1
)->GetId();
24190 wxPyEndAllowThreads(__tstate
);
24191 if (PyErr_Occurred()) SWIG_fail
;
24195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24206 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24207 PyObject
*resultobj
;
24208 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24209 wxString
*arg2
= 0 ;
24210 bool temp2
= False
;
24211 PyObject
* obj0
= 0 ;
24212 PyObject
* obj1
= 0 ;
24213 char *kwnames
[] = {
24214 (char *) "self",(char *) "format", NULL
24217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24221 arg2
= wxString_in_helper(obj1
);
24222 if (arg2
== NULL
) SWIG_fail
;
24226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24227 (arg1
)->SetId((wxString
const &)*arg2
);
24229 wxPyEndAllowThreads(__tstate
);
24230 if (PyErr_Occurred()) SWIG_fail
;
24232 Py_INCREF(Py_None
); resultobj
= Py_None
;
24247 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24250 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24252 return Py_BuildValue((char *)"");
24254 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24255 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24260 static PyObject
*_wrap_FormatInvalid_get() {
24263 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24268 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24269 PyObject
*resultobj
;
24270 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24271 PyObject
* obj0
= 0 ;
24272 char *kwnames
[] = {
24273 (char *) "self", NULL
24276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24283 wxPyEndAllowThreads(__tstate
);
24284 if (PyErr_Occurred()) SWIG_fail
;
24286 Py_INCREF(Py_None
); resultobj
= Py_None
;
24293 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24294 PyObject
*resultobj
;
24295 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24296 int arg2
= (int) wxDataObject::Get
;
24297 SwigValueWrapper
< wxDataFormat
> result
;
24298 PyObject
* obj0
= 0 ;
24299 PyObject
* obj1
= 0 ;
24300 char *kwnames
[] = {
24301 (char *) "self",(char *) "dir", NULL
24304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24308 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24313 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24315 wxPyEndAllowThreads(__tstate
);
24316 if (PyErr_Occurred()) SWIG_fail
;
24319 wxDataFormat
* resultptr
;
24320 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24321 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24329 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24330 PyObject
*resultobj
;
24331 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24332 int arg2
= (int) wxDataObject::Get
;
24334 PyObject
* obj0
= 0 ;
24335 PyObject
* obj1
= 0 ;
24336 char *kwnames
[] = {
24337 (char *) "self",(char *) "dir", NULL
24340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24344 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24345 if (PyErr_Occurred()) SWIG_fail
;
24348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24349 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24351 wxPyEndAllowThreads(__tstate
);
24352 if (PyErr_Occurred()) SWIG_fail
;
24354 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24361 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24362 PyObject
*resultobj
;
24363 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24364 wxDataFormat
*arg2
= 0 ;
24365 int arg3
= (int) wxDataObject::Get
;
24367 PyObject
* obj0
= 0 ;
24368 PyObject
* obj1
= 0 ;
24369 PyObject
* obj2
= 0 ;
24370 char *kwnames
[] = {
24371 (char *) "self",(char *) "format",(char *) "dir", NULL
24374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24378 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24380 if (arg2
== NULL
) {
24381 PyErr_SetString(PyExc_TypeError
,"null reference");
24385 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24386 if (PyErr_Occurred()) SWIG_fail
;
24389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24390 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24392 wxPyEndAllowThreads(__tstate
);
24393 if (PyErr_Occurred()) SWIG_fail
;
24396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24404 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24405 PyObject
*resultobj
;
24406 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24407 wxDataFormat
*arg2
= 0 ;
24409 PyObject
* obj0
= 0 ;
24410 PyObject
* obj1
= 0 ;
24411 char *kwnames
[] = {
24412 (char *) "self",(char *) "format", NULL
24415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24419 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24421 if (arg2
== NULL
) {
24422 PyErr_SetString(PyExc_TypeError
,"null reference");
24426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24427 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24429 wxPyEndAllowThreads(__tstate
);
24430 if (PyErr_Occurred()) SWIG_fail
;
24432 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24439 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24440 PyObject
*resultobj
;
24441 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24442 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
24443 int arg3
= (int) wxDataObject::Get
;
24444 PyObject
* obj0
= 0 ;
24445 PyObject
* obj1
= 0 ;
24446 PyObject
* obj2
= 0 ;
24447 char *kwnames
[] = {
24448 (char *) "self",(char *) "formats",(char *) "dir", NULL
24451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24457 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24458 if (PyErr_Occurred()) SWIG_fail
;
24461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24462 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
24464 wxPyEndAllowThreads(__tstate
);
24465 if (PyErr_Occurred()) SWIG_fail
;
24467 Py_INCREF(Py_None
); resultobj
= Py_None
;
24474 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24475 PyObject
*resultobj
;
24476 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24477 wxDataFormat
*arg2
= 0 ;
24478 void *arg3
= (void *) 0 ;
24480 PyObject
* obj0
= 0 ;
24481 PyObject
* obj1
= 0 ;
24482 PyObject
* obj2
= 0 ;
24483 char *kwnames
[] = {
24484 (char *) "self",(char *) "format",(char *) "buf", NULL
24487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24491 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24493 if (arg2
== NULL
) {
24494 PyErr_SetString(PyExc_TypeError
,"null reference");
24497 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24500 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
24502 wxPyEndAllowThreads(__tstate
);
24503 if (PyErr_Occurred()) SWIG_fail
;
24506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24514 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24515 PyObject
*resultobj
;
24516 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24517 wxDataFormat
*arg2
= 0 ;
24519 void *arg4
= (void *) 0 ;
24521 PyObject
* obj0
= 0 ;
24522 PyObject
* obj1
= 0 ;
24523 PyObject
* obj2
= 0 ;
24524 PyObject
* obj3
= 0 ;
24525 char *kwnames
[] = {
24526 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24532 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24533 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24535 if (arg2
== NULL
) {
24536 PyErr_SetString(PyExc_TypeError
,"null reference");
24539 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
24540 if (PyErr_Occurred()) SWIG_fail
;
24541 if ((SWIG_ConvertPtr(obj3
,&arg4
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24544 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
24546 wxPyEndAllowThreads(__tstate
);
24547 if (PyErr_Occurred()) SWIG_fail
;
24550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24558 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24561 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24563 return Py_BuildValue((char *)"");
24565 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24566 PyObject
*resultobj
;
24567 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24568 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24569 wxDataObjectSimple
*result
;
24570 PyObject
* obj0
= 0 ;
24571 char *kwnames
[] = {
24572 (char *) "format", NULL
24575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24578 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24580 if (arg1
== NULL
) {
24581 PyErr_SetString(PyExc_TypeError
,"null reference");
24586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24587 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24589 wxPyEndAllowThreads(__tstate
);
24590 if (PyErr_Occurred()) SWIG_fail
;
24592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24599 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24600 PyObject
*resultobj
;
24601 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24602 wxDataFormat
*result
;
24603 PyObject
* obj0
= 0 ;
24604 char *kwnames
[] = {
24605 (char *) "self", NULL
24608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24614 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24615 result
= (wxDataFormat
*) &_result_ref
;
24618 wxPyEndAllowThreads(__tstate
);
24619 if (PyErr_Occurred()) SWIG_fail
;
24621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24628 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24629 PyObject
*resultobj
;
24630 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24631 wxDataFormat
*arg2
= 0 ;
24632 PyObject
* obj0
= 0 ;
24633 PyObject
* obj1
= 0 ;
24634 char *kwnames
[] = {
24635 (char *) "self",(char *) "format", NULL
24638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24642 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24644 if (arg2
== NULL
) {
24645 PyErr_SetString(PyExc_TypeError
,"null reference");
24649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24650 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24652 wxPyEndAllowThreads(__tstate
);
24653 if (PyErr_Occurred()) SWIG_fail
;
24655 Py_INCREF(Py_None
); resultobj
= Py_None
;
24662 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24665 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24667 return Py_BuildValue((char *)"");
24669 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24670 PyObject
*resultobj
;
24671 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24672 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24673 wxPyDataObjectSimple
*result
;
24674 PyObject
* obj0
= 0 ;
24675 char *kwnames
[] = {
24676 (char *) "format", NULL
24679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24682 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24684 if (arg1
== NULL
) {
24685 PyErr_SetString(PyExc_TypeError
,"null reference");
24690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24691 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24693 wxPyEndAllowThreads(__tstate
);
24694 if (PyErr_Occurred()) SWIG_fail
;
24696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24703 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24704 PyObject
*resultobj
;
24705 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24706 PyObject
*arg2
= (PyObject
*) 0 ;
24707 PyObject
*arg3
= (PyObject
*) 0 ;
24708 PyObject
* obj0
= 0 ;
24709 PyObject
* obj1
= 0 ;
24710 PyObject
* obj2
= 0 ;
24711 char *kwnames
[] = {
24712 (char *) "self",(char *) "self",(char *) "_class", NULL
24715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24722 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24724 wxPyEndAllowThreads(__tstate
);
24725 if (PyErr_Occurred()) SWIG_fail
;
24727 Py_INCREF(Py_None
); resultobj
= Py_None
;
24734 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24737 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24739 return Py_BuildValue((char *)"");
24741 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24742 PyObject
*resultobj
;
24743 wxDataObjectComposite
*result
;
24744 char *kwnames
[] = {
24748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24751 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24753 wxPyEndAllowThreads(__tstate
);
24754 if (PyErr_Occurred()) SWIG_fail
;
24756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24763 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24764 PyObject
*resultobj
;
24765 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24766 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24767 int arg3
= (int) False
;
24768 PyObject
* obj0
= 0 ;
24769 PyObject
* obj1
= 0 ;
24770 PyObject
* obj2
= 0 ;
24771 char *kwnames
[] = {
24772 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24778 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24779 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24781 arg3
= (int) SWIG_AsInt(obj2
);
24782 if (PyErr_Occurred()) SWIG_fail
;
24785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24786 (arg1
)->Add(arg2
,arg3
);
24788 wxPyEndAllowThreads(__tstate
);
24789 if (PyErr_Occurred()) SWIG_fail
;
24791 Py_INCREF(Py_None
); resultobj
= Py_None
;
24798 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24801 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24803 return Py_BuildValue((char *)"");
24805 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24806 PyObject
*resultobj
;
24807 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24808 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24809 wxTextDataObject
*result
;
24810 bool temp1
= False
;
24811 PyObject
* obj0
= 0 ;
24812 char *kwnames
[] = {
24813 (char *) "text", NULL
24816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24819 arg1
= wxString_in_helper(obj0
);
24820 if (arg1
== NULL
) SWIG_fail
;
24825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24826 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24828 wxPyEndAllowThreads(__tstate
);
24829 if (PyErr_Occurred()) SWIG_fail
;
24831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24846 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24847 PyObject
*resultobj
;
24848 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24850 PyObject
* obj0
= 0 ;
24851 char *kwnames
[] = {
24852 (char *) "self", NULL
24855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24860 result
= (size_t)(arg1
)->GetTextLength();
24862 wxPyEndAllowThreads(__tstate
);
24863 if (PyErr_Occurred()) SWIG_fail
;
24865 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24872 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24873 PyObject
*resultobj
;
24874 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24876 PyObject
* obj0
= 0 ;
24877 char *kwnames
[] = {
24878 (char *) "self", NULL
24881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24886 result
= (arg1
)->GetText();
24888 wxPyEndAllowThreads(__tstate
);
24889 if (PyErr_Occurred()) SWIG_fail
;
24893 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24895 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24904 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24905 PyObject
*resultobj
;
24906 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24907 wxString
*arg2
= 0 ;
24908 bool temp2
= False
;
24909 PyObject
* obj0
= 0 ;
24910 PyObject
* obj1
= 0 ;
24911 char *kwnames
[] = {
24912 (char *) "self",(char *) "text", NULL
24915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24919 arg2
= wxString_in_helper(obj1
);
24920 if (arg2
== NULL
) SWIG_fail
;
24924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24925 (arg1
)->SetText((wxString
const &)*arg2
);
24927 wxPyEndAllowThreads(__tstate
);
24928 if (PyErr_Occurred()) SWIG_fail
;
24930 Py_INCREF(Py_None
); resultobj
= Py_None
;
24945 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24948 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
24950 return Py_BuildValue((char *)"");
24952 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24953 PyObject
*resultobj
;
24954 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24955 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24956 wxPyTextDataObject
*result
;
24957 bool temp1
= False
;
24958 PyObject
* obj0
= 0 ;
24959 char *kwnames
[] = {
24960 (char *) "text", NULL
24963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
24966 arg1
= wxString_in_helper(obj0
);
24967 if (arg1
== NULL
) SWIG_fail
;
24972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24973 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
24975 wxPyEndAllowThreads(__tstate
);
24976 if (PyErr_Occurred()) SWIG_fail
;
24978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
24993 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24994 PyObject
*resultobj
;
24995 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
24996 PyObject
*arg2
= (PyObject
*) 0 ;
24997 PyObject
*arg3
= (PyObject
*) 0 ;
24998 PyObject
* obj0
= 0 ;
24999 PyObject
* obj1
= 0 ;
25000 PyObject
* obj2
= 0 ;
25001 char *kwnames
[] = {
25002 (char *) "self",(char *) "self",(char *) "_class", NULL
25005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25012 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25014 wxPyEndAllowThreads(__tstate
);
25015 if (PyErr_Occurred()) SWIG_fail
;
25017 Py_INCREF(Py_None
); resultobj
= Py_None
;
25024 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25027 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25029 return Py_BuildValue((char *)"");
25031 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25032 PyObject
*resultobj
;
25033 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25034 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25035 wxBitmapDataObject
*result
;
25036 PyObject
* obj0
= 0 ;
25037 char *kwnames
[] = {
25038 (char *) "bitmap", NULL
25041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25044 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25046 if (arg1
== NULL
) {
25047 PyErr_SetString(PyExc_TypeError
,"null reference");
25052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25053 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25055 wxPyEndAllowThreads(__tstate
);
25056 if (PyErr_Occurred()) SWIG_fail
;
25058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25065 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25066 PyObject
*resultobj
;
25067 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25069 PyObject
* obj0
= 0 ;
25070 char *kwnames
[] = {
25071 (char *) "self", NULL
25074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25079 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25081 wxPyEndAllowThreads(__tstate
);
25082 if (PyErr_Occurred()) SWIG_fail
;
25085 wxBitmap
* resultptr
;
25086 resultptr
= new wxBitmap((wxBitmap
&) result
);
25087 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25095 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25096 PyObject
*resultobj
;
25097 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25098 wxBitmap
*arg2
= 0 ;
25099 PyObject
* obj0
= 0 ;
25100 PyObject
* obj1
= 0 ;
25101 char *kwnames
[] = {
25102 (char *) "self",(char *) "bitmap", NULL
25105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25108 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25109 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25111 if (arg2
== NULL
) {
25112 PyErr_SetString(PyExc_TypeError
,"null reference");
25116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25117 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25119 wxPyEndAllowThreads(__tstate
);
25120 if (PyErr_Occurred()) SWIG_fail
;
25122 Py_INCREF(Py_None
); resultobj
= Py_None
;
25129 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25132 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25134 return Py_BuildValue((char *)"");
25136 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25137 PyObject
*resultobj
;
25138 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25139 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25140 wxPyBitmapDataObject
*result
;
25141 PyObject
* obj0
= 0 ;
25142 char *kwnames
[] = {
25143 (char *) "bitmap", NULL
25146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25149 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25151 if (arg1
== NULL
) {
25152 PyErr_SetString(PyExc_TypeError
,"null reference");
25157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25158 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25160 wxPyEndAllowThreads(__tstate
);
25161 if (PyErr_Occurred()) SWIG_fail
;
25163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25170 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25171 PyObject
*resultobj
;
25172 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25173 PyObject
*arg2
= (PyObject
*) 0 ;
25174 PyObject
*arg3
= (PyObject
*) 0 ;
25175 PyObject
* obj0
= 0 ;
25176 PyObject
* obj1
= 0 ;
25177 PyObject
* obj2
= 0 ;
25178 char *kwnames
[] = {
25179 (char *) "self",(char *) "self",(char *) "_class", NULL
25182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25189 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25191 wxPyEndAllowThreads(__tstate
);
25192 if (PyErr_Occurred()) SWIG_fail
;
25194 Py_INCREF(Py_None
); resultobj
= Py_None
;
25201 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25204 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25206 return Py_BuildValue((char *)"");
25208 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25209 PyObject
*resultobj
;
25210 wxFileDataObject
*result
;
25211 char *kwnames
[] = {
25215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25218 result
= (wxFileDataObject
*)new wxFileDataObject();
25220 wxPyEndAllowThreads(__tstate
);
25221 if (PyErr_Occurred()) SWIG_fail
;
25223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25230 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25231 PyObject
*resultobj
;
25232 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25233 wxArrayString
*result
;
25234 PyObject
* obj0
= 0 ;
25235 char *kwnames
[] = {
25236 (char *) "self", NULL
25239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25245 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25246 result
= (wxArrayString
*) &_result_ref
;
25249 wxPyEndAllowThreads(__tstate
);
25250 if (PyErr_Occurred()) SWIG_fail
;
25253 resultobj
= wxArrayString2PyList_helper(*result
);
25261 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25262 PyObject
*resultobj
;
25263 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25264 wxString
*arg2
= 0 ;
25265 bool temp2
= False
;
25266 PyObject
* obj0
= 0 ;
25267 PyObject
* obj1
= 0 ;
25268 char *kwnames
[] = {
25269 (char *) "self",(char *) "filename", NULL
25272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25276 arg2
= wxString_in_helper(obj1
);
25277 if (arg2
== NULL
) SWIG_fail
;
25281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25282 (arg1
)->AddFile((wxString
const &)*arg2
);
25284 wxPyEndAllowThreads(__tstate
);
25285 if (PyErr_Occurred()) SWIG_fail
;
25287 Py_INCREF(Py_None
); resultobj
= Py_None
;
25302 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25305 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25307 return Py_BuildValue((char *)"");
25309 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25310 PyObject
*resultobj
;
25311 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25312 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25313 wxCustomDataObject
*result
;
25314 PyObject
* obj0
= 0 ;
25315 char *kwnames
[] = {
25316 (char *) "format", NULL
25319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25322 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25324 if (arg1
== NULL
) {
25325 PyErr_SetString(PyExc_TypeError
,"null reference");
25330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25331 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25333 wxPyEndAllowThreads(__tstate
);
25334 if (PyErr_Occurred()) SWIG_fail
;
25336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25343 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25344 PyObject
*resultobj
;
25345 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25346 PyObject
*arg2
= (PyObject
*) 0 ;
25347 PyObject
* obj0
= 0 ;
25348 PyObject
* obj1
= 0 ;
25349 char *kwnames
[] = {
25350 (char *) "self",(char *) "data", NULL
25353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
25354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25359 wxCustomDataObject_TakeData(arg1
,arg2
);
25361 wxPyEndAllowThreads(__tstate
);
25362 if (PyErr_Occurred()) SWIG_fail
;
25364 Py_INCREF(Py_None
); resultobj
= Py_None
;
25371 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25372 PyObject
*resultobj
;
25373 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25374 PyObject
*arg2
= (PyObject
*) 0 ;
25376 PyObject
* obj0
= 0 ;
25377 PyObject
* obj1
= 0 ;
25378 char *kwnames
[] = {
25379 (char *) "self",(char *) "data", NULL
25382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25388 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25390 wxPyEndAllowThreads(__tstate
);
25391 if (PyErr_Occurred()) SWIG_fail
;
25394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25402 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25403 PyObject
*resultobj
;
25404 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25406 PyObject
* obj0
= 0 ;
25407 char *kwnames
[] = {
25408 (char *) "self", NULL
25411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25416 result
= (size_t)(arg1
)->GetSize();
25418 wxPyEndAllowThreads(__tstate
);
25419 if (PyErr_Occurred()) SWIG_fail
;
25421 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25428 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25429 PyObject
*resultobj
;
25430 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25432 PyObject
* obj0
= 0 ;
25433 char *kwnames
[] = {
25434 (char *) "self", NULL
25437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25442 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25444 wxPyEndAllowThreads(__tstate
);
25445 if (PyErr_Occurred()) SWIG_fail
;
25447 resultobj
= result
;
25454 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25457 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25459 return Py_BuildValue((char *)"");
25461 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25462 PyObject
*resultobj
;
25463 wxURLDataObject
*result
;
25464 char *kwnames
[] = {
25468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25471 result
= (wxURLDataObject
*)new wxURLDataObject();
25473 wxPyEndAllowThreads(__tstate
);
25474 if (PyErr_Occurred()) SWIG_fail
;
25476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25483 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25484 PyObject
*resultobj
;
25485 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25487 PyObject
* obj0
= 0 ;
25488 char *kwnames
[] = {
25489 (char *) "self", NULL
25492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25497 result
= (arg1
)->GetURL();
25499 wxPyEndAllowThreads(__tstate
);
25500 if (PyErr_Occurred()) SWIG_fail
;
25504 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25506 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25515 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25516 PyObject
*resultobj
;
25517 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25518 wxString
*arg2
= 0 ;
25519 bool temp2
= False
;
25520 PyObject
* obj0
= 0 ;
25521 PyObject
* obj1
= 0 ;
25522 char *kwnames
[] = {
25523 (char *) "self",(char *) "url", NULL
25526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25530 arg2
= wxString_in_helper(obj1
);
25531 if (arg2
== NULL
) SWIG_fail
;
25535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25536 (arg1
)->SetURL((wxString
const &)*arg2
);
25538 wxPyEndAllowThreads(__tstate
);
25539 if (PyErr_Occurred()) SWIG_fail
;
25541 Py_INCREF(Py_None
); resultobj
= Py_None
;
25556 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25559 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25561 return Py_BuildValue((char *)"");
25563 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25564 PyObject
*resultobj
;
25565 wxMetafileDataObject
*result
;
25566 char *kwnames
[] = {
25570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25573 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25575 wxPyEndAllowThreads(__tstate
);
25576 if (PyErr_Occurred()) SWIG_fail
;
25578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25585 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25588 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25590 return Py_BuildValue((char *)"");
25592 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25593 PyObject
*resultobj
;
25596 PyObject
* obj0
= 0 ;
25597 char *kwnames
[] = {
25598 (char *) "res", NULL
25601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25602 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25603 if (PyErr_Occurred()) SWIG_fail
;
25605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25606 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25608 wxPyEndAllowThreads(__tstate
);
25609 if (PyErr_Occurred()) SWIG_fail
;
25612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25620 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25621 PyObject
*resultobj
;
25622 wxWindow
*arg1
= (wxWindow
*) 0 ;
25623 wxIcon
const &arg2_defvalue
= wxNullIcon
;
25624 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
25625 wxIcon
const &arg3_defvalue
= wxNullIcon
;
25626 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
25627 wxIcon
const &arg4_defvalue
= wxNullIcon
;
25628 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
25629 wxPyDropSource
*result
;
25630 PyObject
* obj0
= 0 ;
25631 PyObject
* obj1
= 0 ;
25632 PyObject
* obj2
= 0 ;
25633 PyObject
* obj3
= 0 ;
25634 char *kwnames
[] = {
25635 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25642 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
25643 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25645 if (arg2
== NULL
) {
25646 PyErr_SetString(PyExc_TypeError
,"null reference");
25651 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIcon
,
25652 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25654 if (arg3
== NULL
) {
25655 PyErr_SetString(PyExc_TypeError
,"null reference");
25660 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxIcon
,
25661 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25663 if (arg4
== NULL
) {
25664 PyErr_SetString(PyExc_TypeError
,"null reference");
25669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25670 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
25672 wxPyEndAllowThreads(__tstate
);
25673 if (PyErr_Occurred()) SWIG_fail
;
25675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25682 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25683 PyObject
*resultobj
;
25684 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25685 PyObject
*arg2
= (PyObject
*) 0 ;
25686 PyObject
*arg3
= (PyObject
*) 0 ;
25688 PyObject
* obj0
= 0 ;
25689 PyObject
* obj1
= 0 ;
25690 PyObject
* obj2
= 0 ;
25691 PyObject
* obj3
= 0 ;
25692 char *kwnames
[] = {
25693 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25701 arg4
= (int) SWIG_AsInt(obj3
);
25702 if (PyErr_Occurred()) SWIG_fail
;
25704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25705 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25707 wxPyEndAllowThreads(__tstate
);
25708 if (PyErr_Occurred()) SWIG_fail
;
25710 Py_INCREF(Py_None
); resultobj
= Py_None
;
25717 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25718 PyObject
*resultobj
;
25719 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25720 PyObject
* obj0
= 0 ;
25721 char *kwnames
[] = {
25722 (char *) "self", NULL
25725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25732 wxPyEndAllowThreads(__tstate
);
25733 if (PyErr_Occurred()) SWIG_fail
;
25735 Py_INCREF(Py_None
); resultobj
= Py_None
;
25742 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25743 PyObject
*resultobj
;
25744 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25745 wxDataObject
*arg2
= 0 ;
25746 PyObject
* obj0
= 0 ;
25747 PyObject
* obj1
= 0 ;
25748 char *kwnames
[] = {
25749 (char *) "self",(char *) "data", NULL
25752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25756 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25758 if (arg2
== NULL
) {
25759 PyErr_SetString(PyExc_TypeError
,"null reference");
25763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25764 (arg1
)->SetData(*arg2
);
25766 wxPyEndAllowThreads(__tstate
);
25767 if (PyErr_Occurred()) SWIG_fail
;
25769 Py_INCREF(Py_None
); resultobj
= Py_None
;
25776 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25777 PyObject
*resultobj
;
25778 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25779 wxDataObject
*result
;
25780 PyObject
* obj0
= 0 ;
25781 char *kwnames
[] = {
25782 (char *) "self", NULL
25785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25790 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25792 wxPyEndAllowThreads(__tstate
);
25793 if (PyErr_Occurred()) SWIG_fail
;
25795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25802 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25803 PyObject
*resultobj
;
25804 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25806 wxCursor
*arg3
= 0 ;
25807 PyObject
* obj0
= 0 ;
25808 PyObject
* obj1
= 0 ;
25809 PyObject
* obj2
= 0 ;
25810 char *kwnames
[] = {
25811 (char *) "self",(char *) "res",(char *) "cursor", NULL
25814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25817 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25818 if (PyErr_Occurred()) SWIG_fail
;
25819 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25820 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25822 if (arg3
== NULL
) {
25823 PyErr_SetString(PyExc_TypeError
,"null reference");
25827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25828 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25830 wxPyEndAllowThreads(__tstate
);
25831 if (PyErr_Occurred()) SWIG_fail
;
25833 Py_INCREF(Py_None
); resultobj
= Py_None
;
25840 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25841 PyObject
*resultobj
;
25842 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25843 int arg2
= (int) wxDrag_CopyOnly
;
25845 PyObject
* obj0
= 0 ;
25846 PyObject
* obj1
= 0 ;
25847 char *kwnames
[] = {
25848 (char *) "self",(char *) "flags", NULL
25851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25855 arg2
= (int) SWIG_AsInt(obj1
);
25856 if (PyErr_Occurred()) SWIG_fail
;
25859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25860 result
= (int)(arg1
)->DoDragDrop(arg2
);
25862 wxPyEndAllowThreads(__tstate
);
25863 if (PyErr_Occurred()) SWIG_fail
;
25865 resultobj
= SWIG_FromInt((int)result
);
25872 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25873 PyObject
*resultobj
;
25874 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25877 PyObject
* obj0
= 0 ;
25878 PyObject
* obj1
= 0 ;
25879 char *kwnames
[] = {
25880 (char *) "self",(char *) "effect", NULL
25883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25886 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25887 if (PyErr_Occurred()) SWIG_fail
;
25889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25890 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25892 wxPyEndAllowThreads(__tstate
);
25893 if (PyErr_Occurred()) SWIG_fail
;
25896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25904 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
25906 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25907 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25909 return Py_BuildValue((char *)"");
25911 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25912 PyObject
*resultobj
;
25913 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25914 wxPyDropTarget
*result
;
25915 PyObject
* obj0
= 0 ;
25916 char *kwnames
[] = {
25917 (char *) "dataObject", NULL
25920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
25922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25923 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25927 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25929 wxPyEndAllowThreads(__tstate
);
25930 if (PyErr_Occurred()) SWIG_fail
;
25932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
25939 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25940 PyObject
*resultobj
;
25941 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25942 PyObject
*arg2
= (PyObject
*) 0 ;
25943 PyObject
*arg3
= (PyObject
*) 0 ;
25944 PyObject
* obj0
= 0 ;
25945 PyObject
* obj1
= 0 ;
25946 PyObject
* obj2
= 0 ;
25947 char *kwnames
[] = {
25948 (char *) "self",(char *) "self",(char *) "_class", NULL
25951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25958 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25960 wxPyEndAllowThreads(__tstate
);
25961 if (PyErr_Occurred()) SWIG_fail
;
25963 Py_INCREF(Py_None
); resultobj
= Py_None
;
25970 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25971 PyObject
*resultobj
;
25972 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25973 PyObject
* obj0
= 0 ;
25974 char *kwnames
[] = {
25975 (char *) "self", NULL
25978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
25979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25985 wxPyEndAllowThreads(__tstate
);
25986 if (PyErr_Occurred()) SWIG_fail
;
25988 Py_INCREF(Py_None
); resultobj
= Py_None
;
25995 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25996 PyObject
*resultobj
;
25997 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25998 wxDataObject
*result
;
25999 PyObject
* obj0
= 0 ;
26000 char *kwnames
[] = {
26001 (char *) "self", NULL
26004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26009 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26011 wxPyEndAllowThreads(__tstate
);
26012 if (PyErr_Occurred()) SWIG_fail
;
26014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26021 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26022 PyObject
*resultobj
;
26023 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26024 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26025 PyObject
* obj0
= 0 ;
26026 PyObject
* obj1
= 0 ;
26027 char *kwnames
[] = {
26028 (char *) "self",(char *) "dataObject", NULL
26031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26034 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26035 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26038 (arg1
)->SetDataObject(arg2
);
26040 wxPyEndAllowThreads(__tstate
);
26041 if (PyErr_Occurred()) SWIG_fail
;
26043 Py_INCREF(Py_None
); resultobj
= Py_None
;
26050 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26051 PyObject
*resultobj
;
26052 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26057 PyObject
* obj0
= 0 ;
26058 PyObject
* obj1
= 0 ;
26059 PyObject
* obj2
= 0 ;
26060 PyObject
* obj3
= 0 ;
26061 char *kwnames
[] = {
26062 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26068 arg2
= (int) SWIG_AsInt(obj1
);
26069 if (PyErr_Occurred()) SWIG_fail
;
26070 arg3
= (int) SWIG_AsInt(obj2
);
26071 if (PyErr_Occurred()) SWIG_fail
;
26072 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26073 if (PyErr_Occurred()) SWIG_fail
;
26075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26076 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26078 wxPyEndAllowThreads(__tstate
);
26079 if (PyErr_Occurred()) SWIG_fail
;
26081 resultobj
= SWIG_FromInt((int)result
);
26088 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26089 PyObject
*resultobj
;
26090 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26095 PyObject
* obj0
= 0 ;
26096 PyObject
* obj1
= 0 ;
26097 PyObject
* obj2
= 0 ;
26098 PyObject
* obj3
= 0 ;
26099 char *kwnames
[] = {
26100 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26106 arg2
= (int) SWIG_AsInt(obj1
);
26107 if (PyErr_Occurred()) SWIG_fail
;
26108 arg3
= (int) SWIG_AsInt(obj2
);
26109 if (PyErr_Occurred()) SWIG_fail
;
26110 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26111 if (PyErr_Occurred()) SWIG_fail
;
26113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26114 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26116 wxPyEndAllowThreads(__tstate
);
26117 if (PyErr_Occurred()) SWIG_fail
;
26119 resultobj
= SWIG_FromInt((int)result
);
26126 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26127 PyObject
*resultobj
;
26128 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26129 PyObject
* obj0
= 0 ;
26130 char *kwnames
[] = {
26131 (char *) "self", NULL
26134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26139 (arg1
)->base_OnLeave();
26141 wxPyEndAllowThreads(__tstate
);
26142 if (PyErr_Occurred()) SWIG_fail
;
26144 Py_INCREF(Py_None
); resultobj
= Py_None
;
26151 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26152 PyObject
*resultobj
;
26153 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26157 PyObject
* obj0
= 0 ;
26158 PyObject
* obj1
= 0 ;
26159 PyObject
* obj2
= 0 ;
26160 char *kwnames
[] = {
26161 (char *) "self",(char *) "x",(char *) "y", NULL
26164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26167 arg2
= (int) SWIG_AsInt(obj1
);
26168 if (PyErr_Occurred()) SWIG_fail
;
26169 arg3
= (int) SWIG_AsInt(obj2
);
26170 if (PyErr_Occurred()) SWIG_fail
;
26172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26173 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26175 wxPyEndAllowThreads(__tstate
);
26176 if (PyErr_Occurred()) SWIG_fail
;
26179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26187 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26188 PyObject
*resultobj
;
26189 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26191 PyObject
* obj0
= 0 ;
26192 char *kwnames
[] = {
26193 (char *) "self", NULL
26196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26201 result
= (bool)(arg1
)->GetData();
26203 wxPyEndAllowThreads(__tstate
);
26204 if (PyErr_Occurred()) SWIG_fail
;
26207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26215 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26218 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26220 return Py_BuildValue((char *)"");
26222 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26223 PyObject
*resultobj
;
26224 wxPyTextDropTarget
*result
;
26225 char *kwnames
[] = {
26229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26232 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26234 wxPyEndAllowThreads(__tstate
);
26235 if (PyErr_Occurred()) SWIG_fail
;
26237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26244 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26245 PyObject
*resultobj
;
26246 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26247 PyObject
*arg2
= (PyObject
*) 0 ;
26248 PyObject
*arg3
= (PyObject
*) 0 ;
26249 PyObject
* obj0
= 0 ;
26250 PyObject
* obj1
= 0 ;
26251 PyObject
* obj2
= 0 ;
26252 char *kwnames
[] = {
26253 (char *) "self",(char *) "self",(char *) "_class", NULL
26256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26263 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26265 wxPyEndAllowThreads(__tstate
);
26266 if (PyErr_Occurred()) SWIG_fail
;
26268 Py_INCREF(Py_None
); resultobj
= Py_None
;
26275 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26276 PyObject
*resultobj
;
26277 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26282 PyObject
* obj0
= 0 ;
26283 PyObject
* obj1
= 0 ;
26284 PyObject
* obj2
= 0 ;
26285 PyObject
* obj3
= 0 ;
26286 char *kwnames
[] = {
26287 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26293 arg2
= (int) SWIG_AsInt(obj1
);
26294 if (PyErr_Occurred()) SWIG_fail
;
26295 arg3
= (int) SWIG_AsInt(obj2
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26297 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26298 if (PyErr_Occurred()) SWIG_fail
;
26300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26301 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26303 wxPyEndAllowThreads(__tstate
);
26304 if (PyErr_Occurred()) SWIG_fail
;
26306 resultobj
= SWIG_FromInt((int)result
);
26313 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26314 PyObject
*resultobj
;
26315 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26320 PyObject
* obj0
= 0 ;
26321 PyObject
* obj1
= 0 ;
26322 PyObject
* obj2
= 0 ;
26323 PyObject
* obj3
= 0 ;
26324 char *kwnames
[] = {
26325 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26331 arg2
= (int) SWIG_AsInt(obj1
);
26332 if (PyErr_Occurred()) SWIG_fail
;
26333 arg3
= (int) SWIG_AsInt(obj2
);
26334 if (PyErr_Occurred()) SWIG_fail
;
26335 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26336 if (PyErr_Occurred()) SWIG_fail
;
26338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26339 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26341 wxPyEndAllowThreads(__tstate
);
26342 if (PyErr_Occurred()) SWIG_fail
;
26344 resultobj
= SWIG_FromInt((int)result
);
26351 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26352 PyObject
*resultobj
;
26353 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26354 PyObject
* obj0
= 0 ;
26355 char *kwnames
[] = {
26356 (char *) "self", NULL
26359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26364 (arg1
)->base_OnLeave();
26366 wxPyEndAllowThreads(__tstate
);
26367 if (PyErr_Occurred()) SWIG_fail
;
26369 Py_INCREF(Py_None
); resultobj
= Py_None
;
26376 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26377 PyObject
*resultobj
;
26378 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26382 PyObject
* obj0
= 0 ;
26383 PyObject
* obj1
= 0 ;
26384 PyObject
* obj2
= 0 ;
26385 char *kwnames
[] = {
26386 (char *) "self",(char *) "x",(char *) "y", NULL
26389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26392 arg2
= (int) SWIG_AsInt(obj1
);
26393 if (PyErr_Occurred()) SWIG_fail
;
26394 arg3
= (int) SWIG_AsInt(obj2
);
26395 if (PyErr_Occurred()) SWIG_fail
;
26397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26398 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26400 wxPyEndAllowThreads(__tstate
);
26401 if (PyErr_Occurred()) SWIG_fail
;
26404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26412 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26413 PyObject
*resultobj
;
26414 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26419 PyObject
* obj0
= 0 ;
26420 PyObject
* obj1
= 0 ;
26421 PyObject
* obj2
= 0 ;
26422 PyObject
* obj3
= 0 ;
26423 char *kwnames
[] = {
26424 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26430 arg2
= (int) SWIG_AsInt(obj1
);
26431 if (PyErr_Occurred()) SWIG_fail
;
26432 arg3
= (int) SWIG_AsInt(obj2
);
26433 if (PyErr_Occurred()) SWIG_fail
;
26434 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26435 if (PyErr_Occurred()) SWIG_fail
;
26437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26438 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26440 wxPyEndAllowThreads(__tstate
);
26441 if (PyErr_Occurred()) SWIG_fail
;
26443 resultobj
= SWIG_FromInt((int)result
);
26450 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26453 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26455 return Py_BuildValue((char *)"");
26457 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26458 PyObject
*resultobj
;
26459 wxPyFileDropTarget
*result
;
26460 char *kwnames
[] = {
26464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26467 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26469 wxPyEndAllowThreads(__tstate
);
26470 if (PyErr_Occurred()) SWIG_fail
;
26472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26479 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26480 PyObject
*resultobj
;
26481 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26482 PyObject
*arg2
= (PyObject
*) 0 ;
26483 PyObject
*arg3
= (PyObject
*) 0 ;
26484 PyObject
* obj0
= 0 ;
26485 PyObject
* obj1
= 0 ;
26486 PyObject
* obj2
= 0 ;
26487 char *kwnames
[] = {
26488 (char *) "self",(char *) "self",(char *) "_class", NULL
26491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26498 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26500 wxPyEndAllowThreads(__tstate
);
26501 if (PyErr_Occurred()) SWIG_fail
;
26503 Py_INCREF(Py_None
); resultobj
= Py_None
;
26510 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26511 PyObject
*resultobj
;
26512 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26517 PyObject
* obj0
= 0 ;
26518 PyObject
* obj1
= 0 ;
26519 PyObject
* obj2
= 0 ;
26520 PyObject
* obj3
= 0 ;
26521 char *kwnames
[] = {
26522 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26528 arg2
= (int) SWIG_AsInt(obj1
);
26529 if (PyErr_Occurred()) SWIG_fail
;
26530 arg3
= (int) SWIG_AsInt(obj2
);
26531 if (PyErr_Occurred()) SWIG_fail
;
26532 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26533 if (PyErr_Occurred()) SWIG_fail
;
26535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26536 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26538 wxPyEndAllowThreads(__tstate
);
26539 if (PyErr_Occurred()) SWIG_fail
;
26541 resultobj
= SWIG_FromInt((int)result
);
26548 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26549 PyObject
*resultobj
;
26550 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26555 PyObject
* obj0
= 0 ;
26556 PyObject
* obj1
= 0 ;
26557 PyObject
* obj2
= 0 ;
26558 PyObject
* obj3
= 0 ;
26559 char *kwnames
[] = {
26560 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26566 arg2
= (int) SWIG_AsInt(obj1
);
26567 if (PyErr_Occurred()) SWIG_fail
;
26568 arg3
= (int) SWIG_AsInt(obj2
);
26569 if (PyErr_Occurred()) SWIG_fail
;
26570 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26571 if (PyErr_Occurred()) SWIG_fail
;
26573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26574 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26576 wxPyEndAllowThreads(__tstate
);
26577 if (PyErr_Occurred()) SWIG_fail
;
26579 resultobj
= SWIG_FromInt((int)result
);
26586 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26587 PyObject
*resultobj
;
26588 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26589 PyObject
* obj0
= 0 ;
26590 char *kwnames
[] = {
26591 (char *) "self", NULL
26594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26599 (arg1
)->base_OnLeave();
26601 wxPyEndAllowThreads(__tstate
);
26602 if (PyErr_Occurred()) SWIG_fail
;
26604 Py_INCREF(Py_None
); resultobj
= Py_None
;
26611 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26612 PyObject
*resultobj
;
26613 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26617 PyObject
* obj0
= 0 ;
26618 PyObject
* obj1
= 0 ;
26619 PyObject
* obj2
= 0 ;
26620 char *kwnames
[] = {
26621 (char *) "self",(char *) "x",(char *) "y", NULL
26624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26627 arg2
= (int) SWIG_AsInt(obj1
);
26628 if (PyErr_Occurred()) SWIG_fail
;
26629 arg3
= (int) SWIG_AsInt(obj2
);
26630 if (PyErr_Occurred()) SWIG_fail
;
26632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26633 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26635 wxPyEndAllowThreads(__tstate
);
26636 if (PyErr_Occurred()) SWIG_fail
;
26639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26647 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26648 PyObject
*resultobj
;
26649 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26654 PyObject
* obj0
= 0 ;
26655 PyObject
* obj1
= 0 ;
26656 PyObject
* obj2
= 0 ;
26657 PyObject
* obj3
= 0 ;
26658 char *kwnames
[] = {
26659 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26665 arg2
= (int) SWIG_AsInt(obj1
);
26666 if (PyErr_Occurred()) SWIG_fail
;
26667 arg3
= (int) SWIG_AsInt(obj2
);
26668 if (PyErr_Occurred()) SWIG_fail
;
26669 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26670 if (PyErr_Occurred()) SWIG_fail
;
26672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26673 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26675 wxPyEndAllowThreads(__tstate
);
26676 if (PyErr_Occurred()) SWIG_fail
;
26678 resultobj
= SWIG_FromInt((int)result
);
26685 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26688 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26690 return Py_BuildValue((char *)"");
26692 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26693 PyObject
*resultobj
;
26694 wxClipboard
*result
;
26695 char *kwnames
[] = {
26699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26702 result
= (wxClipboard
*)new wxClipboard();
26704 wxPyEndAllowThreads(__tstate
);
26705 if (PyErr_Occurred()) SWIG_fail
;
26707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26714 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26715 PyObject
*resultobj
;
26716 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26717 PyObject
* obj0
= 0 ;
26718 char *kwnames
[] = {
26719 (char *) "self", NULL
26722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26729 wxPyEndAllowThreads(__tstate
);
26730 if (PyErr_Occurred()) SWIG_fail
;
26732 Py_INCREF(Py_None
); resultobj
= Py_None
;
26739 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26740 PyObject
*resultobj
;
26741 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26743 PyObject
* obj0
= 0 ;
26744 char *kwnames
[] = {
26745 (char *) "self", NULL
26748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26753 result
= (bool)(arg1
)->Open();
26755 wxPyEndAllowThreads(__tstate
);
26756 if (PyErr_Occurred()) SWIG_fail
;
26759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26767 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26768 PyObject
*resultobj
;
26769 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26770 PyObject
* obj0
= 0 ;
26771 char *kwnames
[] = {
26772 (char *) "self", NULL
26775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26782 wxPyEndAllowThreads(__tstate
);
26783 if (PyErr_Occurred()) SWIG_fail
;
26785 Py_INCREF(Py_None
); resultobj
= Py_None
;
26792 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26793 PyObject
*resultobj
;
26794 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26796 PyObject
* obj0
= 0 ;
26797 char *kwnames
[] = {
26798 (char *) "self", NULL
26801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26806 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26808 wxPyEndAllowThreads(__tstate
);
26809 if (PyErr_Occurred()) SWIG_fail
;
26812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26820 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26821 PyObject
*resultobj
;
26822 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26823 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26825 PyObject
* obj0
= 0 ;
26826 PyObject
* obj1
= 0 ;
26827 char *kwnames
[] = {
26828 (char *) "self",(char *) "data", NULL
26831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26834 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26835 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26838 result
= (bool)(arg1
)->AddData(arg2
);
26840 wxPyEndAllowThreads(__tstate
);
26841 if (PyErr_Occurred()) SWIG_fail
;
26844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26852 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26853 PyObject
*resultobj
;
26854 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26855 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26857 PyObject
* obj0
= 0 ;
26858 PyObject
* obj1
= 0 ;
26859 char *kwnames
[] = {
26860 (char *) "self",(char *) "data", NULL
26863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26866 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26867 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26870 result
= (bool)(arg1
)->SetData(arg2
);
26872 wxPyEndAllowThreads(__tstate
);
26873 if (PyErr_Occurred()) SWIG_fail
;
26876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26884 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26885 PyObject
*resultobj
;
26886 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26887 wxDataFormat
*arg2
= 0 ;
26889 PyObject
* obj0
= 0 ;
26890 PyObject
* obj1
= 0 ;
26891 char *kwnames
[] = {
26892 (char *) "self",(char *) "format", NULL
26895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
26899 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26901 if (arg2
== NULL
) {
26902 PyErr_SetString(PyExc_TypeError
,"null reference");
26906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26907 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26909 wxPyEndAllowThreads(__tstate
);
26910 if (PyErr_Occurred()) SWIG_fail
;
26913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26921 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26922 PyObject
*resultobj
;
26923 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26924 wxDataObject
*arg2
= 0 ;
26926 PyObject
* obj0
= 0 ;
26927 PyObject
* obj1
= 0 ;
26928 char *kwnames
[] = {
26929 (char *) "self",(char *) "data", NULL
26932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26936 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26938 if (arg2
== NULL
) {
26939 PyErr_SetString(PyExc_TypeError
,"null reference");
26943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26944 result
= (bool)(arg1
)->GetData(*arg2
);
26946 wxPyEndAllowThreads(__tstate
);
26947 if (PyErr_Occurred()) SWIG_fail
;
26950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26958 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26959 PyObject
*resultobj
;
26960 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26961 PyObject
* obj0
= 0 ;
26962 char *kwnames
[] = {
26963 (char *) "self", NULL
26966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
26967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26973 wxPyEndAllowThreads(__tstate
);
26974 if (PyErr_Occurred()) SWIG_fail
;
26976 Py_INCREF(Py_None
); resultobj
= Py_None
;
26983 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26984 PyObject
*resultobj
;
26985 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26987 PyObject
* obj0
= 0 ;
26988 char *kwnames
[] = {
26989 (char *) "self", NULL
26992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
26993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26997 result
= (bool)(arg1
)->Flush();
26999 wxPyEndAllowThreads(__tstate
);
27000 if (PyErr_Occurred()) SWIG_fail
;
27003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27011 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27012 PyObject
*resultobj
;
27013 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27014 bool arg2
= (bool) True
;
27015 PyObject
* obj0
= 0 ;
27016 PyObject
* obj1
= 0 ;
27017 char *kwnames
[] = {
27018 (char *) "self",(char *) "primary", NULL
27021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27025 arg2
= (bool) SWIG_AsBool(obj1
);
27026 if (PyErr_Occurred()) SWIG_fail
;
27029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27030 (arg1
)->UsePrimarySelection(arg2
);
27032 wxPyEndAllowThreads(__tstate
);
27033 if (PyErr_Occurred()) SWIG_fail
;
27035 Py_INCREF(Py_None
); resultobj
= Py_None
;
27042 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27045 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27047 return Py_BuildValue((char *)"");
27049 static int _wrap_TheClipboard_set(PyObject
*_val
) {
27050 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
27055 static PyObject
*_wrap_TheClipboard_get() {
27058 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
27063 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27064 PyObject
*resultobj
;
27065 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27066 wxClipboardLocker
*result
;
27067 PyObject
* obj0
= 0 ;
27068 char *kwnames
[] = {
27069 (char *) "clipboard", NULL
27072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27079 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27081 wxPyEndAllowThreads(__tstate
);
27082 if (PyErr_Occurred()) SWIG_fail
;
27084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27091 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27092 PyObject
*resultobj
;
27093 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27094 PyObject
* obj0
= 0 ;
27095 char *kwnames
[] = {
27096 (char *) "self", NULL
27099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27106 wxPyEndAllowThreads(__tstate
);
27107 if (PyErr_Occurred()) SWIG_fail
;
27109 Py_INCREF(Py_None
); resultobj
= Py_None
;
27116 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27117 PyObject
*resultobj
;
27118 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27120 PyObject
* obj0
= 0 ;
27121 char *kwnames
[] = {
27122 (char *) "self", NULL
27125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27130 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27132 wxPyEndAllowThreads(__tstate
);
27133 if (PyErr_Occurred()) SWIG_fail
;
27136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27144 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27147 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27149 return Py_BuildValue((char *)"");
27151 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27152 PyObject
*resultobj
;
27153 int arg1
= (int) 0 ;
27154 int arg2
= (int) 0 ;
27155 int arg3
= (int) 0 ;
27156 int arg4
= (int) 0 ;
27157 wxVideoMode
*result
;
27158 PyObject
* obj0
= 0 ;
27159 PyObject
* obj1
= 0 ;
27160 PyObject
* obj2
= 0 ;
27161 PyObject
* obj3
= 0 ;
27162 char *kwnames
[] = {
27163 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27168 arg1
= (int) SWIG_AsInt(obj0
);
27169 if (PyErr_Occurred()) SWIG_fail
;
27172 arg2
= (int) SWIG_AsInt(obj1
);
27173 if (PyErr_Occurred()) SWIG_fail
;
27176 arg3
= (int) SWIG_AsInt(obj2
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27180 arg4
= (int) SWIG_AsInt(obj3
);
27181 if (PyErr_Occurred()) SWIG_fail
;
27184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27185 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27187 wxPyEndAllowThreads(__tstate
);
27188 if (PyErr_Occurred()) SWIG_fail
;
27190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27197 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27198 PyObject
*resultobj
;
27199 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27200 PyObject
* obj0
= 0 ;
27201 char *kwnames
[] = {
27202 (char *) "self", NULL
27205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27212 wxPyEndAllowThreads(__tstate
);
27213 if (PyErr_Occurred()) SWIG_fail
;
27215 Py_INCREF(Py_None
); resultobj
= Py_None
;
27222 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27223 PyObject
*resultobj
;
27224 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27225 wxVideoMode
*arg2
= 0 ;
27227 PyObject
* obj0
= 0 ;
27228 PyObject
* obj1
= 0 ;
27229 char *kwnames
[] = {
27230 (char *) "self",(char *) "other", NULL
27233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27237 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27239 if (arg2
== NULL
) {
27240 PyErr_SetString(PyExc_TypeError
,"null reference");
27244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27245 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27247 wxPyEndAllowThreads(__tstate
);
27248 if (PyErr_Occurred()) SWIG_fail
;
27251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27259 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27260 PyObject
*resultobj
;
27261 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27263 PyObject
* obj0
= 0 ;
27264 char *kwnames
[] = {
27265 (char *) "self", NULL
27268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27273 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27275 wxPyEndAllowThreads(__tstate
);
27276 if (PyErr_Occurred()) SWIG_fail
;
27278 resultobj
= SWIG_FromInt((int)result
);
27285 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27286 PyObject
*resultobj
;
27287 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27289 PyObject
* obj0
= 0 ;
27290 char *kwnames
[] = {
27291 (char *) "self", NULL
27294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27299 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27301 wxPyEndAllowThreads(__tstate
);
27302 if (PyErr_Occurred()) SWIG_fail
;
27304 resultobj
= SWIG_FromInt((int)result
);
27311 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27312 PyObject
*resultobj
;
27313 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27315 PyObject
* obj0
= 0 ;
27316 char *kwnames
[] = {
27317 (char *) "self", NULL
27320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27325 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27327 wxPyEndAllowThreads(__tstate
);
27328 if (PyErr_Occurred()) SWIG_fail
;
27330 resultobj
= SWIG_FromInt((int)result
);
27337 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27338 PyObject
*resultobj
;
27339 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27341 PyObject
* obj0
= 0 ;
27342 char *kwnames
[] = {
27343 (char *) "self", NULL
27346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27351 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27353 wxPyEndAllowThreads(__tstate
);
27354 if (PyErr_Occurred()) SWIG_fail
;
27357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27365 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27366 PyObject
*resultobj
;
27367 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27368 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27370 PyObject
* obj0
= 0 ;
27371 PyObject
* obj1
= 0 ;
27372 char *kwnames
[] = {
27373 (char *) "self",(char *) "other", NULL
27376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27379 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27383 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27385 wxPyEndAllowThreads(__tstate
);
27386 if (PyErr_Occurred()) SWIG_fail
;
27389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27397 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27398 PyObject
*resultobj
;
27399 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27400 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27402 PyObject
* obj0
= 0 ;
27403 PyObject
* obj1
= 0 ;
27404 char *kwnames
[] = {
27405 (char *) "self",(char *) "other", NULL
27408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27415 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27417 wxPyEndAllowThreads(__tstate
);
27418 if (PyErr_Occurred()) SWIG_fail
;
27421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27429 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27430 PyObject
*resultobj
;
27431 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27433 PyObject
* obj0
= 0 ;
27434 PyObject
* obj1
= 0 ;
27435 char *kwnames
[] = {
27436 (char *) "self",(char *) "w", NULL
27439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27442 arg2
= (int) SWIG_AsInt(obj1
);
27443 if (PyErr_Occurred()) SWIG_fail
;
27444 if (arg1
) (arg1
)->w
= arg2
;
27446 Py_INCREF(Py_None
); resultobj
= Py_None
;
27453 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27454 PyObject
*resultobj
;
27455 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27457 PyObject
* obj0
= 0 ;
27458 char *kwnames
[] = {
27459 (char *) "self", NULL
27462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27465 result
= (int) ((arg1
)->w
);
27467 resultobj
= SWIG_FromInt((int)result
);
27474 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27475 PyObject
*resultobj
;
27476 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27478 PyObject
* obj0
= 0 ;
27479 PyObject
* obj1
= 0 ;
27480 char *kwnames
[] = {
27481 (char *) "self",(char *) "h", NULL
27484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27487 arg2
= (int) SWIG_AsInt(obj1
);
27488 if (PyErr_Occurred()) SWIG_fail
;
27489 if (arg1
) (arg1
)->h
= arg2
;
27491 Py_INCREF(Py_None
); resultobj
= Py_None
;
27498 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27499 PyObject
*resultobj
;
27500 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27502 PyObject
* obj0
= 0 ;
27503 char *kwnames
[] = {
27504 (char *) "self", NULL
27507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27510 result
= (int) ((arg1
)->h
);
27512 resultobj
= SWIG_FromInt((int)result
);
27519 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27520 PyObject
*resultobj
;
27521 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27523 PyObject
* obj0
= 0 ;
27524 PyObject
* obj1
= 0 ;
27525 char *kwnames
[] = {
27526 (char *) "self",(char *) "bpp", NULL
27529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27532 arg2
= (int) SWIG_AsInt(obj1
);
27533 if (PyErr_Occurred()) SWIG_fail
;
27534 if (arg1
) (arg1
)->bpp
= arg2
;
27536 Py_INCREF(Py_None
); resultobj
= Py_None
;
27543 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27544 PyObject
*resultobj
;
27545 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27547 PyObject
* obj0
= 0 ;
27548 char *kwnames
[] = {
27549 (char *) "self", NULL
27552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27555 result
= (int) ((arg1
)->bpp
);
27557 resultobj
= SWIG_FromInt((int)result
);
27564 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27565 PyObject
*resultobj
;
27566 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27568 PyObject
* obj0
= 0 ;
27569 PyObject
* obj1
= 0 ;
27570 char *kwnames
[] = {
27571 (char *) "self",(char *) "refresh", NULL
27574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27577 arg2
= (int) SWIG_AsInt(obj1
);
27578 if (PyErr_Occurred()) SWIG_fail
;
27579 if (arg1
) (arg1
)->refresh
= arg2
;
27581 Py_INCREF(Py_None
); resultobj
= Py_None
;
27588 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27589 PyObject
*resultobj
;
27590 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27592 PyObject
* obj0
= 0 ;
27593 char *kwnames
[] = {
27594 (char *) "self", NULL
27597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27600 result
= (int) ((arg1
)->refresh
);
27602 resultobj
= SWIG_FromInt((int)result
);
27609 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27612 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27614 return Py_BuildValue((char *)"");
27616 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27617 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27622 static PyObject
*_wrap_DefaultVideoMode_get() {
27625 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27630 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27631 PyObject
*resultobj
;
27632 size_t arg1
= (size_t) 0 ;
27634 PyObject
* obj0
= 0 ;
27635 char *kwnames
[] = {
27636 (char *) "index", NULL
27639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27641 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27642 if (PyErr_Occurred()) SWIG_fail
;
27645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27646 result
= (wxDisplay
*)new wxDisplay(arg1
);
27648 wxPyEndAllowThreads(__tstate
);
27649 if (PyErr_Occurred()) SWIG_fail
;
27651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27658 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27659 PyObject
*resultobj
;
27660 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27661 PyObject
* obj0
= 0 ;
27662 char *kwnames
[] = {
27663 (char *) "self", NULL
27666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27673 wxPyEndAllowThreads(__tstate
);
27674 if (PyErr_Occurred()) SWIG_fail
;
27676 Py_INCREF(Py_None
); resultobj
= Py_None
;
27683 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27684 PyObject
*resultobj
;
27686 char *kwnames
[] = {
27690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27693 result
= (size_t)wxDisplay::GetCount();
27695 wxPyEndAllowThreads(__tstate
);
27696 if (PyErr_Occurred()) SWIG_fail
;
27698 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27705 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27706 PyObject
*resultobj
;
27707 wxPoint
*arg1
= 0 ;
27710 PyObject
* obj0
= 0 ;
27711 char *kwnames
[] = {
27712 (char *) "pt", NULL
27715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27718 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27722 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27724 wxPyEndAllowThreads(__tstate
);
27725 if (PyErr_Occurred()) SWIG_fail
;
27727 resultobj
= SWIG_FromInt((int)result
);
27734 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27735 PyObject
*resultobj
;
27736 wxWindow
*arg1
= (wxWindow
*) 0 ;
27738 PyObject
* obj0
= 0 ;
27739 char *kwnames
[] = {
27740 (char *) "window", NULL
27743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27748 result
= (int)Display_GetFromWindow(arg1
);
27750 wxPyEndAllowThreads(__tstate
);
27751 if (PyErr_Occurred()) SWIG_fail
;
27753 resultobj
= SWIG_FromInt((int)result
);
27760 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27761 PyObject
*resultobj
;
27762 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27764 PyObject
* obj0
= 0 ;
27765 char *kwnames
[] = {
27766 (char *) "self", NULL
27769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27774 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27776 wxPyEndAllowThreads(__tstate
);
27777 if (PyErr_Occurred()) SWIG_fail
;
27780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27788 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27789 PyObject
*resultobj
;
27790 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27792 PyObject
* obj0
= 0 ;
27793 char *kwnames
[] = {
27794 (char *) "self", NULL
27797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
27798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27802 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
27804 wxPyEndAllowThreads(__tstate
);
27805 if (PyErr_Occurred()) SWIG_fail
;
27808 wxRect
* resultptr
;
27809 resultptr
= new wxRect((wxRect
&) result
);
27810 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
27818 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27819 PyObject
*resultobj
;
27820 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27822 PyObject
* obj0
= 0 ;
27823 char *kwnames
[] = {
27824 (char *) "self", NULL
27827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
27828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27832 result
= ((wxDisplay
const *)arg1
)->GetName();
27834 wxPyEndAllowThreads(__tstate
);
27835 if (PyErr_Occurred()) SWIG_fail
;
27839 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27841 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27850 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27851 PyObject
*resultobj
;
27852 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27854 PyObject
* obj0
= 0 ;
27855 char *kwnames
[] = {
27856 (char *) "self", NULL
27859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
27860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27864 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
27866 wxPyEndAllowThreads(__tstate
);
27867 if (PyErr_Occurred()) SWIG_fail
;
27870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27878 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27879 PyObject
*resultobj
;
27880 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27881 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27882 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27884 PyObject
* obj0
= 0 ;
27885 PyObject
* obj1
= 0 ;
27886 char *kwnames
[] = {
27887 (char *) "self",(char *) "mode", NULL
27890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
27891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27895 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27897 if (arg2
== NULL
) {
27898 PyErr_SetString(PyExc_TypeError
,"null reference");
27903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27904 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
27906 wxPyEndAllowThreads(__tstate
);
27907 if (PyErr_Occurred()) SWIG_fail
;
27909 resultobj
= result
;
27916 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27917 PyObject
*resultobj
;
27918 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27919 wxVideoMode result
;
27920 PyObject
* obj0
= 0 ;
27921 char *kwnames
[] = {
27922 (char *) "self", NULL
27925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
27926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27930 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
27932 wxPyEndAllowThreads(__tstate
);
27933 if (PyErr_Occurred()) SWIG_fail
;
27936 wxVideoMode
* resultptr
;
27937 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
27938 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
27946 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27947 PyObject
*resultobj
;
27948 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27949 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27950 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27952 PyObject
* obj0
= 0 ;
27953 PyObject
* obj1
= 0 ;
27954 char *kwnames
[] = {
27955 (char *) "self",(char *) "mode", NULL
27958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
27959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27963 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27965 if (arg2
== NULL
) {
27966 PyErr_SetString(PyExc_TypeError
,"null reference");
27971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27972 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
27974 wxPyEndAllowThreads(__tstate
);
27975 if (PyErr_Occurred()) SWIG_fail
;
27978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27986 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27987 PyObject
*resultobj
;
27988 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27989 PyObject
* obj0
= 0 ;
27990 char *kwnames
[] = {
27991 (char *) "self", NULL
27994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
27995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27999 (arg1
)->ResetMode();
28001 wxPyEndAllowThreads(__tstate
);
28002 if (PyErr_Occurred()) SWIG_fail
;
28004 Py_INCREF(Py_None
); resultobj
= Py_None
;
28011 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
28013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28014 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28016 return Py_BuildValue((char *)"");
28018 static PyMethodDef SwigMethods
[] = {
28019 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
28020 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
28021 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
28022 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
28023 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28024 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28025 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
28026 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
28027 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
28028 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28029 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
28030 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28031 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
28032 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
28033 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
28034 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
28035 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28036 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28037 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28038 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28039 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28040 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28041 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28042 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28043 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28044 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28045 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28046 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28047 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28048 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28049 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
28050 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28051 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28052 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28053 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28054 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28055 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28056 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28057 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28058 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28059 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28060 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28061 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28062 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28063 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28064 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28065 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28066 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28067 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28068 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28069 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28070 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28071 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28072 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28073 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28074 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28075 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28076 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28077 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28078 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28079 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28080 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28081 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28082 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28083 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28084 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28085 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28086 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28087 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28088 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28089 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28090 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28091 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28092 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28093 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28094 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28095 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28096 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28097 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28098 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28099 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28100 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28101 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28102 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28103 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28104 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28105 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28106 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28107 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28108 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28109 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28110 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28111 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28112 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28113 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28114 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28115 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28116 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28117 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28118 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28119 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28120 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28121 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28122 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28123 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28124 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28125 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28126 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28127 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28128 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28129 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28130 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28131 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28132 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28133 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28134 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28135 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28136 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28137 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28138 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28139 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28140 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28141 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28142 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28143 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28144 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28145 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28146 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28147 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28148 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28149 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28150 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28151 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28152 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28153 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28154 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28155 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28156 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28157 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28158 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28159 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28160 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28161 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28162 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28163 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28164 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28165 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28166 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28167 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28168 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28169 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28170 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28171 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28172 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28173 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28174 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28175 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28176 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28177 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28178 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28179 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28180 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28181 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28182 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28183 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28184 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28185 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28186 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28187 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28188 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28189 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28190 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28191 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28192 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28193 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28194 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28195 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28196 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28197 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28198 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28199 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28200 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28201 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28202 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28203 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28204 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28205 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28206 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28207 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28208 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28209 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28210 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28211 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28212 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28213 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28214 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28215 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28216 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28217 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28218 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28219 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28220 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28221 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28222 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28223 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28224 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28225 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28226 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28227 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28228 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28229 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28230 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28231 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28232 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28233 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28234 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28235 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28236 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28237 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28238 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28239 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28240 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28241 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28242 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28243 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28244 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28245 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28246 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28247 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28248 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28249 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28250 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28251 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28252 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28253 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28254 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28255 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28256 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28257 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28258 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28259 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28260 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28261 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28262 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28263 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28264 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28265 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28266 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28267 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28268 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28269 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28270 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28271 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28272 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28273 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28274 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28275 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28276 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28277 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28278 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28279 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28280 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28281 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28283 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28284 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28285 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28286 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28287 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28289 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28290 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28291 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28292 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28293 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28294 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28295 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28296 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28297 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28298 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28299 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28300 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28301 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28305 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28309 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28310 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28315 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28317 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28320 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28321 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28323 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28324 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28326 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28328 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28329 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28330 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28332 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28334 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28337 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28339 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28341 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28342 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28344 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28345 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28346 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28347 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28349 { (char *)"new_Sound", _wrap_new_Sound
, METH_VARARGS
},
28350 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28351 { (char *)"Sound_Create", _wrap_Sound_Create
, METH_VARARGS
},
28352 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"Sound_Play", _wrap_Sound_Play
, METH_VARARGS
},
28354 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound
, METH_VARARGS
},
28355 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28356 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28357 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28372 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28373 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28375 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28378 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28385 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28387 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28389 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28397 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28398 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28399 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28400 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28402 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28403 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28405 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28411 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28412 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28422 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28428 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28438 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28454 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28455 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28458 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28460 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28461 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28464 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28465 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28468 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28507 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28513 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28522 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28525 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28526 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28529 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28532 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28557 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28558 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28559 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28560 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28561 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28562 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28563 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28564 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28565 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28566 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28577 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28600 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28603 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28605 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28606 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28608 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28609 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28611 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28612 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28613 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28614 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28621 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28622 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28623 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28624 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28625 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28626 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28627 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28628 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28629 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28630 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28631 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28632 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28633 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28638 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28642 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28645 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28656 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28657 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28662 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28663 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28664 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28665 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28666 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28670 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28676 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28678 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28679 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28680 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28681 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28682 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28683 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28684 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28685 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28686 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28687 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28688 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28689 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28693 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28694 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28697 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28698 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28701 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28704 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28707 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28708 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28711 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28713 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28714 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28717 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28718 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28719 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28720 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28721 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28727 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28728 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28729 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28730 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28731 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28732 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28734 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28735 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28736 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28737 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28738 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28739 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28740 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
28741 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28742 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28743 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28744 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28746 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28748 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
28749 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28750 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28753 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28754 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28756 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
28757 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28758 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
28760 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
28761 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
28762 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
28763 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28764 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28765 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28766 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
28767 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28768 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
28769 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
28770 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28771 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
28773 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
28774 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28775 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28776 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
28777 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
28778 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
28779 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
28780 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28781 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28782 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28783 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
28784 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
28785 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
28786 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
28787 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
28788 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
28789 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
28790 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
28791 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
28792 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
28793 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
28794 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28795 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
28796 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
28797 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28798 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
28799 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
28800 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
28801 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
28802 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
28803 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
28804 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
28805 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
28810 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28812 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28813 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28815 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28816 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28818 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28819 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28821 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28822 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28824 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28825 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28827 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28828 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28830 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
28831 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
28833 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28834 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28836 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28837 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28839 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28840 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28842 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28843 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28845 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
28846 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
28848 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28849 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28851 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28852 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28854 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28855 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28857 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28858 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28860 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28861 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28863 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28864 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28866 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28867 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28869 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28870 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28872 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28873 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28875 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28876 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28878 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28879 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28881 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28882 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28884 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28885 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28887 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28888 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28890 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28891 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28893 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28894 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28896 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28897 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28899 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28900 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28902 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
28903 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
28905 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28906 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28908 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28909 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28911 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28912 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28914 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28915 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28917 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28918 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28920 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28921 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28923 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28924 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28926 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
28927 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
28929 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
28930 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
28932 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
28933 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28935 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
28936 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28938 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
28939 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
28941 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
28942 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28944 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
28945 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
28947 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
28948 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
28950 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
28951 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28953 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
28954 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
28956 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
28957 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28959 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
28960 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
28962 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
28963 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
28965 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
28966 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
28968 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
28969 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
28971 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
28972 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
28974 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
28975 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28977 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
28978 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
28980 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
28981 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28983 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
28984 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
28986 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
28987 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28989 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
28990 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
28992 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
28993 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
28995 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
28996 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
28998 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28999 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29001 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29002 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29004 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29005 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29007 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29008 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29010 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29011 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29013 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29014 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29016 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29017 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29019 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29020 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29022 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29023 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29025 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29026 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29028 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29029 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29031 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29032 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29034 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29035 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29037 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29038 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29040 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29041 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29043 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29044 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29046 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29047 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29049 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29050 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29052 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29053 return (void *)((wxObject
*) ((wxSizer
*) x
));
29055 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29056 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29058 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29059 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29061 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29062 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29064 static void *_p_wxEventTo_p_wxObject(void *x
) {
29065 return (void *)((wxObject
*) ((wxEvent
*) x
));
29067 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29068 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29070 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29071 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29073 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29074 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29076 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29077 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29079 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29080 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29082 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29083 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29085 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29086 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29088 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29089 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29091 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29092 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29094 static void *_p_wxControlTo_p_wxObject(void *x
) {
29095 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29097 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29098 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29100 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29101 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29103 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29104 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29106 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29107 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29109 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29110 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29112 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29113 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29115 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29116 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29118 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29119 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29121 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29122 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29124 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29125 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29127 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29128 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29130 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29131 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29133 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29134 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29136 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29137 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29139 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29140 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29142 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29143 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29145 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29146 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29148 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29149 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29151 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29152 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29154 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29155 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29157 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29158 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29160 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29161 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29163 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29164 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29166 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29167 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29169 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29170 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29172 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29173 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29175 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29176 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29178 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29179 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29181 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29182 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29184 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29185 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29187 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29188 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29190 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29191 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29193 static void *_p_wxImageTo_p_wxObject(void *x
) {
29194 return (void *)((wxObject
*) ((wxImage
*) x
));
29196 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29197 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29199 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29200 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29202 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29203 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29205 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29206 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29208 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29209 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29211 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29212 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29214 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29215 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29217 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29218 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29220 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29223 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29224 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29226 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29227 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29229 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29230 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29232 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29233 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29235 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29236 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29238 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29239 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29241 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29242 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29244 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29245 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29247 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29248 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29250 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29251 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29253 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29254 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29256 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29257 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29259 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29260 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29262 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29263 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29265 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29266 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29268 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29269 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29271 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29272 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29274 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29275 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29277 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29278 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29280 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29281 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29283 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29284 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29286 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29287 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29289 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29290 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29292 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29293 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29295 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29296 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29298 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29299 return (void *)((wxWindow
*) ((wxControl
*) x
));
29301 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29302 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29304 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29305 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29307 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29308 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29310 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29311 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29313 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}};
29314 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}};
29315 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}};
29316 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}};
29317 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}};
29318 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}};
29319 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}};
29320 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}};
29321 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}};
29322 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}};
29323 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}};
29324 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}};
29325 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}};
29326 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}};
29327 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}};
29328 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}};
29329 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}};
29330 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}};
29331 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}};
29332 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}};
29333 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}};
29334 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}};
29335 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}};
29336 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}};
29337 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}};
29338 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}};
29339 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}};
29340 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}};
29341 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}};
29342 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}};
29343 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}};
29344 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}};
29345 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}};
29346 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}};
29347 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}};
29348 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}};
29349 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}};
29350 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}};
29351 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}};
29352 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}};
29353 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}};
29354 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}};
29355 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}};
29356 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}};
29357 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}};
29358 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}};
29359 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}};
29360 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}};
29361 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}};
29362 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}};
29363 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}};
29364 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}};
29365 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}};
29366 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}};
29367 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}};
29368 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}};
29369 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}};
29370 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}};
29371 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}};
29372 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}};
29373 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}};
29374 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}};
29375 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}};
29376 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}};
29377 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}};
29378 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}};
29379 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}};
29380 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}};
29381 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}};
29382 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}};
29383 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}};
29384 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}};
29385 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}};
29386 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}};
29387 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}};
29388 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}};
29389 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}};
29390 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}};
29391 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}};
29392 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}};
29393 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}};
29394 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}};
29395 static swig_type_info _swigt__p_wxByte
[] = {{"_p_wxByte", 0, "wxByte *", 0, 0, 0, 0},{"_p_wxByte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29396 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}};
29397 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}};
29398 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}};
29400 static swig_type_info
*swig_types_initial
[] = {
29401 _swigt__p_wxLogChain
,
29402 _swigt__p_wxMutexGuiLocker
,
29403 _swigt__p_wxFileHistory
,
29405 _swigt__p_wxDateTime__TimeZone
,
29408 _swigt__p_wxConfigBase
,
29409 _swigt__p_wxDisplay
,
29410 _swigt__p_wxFileType
,
29411 _swigt__p_wxLogGui
,
29413 _swigt__p_wxDataFormat
,
29414 _swigt__p_wxTimerEvent
,
29418 _swigt__p_wxClipboard
,
29419 _swigt__p_wxStopWatch
,
29421 _swigt__p_wxClipboardLocker
,
29423 _swigt__p_wxLogStderr
,
29424 _swigt__p_wxLogTextCtrl
,
29425 _swigt__p_wxTextCtrl
,
29426 _swigt__p_wxBusyCursor
,
29427 _swigt__p_wxPyTextDataObject
,
29428 _swigt__p_wxBitmapDataObject
,
29429 _swigt__p_wxTextDataObject
,
29430 _swigt__p_wxDataObject
,
29431 _swigt__p_wxPyBitmapDataObject
,
29432 _swigt__p_wxFileDataObject
,
29433 _swigt__p_wxCustomDataObject
,
29434 _swigt__p_wxURLDataObject
,
29435 _swigt__p_wxMetafileDataObject
,
29437 _swigt__p_wxTimerRunner
,
29438 _swigt__p_wxLogWindow
,
29439 _swigt__p_wxTimeSpan
,
29440 _swigt__p_wxArrayString
,
29441 _swigt__p_wxWindowDisabler
,
29442 _swigt__p_wxToolTip
,
29443 _swigt__p_wxDataObjectComposite
,
29444 _swigt__p_wxFileConfig
,
29445 _swigt__p_wxSystemSettings
,
29446 _swigt__p_wxVideoMode
,
29447 _swigt__p_wxPyDataObjectSimple
,
29448 _swigt__p_wxDataObjectSimple
,
29449 _swigt__p_wxEvtHandler
,
29452 _swigt__p_wxSingleInstanceChecker
,
29453 _swigt__p_wxFileTypeInfo
,
29456 _swigt__p_wxMimeTypesManager
,
29457 _swigt__p_wxPyArtProvider
,
29458 _swigt__p_wxPyTipProvider
,
29459 _swigt__p_wxTipProvider
,
29460 _swigt__p_wxJoystick
,
29461 _swigt__p_wxSystemOptions
,
29463 _swigt__p_wxJoystickEvent
,
29464 _swigt__p_wxCursor
,
29465 _swigt__p_wxObject
,
29466 _swigt__p_wxOutputStream
,
29467 _swigt__p_wxDateTime
,
29468 _swigt__p_wxPyDropSource
,
29469 _swigt__p_wxWindow
,
29470 _swigt__p_wxString
,
29471 _swigt__p_wxPyProcess
,
29472 _swigt__p_wxBitmap
,
29473 _swigt__p_wxConfig
,
29475 _swigt__p_wxBusyInfo
,
29476 _swigt__p_wxPyDropTarget
,
29477 _swigt__p_wxPyTextDropTarget
,
29478 _swigt__p_wxPyFileDropTarget
,
29479 _swigt__p_wxProcessEvent
,
29481 _swigt__p_wxLogNull
,
29482 _swigt__p_wxColour
,
29484 _swigt__p_wxConfigPathChanger
,
29485 _swigt__p_wxPyTimer
,
29486 _swigt__p_wxDateSpan
,
29491 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29493 static swig_const_info swig_const_table
[] = {
29494 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29495 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29496 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29497 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29498 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29508 SWIGEXPORT(void) SWIG_init(void) {
29509 static PyObject
*SWIG_globals
= 0;
29510 static int typeinit
= 0;
29513 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29514 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29515 d
= PyModule_GetDict(m
);
29518 for (i
= 0; swig_types_initial
[i
]; i
++) {
29519 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29523 SWIG_InstallConstants(d
,swig_const_table
);
29525 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29526 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29527 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29528 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29529 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29530 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29531 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29532 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29533 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29534 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29535 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29536 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29537 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29538 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29539 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29540 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29541 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29542 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29543 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29544 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29545 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29546 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29547 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29548 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29549 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29550 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29551 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29552 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29553 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29554 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29555 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29556 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29557 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29558 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29559 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29560 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29561 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29562 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29563 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29564 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29565 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29566 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29567 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29568 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29569 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29570 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29571 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29572 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29573 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29574 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29575 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29576 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29577 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29578 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29579 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29580 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29581 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29582 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29583 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29584 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29585 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29586 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29587 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29588 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29589 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29590 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29591 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29592 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29593 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29594 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29595 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29596 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29597 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29598 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29599 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29600 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29601 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29602 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29603 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29604 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29605 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29606 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29607 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29608 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29609 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29610 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29611 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29612 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29613 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29614 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29615 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29616 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29617 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29618 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29619 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29620 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29621 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29622 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29623 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29624 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29625 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29626 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29627 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29628 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29629 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29630 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29631 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29632 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29633 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29634 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29635 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29636 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29637 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29638 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29639 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29640 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29641 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29642 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29643 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29644 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29645 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29646 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29647 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29648 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29649 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29650 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29651 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29652 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29653 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29654 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29655 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29656 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29657 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29658 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29659 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29660 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29661 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29662 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29663 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29664 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29665 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29666 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29667 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29668 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29669 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29670 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29671 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29672 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29673 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29674 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29676 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29678 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29679 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29680 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29681 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29682 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29683 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29684 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29685 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29686 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29687 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29688 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29689 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29690 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29691 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29692 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29693 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29694 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29695 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29696 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29697 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29698 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29699 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29700 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29701 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29702 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29703 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29704 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29705 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29706 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29707 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29708 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29709 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29710 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29711 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29712 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29713 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29714 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29715 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29716 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29717 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29718 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29719 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29720 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29721 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29722 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29723 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29724 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29725 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29726 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29727 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29728 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29729 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29730 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29731 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29732 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29733 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29734 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29735 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29737 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29739 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29740 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29741 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29742 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29743 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29744 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29745 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29746 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29747 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29748 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29749 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29750 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29751 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29752 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29753 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29754 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29755 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29756 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29757 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29758 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29759 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29760 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29761 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29762 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29763 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29764 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29765 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29766 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29767 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29768 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29769 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29770 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29771 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29772 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
29773 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
29774 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
29775 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
29776 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
29777 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
29778 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
29779 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
29780 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
29781 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
29782 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
29783 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
29784 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
29785 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
29786 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
29787 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
29788 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
29789 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
29790 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
29791 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
29792 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
29793 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
29794 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
29795 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
29796 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
29797 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
29798 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
29799 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
29800 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
29801 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
29802 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
29803 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
29804 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
29805 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
29806 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
29807 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
29808 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
29809 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
29810 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
29811 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
29812 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
29813 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
29814 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
29815 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
29816 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
29817 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
29818 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
29819 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
29820 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
29821 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
29822 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
29823 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
29824 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
29825 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
29826 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
29827 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
29828 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
29829 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
29830 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
29831 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
29832 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
29833 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
29834 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
29835 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
29836 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
29837 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
29838 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
29839 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
29840 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
29841 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
29842 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
29843 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
29844 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
29845 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
29846 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
29847 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
29848 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
29849 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
29850 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
29851 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
29852 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
29853 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
29854 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
29855 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
29856 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
29857 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
29858 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
29859 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
29860 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
29861 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
29862 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
29863 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
29864 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
29865 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
29866 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
29867 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
29868 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
29869 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
29870 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
29871 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
29872 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
29873 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
29874 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
29875 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
29876 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
29877 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
29878 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
29879 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
29880 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
29881 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
29882 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
29883 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
29884 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
29885 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
29886 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
29887 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
29888 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
29889 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
29890 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
29891 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
29892 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
29893 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
29894 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
29895 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
29896 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
29897 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
29898 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
29899 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
29900 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
29901 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
29902 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
29903 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
29904 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
29905 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
29906 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
29907 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
29908 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
29909 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
29910 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
29911 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
29912 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
29913 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
29914 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
29915 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
29916 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
29917 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
29918 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
29919 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
29920 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
29921 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
29922 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
29923 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
29924 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
29925 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
29926 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
29927 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
29928 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
29929 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
29930 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
29931 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
29932 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
29933 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
29934 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
29935 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
29936 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
29937 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
29938 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
29940 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
29941 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
29942 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
29943 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
29945 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);
29946 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);