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_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxLogChain swig_types[0]
212 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
213 #define SWIGTYPE_p_wxMetafile swig_types[2]
214 #define SWIGTYPE_p_wxFileHistory swig_types[3]
215 #define SWIGTYPE_p_wxLog swig_types[4]
216 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
217 #define SWIGTYPE_p_wxMenu swig_types[6]
218 #define SWIGTYPE_p_wxEvent swig_types[7]
219 #define SWIGTYPE_p_wxConfigBase swig_types[8]
220 #define SWIGTYPE_p_wxDisplay swig_types[9]
221 #define SWIGTYPE_p_wxFileType swig_types[10]
222 #define SWIGTYPE_p_wxLogGui swig_types[11]
223 #define SWIGTYPE_p_wxFont swig_types[12]
224 #define SWIGTYPE_p_wxDataFormat swig_types[13]
225 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
226 #define SWIGTYPE_p_wxCaret swig_types[15]
227 #define SWIGTYPE_p_int swig_types[16]
228 #define SWIGTYPE_p_wxSize swig_types[17]
229 #define SWIGTYPE_p_wxClipboard swig_types[18]
230 #define SWIGTYPE_p_wxStopWatch swig_types[19]
231 #define SWIGTYPE_p_wxDC swig_types[20]
232 #define SWIGTYPE_p_wxClipboardLocker swig_types[21]
233 #define SWIGTYPE_p_wxIcon swig_types[22]
234 #define SWIGTYPE_p_wxLogStderr swig_types[23]
235 #define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
236 #define SWIGTYPE_p_wxTextCtrl swig_types[25]
237 #define SWIGTYPE_p_wxBusyCursor swig_types[26]
238 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[27]
239 #define SWIGTYPE_p_wxPyTextDataObject swig_types[28]
240 #define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
241 #define SWIGTYPE_p_wxTextDataObject swig_types[30]
242 #define SWIGTYPE_p_wxDataObject swig_types[31]
243 #define SWIGTYPE_p_wxFileDataObject swig_types[32]
244 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
245 #define SWIGTYPE_p_wxURLDataObject swig_types[34]
246 #define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
247 #define SWIGTYPE_p_wxSound swig_types[36]
248 #define SWIGTYPE_p_wxTimerRunner swig_types[37]
249 #define SWIGTYPE_p_wxLogWindow swig_types[38]
250 #define SWIGTYPE_p_wxTimeSpan swig_types[39]
251 #define SWIGTYPE_p_wxArrayString swig_types[40]
252 #define SWIGTYPE_p_wxWindowDisabler swig_types[41]
253 #define SWIGTYPE_p_wxToolTip swig_types[42]
254 #define SWIGTYPE_p_wxDataObjectComposite swig_types[43]
255 #define SWIGTYPE_p_wxFileConfig swig_types[44]
256 #define SWIGTYPE_p_wxSystemSettings swig_types[45]
257 #define SWIGTYPE_p_wxVideoMode swig_types[46]
258 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[47]
259 #define SWIGTYPE_p_wxDataObjectSimple swig_types[48]
260 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
261 #define SWIGTYPE_p_wxRect swig_types[50]
262 #define SWIGTYPE_p_char swig_types[51]
263 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[52]
264 #define SWIGTYPE_p_wxStandardPaths swig_types[53]
265 #define SWIGTYPE_p_wxFileTypeInfo swig_types[54]
266 #define SWIGTYPE_p_wxFrame swig_types[55]
267 #define SWIGTYPE_p_wxTimer swig_types[56]
268 #define SWIGTYPE_p_wxMimeTypesManager swig_types[57]
269 #define SWIGTYPE_p_wxPyArtProvider swig_types[58]
270 #define SWIGTYPE_p_wxPyTipProvider swig_types[59]
271 #define SWIGTYPE_p_wxTipProvider swig_types[60]
272 #define SWIGTYPE_p_wxJoystick swig_types[61]
273 #define SWIGTYPE_p_wxSystemOptions swig_types[62]
274 #define SWIGTYPE_p_wxPoint swig_types[63]
275 #define SWIGTYPE_p_wxJoystickEvent swig_types[64]
276 #define SWIGTYPE_p_wxCursor swig_types[65]
277 #define SWIGTYPE_p_wxObject swig_types[66]
278 #define SWIGTYPE_p_wxOutputStream swig_types[67]
279 #define SWIGTYPE_p_wxDateTime swig_types[68]
280 #define SWIGTYPE_p_wxPyDropSource swig_types[69]
281 #define SWIGTYPE_p_wxWindow swig_types[70]
282 #define SWIGTYPE_p_wxString swig_types[71]
283 #define SWIGTYPE_p_wxPyProcess swig_types[72]
284 #define SWIGTYPE_p_wxBitmap swig_types[73]
285 #define SWIGTYPE_p_wxConfig swig_types[74]
286 #define SWIGTYPE_p_wxChar swig_types[75]
287 #define SWIGTYPE_p_wxBusyInfo swig_types[76]
288 #define SWIGTYPE_p_wxPyDropTarget swig_types[77]
289 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[78]
290 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[79]
291 #define SWIGTYPE_p_wxProcessEvent swig_types[80]
292 #define SWIGTYPE_p_wxPyLog swig_types[81]
293 #define SWIGTYPE_p_wxLogNull swig_types[82]
294 #define SWIGTYPE_p_wxColour swig_types[83]
295 #define SWIGTYPE_p_wxConfigPathChanger swig_types[84]
296 #define SWIGTYPE_p_wxPyTimer swig_types[85]
297 #define SWIGTYPE_p_wxDateSpan swig_types[86]
298 static swig_type_info
*swig_types
[88];
300 /* -------- TYPES TABLE (END) -------- */
303 /*-----------------------------------------------
304 @(target):= _misc_.so
305 ------------------------------------------------*/
306 #define SWIG_init init_misc_
308 #define SWIG_name "_misc_"
310 /* Auxiliar swig macros that appear in the header */
312 #define SWIG_OLDOBJ 1
313 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
314 #define SWIG_PYSTR SWIG_NEWOBJ + 1
317 #define SWIGSTATICINLINE(a) static inline a
318 #define SWIGSTATIC(a) static a
319 #define swig_new_array(size,Type) (new Type[(size)])
320 #define swig_delete(cptr) delete cptr
321 #define swig_delete_array(cptr) delete[] cptr
322 #define swig_const_cast(a,Type) const_cast<Type >(a)
323 #define swig_static_cast(a,Type) static_cast<Type >(a)
324 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
325 #define swig_new_copy(ptr,Type) (new Type(*ptr))
326 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
330 #define SWIGSTATICINLINE(a) static a
331 #define SWIGSTATIC(a) static a
332 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
333 #define swig_delete(cptr) free((char*)cptr)
334 #define swig_delete_array(cptr) free((char*)cptr)
335 #define swig_const_cast(a,Type) (Type)(a)
336 #define swig_static_cast(a,Type) (Type)(a)
337 #define swig_reinterpret_cast(a,Type) (Type)(a)
338 #define swig_numeric_cast(a,Type) (Type)(a)
339 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
341 #endif /* __cplusplus */
344 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
345 #define SWIG_From_signed_SS_char PyInt_FromLong
347 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
348 #define SWIG_From_unsigned_SS_char PyInt_FromLong
350 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
351 #define SWIG_From_short PyInt_FromLong
353 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
354 #define SWIG_From_unsigned_SS_short PyInt_FromLong
356 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
357 #define SWIG_From_int PyInt_FromLong
359 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
360 #define SWIG_From_long PyInt_FromLong
362 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
363 #define SWIG_From_float PyFloat_FromDouble
365 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
366 #define SWIG_From_double PyFloat_FromDouble
370 #include "wx/wxPython/wxPython.h"
371 #include "wx/wxPython/pyclasses.h"
372 #include "wx/wxPython/pyistream.h"
374 static const wxString
wxPyEmptyString(wxEmptyString
);
381 SWIGSTATICINLINE(int)
382 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
385 if (value
< min_value
) {
387 PyErr_Format(PyExc_OverflowError
,
388 "value %ld is less than '%s' minimum %ld",
389 value
, errmsg
, min_value
);
392 } else if (value
> max_value
) {
394 PyErr_Format(PyExc_OverflowError
,
395 "value %ld is greater than '%s' maximum %ld",
396 value
, errmsg
, max_value
);
404 // See my_fragments.i
405 SWIGSTATICINLINE(int)
406 SWIG_AsVal_long(PyObject
* obj
, long* val
)
408 if (PyNumber_Check(obj
)) {
409 if (val
) *val
= PyInt_AsLong(obj
);
413 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
414 obj
->ob_type
->tp_name
);
415 PyErr_SetObject(PyExc_TypeError
, errmsg
);
422 #if INT_MAX != LONG_MAX
423 SWIGSTATICINLINE(int)
424 SWIG_AsVal_int(PyObject
*obj
, int *val
)
426 const char* errmsg
= val
? "int" : 0;
428 if (SWIG_AsVal_long(obj
, &v
)) {
429 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
430 if (val
) *val
= swig_numeric_cast(v
, int);
439 PyErr_SetString(PyExc_TypeError
, "an int is expected");
444 SWIGSTATICINLINE(int)
445 SWIG_AsVal_int(PyObject
*obj
, int *val
)
447 return SWIG_AsVal_long(obj
,(long*)val
);
452 SWIGSTATICINLINE(int)
453 SWIG_As_int(PyObject
* obj
)
456 if (!SWIG_AsVal_int(obj
, &v
)) {
458 this is needed to make valgrind/purify happier. the other
459 solution is throw an exception, but since this code should work
462 memset((void*)&v
, 0, sizeof(int));
468 SWIGSTATICINLINE(int)
469 SWIG_Check_int(PyObject
* obj
)
471 return SWIG_AsVal_int(obj
, (int*)0);
474 static const wxString
wxPyWINDOW_DEFAULT_VARIANT(wxWINDOW_DEFAULT_VARIANT
);
476 #include <wx/stockitem.h>
478 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
479 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
480 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
482 SWIGSTATICINLINE(long)
483 SWIG_As_long(PyObject
* obj
)
486 if (!SWIG_AsVal_long(obj
, &v
)) {
488 this is needed to make valgrind/purify happier. the other
489 solution is throw an exception, but since this code should work
492 memset((void*)&v
, 0, sizeof(long));
498 SWIGSTATICINLINE(int)
499 SWIG_Check_long(PyObject
* obj
)
501 return SWIG_AsVal_long(obj
, (long*)0);
505 SWIGSTATICINLINE(int)
506 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
508 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
509 if (obj
== Py_True
) {
510 if (val
) *val
= true;
513 if (obj
== Py_False
) {
514 if (val
) *val
= false;
518 if (SWIG_AsVal_int(obj
, &res
)) {
519 if (val
) *val
= (bool)res
;
523 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
529 SWIGSTATICINLINE(bool)
530 SWIG_As_bool(PyObject
* obj
)
533 if (!SWIG_AsVal_bool(obj
, &v
)) {
535 this is needed to make valgrind/purify happier. the other
536 solution is throw an exception, but since this code should work
539 memset((void*)&v
, 0, sizeof(bool));
545 SWIGSTATICINLINE(int)
546 SWIG_Check_bool(PyObject
* obj
)
548 return SWIG_AsVal_bool(obj
, (bool*)0);
552 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
558 } else if (target
== Py_None
) {
562 if (!PyTuple_Check(target
)) {
564 target
= PyTuple_New(1);
565 PyTuple_SetItem(target
, 0, o2
);
568 PyTuple_SetItem(o3
, 0, o
);
571 target
= PySequence_Concat(o2
, o3
);
580 // See my_fragments.i
581 SWIGSTATICINLINE(int)
582 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
585 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
586 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
590 *val
= (unsigned long)v
;
595 SWIGSTATICINLINE(unsigned long)
596 SWIG_As_unsigned_SS_long(PyObject
* obj
)
599 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
601 this is needed to make valgrind/purify happier. the other
602 solution is throw an exception, but since this code should work
605 memset((void*)&v
, 0, sizeof(unsigned long));
611 SWIGSTATICINLINE(int)
612 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
614 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
618 SWIGSTATICINLINE(PyObject
* )
619 SWIG_From_unsigned_SS_long(unsigned long value
)
621 return (value
> LONG_MAX
) ?
622 PyLong_FromUnsignedLong(value
)
623 : PyInt_FromLong(swig_numeric_cast(value
,long));
627 bool wxThread_IsMain() {
628 #ifdef WXP_WITH_THREAD
629 return wxThread::IsMain();
636 int wxCaret_GetBlinkTime() {
637 return wxCaret::GetBlinkTime();
640 void wxCaret_SetBlinkTime(int milliseconds
) {
641 wxCaret::SetBlinkTime(milliseconds
);
645 #include <wx/snglinst.h>
649 #include <wx/msw/private.h>
650 #include <wx/dynload.h>
655 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
662 // This one only partially works. Appears to be an undocumented
663 // "standard" convention that not all widgets adhear to. For
664 // example, for some widgets backgrounds or non-client areas may
666 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
670 // This one works much better, except for on XP. On Win2k nearly
671 // all widgets and their children are captured correctly[**]. On
672 // XP with Themes activated most native widgets draw only
673 // partially, if at all. Without themes it works just like on
676 // ** For example the radio buttons in a wxRadioBox are not its
677 // children by default, but you can capture it via the panel
678 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
679 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
680 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
681 PRF_ERASEBKGND
| PRF_OWNED
);
685 // This one is only defined in the latest SDK and is only
686 // available on XP. MSDN says it is similar to sending WM_PRINT
687 // so I expect that it will work similar to the above. Since it
688 // is avaialble only on XP, it can't be compiled like this and
689 // will have to be loaded dynamically.
690 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
695 // Use PrintWindow if available, or fallback to WM_PRINT
696 // otherwise. Unfortunately using PrintWindow is even worse than
697 // WM_PRINT. For most native widgets nothing is drawn to the dc
698 // at all, with or without Themes.
699 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
700 static bool s_triedToLoad
= false;
701 static PrintWindow_t pfnPrintWindow
= NULL
;
702 if ( !s_triedToLoad
)
705 s_triedToLoad
= true;
706 wxDynamicLibrary
dllUser32(_T("user32.dll"));
707 if ( dllUser32
.IsLoaded() )
709 wxLogNull nolog
; // Don't report errors here
710 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
715 printf("Using PrintWindow\n");
716 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
720 printf("Using WM_PRINT\n");
721 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
722 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
730 #include <wx/tipdlg.h>
733 class wxPyTipProvider
: public wxTipProvider
{
735 wxPyTipProvider(size_t currentTip
)
736 : wxTipProvider(currentTip
) {}
738 DEC_PYCALLBACK_STRING__pure(GetTip
);
739 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
743 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
744 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
747 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
749 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
751 void wxPyTimer::Notify() {
753 bool blocked
= wxPyBeginBlockThreads();
754 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
755 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
756 wxPyEndBlockThreads(blocked
);
760 void wxPyTimer::base_Notify() {
766 SWIGSTATICINLINE(PyObject
*)
767 SWIG_FromCharPtr(const char* cptr
)
770 size_t size
= strlen(cptr
);
771 if (size
> INT_MAX
) {
772 return SWIG_NewPointerObj(swig_const_cast(cptr
,char*),
773 SWIG_TypeQuery("char *"), 0);
776 return PyString_FromStringAndSize(cptr
, size
);
778 return PyString_FromString(cptr
);
787 SWIGSTATICINLINE(int)
788 SWIG_CheckUnsignedLongInRange(unsigned long value
,
789 unsigned long max_value
,
792 if (value
> max_value
) {
794 PyErr_Format(PyExc_OverflowError
,
795 "value %ld is greater than '%s' minimum %ld",
796 value
, errmsg
, max_value
);
804 #if UINT_MAX != ULONG_MAX
805 SWIGSTATICINLINE(int)
806 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
808 const char* errmsg
= val
? "unsigned int" : 0;
810 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
811 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
812 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
819 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
824 SWIGSTATICINLINE(unsigned int)
825 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
827 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
832 SWIGSTATICINLINE(unsigned int)
833 SWIG_As_unsigned_SS_int(PyObject
* obj
)
836 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
838 this is needed to make valgrind/purify happier. the other
839 solution is throw an exception, but since this code should work
842 memset((void*)&v
, 0, sizeof(unsigned int));
848 SWIGSTATICINLINE(int)
849 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
851 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
854 wxString
Log_TimeStamp(){
856 wxLog::TimeStamp(&msg
);
859 void wxLog_Destroy(wxLog
*self
){ delete self
; }
861 // A wxLog class that can be derived from in wxPython
862 class wxPyLog
: public wxLog
{
864 wxPyLog() : wxLog() {}
866 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
868 bool blocked
= wxPyBeginBlockThreads();
869 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
870 PyObject
* s
= wx2PyString(szString
);
871 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
874 wxPyEndBlockThreads(blocked
);
876 wxLog::DoLog(level
, szString
, t
);
879 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
881 bool blocked
= wxPyBeginBlockThreads();
882 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
883 PyObject
* s
= wx2PyString(szString
);
884 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
887 wxPyEndBlockThreads(blocked
);
889 wxLog::DoLogString(szString
, t
);
898 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
901 #include <wx/joystick.h>
904 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
905 // A C++ stub class for wxJoystick for platforms that don't have it.
906 class wxJoystick
: public wxObject
{
908 wxJoystick(int joystick
= wxJOYSTICK1
) {
909 bool blocked
= wxPyBeginBlockThreads();
910 PyErr_SetString(PyExc_NotImplementedError
,
911 "wxJoystick is not available on this platform.");
912 wxPyEndBlockThreads(blocked
);
914 wxPoint
GetPosition() { return wxPoint(-1,-1); }
915 int GetZPosition() { return -1; }
916 int GetButtonState() { return -1; }
917 int GetPOVPosition() { return -1; }
918 int GetPOVCTSPosition() { return -1; }
919 int GetRudderPosition() { return -1; }
920 int GetUPosition() { return -1; }
921 int GetVPosition() { return -1; }
922 int GetMovementThreshold() { return -1; }
923 void SetMovementThreshold(int threshold
) {}
925 bool IsOk(void) { return false; }
926 int GetNumberJoysticks() { return -1; }
927 int GetManufacturerId() { return -1; }
928 int GetProductId() { return -1; }
929 wxString
GetProductName() { return wxEmptyString
; }
930 int GetXMin() { return -1; }
931 int GetYMin() { return -1; }
932 int GetZMin() { return -1; }
933 int GetXMax() { return -1; }
934 int GetYMax() { return -1; }
935 int GetZMax() { return -1; }
936 int GetNumberButtons() { return -1; }
937 int GetNumberAxes() { return -1; }
938 int GetMaxButtons() { return -1; }
939 int GetMaxAxes() { return -1; }
940 int GetPollingMin() { return -1; }
941 int GetPollingMax() { return -1; }
942 int GetRudderMin() { return -1; }
943 int GetRudderMax() { return -1; }
944 int GetUMin() { return -1; }
945 int GetUMax() { return -1; }
946 int GetVMin() { return -1; }
947 int GetVMax() { return -1; }
949 bool HasRudder() { return false; }
950 bool HasZ() { return false; }
951 bool HasU() { return false; }
952 bool HasV() { return false; }
953 bool HasPOV() { return false; }
954 bool HasPOV4Dir() { return false; }
955 bool HasPOVCTS() { return false; }
957 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return false; }
958 bool ReleaseCapture() { return false; }
963 #include <wx/sound.h>
967 // A C++ stub class for wxWave for platforms that don't have it.
968 class wxSound
: public wxObject
972 bool blocked
= wxPyBeginBlockThreads();
973 PyErr_SetString(PyExc_NotImplementedError
,
974 "wxSound is not available on this platform.");
975 wxPyEndBlockThreads(blocked
);
977 wxSound(const wxString
&/*, bool*/) {
978 bool blocked
= wxPyBeginBlockThreads();
979 PyErr_SetString(PyExc_NotImplementedError
,
980 "wxSound is not available on this platform.");
981 wxPyEndBlockThreads(blocked
);
983 wxSound(int, const wxByte
*) {
984 bool blocked
= wxPyBeginBlockThreads();
985 PyErr_SetString(PyExc_NotImplementedError
,
986 "wxSound is not available on this platform.");
987 wxPyEndBlockThreads(blocked
);
992 bool Create(const wxString
&/*, bool*/) { return false; }
993 bool Create(int, const wxByte
*) { return false; };
994 bool IsOk() { return false; };
995 bool Play(unsigned) const { return false; }
996 static bool Play(const wxString
&, unsigned) { return false; }
997 static void Stop() {}
1002 wxSound
*new_wxSound(wxString
const &fileName
){
1003 if (fileName
.Length() == 0)
1006 return new wxSound(fileName
);
1008 wxSound
*new_wxSound(PyObject
*data
){
1009 unsigned char* buffer
; int size
;
1010 wxSound
*sound
= NULL
;
1012 bool blocked
= wxPyBeginBlockThreads();
1013 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1015 sound
= new wxSound(size
, buffer
);
1017 wxPyEndBlockThreads(blocked
);
1020 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
1022 unsigned char* buffer
;
1026 bool blocked
= wxPyBeginBlockThreads();
1027 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1029 rv
= self
->Create(size
, buffer
);
1031 wxPyEndBlockThreads(blocked
);
1034 bool blocked
= wxPyBeginBlockThreads();
1035 PyErr_SetString(PyExc_NotImplementedError
,
1036 "Create from data is not available on this platform.");
1037 wxPyEndBlockThreads(blocked
);
1042 #include <wx/mimetype.h>
1044 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
1046 if (self
->GetMimeType(&str
))
1047 return wx2PyString(str
);
1051 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
1053 if (self
->GetMimeTypes(arr
))
1054 return wxArrayString2PyList_helper(arr
);
1058 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
1060 if (self
->GetExtensions(arr
))
1061 return wxArrayString2PyList_helper(arr
);
1065 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
1067 if (self
->GetIcon(&loc
))
1068 return new wxIcon(loc
);
1072 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
1074 if (self
->GetIcon(&loc
)) {
1075 wxString iconFile
= loc
.GetFileName();
1078 iconIndex
= loc
.GetIndex();
1080 // Make a tuple and put the values in it
1081 bool blocked
= wxPyBeginBlockThreads();
1082 PyObject
* tuple
= PyTuple_New(3);
1083 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
1084 wxT("wxIcon"), true));
1085 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
1086 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
1087 wxPyEndBlockThreads(blocked
);
1093 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
1095 if (self
->GetDescription(&str
))
1096 return wx2PyString(str
);
1100 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1102 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
1103 return wx2PyString(str
);
1107 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1109 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
1110 return wx2PyString(str
);
1114 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
1115 wxArrayString verbs
;
1116 wxArrayString commands
;
1117 if (self
->GetAllCommands(&verbs
, &commands
,
1118 wxFileType::MessageParameters(filename
, mimetype
))) {
1119 bool blocked
= wxPyBeginBlockThreads();
1120 PyObject
* tuple
= PyTuple_New(2);
1121 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
1122 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
1123 wxPyEndBlockThreads(blocked
);
1129 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1130 return wxFileType::ExpandCommand(command
,
1131 wxFileType::MessageParameters(filename
, mimetype
));
1133 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1135 self
->EnumAllFileTypes(arr
);
1136 return wxArrayString2PyList_helper(arr
);
1139 #include <wx/artprov.h>
1141 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1142 static const wxString
wxPyART_MENU(wxART_MENU
);
1143 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1144 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1145 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1146 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1147 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
1148 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1149 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1150 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1151 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1152 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1153 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1154 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1155 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1156 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1157 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1158 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1159 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1160 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1161 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1162 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1163 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1164 static const wxString
wxPyART_HELP(wxART_HELP
);
1165 static const wxString
wxPyART_TIP(wxART_TIP
);
1166 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1167 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1168 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1169 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1170 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1171 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1172 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1173 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1174 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1175 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1176 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1177 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1178 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1179 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1180 // Python aware wxArtProvider
1181 class wxPyArtProvider
: public wxArtProvider
{
1184 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1185 const wxArtClient
& client
,
1186 const wxSize
& size
) {
1187 wxBitmap rval
= wxNullBitmap
;
1188 bool blocked
= wxPyBeginBlockThreads();
1189 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1190 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1194 s1
= wx2PyString(id
);
1195 s2
= wx2PyString(client
);
1196 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1201 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1206 wxPyEndBlockThreads(blocked
);
1213 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1217 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1218 PyObject
* ret
= PyTuple_New(3);
1220 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1221 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1222 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1227 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1232 cont
= self
->GetFirstGroup(value
, index
);
1233 return __EnumerationHelper(cont
, value
, index
);
1235 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1239 cont
= self
->GetNextGroup(value
, index
);
1240 return __EnumerationHelper(cont
, value
, index
);
1242 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1247 cont
= self
->GetFirstEntry(value
, index
);
1248 return __EnumerationHelper(cont
, value
, index
);
1250 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1254 cont
= self
->GetNextEntry(value
, index
);
1255 return __EnumerationHelper(cont
, value
, index
);
1257 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1259 self
->Read(key
, &rv
, defaultVal
);
1263 // See my_fragments.i
1264 SWIGSTATICINLINE(int)
1265 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1267 if (PyNumber_Check(obj
)) {
1268 if (val
) *val
= PyFloat_AsDouble(obj
);
1272 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1273 obj
->ob_type
->tp_name
);
1274 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1281 SWIGSTATICINLINE(double)
1282 SWIG_As_double(PyObject
* obj
)
1285 if (!SWIG_AsVal_double(obj
, &v
)) {
1287 this is needed to make valgrind/purify happier. the other
1288 solution is throw an exception, but since this code should work
1291 memset((void*)&v
, 0, sizeof(double));
1297 SWIGSTATICINLINE(int)
1298 SWIG_Check_double(PyObject
* obj
)
1300 return SWIG_AsVal_double(obj
, (double*)0);
1303 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1305 self
->Read(key
, &rv
, defaultVal
);
1308 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1310 self
->Read(key
, &rv
, defaultVal
);
1314 #include <wx/datetime.h>
1317 static const wxString
wxPyDateFormatStr(wxT("%c"));
1318 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1320 #define LOCAL_TZ wxDateTime::Local
1323 #if UINT_MAX < LONG_MAX
1324 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
1325 #define SWIG_From_unsigned_SS_int SWIG_From_long
1328 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
1329 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1333 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1334 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1335 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1336 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1337 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1338 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1339 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1340 return (*self
< *other
);
1342 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1343 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1344 return (*self
<= *other
);
1346 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1347 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1348 return (*self
> *other
);
1350 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1351 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1352 return (*self
>= *other
);
1354 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1355 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1356 return (*self
== *other
);
1358 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1359 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1360 return (*self
!= *other
);
1362 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1364 const wxChar
* _date
= date
;
1365 rv
= self
->ParseRfc822Date(_date
);
1366 if (rv
== NULL
) return -1;
1369 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1371 const wxChar
* _date
= date
;
1372 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1373 if (rv
== NULL
) return -1;
1376 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1378 const wxChar
* _datetime
= datetime
;
1379 rv
= self
->ParseDateTime(_datetime
);
1380 if (rv
== NULL
) return -1;
1381 return rv
- _datetime
;
1383 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1385 const wxChar
* _date
= date
;
1386 rv
= self
->ParseDate(_date
);
1387 if (rv
== NULL
) return -1;
1390 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1392 const wxChar
* _time
= time
;
1393 rv
= self
->ParseTime(_time
);
1394 if (rv
== NULL
) return -1;
1397 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1398 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1399 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1400 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1401 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : false; }
1402 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : false; }
1403 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : true; }
1404 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : true; }
1405 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : false; }
1406 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : true; }
1407 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1408 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1409 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1410 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1411 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : false; }
1412 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : true; }
1414 #include <wx/dataobj.h>
1416 PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
){
1417 size_t count
= self
->GetFormatCount(dir
);
1418 wxDataFormat
* formats
= new wxDataFormat
[count
];
1419 self
->GetAllFormats(formats
, dir
);
1421 bool blocked
= wxPyBeginBlockThreads();
1422 PyObject
* list
= PyList_New(count
);
1423 for (size_t i
=0; i
<count
; i
++) {
1424 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
1425 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), true);
1426 PyList_Append(list
, obj
);
1429 wxPyEndBlockThreads(blocked
);
1433 PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
1434 PyObject
* rval
= NULL
;
1435 size_t size
= self
->GetDataSize(format
);
1436 bool blocked
= wxPyBeginBlockThreads();
1438 char* buf
= new char[size
];
1439 if (self
->GetDataHere(format
, buf
))
1440 rval
= PyString_FromStringAndSize(buf
, size
);
1447 wxPyEndBlockThreads(blocked
);
1450 bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
1452 bool blocked
= wxPyBeginBlockThreads();
1453 if (PyString_Check(data
)) {
1454 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
1457 // raise a TypeError if not a string
1458 PyErr_SetString(PyExc_TypeError
, "String expected.");
1461 wxPyEndBlockThreads(blocked
);
1464 PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
1465 PyObject
* rval
= NULL
;
1466 size_t size
= self
->GetDataSize();
1467 bool blocked
= wxPyBeginBlockThreads();
1469 char* buf
= new char[size
];
1470 if (self
->GetDataHere(buf
))
1471 rval
= PyString_FromStringAndSize(buf
, size
);
1478 wxPyEndBlockThreads(blocked
);
1481 bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
1483 bool blocked
= wxPyBeginBlockThreads();
1484 if (PyString_Check(data
)) {
1485 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1488 // raise a TypeError if not a string
1489 PyErr_SetString(PyExc_TypeError
, "String expected.");
1492 wxPyEndBlockThreads(blocked
);
1495 // Create a new class for wxPython to use
1496 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1498 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1499 : wxDataObjectSimple(format
) {}
1501 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1502 bool GetDataHere(void *buf
) const;
1503 bool SetData(size_t len
, const void *buf
) const;
1507 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1509 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1510 // We need to get the data for this object and write it to buf. I think
1511 // the best way to do this for wxPython is to have the Python method
1512 // return either a string or None and then act appropriately with the
1516 bool blocked
= wxPyBeginBlockThreads();
1517 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1519 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1521 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1523 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1527 wxPyEndBlockThreads(blocked
);
1531 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1532 // For this one we simply need to make a string from buf and len
1533 // and send it to the Python method.
1535 bool blocked
= wxPyBeginBlockThreads();
1536 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1537 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1538 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1541 wxPyEndBlockThreads(blocked
);
1545 // Create a new class for wxPython to use
1546 class wxPyTextDataObject
: public wxTextDataObject
{
1548 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1549 : wxTextDataObject(text
) {}
1551 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1552 DEC_PYCALLBACK_STRING__const(GetText
);
1553 DEC_PYCALLBACK__STRING(SetText
);
1557 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1558 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1559 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1562 // Create a new class for wxPython to use
1563 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1565 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1566 : wxBitmapDataObject(bitmap
) {}
1568 wxBitmap
GetBitmap() const;
1569 void SetBitmap(const wxBitmap
& bitmap
);
1573 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1574 wxBitmap
* rval
= &wxNullBitmap
;
1575 bool blocked
= wxPyBeginBlockThreads();
1576 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1579 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1581 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1586 wxPyEndBlockThreads(blocked
);
1590 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1591 bool blocked
= wxPyBeginBlockThreads();
1592 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1593 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
1594 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1597 wxPyEndBlockThreads(blocked
);
1600 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1602 bool blocked
= wxPyBeginBlockThreads();
1603 if (PyString_Check(data
)) {
1604 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1607 // raise a TypeError if not a string
1608 PyErr_SetString(PyExc_TypeError
, "String expected.");
1611 wxPyEndBlockThreads(blocked
);
1614 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1616 bool blocked
= wxPyBeginBlockThreads();
1617 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1618 wxPyEndBlockThreads(blocked
);
1622 #include <wx/metafile.h>
1625 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1628 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1629 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1630 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1631 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1632 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1635 class wxPyTextDropTarget
: public wxTextDropTarget
{
1637 wxPyTextDropTarget() {}
1639 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1641 DEC_PYCALLBACK__(OnLeave
);
1642 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1643 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1644 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1645 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1650 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1651 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1652 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1653 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1654 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1655 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1659 class wxPyFileDropTarget
: public wxFileDropTarget
{
1661 wxPyFileDropTarget() {}
1663 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1665 DEC_PYCALLBACK__(OnLeave
);
1666 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1667 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1668 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1669 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1674 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1675 const wxArrayString
& filenames
) {
1677 bool blocked
= wxPyBeginBlockThreads();
1678 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1679 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1680 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1683 wxPyEndBlockThreads(blocked
);
1689 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1690 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1691 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1692 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1693 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1698 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1700 #include <wx/display.h>
1702 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : false; }
1703 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : true; }
1705 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1707 #include <wx/dynarray.h>
1708 #include <wx/vidmode.h>
1710 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
1711 #include "wx/arrimpl.cpp"
1712 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
1713 const wxVideoMode wxDefaultVideoMode
;
1718 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
1721 static size_t GetCount()
1722 { wxPyRaiseNotImplemented(); return 0; }
1724 static int GetFromPoint(const wxPoint
& pt
)
1725 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1726 static int GetFromWindow(wxWindow
*window
)
1727 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1729 virtual bool IsOk() const { return false; }
1730 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
1731 virtual wxString
GetName() const { return wxEmptyString
; }
1732 bool IsPrimary() const { return false; }
1734 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1735 { wxArrayVideoModes a
; return a
; }
1737 virtual wxVideoMode
GetCurrentMode() const
1738 { return wxDefaultVideoMode
; }
1740 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1747 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1748 PyObject
* pyList
= NULL
;
1749 wxArrayVideoModes arr
= self
->GetModes(mode
);
1750 bool blocked
= wxPyBeginBlockThreads();
1751 pyList
= PyList_New(0);
1752 for (int i
=0; i
< arr
.GetCount(); i
++) {
1753 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1754 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1755 PyList_Append(pyList
, pyObj
);
1758 wxPyEndBlockThreads(blocked
);
1762 #include <wx/stdpaths.h>
1764 void wxStandardPaths_SetInstallPrefix(wxStandardPaths
*self
,wxString
const &prefix
){}
1765 wxString
wxStandardPaths_GetInstallPrefix(wxStandardPaths
*self
){ return wxEmptyString
; }
1769 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1770 PyObject
*resultobj
;
1773 PyObject
* obj0
= 0 ;
1775 (char *) "index", NULL
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1779 arg1
= (int)SWIG_As_int(obj0
);
1780 if (PyErr_Occurred()) SWIG_fail
;
1782 if (!wxPyCheckForApp()) SWIG_fail
;
1783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1784 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1786 wxPyEndAllowThreads(__tstate
);
1787 if (PyErr_Occurred()) SWIG_fail
;
1790 wxColour
* resultptr
;
1791 resultptr
= new wxColour((wxColour
&) result
);
1792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1800 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1801 PyObject
*resultobj
;
1804 PyObject
* obj0
= 0 ;
1806 (char *) "index", NULL
1809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1810 arg1
= (int)SWIG_As_int(obj0
);
1811 if (PyErr_Occurred()) SWIG_fail
;
1813 if (!wxPyCheckForApp()) SWIG_fail
;
1814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1815 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1817 wxPyEndAllowThreads(__tstate
);
1818 if (PyErr_Occurred()) SWIG_fail
;
1822 resultptr
= new wxFont((wxFont
&) result
);
1823 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1831 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
*resultobj
;
1835 PyObject
* obj0
= 0 ;
1837 (char *) "index", NULL
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1841 arg1
= (int)SWIG_As_int(obj0
);
1842 if (PyErr_Occurred()) SWIG_fail
;
1844 if (!wxPyCheckForApp()) SWIG_fail
;
1845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1846 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1848 wxPyEndAllowThreads(__tstate
);
1849 if (PyErr_Occurred()) SWIG_fail
;
1851 resultobj
= SWIG_From_int((int)result
);
1858 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1859 PyObject
*resultobj
;
1862 PyObject
* obj0
= 0 ;
1864 (char *) "index", NULL
1867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1868 arg1
= (int)SWIG_As_int(obj0
);
1869 if (PyErr_Occurred()) SWIG_fail
;
1871 if (!wxPyCheckForApp()) SWIG_fail
;
1872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1873 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1875 wxPyEndAllowThreads(__tstate
);
1876 if (PyErr_Occurred()) SWIG_fail
;
1879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1887 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1888 PyObject
*resultobj
;
1894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1896 if (!wxPyCheckForApp()) SWIG_fail
;
1897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1898 result
= (int)wxSystemSettings::GetScreenType();
1900 wxPyEndAllowThreads(__tstate
);
1901 if (PyErr_Occurred()) SWIG_fail
;
1903 resultobj
= SWIG_From_int((int)result
);
1910 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
*resultobj
;
1913 PyObject
* obj0
= 0 ;
1915 (char *) "screen", NULL
1918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1919 arg1
= (int)SWIG_As_int(obj0
);
1920 if (PyErr_Occurred()) SWIG_fail
;
1922 if (!wxPyCheckForApp()) SWIG_fail
;
1923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1924 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1926 wxPyEndAllowThreads(__tstate
);
1927 if (PyErr_Occurred()) SWIG_fail
;
1929 Py_INCREF(Py_None
); resultobj
= Py_None
;
1936 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
1938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1939 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1941 return Py_BuildValue((char *)"");
1943 static int _wrap_WINDOW_DEFAULT_VARIANT_set(PyObject
*) {
1944 PyErr_SetString(PyExc_TypeError
,"Variable WINDOW_DEFAULT_VARIANT is read-only.");
1949 static PyObject
*_wrap_WINDOW_DEFAULT_VARIANT_get() {
1954 pyobj
= PyUnicode_FromWideChar((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
1956 pyobj
= PyString_FromStringAndSize((&wxPyWINDOW_DEFAULT_VARIANT
)->c_str(), (&wxPyWINDOW_DEFAULT_VARIANT
)->Len());
1963 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1964 PyObject
*resultobj
;
1965 wxSystemOptions
*result
;
1970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1973 result
= (wxSystemOptions
*)new wxSystemOptions();
1975 wxPyEndAllowThreads(__tstate
);
1976 if (PyErr_Occurred()) SWIG_fail
;
1978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1985 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
*resultobj
;
1987 wxString
*arg1
= 0 ;
1988 wxString
*arg2
= 0 ;
1989 bool temp1
= false ;
1990 bool temp2
= false ;
1991 PyObject
* obj0
= 0 ;
1992 PyObject
* obj1
= 0 ;
1994 (char *) "name",(char *) "value", NULL
1997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1999 arg1
= wxString_in_helper(obj0
);
2000 if (arg1
== NULL
) SWIG_fail
;
2004 arg2
= wxString_in_helper(obj1
);
2005 if (arg2
== NULL
) SWIG_fail
;
2009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2010 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
2012 wxPyEndAllowThreads(__tstate
);
2013 if (PyErr_Occurred()) SWIG_fail
;
2015 Py_INCREF(Py_None
); resultobj
= Py_None
;
2038 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2039 PyObject
*resultobj
;
2040 wxString
*arg1
= 0 ;
2042 bool temp1
= false ;
2043 PyObject
* obj0
= 0 ;
2044 PyObject
* obj1
= 0 ;
2046 (char *) "name",(char *) "value", NULL
2049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
2051 arg1
= wxString_in_helper(obj0
);
2052 if (arg1
== NULL
) SWIG_fail
;
2055 arg2
= (int)SWIG_As_int(obj1
);
2056 if (PyErr_Occurred()) SWIG_fail
;
2058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2059 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
2061 wxPyEndAllowThreads(__tstate
);
2062 if (PyErr_Occurred()) SWIG_fail
;
2064 Py_INCREF(Py_None
); resultobj
= Py_None
;
2079 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2080 PyObject
*resultobj
;
2081 wxString
*arg1
= 0 ;
2083 bool temp1
= false ;
2084 PyObject
* obj0
= 0 ;
2086 (char *) "name", NULL
2089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
2091 arg1
= wxString_in_helper(obj0
);
2092 if (arg1
== NULL
) SWIG_fail
;
2096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2097 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
2099 wxPyEndAllowThreads(__tstate
);
2100 if (PyErr_Occurred()) SWIG_fail
;
2104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2123 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2124 PyObject
*resultobj
;
2125 wxString
*arg1
= 0 ;
2127 bool temp1
= false ;
2128 PyObject
* obj0
= 0 ;
2130 (char *) "name", NULL
2133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
2135 arg1
= wxString_in_helper(obj0
);
2136 if (arg1
== NULL
) SWIG_fail
;
2140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2141 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
2143 wxPyEndAllowThreads(__tstate
);
2144 if (PyErr_Occurred()) SWIG_fail
;
2146 resultobj
= SWIG_From_int((int)result
);
2161 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2162 PyObject
*resultobj
;
2163 wxString
*arg1
= 0 ;
2165 bool temp1
= false ;
2166 PyObject
* obj0
= 0 ;
2168 (char *) "name", NULL
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
2173 arg1
= wxString_in_helper(obj0
);
2174 if (arg1
== NULL
) SWIG_fail
;
2178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2179 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
2181 wxPyEndAllowThreads(__tstate
);
2182 if (PyErr_Occurred()) SWIG_fail
;
2185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2201 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
2203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2204 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
2206 return Py_BuildValue((char *)"");
2208 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
2209 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2214 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2219 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2221 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2228 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
2229 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2234 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2239 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2241 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2248 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
2249 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2254 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2259 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2261 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2268 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2269 PyObject
*resultobj
;
2275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2278 result
= (long)wxNewId();
2280 wxPyEndAllowThreads(__tstate
);
2281 if (PyErr_Occurred()) SWIG_fail
;
2283 resultobj
= SWIG_From_long((long)result
);
2290 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2291 PyObject
*resultobj
;
2293 PyObject
* obj0
= 0 ;
2298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2299 arg1
= (long)SWIG_As_long(obj0
);
2300 if (PyErr_Occurred()) SWIG_fail
;
2302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2305 wxPyEndAllowThreads(__tstate
);
2306 if (PyErr_Occurred()) SWIG_fail
;
2308 Py_INCREF(Py_None
); resultobj
= Py_None
;
2315 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2316 PyObject
*resultobj
;
2322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2325 result
= (long)wxGetCurrentId();
2327 wxPyEndAllowThreads(__tstate
);
2328 if (PyErr_Occurred()) SWIG_fail
;
2330 resultobj
= SWIG_From_long((long)result
);
2337 static PyObject
*_wrap_IsStockID(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2338 PyObject
*resultobj
;
2341 PyObject
* obj0
= 0 ;
2346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsStockID",kwnames
,&obj0
)) goto fail
;
2347 arg1
= (int)SWIG_As_int(obj0
);
2348 if (PyErr_Occurred()) SWIG_fail
;
2350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2351 result
= (bool)wxIsStockID(arg1
);
2353 wxPyEndAllowThreads(__tstate
);
2354 if (PyErr_Occurred()) SWIG_fail
;
2357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2365 static PyObject
*_wrap_IsStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2366 PyObject
*resultobj
;
2368 wxString
*arg2
= 0 ;
2370 bool temp2
= false ;
2371 PyObject
* obj0
= 0 ;
2372 PyObject
* obj1
= 0 ;
2374 (char *) "id",(char *) "label", NULL
2377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IsStockLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
2378 arg1
= (int)SWIG_As_int(obj0
);
2379 if (PyErr_Occurred()) SWIG_fail
;
2381 arg2
= wxString_in_helper(obj1
);
2382 if (arg2
== NULL
) SWIG_fail
;
2386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2387 result
= (bool)wxIsStockLabel(arg1
,(wxString
const &)*arg2
);
2389 wxPyEndAllowThreads(__tstate
);
2390 if (PyErr_Occurred()) SWIG_fail
;
2393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2409 static PyObject
*_wrap_GetStockLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2410 PyObject
*resultobj
;
2413 PyObject
* obj0
= 0 ;
2418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetStockLabel",kwnames
,&obj0
)) goto fail
;
2419 arg1
= (int)SWIG_As_int(obj0
);
2420 if (PyErr_Occurred()) SWIG_fail
;
2422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2423 result
= wxGetStockLabel(arg1
);
2425 wxPyEndAllowThreads(__tstate
);
2426 if (PyErr_Occurred()) SWIG_fail
;
2430 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2432 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2441 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2442 PyObject
*resultobj
;
2447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2449 if (!wxPyCheckForApp()) SWIG_fail
;
2450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2453 wxPyEndAllowThreads(__tstate
);
2454 if (PyErr_Occurred()) SWIG_fail
;
2456 Py_INCREF(Py_None
); resultobj
= Py_None
;
2463 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
*resultobj
;
2469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2471 if (!wxPyCheckForApp()) SWIG_fail
;
2472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2475 wxPyEndAllowThreads(__tstate
);
2476 if (PyErr_Occurred()) SWIG_fail
;
2478 Py_INCREF(Py_None
); resultobj
= Py_None
;
2485 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2486 PyObject
*resultobj
;
2487 bool arg1
= (bool) true ;
2489 PyObject
* obj0
= 0 ;
2491 (char *) "resetTimer", NULL
2494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2496 arg1
= (bool)SWIG_As_bool(obj0
);
2497 if (PyErr_Occurred()) SWIG_fail
;
2500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2501 result
= (long)wxGetElapsedTime(arg1
);
2503 wxPyEndAllowThreads(__tstate
);
2504 if (PyErr_Occurred()) SWIG_fail
;
2506 resultobj
= SWIG_From_long((long)result
);
2513 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
*resultobj
;
2515 int *arg1
= (int *) 0 ;
2516 int *arg2
= (int *) 0 ;
2525 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2526 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2529 if (!wxPyCheckForApp()) SWIG_fail
;
2530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2531 wxGetMousePosition(arg1
,arg2
);
2533 wxPyEndAllowThreads(__tstate
);
2534 if (PyErr_Occurred()) SWIG_fail
;
2536 Py_INCREF(Py_None
); resultobj
= Py_None
;
2537 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2538 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2539 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2540 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2547 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2548 PyObject
*resultobj
;
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2557 result
= (bool)wxIsBusy();
2559 wxPyEndAllowThreads(__tstate
);
2560 if (PyErr_Occurred()) SWIG_fail
;
2563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2571 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
*resultobj
;
2578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2583 wxPyEndAllowThreads(__tstate
);
2584 if (PyErr_Occurred()) SWIG_fail
;
2588 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2590 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2599 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2600 PyObject
*resultobj
;
2601 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2602 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2604 bool temp1
= false ;
2605 PyObject
* obj0
= 0 ;
2607 (char *) "command", NULL
2610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2613 arg1
= wxString_in_helper(obj0
);
2614 if (arg1
== NULL
) SWIG_fail
;
2619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2620 result
= (bool)wxShell((wxString
const &)*arg1
);
2622 wxPyEndAllowThreads(__tstate
);
2623 if (PyErr_Occurred()) SWIG_fail
;
2626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2642 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
*resultobj
;
2648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2653 wxPyEndAllowThreads(__tstate
);
2654 if (PyErr_Occurred()) SWIG_fail
;
2656 Py_INCREF(Py_None
); resultobj
= Py_None
;
2663 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2664 PyObject
*resultobj
;
2665 int *arg1
= (int *) 0 ;
2666 int *arg2
= (int *) 0 ;
2676 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
2677 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2681 result
= (int)wxGetOsVersion(arg1
,arg2
);
2683 wxPyEndAllowThreads(__tstate
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2686 resultobj
= SWIG_From_int((int)result
);
2687 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
2688 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
2689 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2690 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2697 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2698 PyObject
*resultobj
;
2704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2707 result
= wxGetOsDescription();
2709 wxPyEndAllowThreads(__tstate
);
2710 if (PyErr_Occurred()) SWIG_fail
;
2714 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2716 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2725 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2726 PyObject
*resultobj
;
2732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2735 result
= (long)wxGetFreeMemory();
2737 wxPyEndAllowThreads(__tstate
);
2738 if (PyErr_Occurred()) SWIG_fail
;
2740 resultobj
= SWIG_From_long((long)result
);
2747 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2748 PyObject
*resultobj
;
2751 PyObject
* obj0
= 0 ;
2753 (char *) "wFlags", NULL
2756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2757 arg1
= (int)SWIG_As_int(obj0
);
2758 if (PyErr_Occurred()) SWIG_fail
;
2760 if (!wxPyCheckForApp()) SWIG_fail
;
2761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2762 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2764 wxPyEndAllowThreads(__tstate
);
2765 if (PyErr_Occurred()) SWIG_fail
;
2768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2776 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2777 PyObject
*resultobj
;
2779 PyObject
* obj0
= 0 ;
2781 (char *) "secs", NULL
2784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2785 arg1
= (int)SWIG_As_int(obj0
);
2786 if (PyErr_Occurred()) SWIG_fail
;
2788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2791 wxPyEndAllowThreads(__tstate
);
2792 if (PyErr_Occurred()) SWIG_fail
;
2794 Py_INCREF(Py_None
); resultobj
= Py_None
;
2801 static PyObject
*_wrap_MilliSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2802 PyObject
*resultobj
;
2803 unsigned long arg1
;
2804 PyObject
* obj0
= 0 ;
2806 (char *) "milliseconds", NULL
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
2810 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2811 if (PyErr_Occurred()) SWIG_fail
;
2813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2816 wxPyEndAllowThreads(__tstate
);
2817 if (PyErr_Occurred()) SWIG_fail
;
2819 Py_INCREF(Py_None
); resultobj
= Py_None
;
2826 static PyObject
*_wrap_MicroSleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
*resultobj
;
2828 unsigned long arg1
;
2829 PyObject
* obj0
= 0 ;
2831 (char *) "microseconds", NULL
2834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
2835 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
2836 if (PyErr_Occurred()) SWIG_fail
;
2838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2841 wxPyEndAllowThreads(__tstate
);
2842 if (PyErr_Occurred()) SWIG_fail
;
2844 Py_INCREF(Py_None
); resultobj
= Py_None
;
2851 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2852 PyObject
*resultobj
;
2854 PyObject
* obj0
= 0 ;
2856 (char *) "enable", NULL
2859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2860 arg1
= (bool)SWIG_As_bool(obj0
);
2861 if (PyErr_Occurred()) SWIG_fail
;
2863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2864 wxEnableTopLevelWindows(arg1
);
2866 wxPyEndAllowThreads(__tstate
);
2867 if (PyErr_Occurred()) SWIG_fail
;
2869 Py_INCREF(Py_None
); resultobj
= Py_None
;
2876 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2877 PyObject
*resultobj
;
2878 wxString
*arg1
= 0 ;
2880 bool temp1
= false ;
2881 PyObject
* obj0
= 0 ;
2886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2888 arg1
= wxString_in_helper(obj0
);
2889 if (arg1
== NULL
) SWIG_fail
;
2893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2894 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2896 wxPyEndAllowThreads(__tstate
);
2897 if (PyErr_Occurred()) SWIG_fail
;
2901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2920 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
*resultobj
;
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2930 result
= wxGetEmailAddress();
2932 wxPyEndAllowThreads(__tstate
);
2933 if (PyErr_Occurred()) SWIG_fail
;
2937 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2939 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2948 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2949 PyObject
*resultobj
;
2955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2958 result
= wxGetHostName();
2960 wxPyEndAllowThreads(__tstate
);
2961 if (PyErr_Occurred()) SWIG_fail
;
2965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2976 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2977 PyObject
*resultobj
;
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2986 result
= wxGetFullHostName();
2988 wxPyEndAllowThreads(__tstate
);
2989 if (PyErr_Occurred()) SWIG_fail
;
2993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3004 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3005 PyObject
*resultobj
;
3011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
3013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3014 result
= wxGetUserId();
3016 wxPyEndAllowThreads(__tstate
);
3017 if (PyErr_Occurred()) SWIG_fail
;
3021 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3023 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3032 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3033 PyObject
*resultobj
;
3039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
3041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3042 result
= wxGetUserName();
3044 wxPyEndAllowThreads(__tstate
);
3045 if (PyErr_Occurred()) SWIG_fail
;
3049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3060 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3061 PyObject
*resultobj
;
3067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
3069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3070 result
= wxGetHomeDir();
3072 wxPyEndAllowThreads(__tstate
);
3073 if (PyErr_Occurred()) SWIG_fail
;
3077 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3079 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3088 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3089 PyObject
*resultobj
;
3090 wxString
const &arg1_defvalue
= wxPyEmptyString
;
3091 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3093 bool temp1
= false ;
3094 PyObject
* obj0
= 0 ;
3096 (char *) "user", NULL
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
3102 arg1
= wxString_in_helper(obj0
);
3103 if (arg1
== NULL
) SWIG_fail
;
3108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3109 result
= wxGetUserHome((wxString
const &)*arg1
);
3111 wxPyEndAllowThreads(__tstate
);
3112 if (PyErr_Occurred()) SWIG_fail
;
3116 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3118 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3135 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
*resultobj
;
3137 unsigned long result
;
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
3144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3145 result
= (unsigned long)wxGetProcessId();
3147 wxPyEndAllowThreads(__tstate
);
3148 if (PyErr_Occurred()) SWIG_fail
;
3150 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
3157 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3158 PyObject
*resultobj
;
3163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
3165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3168 wxPyEndAllowThreads(__tstate
);
3169 if (PyErr_Occurred()) SWIG_fail
;
3171 Py_INCREF(Py_None
); resultobj
= Py_None
;
3178 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3179 PyObject
*resultobj
;
3180 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
3181 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3182 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3183 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3184 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3185 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3186 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3187 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3188 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
3189 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3190 int arg6
= (int) 0 ;
3191 wxWindow
*arg7
= (wxWindow
*) NULL
;
3192 int arg8
= (int) -1 ;
3193 int arg9
= (int) -1 ;
3195 bool temp1
= false ;
3196 bool temp2
= false ;
3197 bool temp3
= false ;
3198 bool temp4
= false ;
3199 bool temp5
= false ;
3200 PyObject
* obj0
= 0 ;
3201 PyObject
* obj1
= 0 ;
3202 PyObject
* obj2
= 0 ;
3203 PyObject
* obj3
= 0 ;
3204 PyObject
* obj4
= 0 ;
3205 PyObject
* obj5
= 0 ;
3206 PyObject
* obj6
= 0 ;
3207 PyObject
* obj7
= 0 ;
3208 PyObject
* obj8
= 0 ;
3210 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
3213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3216 arg1
= wxString_in_helper(obj0
);
3217 if (arg1
== NULL
) SWIG_fail
;
3223 arg2
= wxString_in_helper(obj1
);
3224 if (arg2
== NULL
) SWIG_fail
;
3230 arg3
= wxString_in_helper(obj2
);
3231 if (arg3
== NULL
) SWIG_fail
;
3237 arg4
= wxString_in_helper(obj3
);
3238 if (arg4
== NULL
) SWIG_fail
;
3244 arg5
= wxString_in_helper(obj4
);
3245 if (arg5
== NULL
) SWIG_fail
;
3250 arg6
= (int)SWIG_As_int(obj5
);
3251 if (PyErr_Occurred()) SWIG_fail
;
3254 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3258 arg8
= (int)SWIG_As_int(obj7
);
3259 if (PyErr_Occurred()) SWIG_fail
;
3262 arg9
= (int)SWIG_As_int(obj8
);
3263 if (PyErr_Occurred()) SWIG_fail
;
3266 if (!wxPyCheckForApp()) SWIG_fail
;
3267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3268 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
3270 wxPyEndAllowThreads(__tstate
);
3271 if (PyErr_Occurred()) SWIG_fail
;
3275 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3277 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3326 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3327 PyObject
*resultobj
;
3328 wxString
*arg1
= 0 ;
3329 wxString
*arg2
= 0 ;
3330 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3331 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3332 wxWindow
*arg4
= (wxWindow
*) NULL
;
3334 bool temp1
= false ;
3335 bool temp2
= false ;
3336 bool temp3
= false ;
3337 PyObject
* obj0
= 0 ;
3338 PyObject
* obj1
= 0 ;
3339 PyObject
* obj2
= 0 ;
3340 PyObject
* obj3
= 0 ;
3342 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3347 arg1
= wxString_in_helper(obj0
);
3348 if (arg1
== NULL
) SWIG_fail
;
3352 arg2
= wxString_in_helper(obj1
);
3353 if (arg2
== NULL
) SWIG_fail
;
3358 arg3
= wxString_in_helper(obj2
);
3359 if (arg3
== NULL
) SWIG_fail
;
3364 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3368 if (!wxPyCheckForApp()) SWIG_fail
;
3369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3370 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3372 wxPyEndAllowThreads(__tstate
);
3373 if (PyErr_Occurred()) SWIG_fail
;
3377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3412 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3413 PyObject
*resultobj
;
3414 wxString
*arg1
= 0 ;
3415 wxString
*arg2
= 0 ;
3416 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3417 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3418 wxWindow
*arg4
= (wxWindow
*) NULL
;
3420 bool temp1
= false ;
3421 bool temp2
= false ;
3422 bool temp3
= false ;
3423 PyObject
* obj0
= 0 ;
3424 PyObject
* obj1
= 0 ;
3425 PyObject
* obj2
= 0 ;
3426 PyObject
* obj3
= 0 ;
3428 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3433 arg1
= wxString_in_helper(obj0
);
3434 if (arg1
== NULL
) SWIG_fail
;
3438 arg2
= wxString_in_helper(obj1
);
3439 if (arg2
== NULL
) SWIG_fail
;
3444 arg3
= wxString_in_helper(obj2
);
3445 if (arg3
== NULL
) SWIG_fail
;
3450 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3454 if (!wxPyCheckForApp()) SWIG_fail
;
3455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3456 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3458 wxPyEndAllowThreads(__tstate
);
3459 if (PyErr_Occurred()) SWIG_fail
;
3463 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3465 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3498 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3499 PyObject
*resultobj
;
3500 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3501 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3502 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3503 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3504 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3505 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3506 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3507 wxWindow
*arg5
= (wxWindow
*) NULL
;
3509 bool temp1
= false ;
3510 bool temp2
= false ;
3512 PyObject
* obj0
= 0 ;
3513 PyObject
* obj1
= 0 ;
3514 PyObject
* obj2
= 0 ;
3515 PyObject
* obj3
= 0 ;
3516 PyObject
* obj4
= 0 ;
3518 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3524 arg1
= wxString_in_helper(obj0
);
3525 if (arg1
== NULL
) SWIG_fail
;
3531 arg2
= wxString_in_helper(obj1
);
3532 if (arg2
== NULL
) SWIG_fail
;
3537 arg3
= (long)SWIG_As_long(obj2
);
3538 if (PyErr_Occurred()) SWIG_fail
;
3543 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3547 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3551 if (!wxPyCheckForApp()) SWIG_fail
;
3552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3553 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3555 wxPyEndAllowThreads(__tstate
);
3556 if (PyErr_Occurred()) SWIG_fail
;
3560 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3562 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3587 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
*resultobj
;
3589 wxString
*arg1
= 0 ;
3590 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3591 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3592 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3593 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3594 wxWindow
*arg4
= (wxWindow
*) NULL
;
3595 int arg5
= (int) -1 ;
3596 int arg6
= (int) -1 ;
3597 bool arg7
= (bool) true ;
3599 bool temp1
= false ;
3600 bool temp2
= false ;
3601 bool temp3
= false ;
3602 PyObject
* obj0
= 0 ;
3603 PyObject
* obj1
= 0 ;
3604 PyObject
* obj2
= 0 ;
3605 PyObject
* obj3
= 0 ;
3606 PyObject
* obj4
= 0 ;
3607 PyObject
* obj5
= 0 ;
3608 PyObject
* obj6
= 0 ;
3610 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3615 arg1
= wxString_in_helper(obj0
);
3616 if (arg1
== NULL
) SWIG_fail
;
3621 arg2
= wxString_in_helper(obj1
);
3622 if (arg2
== NULL
) SWIG_fail
;
3628 arg3
= wxString_in_helper(obj2
);
3629 if (arg3
== NULL
) SWIG_fail
;
3634 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3638 arg5
= (int)SWIG_As_int(obj4
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3642 arg6
= (int)SWIG_As_int(obj5
);
3643 if (PyErr_Occurred()) SWIG_fail
;
3646 arg7
= (bool)SWIG_As_bool(obj6
);
3647 if (PyErr_Occurred()) SWIG_fail
;
3650 if (!wxPyCheckForApp()) SWIG_fail
;
3651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3652 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3654 wxPyEndAllowThreads(__tstate
);
3655 if (PyErr_Occurred()) SWIG_fail
;
3659 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3661 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3694 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3695 PyObject
*resultobj
;
3696 wxString
*arg1
= 0 ;
3697 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3698 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3699 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3700 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3701 wxWindow
*arg4
= (wxWindow
*) NULL
;
3703 bool temp1
= false ;
3704 bool temp2
= false ;
3705 bool temp3
= false ;
3706 PyObject
* obj0
= 0 ;
3707 PyObject
* obj1
= 0 ;
3708 PyObject
* obj2
= 0 ;
3709 PyObject
* obj3
= 0 ;
3711 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3716 arg1
= wxString_in_helper(obj0
);
3717 if (arg1
== NULL
) SWIG_fail
;
3722 arg2
= wxString_in_helper(obj1
);
3723 if (arg2
== NULL
) SWIG_fail
;
3729 arg3
= wxString_in_helper(obj2
);
3730 if (arg3
== NULL
) SWIG_fail
;
3735 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3739 if (!wxPyCheckForApp()) SWIG_fail
;
3740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3741 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3783 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
*resultobj
;
3785 wxString
*arg1
= 0 ;
3786 wxString
*arg2
= 0 ;
3788 wxString
*arg4
= (wxString
*) 0 ;
3789 wxWindow
*arg5
= (wxWindow
*) NULL
;
3790 int arg6
= (int) -1 ;
3791 int arg7
= (int) -1 ;
3792 bool arg8
= (bool) true ;
3793 int arg9
= (int) 150 ;
3794 int arg10
= (int) 200 ;
3796 bool temp1
= false ;
3797 bool temp2
= false ;
3798 PyObject
* obj0
= 0 ;
3799 PyObject
* obj1
= 0 ;
3800 PyObject
* obj2
= 0 ;
3801 PyObject
* obj3
= 0 ;
3802 PyObject
* obj4
= 0 ;
3803 PyObject
* obj5
= 0 ;
3804 PyObject
* obj6
= 0 ;
3805 PyObject
* obj7
= 0 ;
3806 PyObject
* obj8
= 0 ;
3808 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3813 arg1
= wxString_in_helper(obj0
);
3814 if (arg1
== NULL
) SWIG_fail
;
3818 arg2
= wxString_in_helper(obj1
);
3819 if (arg2
== NULL
) SWIG_fail
;
3823 arg3
= PyList_Size(obj2
);
3824 arg4
= wxString_LIST_helper(obj2
);
3825 if (arg4
== NULL
) SWIG_fail
;
3828 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3832 arg6
= (int)SWIG_As_int(obj4
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3836 arg7
= (int)SWIG_As_int(obj5
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3840 arg8
= (bool)SWIG_As_bool(obj6
);
3841 if (PyErr_Occurred()) SWIG_fail
;
3844 arg9
= (int)SWIG_As_int(obj7
);
3845 if (PyErr_Occurred()) SWIG_fail
;
3848 arg10
= (int)SWIG_As_int(obj8
);
3849 if (PyErr_Occurred()) SWIG_fail
;
3852 if (!wxPyCheckForApp()) SWIG_fail
;
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3856 wxPyEndAllowThreads(__tstate
);
3857 if (PyErr_Occurred()) SWIG_fail
;
3861 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3863 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3875 if (arg4
) delete [] arg4
;
3888 if (arg4
) delete [] arg4
;
3894 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
*resultobj
;
3896 wxString
*arg1
= 0 ;
3897 wxString
*arg2
= 0 ;
3899 wxString
*arg4
= (wxString
*) 0 ;
3900 wxWindow
*arg5
= (wxWindow
*) NULL
;
3901 int arg6
= (int) -1 ;
3902 int arg7
= (int) -1 ;
3903 bool arg8
= (bool) true ;
3904 int arg9
= (int) 150 ;
3905 int arg10
= (int) 200 ;
3907 bool temp1
= false ;
3908 bool temp2
= false ;
3909 PyObject
* obj0
= 0 ;
3910 PyObject
* obj1
= 0 ;
3911 PyObject
* obj2
= 0 ;
3912 PyObject
* obj3
= 0 ;
3913 PyObject
* obj4
= 0 ;
3914 PyObject
* obj5
= 0 ;
3915 PyObject
* obj6
= 0 ;
3916 PyObject
* obj7
= 0 ;
3917 PyObject
* obj8
= 0 ;
3919 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3924 arg1
= wxString_in_helper(obj0
);
3925 if (arg1
== NULL
) SWIG_fail
;
3929 arg2
= wxString_in_helper(obj1
);
3930 if (arg2
== NULL
) SWIG_fail
;
3934 arg3
= PyList_Size(obj2
);
3935 arg4
= wxString_LIST_helper(obj2
);
3936 if (arg4
== NULL
) SWIG_fail
;
3939 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3943 arg6
= (int)SWIG_As_int(obj4
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3947 arg7
= (int)SWIG_As_int(obj5
);
3948 if (PyErr_Occurred()) SWIG_fail
;
3951 arg8
= (bool)SWIG_As_bool(obj6
);
3952 if (PyErr_Occurred()) SWIG_fail
;
3955 arg9
= (int)SWIG_As_int(obj7
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3959 arg10
= (int)SWIG_As_int(obj8
);
3960 if (PyErr_Occurred()) SWIG_fail
;
3963 if (!wxPyCheckForApp()) SWIG_fail
;
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3967 wxPyEndAllowThreads(__tstate
);
3968 if (PyErr_Occurred()) SWIG_fail
;
3970 resultobj
= SWIG_From_int((int)result
);
3980 if (arg4
) delete [] arg4
;
3993 if (arg4
) delete [] arg4
;
3999 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
*resultobj
;
4001 wxString
*arg1
= 0 ;
4002 wxString
const &arg2_defvalue
= wxPyEmptyString
;
4003 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
4004 int arg3
= (int) wxOK
|wxCENTRE
;
4005 wxWindow
*arg4
= (wxWindow
*) NULL
;
4006 int arg5
= (int) -1 ;
4007 int arg6
= (int) -1 ;
4009 bool temp1
= false ;
4010 bool temp2
= false ;
4011 PyObject
* obj0
= 0 ;
4012 PyObject
* obj1
= 0 ;
4013 PyObject
* obj2
= 0 ;
4014 PyObject
* obj3
= 0 ;
4015 PyObject
* obj4
= 0 ;
4016 PyObject
* obj5
= 0 ;
4018 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4023 arg1
= wxString_in_helper(obj0
);
4024 if (arg1
== NULL
) SWIG_fail
;
4029 arg2
= wxString_in_helper(obj1
);
4030 if (arg2
== NULL
) SWIG_fail
;
4035 arg3
= (int)SWIG_As_int(obj2
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4039 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
4040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4043 arg5
= (int)SWIG_As_int(obj4
);
4044 if (PyErr_Occurred()) SWIG_fail
;
4047 arg6
= (int)SWIG_As_int(obj5
);
4048 if (PyErr_Occurred()) SWIG_fail
;
4051 if (!wxPyCheckForApp()) SWIG_fail
;
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4053 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) SWIG_fail
;
4058 resultobj
= SWIG_From_int((int)result
);
4081 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
*resultobj
;
4083 wxString
*arg1
= 0 ;
4084 wxString
*arg2
= 0 ;
4085 wxString
*arg3
= 0 ;
4087 long arg5
= (long) 0 ;
4088 long arg6
= (long) 100 ;
4089 wxWindow
*arg7
= (wxWindow
*) NULL
;
4090 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
4091 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
4093 bool temp1
= false ;
4094 bool temp2
= false ;
4095 bool temp3
= false ;
4097 PyObject
* obj0
= 0 ;
4098 PyObject
* obj1
= 0 ;
4099 PyObject
* obj2
= 0 ;
4100 PyObject
* obj3
= 0 ;
4101 PyObject
* obj4
= 0 ;
4102 PyObject
* obj5
= 0 ;
4103 PyObject
* obj6
= 0 ;
4104 PyObject
* obj7
= 0 ;
4106 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4111 arg1
= wxString_in_helper(obj0
);
4112 if (arg1
== NULL
) SWIG_fail
;
4116 arg2
= wxString_in_helper(obj1
);
4117 if (arg2
== NULL
) SWIG_fail
;
4121 arg3
= wxString_in_helper(obj2
);
4122 if (arg3
== NULL
) SWIG_fail
;
4125 arg4
= (long)SWIG_As_long(obj3
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 arg5
= (long)SWIG_As_long(obj4
);
4129 if (PyErr_Occurred()) SWIG_fail
;
4132 arg6
= (long)SWIG_As_long(obj5
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4136 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
4137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4142 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
4146 if (!wxPyCheckForApp()) SWIG_fail
;
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4153 resultobj
= SWIG_From_long((long)result
);
4184 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
*resultobj
;
4191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
4193 if (!wxPyCheckForApp()) SWIG_fail
;
4194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4195 result
= (bool)wxColourDisplay();
4197 wxPyEndAllowThreads(__tstate
);
4198 if (PyErr_Occurred()) SWIG_fail
;
4201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4209 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4210 PyObject
*resultobj
;
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
4218 if (!wxPyCheckForApp()) SWIG_fail
;
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 result
= (int)wxDisplayDepth();
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= SWIG_From_int((int)result
);
4232 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
;
4239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
4241 if (!wxPyCheckForApp()) SWIG_fail
;
4242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4243 result
= (int)wxGetDisplayDepth();
4245 wxPyEndAllowThreads(__tstate
);
4246 if (PyErr_Occurred()) SWIG_fail
;
4248 resultobj
= SWIG_From_int((int)result
);
4255 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
*resultobj
;
4257 int *arg1
= (int *) 0 ;
4258 int *arg2
= (int *) 0 ;
4267 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4268 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
4271 if (!wxPyCheckForApp()) SWIG_fail
;
4272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4273 wxDisplaySize(arg1
,arg2
);
4275 wxPyEndAllowThreads(__tstate
);
4276 if (PyErr_Occurred()) SWIG_fail
;
4278 Py_INCREF(Py_None
); resultobj
= Py_None
;
4279 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4280 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4281 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4282 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4289 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
*resultobj
;
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
4298 if (!wxPyCheckForApp()) SWIG_fail
;
4299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4300 result
= wxGetDisplaySize();
4302 wxPyEndAllowThreads(__tstate
);
4303 if (PyErr_Occurred()) SWIG_fail
;
4307 resultptr
= new wxSize((wxSize
&) result
);
4308 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4316 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
*resultobj
;
4318 int *arg1
= (int *) 0 ;
4319 int *arg2
= (int *) 0 ;
4328 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4329 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
4332 if (!wxPyCheckForApp()) SWIG_fail
;
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 wxDisplaySizeMM(arg1
,arg2
);
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4339 Py_INCREF(Py_None
); resultobj
= Py_None
;
4340 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4341 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4342 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4343 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4350 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4351 PyObject
*resultobj
;
4357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4359 if (!wxPyCheckForApp()) SWIG_fail
;
4360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4361 result
= wxGetDisplaySizeMM();
4363 wxPyEndAllowThreads(__tstate
);
4364 if (PyErr_Occurred()) SWIG_fail
;
4368 resultptr
= new wxSize((wxSize
&) result
);
4369 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4377 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4378 PyObject
*resultobj
;
4379 int *arg1
= (int *) 0 ;
4380 int *arg2
= (int *) 0 ;
4381 int *arg3
= (int *) 0 ;
4382 int *arg4
= (int *) 0 ;
4395 arg1
= &temp1
; res1
= SWIG_NEWOBJ
;
4396 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
4397 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
4398 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4401 if (!wxPyCheckForApp()) SWIG_fail
;
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4408 Py_INCREF(Py_None
); resultobj
= Py_None
;
4409 resultobj
= t_output_helper(resultobj
, ((res1
== SWIG_NEWOBJ
) ?
4410 SWIG_From_int((*arg1
)) : SWIG_NewPointerObj((void*)(arg1
), SWIGTYPE_p_int
, 0)));
4411 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
4412 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
4413 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
4414 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
4415 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
4416 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
4423 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4424 PyObject
*resultobj
;
4430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4432 if (!wxPyCheckForApp()) SWIG_fail
;
4433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4434 result
= wxGetClientDisplayRect();
4436 wxPyEndAllowThreads(__tstate
);
4437 if (PyErr_Occurred()) SWIG_fail
;
4441 resultptr
= new wxRect((wxRect
&) result
);
4442 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4450 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4451 PyObject
*resultobj
;
4452 wxCursor
*arg1
= 0 ;
4453 PyObject
* obj0
= 0 ;
4455 (char *) "cursor", NULL
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4460 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4463 PyErr_SetString(PyExc_TypeError
,"null reference");
4467 if (!wxPyCheckForApp()) SWIG_fail
;
4468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4471 wxPyEndAllowThreads(__tstate
);
4472 if (PyErr_Occurred()) SWIG_fail
;
4474 Py_INCREF(Py_None
); resultobj
= Py_None
;
4481 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4482 PyObject
*resultobj
;
4483 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4484 PyObject
* obj0
= 0 ;
4486 (char *) "cursor", NULL
4489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4495 if (!wxPyCheckForApp()) SWIG_fail
;
4496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4497 wxBeginBusyCursor(arg1
);
4499 wxPyEndAllowThreads(__tstate
);
4500 if (PyErr_Occurred()) SWIG_fail
;
4502 Py_INCREF(Py_None
); resultobj
= Py_None
;
4509 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4510 PyObject
*resultobj
;
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4518 if (!wxPyCheckForApp()) SWIG_fail
;
4519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4520 result
= (wxWindow
*)wxGetActiveWindow();
4522 wxPyEndAllowThreads(__tstate
);
4523 if (PyErr_Occurred()) SWIG_fail
;
4526 resultobj
= wxPyMake_wxObject(result
, 0);
4534 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4535 PyObject
*resultobj
;
4539 PyObject
* obj0
= 0 ;
4544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4547 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4550 if (!wxPyCheckForApp()) SWIG_fail
;
4551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4552 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4554 wxPyEndAllowThreads(__tstate
);
4555 if (PyErr_Occurred()) SWIG_fail
;
4558 resultobj
= wxPyMake_wxObject(result
, 0);
4566 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4567 PyObject
*resultobj
;
4571 PyObject
* obj0
= 0 ;
4576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4579 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4582 if (!wxPyCheckForApp()) SWIG_fail
;
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4584 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4586 wxPyEndAllowThreads(__tstate
);
4587 if (PyErr_Occurred()) SWIG_fail
;
4590 resultobj
= wxPyMake_wxObject(result
, 0);
4598 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4599 PyObject
*resultobj
;
4600 wxWindow
*arg1
= (wxWindow
*) 0 ;
4602 PyObject
* obj0
= 0 ;
4604 (char *) "win", NULL
4607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4611 if (!wxPyCheckForApp()) SWIG_fail
;
4612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4613 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4615 wxPyEndAllowThreads(__tstate
);
4616 if (PyErr_Occurred()) SWIG_fail
;
4619 resultobj
= wxPyMake_wxObject(result
, 0);
4627 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4628 PyObject
*resultobj
;
4631 PyObject
* obj0
= 0 ;
4633 (char *) "key", NULL
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4637 arg1
= (int)SWIG_As_int(obj0
);
4638 if (PyErr_Occurred()) SWIG_fail
;
4640 if (!wxPyCheckForApp()) SWIG_fail
;
4641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4642 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4644 wxPyEndAllowThreads(__tstate
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4656 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4657 PyObject
*resultobj
;
4662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4664 if (!wxPyCheckForApp()) SWIG_fail
;
4665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4666 wxWakeUpMainThread();
4668 wxPyEndAllowThreads(__tstate
);
4669 if (PyErr_Occurred()) SWIG_fail
;
4671 Py_INCREF(Py_None
); resultobj
= Py_None
;
4678 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4679 PyObject
*resultobj
;
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4686 if (!wxPyCheckForApp()) SWIG_fail
;
4687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4690 wxPyEndAllowThreads(__tstate
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4693 Py_INCREF(Py_None
); resultobj
= Py_None
;
4700 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4701 PyObject
*resultobj
;
4706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4708 if (!wxPyCheckForApp()) SWIG_fail
;
4709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 wxPyEndAllowThreads(__tstate
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4715 Py_INCREF(Py_None
); resultobj
= Py_None
;
4722 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4723 PyObject
*resultobj
;
4724 wxMutexGuiLocker
*result
;
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4731 if (!wxPyCheckForApp()) SWIG_fail
;
4732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4733 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4735 wxPyEndAllowThreads(__tstate
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4745 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4746 PyObject
*resultobj
;
4747 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4748 PyObject
* obj0
= 0 ;
4750 (char *) "self", NULL
4753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4763 Py_INCREF(Py_None
); resultobj
= Py_None
;
4770 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
4772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4773 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4775 return Py_BuildValue((char *)"");
4777 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4778 PyObject
*resultobj
;
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4787 result
= (bool)wxThread_IsMain();
4789 wxPyEndAllowThreads(__tstate
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4801 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4802 PyObject
*resultobj
;
4803 wxString
*arg1
= 0 ;
4805 bool temp1
= false ;
4806 PyObject
* obj0
= 0 ;
4808 (char *) "tip", NULL
4811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4813 arg1
= wxString_in_helper(obj0
);
4814 if (arg1
== NULL
) SWIG_fail
;
4818 if (!wxPyCheckForApp()) SWIG_fail
;
4819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4820 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4822 wxPyEndAllowThreads(__tstate
);
4823 if (PyErr_Occurred()) SWIG_fail
;
4826 resultobj
= wxPyMake_wxObject(result
, 1);
4842 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
*resultobj
;
4844 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4845 wxString
*arg2
= 0 ;
4846 bool temp2
= false ;
4847 PyObject
* obj0
= 0 ;
4848 PyObject
* obj1
= 0 ;
4850 (char *) "self",(char *) "tip", NULL
4853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4857 arg2
= wxString_in_helper(obj1
);
4858 if (arg2
== NULL
) SWIG_fail
;
4862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4863 (arg1
)->SetTip((wxString
const &)*arg2
);
4865 wxPyEndAllowThreads(__tstate
);
4866 if (PyErr_Occurred()) SWIG_fail
;
4868 Py_INCREF(Py_None
); resultobj
= Py_None
;
4883 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
*resultobj
;
4885 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4887 PyObject
* obj0
= 0 ;
4889 (char *) "self", NULL
4892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4897 result
= (arg1
)->GetTip();
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4904 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4906 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4915 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
*resultobj
;
4917 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4919 PyObject
* obj0
= 0 ;
4921 (char *) "self", NULL
4924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4929 result
= (wxWindow
*)(arg1
)->GetWindow();
4931 wxPyEndAllowThreads(__tstate
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4935 resultobj
= wxPyMake_wxObject(result
, 0);
4943 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4944 PyObject
*resultobj
;
4946 PyObject
* obj0
= 0 ;
4948 (char *) "flag", NULL
4951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4952 arg1
= (bool)SWIG_As_bool(obj0
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 wxToolTip::Enable(arg1
);
4958 wxPyEndAllowThreads(__tstate
);
4959 if (PyErr_Occurred()) SWIG_fail
;
4961 Py_INCREF(Py_None
); resultobj
= Py_None
;
4968 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4969 PyObject
*resultobj
;
4971 PyObject
* obj0
= 0 ;
4973 (char *) "milliseconds", NULL
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4977 arg1
= (long)SWIG_As_long(obj0
);
4978 if (PyErr_Occurred()) SWIG_fail
;
4980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4981 wxToolTip::SetDelay(arg1
);
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4986 Py_INCREF(Py_None
); resultobj
= Py_None
;
4993 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
4995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4996 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4998 return Py_BuildValue((char *)"");
5000 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5001 PyObject
*resultobj
;
5002 wxWindow
*arg1
= (wxWindow
*) 0 ;
5006 PyObject
* obj0
= 0 ;
5007 PyObject
* obj1
= 0 ;
5009 (char *) "window",(char *) "size", NULL
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
5013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5017 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5020 if (!wxPyCheckForApp()) SWIG_fail
;
5021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5022 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
5024 wxPyEndAllowThreads(__tstate
);
5025 if (PyErr_Occurred()) SWIG_fail
;
5027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
5034 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5035 PyObject
*resultobj
;
5036 wxCaret
*arg1
= (wxCaret
*) 0 ;
5037 PyObject
* obj0
= 0 ;
5039 (char *) "self", NULL
5042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
5043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 wxPyEndAllowThreads(__tstate
);
5050 if (PyErr_Occurred()) SWIG_fail
;
5052 Py_INCREF(Py_None
); resultobj
= Py_None
;
5059 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
*resultobj
;
5061 wxCaret
*arg1
= (wxCaret
*) 0 ;
5063 PyObject
* obj0
= 0 ;
5065 (char *) "self", NULL
5068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
5069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5073 result
= (bool)(arg1
)->IsOk();
5075 wxPyEndAllowThreads(__tstate
);
5076 if (PyErr_Occurred()) SWIG_fail
;
5079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5087 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
*resultobj
;
5089 wxCaret
*arg1
= (wxCaret
*) 0 ;
5091 PyObject
* obj0
= 0 ;
5093 (char *) "self", NULL
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
5097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 result
= (bool)(arg1
)->IsVisible();
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5115 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5116 PyObject
*resultobj
;
5117 wxCaret
*arg1
= (wxCaret
*) 0 ;
5119 PyObject
* obj0
= 0 ;
5121 (char *) "self", NULL
5124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
5125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 result
= (arg1
)->GetPosition();
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5135 wxPoint
* resultptr
;
5136 resultptr
= new wxPoint((wxPoint
&) result
);
5137 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5145 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
*resultobj
;
5147 wxCaret
*arg1
= (wxCaret
*) 0 ;
5148 int *arg2
= (int *) 0 ;
5149 int *arg3
= (int *) 0 ;
5154 PyObject
* obj0
= 0 ;
5156 (char *) "self", NULL
5159 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5160 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
5162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5166 (arg1
)->GetPosition(arg2
,arg3
);
5168 wxPyEndAllowThreads(__tstate
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5171 Py_INCREF(Py_None
); resultobj
= Py_None
;
5172 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5173 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5174 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5175 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5182 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
*resultobj
;
5184 wxCaret
*arg1
= (wxCaret
*) 0 ;
5186 PyObject
* obj0
= 0 ;
5188 (char *) "self", NULL
5191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
5192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 result
= (arg1
)->GetSize();
5198 wxPyEndAllowThreads(__tstate
);
5199 if (PyErr_Occurred()) SWIG_fail
;
5203 resultptr
= new wxSize((wxSize
&) result
);
5204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5212 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5213 PyObject
*resultobj
;
5214 wxCaret
*arg1
= (wxCaret
*) 0 ;
5215 int *arg2
= (int *) 0 ;
5216 int *arg3
= (int *) 0 ;
5221 PyObject
* obj0
= 0 ;
5223 (char *) "self", NULL
5226 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
5227 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
5229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 (arg1
)->GetSize(arg2
,arg3
);
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5238 Py_INCREF(Py_None
); resultobj
= Py_None
;
5239 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
5240 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
5241 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
5242 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
5249 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
*resultobj
;
5251 wxCaret
*arg1
= (wxCaret
*) 0 ;
5253 PyObject
* obj0
= 0 ;
5255 (char *) "self", NULL
5258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
5259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5263 result
= (wxWindow
*)(arg1
)->GetWindow();
5265 wxPyEndAllowThreads(__tstate
);
5266 if (PyErr_Occurred()) SWIG_fail
;
5269 resultobj
= wxPyMake_wxObject(result
, 0);
5277 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5278 PyObject
*resultobj
;
5279 wxCaret
*arg1
= (wxCaret
*) 0 ;
5282 PyObject
* obj0
= 0 ;
5283 PyObject
* obj1
= 0 ;
5284 PyObject
* obj2
= 0 ;
5286 (char *) "self",(char *) "x",(char *) "y", NULL
5289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5292 arg2
= (int)SWIG_As_int(obj1
);
5293 if (PyErr_Occurred()) SWIG_fail
;
5294 arg3
= (int)SWIG_As_int(obj2
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5298 (arg1
)->Move(arg2
,arg3
);
5300 wxPyEndAllowThreads(__tstate
);
5301 if (PyErr_Occurred()) SWIG_fail
;
5303 Py_INCREF(Py_None
); resultobj
= Py_None
;
5310 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
*resultobj
;
5312 wxCaret
*arg1
= (wxCaret
*) 0 ;
5315 PyObject
* obj0
= 0 ;
5316 PyObject
* obj1
= 0 ;
5318 (char *) "self",(char *) "pt", NULL
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
5322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5326 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 (arg1
)->Move((wxPoint
const &)*arg2
);
5332 wxPyEndAllowThreads(__tstate
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5335 Py_INCREF(Py_None
); resultobj
= Py_None
;
5342 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
*resultobj
;
5344 wxCaret
*arg1
= (wxCaret
*) 0 ;
5347 PyObject
* obj0
= 0 ;
5348 PyObject
* obj1
= 0 ;
5349 PyObject
* obj2
= 0 ;
5351 (char *) "self",(char *) "width",(char *) "height", NULL
5354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5357 arg2
= (int)SWIG_As_int(obj1
);
5358 if (PyErr_Occurred()) SWIG_fail
;
5359 arg3
= (int)SWIG_As_int(obj2
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5363 (arg1
)->SetSize(arg2
,arg3
);
5365 wxPyEndAllowThreads(__tstate
);
5366 if (PyErr_Occurred()) SWIG_fail
;
5368 Py_INCREF(Py_None
); resultobj
= Py_None
;
5375 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5376 PyObject
*resultobj
;
5377 wxCaret
*arg1
= (wxCaret
*) 0 ;
5380 PyObject
* obj0
= 0 ;
5381 PyObject
* obj1
= 0 ;
5383 (char *) "self",(char *) "size", NULL
5386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5391 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5395 (arg1
)->SetSize((wxSize
const &)*arg2
);
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) SWIG_fail
;
5400 Py_INCREF(Py_None
); resultobj
= Py_None
;
5407 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5408 PyObject
*resultobj
;
5409 wxCaret
*arg1
= (wxCaret
*) 0 ;
5410 int arg2
= (int) true ;
5411 PyObject
* obj0
= 0 ;
5412 PyObject
* obj1
= 0 ;
5414 (char *) "self",(char *) "show", NULL
5417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5421 arg2
= (int)SWIG_As_int(obj1
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 wxPyEndAllowThreads(__tstate
);
5429 if (PyErr_Occurred()) SWIG_fail
;
5431 Py_INCREF(Py_None
); resultobj
= Py_None
;
5438 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5439 PyObject
*resultobj
;
5440 wxCaret
*arg1
= (wxCaret
*) 0 ;
5441 PyObject
* obj0
= 0 ;
5443 (char *) "self", NULL
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5453 wxPyEndAllowThreads(__tstate
);
5454 if (PyErr_Occurred()) SWIG_fail
;
5456 Py_INCREF(Py_None
); resultobj
= Py_None
;
5463 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
5465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5466 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5468 return Py_BuildValue((char *)"");
5470 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5471 PyObject
*resultobj
;
5477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5480 result
= (int)wxCaret_GetBlinkTime();
5482 wxPyEndAllowThreads(__tstate
);
5483 if (PyErr_Occurred()) SWIG_fail
;
5485 resultobj
= SWIG_From_int((int)result
);
5492 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5493 PyObject
*resultobj
;
5495 PyObject
* obj0
= 0 ;
5497 (char *) "milliseconds", NULL
5500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5501 arg1
= (int)SWIG_As_int(obj0
);
5502 if (PyErr_Occurred()) SWIG_fail
;
5504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5505 wxCaret_SetBlinkTime(arg1
);
5507 wxPyEndAllowThreads(__tstate
);
5508 if (PyErr_Occurred()) SWIG_fail
;
5510 Py_INCREF(Py_None
); resultobj
= Py_None
;
5517 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5518 PyObject
*resultobj
;
5519 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5520 wxBusyCursor
*result
;
5521 PyObject
* obj0
= 0 ;
5523 (char *) "cursor", NULL
5526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5532 if (!wxPyCheckForApp()) SWIG_fail
;
5533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5534 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5536 wxPyEndAllowThreads(__tstate
);
5537 if (PyErr_Occurred()) SWIG_fail
;
5539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5546 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
*resultobj
;
5548 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5549 PyObject
* obj0
= 0 ;
5551 (char *) "self", NULL
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5564 Py_INCREF(Py_None
); resultobj
= Py_None
;
5571 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
5573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5574 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5576 return Py_BuildValue((char *)"");
5578 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
*resultobj
;
5580 wxWindow
*arg1
= (wxWindow
*) NULL
;
5581 wxWindowDisabler
*result
;
5582 PyObject
* obj0
= 0 ;
5584 (char *) "winToSkip", NULL
5587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5593 if (!wxPyCheckForApp()) SWIG_fail
;
5594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5595 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5607 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
*resultobj
;
5609 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5610 PyObject
* obj0
= 0 ;
5612 (char *) "self", NULL
5615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5622 wxPyEndAllowThreads(__tstate
);
5623 if (PyErr_Occurred()) SWIG_fail
;
5625 Py_INCREF(Py_None
); resultobj
= Py_None
;
5632 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
5634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5635 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5637 return Py_BuildValue((char *)"");
5639 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
*resultobj
;
5641 wxString
*arg1
= 0 ;
5643 bool temp1
= false ;
5644 PyObject
* obj0
= 0 ;
5646 (char *) "message", NULL
5649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5651 arg1
= wxString_in_helper(obj0
);
5652 if (arg1
== NULL
) SWIG_fail
;
5656 if (!wxPyCheckForApp()) SWIG_fail
;
5657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5658 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5660 wxPyEndAllowThreads(__tstate
);
5661 if (PyErr_Occurred()) SWIG_fail
;
5663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5678 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5679 PyObject
*resultobj
;
5680 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5681 PyObject
* obj0
= 0 ;
5683 (char *) "self", NULL
5686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5693 wxPyEndAllowThreads(__tstate
);
5694 if (PyErr_Occurred()) SWIG_fail
;
5696 Py_INCREF(Py_None
); resultobj
= Py_None
;
5703 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
5705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5706 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5708 return Py_BuildValue((char *)"");
5710 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
*resultobj
;
5712 wxStopWatch
*result
;
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5720 result
= (wxStopWatch
*)new wxStopWatch();
5722 wxPyEndAllowThreads(__tstate
);
5723 if (PyErr_Occurred()) SWIG_fail
;
5725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5732 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
*resultobj
;
5734 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5735 long arg2
= (long) 0 ;
5736 PyObject
* obj0
= 0 ;
5737 PyObject
* obj1
= 0 ;
5739 (char *) "self",(char *) "t0", NULL
5742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5746 arg2
= (long)SWIG_As_long(obj1
);
5747 if (PyErr_Occurred()) SWIG_fail
;
5750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5751 (arg1
)->Start(arg2
);
5753 wxPyEndAllowThreads(__tstate
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5756 Py_INCREF(Py_None
); resultobj
= Py_None
;
5763 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5764 PyObject
*resultobj
;
5765 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5766 PyObject
* obj0
= 0 ;
5768 (char *) "self", NULL
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5778 wxPyEndAllowThreads(__tstate
);
5779 if (PyErr_Occurred()) SWIG_fail
;
5781 Py_INCREF(Py_None
); resultobj
= Py_None
;
5788 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
*resultobj
;
5790 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5791 PyObject
* obj0
= 0 ;
5793 (char *) "self", NULL
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5803 wxPyEndAllowThreads(__tstate
);
5804 if (PyErr_Occurred()) SWIG_fail
;
5806 Py_INCREF(Py_None
); resultobj
= Py_None
;
5813 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
;
5815 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5817 PyObject
* obj0
= 0 ;
5819 (char *) "self", NULL
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5827 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5829 wxPyEndAllowThreads(__tstate
);
5830 if (PyErr_Occurred()) SWIG_fail
;
5832 resultobj
= SWIG_From_long((long)result
);
5839 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
5841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5842 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5844 return Py_BuildValue((char *)"");
5846 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5847 PyObject
*resultobj
;
5848 int arg1
= (int) 9 ;
5849 int arg2
= (int) wxID_FILE1
;
5850 wxFileHistory
*result
;
5851 PyObject
* obj0
= 0 ;
5852 PyObject
* obj1
= 0 ;
5854 (char *) "maxFiles",(char *) "idBase", NULL
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5859 arg1
= (int)SWIG_As_int(obj0
);
5860 if (PyErr_Occurred()) SWIG_fail
;
5863 arg2
= (int)SWIG_As_int(obj1
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5868 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
5870 wxPyEndAllowThreads(__tstate
);
5871 if (PyErr_Occurred()) SWIG_fail
;
5873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5880 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5881 PyObject
*resultobj
;
5882 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5883 PyObject
* obj0
= 0 ;
5885 (char *) "self", NULL
5888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 wxPyEndAllowThreads(__tstate
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5898 Py_INCREF(Py_None
); resultobj
= Py_None
;
5905 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5906 PyObject
*resultobj
;
5907 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5908 wxString
*arg2
= 0 ;
5909 bool temp2
= false ;
5910 PyObject
* obj0
= 0 ;
5911 PyObject
* obj1
= 0 ;
5913 (char *) "self",(char *) "file", NULL
5916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5920 arg2
= wxString_in_helper(obj1
);
5921 if (arg2
== NULL
) SWIG_fail
;
5925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5926 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5928 wxPyEndAllowThreads(__tstate
);
5929 if (PyErr_Occurred()) SWIG_fail
;
5931 Py_INCREF(Py_None
); resultobj
= Py_None
;
5946 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
*resultobj
;
5948 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5950 PyObject
* obj0
= 0 ;
5951 PyObject
* obj1
= 0 ;
5953 (char *) "self",(char *) "i", NULL
5956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5959 arg2
= (int)SWIG_As_int(obj1
);
5960 if (PyErr_Occurred()) SWIG_fail
;
5962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5963 (arg1
)->RemoveFileFromHistory(arg2
);
5965 wxPyEndAllowThreads(__tstate
);
5966 if (PyErr_Occurred()) SWIG_fail
;
5968 Py_INCREF(Py_None
); resultobj
= Py_None
;
5975 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
*resultobj
;
5977 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5979 PyObject
* obj0
= 0 ;
5981 (char *) "self", NULL
5984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5989 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5994 resultobj
= SWIG_From_int((int)result
);
6001 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
*resultobj
;
6003 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6004 wxMenu
*arg2
= (wxMenu
*) 0 ;
6005 PyObject
* obj0
= 0 ;
6006 PyObject
* obj1
= 0 ;
6008 (char *) "self",(char *) "menu", NULL
6011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6018 (arg1
)->UseMenu(arg2
);
6020 wxPyEndAllowThreads(__tstate
);
6021 if (PyErr_Occurred()) SWIG_fail
;
6023 Py_INCREF(Py_None
); resultobj
= Py_None
;
6030 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6031 PyObject
*resultobj
;
6032 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6033 wxMenu
*arg2
= (wxMenu
*) 0 ;
6034 PyObject
* obj0
= 0 ;
6035 PyObject
* obj1
= 0 ;
6037 (char *) "self",(char *) "menu", NULL
6040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6043 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 (arg1
)->RemoveMenu(arg2
);
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6052 Py_INCREF(Py_None
); resultobj
= Py_None
;
6059 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6060 PyObject
*resultobj
;
6061 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6062 wxConfigBase
*arg2
= 0 ;
6063 PyObject
* obj0
= 0 ;
6064 PyObject
* obj1
= 0 ;
6066 (char *) "self",(char *) "config", NULL
6069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
6070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6072 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6073 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6076 PyErr_SetString(PyExc_TypeError
,"null reference");
6080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6081 (arg1
)->Load(*arg2
);
6083 wxPyEndAllowThreads(__tstate
);
6084 if (PyErr_Occurred()) SWIG_fail
;
6086 Py_INCREF(Py_None
); resultobj
= Py_None
;
6093 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
*resultobj
;
6095 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6096 wxConfigBase
*arg2
= 0 ;
6097 PyObject
* obj0
= 0 ;
6098 PyObject
* obj1
= 0 ;
6100 (char *) "self",(char *) "config", NULL
6103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
6104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
6107 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6110 PyErr_SetString(PyExc_TypeError
,"null reference");
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 (arg1
)->Save(*arg2
);
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6120 Py_INCREF(Py_None
); resultobj
= Py_None
;
6127 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6128 PyObject
*resultobj
;
6129 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6130 PyObject
* obj0
= 0 ;
6132 (char *) "self", NULL
6135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
6136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6140 (arg1
)->AddFilesToMenu();
6142 wxPyEndAllowThreads(__tstate
);
6143 if (PyErr_Occurred()) SWIG_fail
;
6145 Py_INCREF(Py_None
); resultobj
= Py_None
;
6152 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
*resultobj
;
6154 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6155 wxMenu
*arg2
= (wxMenu
*) 0 ;
6156 PyObject
* obj0
= 0 ;
6157 PyObject
* obj1
= 0 ;
6159 (char *) "self",(char *) "menu", NULL
6162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
6163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6165 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
6166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6169 (arg1
)->AddFilesToMenu(arg2
);
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6174 Py_INCREF(Py_None
); resultobj
= Py_None
;
6181 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
*resultobj
;
6183 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6186 PyObject
* obj0
= 0 ;
6187 PyObject
* obj1
= 0 ;
6189 (char *) "self",(char *) "i", NULL
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6195 arg2
= (int)SWIG_As_int(obj1
);
6196 if (PyErr_Occurred()) SWIG_fail
;
6198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6199 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
6201 wxPyEndAllowThreads(__tstate
);
6202 if (PyErr_Occurred()) SWIG_fail
;
6206 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6208 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6217 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6218 PyObject
*resultobj
;
6219 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
6221 PyObject
* obj0
= 0 ;
6223 (char *) "self", NULL
6226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
6227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
6228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6231 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
6233 wxPyEndAllowThreads(__tstate
);
6234 if (PyErr_Occurred()) SWIG_fail
;
6236 resultobj
= SWIG_From_int((int)result
);
6243 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
6245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6246 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
6248 return Py_BuildValue((char *)"");
6250 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6251 PyObject
*resultobj
;
6252 wxString
*arg1
= 0 ;
6253 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6254 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6255 wxSingleInstanceChecker
*result
;
6256 bool temp1
= false ;
6257 bool temp2
= false ;
6258 PyObject
* obj0
= 0 ;
6259 PyObject
* obj1
= 0 ;
6261 (char *) "name",(char *) "path", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
6266 arg1
= wxString_in_helper(obj0
);
6267 if (arg1
== NULL
) SWIG_fail
;
6272 arg2
= wxString_in_helper(obj1
);
6273 if (arg2
== NULL
) SWIG_fail
;
6278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6279 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
6281 wxPyEndAllowThreads(__tstate
);
6282 if (PyErr_Occurred()) SWIG_fail
;
6284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6307 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
*resultobj
;
6309 wxSingleInstanceChecker
*result
;
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
6316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6317 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
6319 wxPyEndAllowThreads(__tstate
);
6320 if (PyErr_Occurred()) SWIG_fail
;
6322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6329 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
*resultobj
;
6331 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6332 PyObject
* obj0
= 0 ;
6334 (char *) "self", NULL
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6347 Py_INCREF(Py_None
); resultobj
= Py_None
;
6354 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
*resultobj
;
6356 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6357 wxString
*arg2
= 0 ;
6358 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6359 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6361 bool temp2
= false ;
6362 bool temp3
= false ;
6363 PyObject
* obj0
= 0 ;
6364 PyObject
* obj1
= 0 ;
6365 PyObject
* obj2
= 0 ;
6367 (char *) "self",(char *) "name",(char *) "path", NULL
6370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6374 arg2
= wxString_in_helper(obj1
);
6375 if (arg2
== NULL
) SWIG_fail
;
6380 arg3
= wxString_in_helper(obj2
);
6381 if (arg3
== NULL
) SWIG_fail
;
6386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6387 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6417 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6418 PyObject
*resultobj
;
6419 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6421 PyObject
* obj0
= 0 ;
6423 (char *) "self", NULL
6426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6445 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
6447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6448 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6450 return Py_BuildValue((char *)"");
6452 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
*resultobj
;
6454 wxWindow
*arg1
= (wxWindow
*) 0 ;
6457 PyObject
* obj0
= 0 ;
6458 PyObject
* obj1
= 0 ;
6459 PyObject
* obj2
= 0 ;
6461 (char *) "window",(char *) "dc",(char *) "method", NULL
6464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6468 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6471 PyErr_SetString(PyExc_TypeError
,"null reference");
6474 arg3
= (int)SWIG_As_int(obj2
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6480 wxPyEndAllowThreads(__tstate
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6483 Py_INCREF(Py_None
); resultobj
= Py_None
;
6490 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
*resultobj
;
6492 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6493 PyObject
* obj0
= 0 ;
6495 (char *) "self", NULL
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6508 Py_INCREF(Py_None
); resultobj
= Py_None
;
6515 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6516 PyObject
*resultobj
;
6517 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6519 PyObject
* obj0
= 0 ;
6521 (char *) "self", NULL
6524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6529 result
= (arg1
)->GetTip();
6531 wxPyEndAllowThreads(__tstate
);
6532 if (PyErr_Occurred()) SWIG_fail
;
6536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6547 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6548 PyObject
*resultobj
;
6549 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6551 PyObject
* obj0
= 0 ;
6553 (char *) "self", NULL
6556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6561 result
= (size_t)(arg1
)->GetCurrentTip();
6563 wxPyEndAllowThreads(__tstate
);
6564 if (PyErr_Occurred()) SWIG_fail
;
6566 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
6573 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6574 PyObject
*resultobj
;
6575 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6576 wxString
*arg2
= 0 ;
6578 bool temp2
= false ;
6579 PyObject
* obj0
= 0 ;
6580 PyObject
* obj1
= 0 ;
6582 (char *) "self",(char *) "tip", NULL
6585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6589 arg2
= wxString_in_helper(obj1
);
6590 if (arg2
== NULL
) SWIG_fail
;
6594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6595 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6597 wxPyEndAllowThreads(__tstate
);
6598 if (PyErr_Occurred()) SWIG_fail
;
6602 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6604 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6621 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
6623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6624 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6626 return Py_BuildValue((char *)"");
6628 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6629 PyObject
*resultobj
;
6631 wxPyTipProvider
*result
;
6632 PyObject
* obj0
= 0 ;
6634 (char *) "currentTip", NULL
6637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6638 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
6639 if (PyErr_Occurred()) SWIG_fail
;
6641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6642 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6644 wxPyEndAllowThreads(__tstate
);
6645 if (PyErr_Occurred()) SWIG_fail
;
6647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6654 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6655 PyObject
*resultobj
;
6656 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6657 PyObject
*arg2
= (PyObject
*) 0 ;
6658 PyObject
*arg3
= (PyObject
*) 0 ;
6659 PyObject
* obj0
= 0 ;
6660 PyObject
* obj1
= 0 ;
6661 PyObject
* obj2
= 0 ;
6663 (char *) "self",(char *) "self",(char *) "_class", NULL
6666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6673 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6675 wxPyEndAllowThreads(__tstate
);
6676 if (PyErr_Occurred()) SWIG_fail
;
6678 Py_INCREF(Py_None
); resultobj
= Py_None
;
6685 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
6687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6688 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6690 return Py_BuildValue((char *)"");
6692 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
*resultobj
;
6694 wxWindow
*arg1
= (wxWindow
*) 0 ;
6695 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6696 bool arg3
= (bool) true ;
6698 PyObject
* obj0
= 0 ;
6699 PyObject
* obj1
= 0 ;
6700 PyObject
* obj2
= 0 ;
6702 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6711 arg3
= (bool)SWIG_As_bool(obj2
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6715 if (!wxPyCheckForApp()) SWIG_fail
;
6716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6717 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6719 wxPyEndAllowThreads(__tstate
);
6720 if (PyErr_Occurred()) SWIG_fail
;
6723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6731 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6732 PyObject
*resultobj
;
6733 wxString
*arg1
= 0 ;
6735 wxTipProvider
*result
;
6736 bool temp1
= false ;
6737 PyObject
* obj0
= 0 ;
6738 PyObject
* obj1
= 0 ;
6740 (char *) "filename",(char *) "currentTip", NULL
6743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6745 arg1
= wxString_in_helper(obj0
);
6746 if (arg1
== NULL
) SWIG_fail
;
6749 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6752 if (!wxPyCheckForApp()) SWIG_fail
;
6753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6754 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6756 wxPyEndAllowThreads(__tstate
);
6757 if (PyErr_Occurred()) SWIG_fail
;
6759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6774 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6775 PyObject
*resultobj
;
6776 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6777 int arg2
= (int) -1 ;
6779 PyObject
* obj0
= 0 ;
6780 PyObject
* obj1
= 0 ;
6782 (char *) "owner",(char *) "id", NULL
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6791 arg2
= (int)SWIG_As_int(obj1
);
6792 if (PyErr_Occurred()) SWIG_fail
;
6795 if (!wxPyCheckForApp()) SWIG_fail
;
6796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6797 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6799 wxPyEndAllowThreads(__tstate
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6809 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
*resultobj
;
6811 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6812 PyObject
* obj0
= 0 ;
6814 (char *) "self", NULL
6817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6824 wxPyEndAllowThreads(__tstate
);
6825 if (PyErr_Occurred()) SWIG_fail
;
6827 Py_INCREF(Py_None
); resultobj
= Py_None
;
6834 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
*resultobj
;
6836 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6837 PyObject
*arg2
= (PyObject
*) 0 ;
6838 PyObject
*arg3
= (PyObject
*) 0 ;
6839 int arg4
= (int) 1 ;
6840 PyObject
* obj0
= 0 ;
6841 PyObject
* obj1
= 0 ;
6842 PyObject
* obj2
= 0 ;
6843 PyObject
* obj3
= 0 ;
6845 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6854 arg4
= (int)SWIG_As_int(obj3
);
6855 if (PyErr_Occurred()) SWIG_fail
;
6858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6859 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6861 wxPyEndAllowThreads(__tstate
);
6862 if (PyErr_Occurred()) SWIG_fail
;
6864 Py_INCREF(Py_None
); resultobj
= Py_None
;
6871 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6872 PyObject
*resultobj
;
6873 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6874 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6875 int arg3
= (int) -1 ;
6876 PyObject
* obj0
= 0 ;
6877 PyObject
* obj1
= 0 ;
6878 PyObject
* obj2
= 0 ;
6880 (char *) "self",(char *) "owner",(char *) "id", NULL
6883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6889 arg3
= (int)SWIG_As_int(obj2
);
6890 if (PyErr_Occurred()) SWIG_fail
;
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 (arg1
)->SetOwner(arg2
,arg3
);
6896 wxPyEndAllowThreads(__tstate
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6899 Py_INCREF(Py_None
); resultobj
= Py_None
;
6906 static PyObject
*_wrap_Timer_GetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
*resultobj
;
6908 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6909 wxEvtHandler
*result
;
6910 PyObject
* obj0
= 0 ;
6912 (char *) "self", NULL
6915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6926 resultobj
= wxPyMake_wxObject(result
, 0);
6934 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6935 PyObject
*resultobj
;
6936 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6937 int arg2
= (int) -1 ;
6938 bool arg3
= (bool) false ;
6940 PyObject
* obj0
= 0 ;
6941 PyObject
* obj1
= 0 ;
6942 PyObject
* obj2
= 0 ;
6944 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6951 arg2
= (int)SWIG_As_int(obj1
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6955 arg3
= (bool)SWIG_As_bool(obj2
);
6956 if (PyErr_Occurred()) SWIG_fail
;
6959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6960 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6962 wxPyEndAllowThreads(__tstate
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6974 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
*resultobj
;
6976 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6977 PyObject
* obj0
= 0 ;
6979 (char *) "self", NULL
6982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6989 wxPyEndAllowThreads(__tstate
);
6990 if (PyErr_Occurred()) SWIG_fail
;
6992 Py_INCREF(Py_None
); resultobj
= Py_None
;
6999 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7000 PyObject
*resultobj
;
7001 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7003 PyObject
* obj0
= 0 ;
7005 (char *) "self", NULL
7008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
7009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7013 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
7015 wxPyEndAllowThreads(__tstate
);
7016 if (PyErr_Occurred()) SWIG_fail
;
7019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7027 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
*resultobj
;
7029 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7031 PyObject
* obj0
= 0 ;
7033 (char *) "self", NULL
7036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
7037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7041 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
7043 wxPyEndAllowThreads(__tstate
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7046 resultobj
= SWIG_From_int((int)result
);
7053 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7054 PyObject
*resultobj
;
7055 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7057 PyObject
* obj0
= 0 ;
7059 (char *) "self", NULL
7062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
7063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7081 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
*resultobj
;
7083 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
7085 PyObject
* obj0
= 0 ;
7087 (char *) "self", NULL
7090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
7091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
7092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7095 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
7097 wxPyEndAllowThreads(__tstate
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7100 resultobj
= SWIG_From_int((int)result
);
7107 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
7109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7110 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
7112 return Py_BuildValue((char *)"");
7114 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
*resultobj
;
7116 int arg1
= (int) 0 ;
7117 int arg2
= (int) 0 ;
7118 wxTimerEvent
*result
;
7119 PyObject
* obj0
= 0 ;
7120 PyObject
* obj1
= 0 ;
7122 (char *) "timerid",(char *) "interval", NULL
7125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7127 arg1
= (int)SWIG_As_int(obj0
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7131 arg2
= (int)SWIG_As_int(obj1
);
7132 if (PyErr_Occurred()) SWIG_fail
;
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
7148 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
*resultobj
;
7150 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
7152 PyObject
* obj0
= 0 ;
7154 (char *) "self", NULL
7157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
7158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
7159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7162 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
7164 wxPyEndAllowThreads(__tstate
);
7165 if (PyErr_Occurred()) SWIG_fail
;
7167 resultobj
= SWIG_From_int((int)result
);
7174 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
7176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7177 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
7179 return Py_BuildValue((char *)"");
7181 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
7182 PyObject
*resultobj
;
7184 wxTimerRunner
*result
;
7185 PyObject
* obj0
= 0 ;
7187 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
7188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7189 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7192 PyErr_SetString(PyExc_TypeError
,"null reference");
7196 if (!wxPyCheckForApp()) SWIG_fail
;
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7210 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
7211 PyObject
*resultobj
;
7214 bool arg3
= (bool) false ;
7215 wxTimerRunner
*result
;
7216 PyObject
* obj0
= 0 ;
7217 PyObject
* obj1
= 0 ;
7218 PyObject
* obj2
= 0 ;
7220 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
7221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
7222 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7225 PyErr_SetString(PyExc_TypeError
,"null reference");
7228 arg2
= (int)SWIG_As_int(obj1
);
7229 if (PyErr_Occurred()) SWIG_fail
;
7231 arg3
= (bool)SWIG_As_bool(obj2
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7235 if (!wxPyCheckForApp()) SWIG_fail
;
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7237 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
7249 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
7254 argc
= PyObject_Length(args
);
7255 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
7256 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7262 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7270 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
7273 if ((argc
>= 2) && (argc
<= 3)) {
7277 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7285 _v
= SWIG_Check_int(argv
[1]);
7288 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7290 _v
= SWIG_Check_bool(argv
[2]);
7292 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7298 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
7303 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7304 PyObject
*resultobj
;
7305 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7306 PyObject
* obj0
= 0 ;
7308 (char *) "self", NULL
7311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
7312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7318 wxPyEndAllowThreads(__tstate
);
7319 if (PyErr_Occurred()) SWIG_fail
;
7321 Py_INCREF(Py_None
); resultobj
= Py_None
;
7328 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7329 PyObject
*resultobj
;
7330 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7332 bool arg3
= (bool) false ;
7333 PyObject
* obj0
= 0 ;
7334 PyObject
* obj1
= 0 ;
7335 PyObject
* obj2
= 0 ;
7337 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7343 arg2
= (int)SWIG_As_int(obj1
);
7344 if (PyErr_Occurred()) SWIG_fail
;
7346 arg3
= (bool)SWIG_As_bool(obj2
);
7347 if (PyErr_Occurred()) SWIG_fail
;
7350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7351 (arg1
)->Start(arg2
,arg3
);
7353 wxPyEndAllowThreads(__tstate
);
7354 if (PyErr_Occurred()) SWIG_fail
;
7356 Py_INCREF(Py_None
); resultobj
= Py_None
;
7363 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
7365 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7366 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7368 return Py_BuildValue((char *)"");
7370 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7371 PyObject
*resultobj
;
7377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7380 result
= (wxLog
*)new wxLog();
7382 wxPyEndAllowThreads(__tstate
);
7383 if (PyErr_Occurred()) SWIG_fail
;
7385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7392 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7393 PyObject
*resultobj
;
7399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 result
= (bool)wxLog::IsEnabled();
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7416 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
*resultobj
;
7418 bool arg1
= (bool) true ;
7420 PyObject
* obj0
= 0 ;
7422 (char *) "doIt", NULL
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7427 arg1
= (bool)SWIG_As_bool(obj0
);
7428 if (PyErr_Occurred()) SWIG_fail
;
7431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7432 result
= (bool)wxLog::EnableLogging(arg1
);
7434 wxPyEndAllowThreads(__tstate
);
7435 if (PyErr_Occurred()) SWIG_fail
;
7438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7446 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
*resultobj
;
7449 wxChar
*arg2
= (wxChar
*) 0 ;
7451 PyObject
* obj0
= 0 ;
7452 PyObject
* obj1
= 0 ;
7453 PyObject
* obj2
= 0 ;
7455 (char *) "level",(char *) "szString",(char *) "t", NULL
7458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7459 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7463 arg3
= (time_t)SWIG_As_unsigned_SS_int(obj2
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7467 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7469 wxPyEndAllowThreads(__tstate
);
7470 if (PyErr_Occurred()) SWIG_fail
;
7472 Py_INCREF(Py_None
); resultobj
= Py_None
;
7479 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7480 PyObject
*resultobj
;
7481 wxLog
*arg1
= (wxLog
*) 0 ;
7482 PyObject
* obj0
= 0 ;
7484 (char *) "self", NULL
7487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7494 wxPyEndAllowThreads(__tstate
);
7495 if (PyErr_Occurred()) SWIG_fail
;
7497 Py_INCREF(Py_None
); resultobj
= Py_None
;
7504 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7505 PyObject
*resultobj
;
7510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7513 wxLog::FlushActive();
7515 wxPyEndAllowThreads(__tstate
);
7516 if (PyErr_Occurred()) SWIG_fail
;
7518 Py_INCREF(Py_None
); resultobj
= Py_None
;
7525 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7526 PyObject
*resultobj
;
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7535 result
= (wxLog
*)wxLog::GetActiveTarget();
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7547 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7548 PyObject
*resultobj
;
7549 wxLog
*arg1
= (wxLog
*) 0 ;
7551 PyObject
* obj0
= 0 ;
7553 (char *) "pLogger", NULL
7556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7561 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7563 wxPyEndAllowThreads(__tstate
);
7564 if (PyErr_Occurred()) SWIG_fail
;
7566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7573 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7574 PyObject
*resultobj
;
7579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 Py_INCREF(Py_None
); resultobj
= Py_None
;
7594 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
;
7600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7605 wxPyEndAllowThreads(__tstate
);
7606 if (PyErr_Occurred()) SWIG_fail
;
7608 Py_INCREF(Py_None
); resultobj
= Py_None
;
7615 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7616 PyObject
*resultobj
;
7617 bool arg1
= (bool) true ;
7618 PyObject
* obj0
= 0 ;
7620 (char *) "bVerbose", NULL
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7625 arg1
= (bool)SWIG_As_bool(obj0
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7630 wxLog::SetVerbose(arg1
);
7632 wxPyEndAllowThreads(__tstate
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7635 Py_INCREF(Py_None
); resultobj
= Py_None
;
7642 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
*resultobj
;
7645 PyObject
* obj0
= 0 ;
7647 (char *) "logLevel", NULL
7650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7651 arg1
= (wxLogLevel
)SWIG_As_unsigned_SS_long(obj0
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7655 wxLog::SetLogLevel(arg1
);
7657 wxPyEndAllowThreads(__tstate
);
7658 if (PyErr_Occurred()) SWIG_fail
;
7660 Py_INCREF(Py_None
); resultobj
= Py_None
;
7667 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7668 PyObject
*resultobj
;
7673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7676 wxLog::DontCreateOnDemand();
7678 wxPyEndAllowThreads(__tstate
);
7679 if (PyErr_Occurred()) SWIG_fail
;
7681 Py_INCREF(Py_None
); resultobj
= Py_None
;
7688 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7689 PyObject
*resultobj
;
7691 PyObject
* obj0
= 0 ;
7693 (char *) "ulMask", NULL
7696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7697 arg1
= (wxTraceMask
)SWIG_As_unsigned_SS_long(obj0
);
7698 if (PyErr_Occurred()) SWIG_fail
;
7700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7701 wxLog::SetTraceMask(arg1
);
7703 wxPyEndAllowThreads(__tstate
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7706 Py_INCREF(Py_None
); resultobj
= Py_None
;
7713 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
*resultobj
;
7715 wxString
*arg1
= 0 ;
7716 bool temp1
= false ;
7717 PyObject
* obj0
= 0 ;
7719 (char *) "str", NULL
7722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7724 arg1
= wxString_in_helper(obj0
);
7725 if (arg1
== NULL
) SWIG_fail
;
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7730 wxLog::AddTraceMask((wxString
const &)*arg1
);
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7735 Py_INCREF(Py_None
); resultobj
= Py_None
;
7750 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
*resultobj
;
7752 wxString
*arg1
= 0 ;
7753 bool temp1
= false ;
7754 PyObject
* obj0
= 0 ;
7756 (char *) "str", NULL
7759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7761 arg1
= wxString_in_helper(obj0
);
7762 if (arg1
== NULL
) SWIG_fail
;
7766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7767 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7769 wxPyEndAllowThreads(__tstate
);
7770 if (PyErr_Occurred()) SWIG_fail
;
7772 Py_INCREF(Py_None
); resultobj
= Py_None
;
7787 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7788 PyObject
*resultobj
;
7793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7796 wxLog::ClearTraceMasks();
7798 wxPyEndAllowThreads(__tstate
);
7799 if (PyErr_Occurred()) SWIG_fail
;
7801 Py_INCREF(Py_None
); resultobj
= Py_None
;
7808 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7809 PyObject
*resultobj
;
7810 wxArrayString
*result
;
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7820 result
= (wxArrayString
*) &_result_ref
;
7823 wxPyEndAllowThreads(__tstate
);
7824 if (PyErr_Occurred()) SWIG_fail
;
7827 resultobj
= wxArrayString2PyList_helper(*result
);
7835 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7836 PyObject
*resultobj
;
7837 wxChar
*arg1
= (wxChar
*) 0 ;
7838 PyObject
* obj0
= 0 ;
7843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 wxLog::SetTimestamp((wxChar
const *)arg1
);
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7853 Py_INCREF(Py_None
); resultobj
= Py_None
;
7860 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
*resultobj
;
7867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7870 result
= (bool)wxLog::GetVerbose();
7872 wxPyEndAllowThreads(__tstate
);
7873 if (PyErr_Occurred()) SWIG_fail
;
7876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7884 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7885 PyObject
*resultobj
;
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7894 result
= (wxTraceMask
)wxLog::GetTraceMask();
7896 wxPyEndAllowThreads(__tstate
);
7897 if (PyErr_Occurred()) SWIG_fail
;
7899 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7906 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7907 PyObject
*resultobj
;
7908 wxChar
*arg1
= (wxChar
*) 0 ;
7910 PyObject
* obj0
= 0 ;
7912 (char *) "mask", NULL
7915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7920 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7922 wxPyEndAllowThreads(__tstate
);
7923 if (PyErr_Occurred()) SWIG_fail
;
7926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7934 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7935 PyObject
*resultobj
;
7941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7944 result
= (wxLogLevel
)wxLog::GetLogLevel();
7946 wxPyEndAllowThreads(__tstate
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7949 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
7956 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
*resultobj
;
7963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7966 result
= (wxChar
*)wxLog::GetTimestamp();
7968 wxPyEndAllowThreads(__tstate
);
7969 if (PyErr_Occurred()) SWIG_fail
;
7971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7978 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7979 PyObject
*resultobj
;
7985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7988 result
= Log_TimeStamp();
7990 wxPyEndAllowThreads(__tstate
);
7991 if (PyErr_Occurred()) SWIG_fail
;
7995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8006 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8007 PyObject
*resultobj
;
8008 wxLog
*arg1
= (wxLog
*) 0 ;
8009 PyObject
* obj0
= 0 ;
8011 (char *) "self", NULL
8014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
8015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8019 wxLog_Destroy(arg1
);
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8024 Py_INCREF(Py_None
); resultobj
= Py_None
;
8031 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
8033 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8034 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
8036 return Py_BuildValue((char *)"");
8038 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8039 PyObject
*resultobj
;
8040 wxLogStderr
*result
;
8045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 result
= (wxLogStderr
*)new wxLogStderr();
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
8060 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
8062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8063 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
8065 return Py_BuildValue((char *)"");
8067 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8068 PyObject
*resultobj
;
8069 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8070 wxLogTextCtrl
*result
;
8071 PyObject
* obj0
= 0 ;
8073 (char *) "pTextCtrl", NULL
8076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
8077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8081 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
8083 wxPyEndAllowThreads(__tstate
);
8084 if (PyErr_Occurred()) SWIG_fail
;
8086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
8093 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
8095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8096 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
8098 return Py_BuildValue((char *)"");
8100 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8101 PyObject
*resultobj
;
8107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
8109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8110 result
= (wxLogGui
*)new wxLogGui();
8112 wxPyEndAllowThreads(__tstate
);
8113 if (PyErr_Occurred()) SWIG_fail
;
8115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
8122 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
8124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8125 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
8127 return Py_BuildValue((char *)"");
8129 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8130 PyObject
*resultobj
;
8131 wxFrame
*arg1
= (wxFrame
*) 0 ;
8132 wxString
*arg2
= 0 ;
8133 bool arg3
= (bool) true ;
8134 bool arg4
= (bool) true ;
8135 wxLogWindow
*result
;
8136 bool temp2
= false ;
8137 PyObject
* obj0
= 0 ;
8138 PyObject
* obj1
= 0 ;
8139 PyObject
* obj2
= 0 ;
8140 PyObject
* obj3
= 0 ;
8142 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
8145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8149 arg2
= wxString_in_helper(obj1
);
8150 if (arg2
== NULL
) SWIG_fail
;
8154 arg3
= (bool)SWIG_As_bool(obj2
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8158 arg4
= (bool)SWIG_As_bool(obj3
);
8159 if (PyErr_Occurred()) SWIG_fail
;
8162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8163 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
8165 wxPyEndAllowThreads(__tstate
);
8166 if (PyErr_Occurred()) SWIG_fail
;
8168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
8183 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8184 PyObject
*resultobj
;
8185 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8186 bool arg2
= (bool) true ;
8187 PyObject
* obj0
= 0 ;
8188 PyObject
* obj1
= 0 ;
8190 (char *) "self",(char *) "bShow", NULL
8193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
8194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8197 arg2
= (bool)SWIG_As_bool(obj1
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8204 wxPyEndAllowThreads(__tstate
);
8205 if (PyErr_Occurred()) SWIG_fail
;
8207 Py_INCREF(Py_None
); resultobj
= Py_None
;
8214 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8215 PyObject
*resultobj
;
8216 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8218 PyObject
* obj0
= 0 ;
8220 (char *) "self", NULL
8223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
8224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
8230 wxPyEndAllowThreads(__tstate
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8234 resultobj
= wxPyMake_wxObject(result
, 0);
8242 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8243 PyObject
*resultobj
;
8244 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8246 PyObject
* obj0
= 0 ;
8248 (char *) "self", NULL
8251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
8252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8256 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
8258 wxPyEndAllowThreads(__tstate
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8268 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8269 PyObject
*resultobj
;
8270 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8272 PyObject
* obj0
= 0 ;
8274 (char *) "self", NULL
8277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8282 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
8284 wxPyEndAllowThreads(__tstate
);
8285 if (PyErr_Occurred()) SWIG_fail
;
8288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8296 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
*resultobj
;
8298 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8300 PyObject
* obj0
= 0 ;
8301 PyObject
* obj1
= 0 ;
8303 (char *) "self",(char *) "bDoPass", NULL
8306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8309 arg2
= (bool)SWIG_As_bool(obj1
);
8310 if (PyErr_Occurred()) SWIG_fail
;
8312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8313 (arg1
)->PassMessages(arg2
);
8315 wxPyEndAllowThreads(__tstate
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8318 Py_INCREF(Py_None
); resultobj
= Py_None
;
8325 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
8327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8328 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
8330 return Py_BuildValue((char *)"");
8332 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8333 PyObject
*resultobj
;
8334 wxLog
*arg1
= (wxLog
*) 0 ;
8336 PyObject
* obj0
= 0 ;
8338 (char *) "logger", NULL
8341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8346 result
= (wxLogChain
*)new wxLogChain(arg1
);
8348 wxPyEndAllowThreads(__tstate
);
8349 if (PyErr_Occurred()) SWIG_fail
;
8351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8358 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8359 PyObject
*resultobj
;
8360 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8361 wxLog
*arg2
= (wxLog
*) 0 ;
8362 PyObject
* obj0
= 0 ;
8363 PyObject
* obj1
= 0 ;
8365 (char *) "self",(char *) "logger", NULL
8368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8371 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8375 (arg1
)->SetLog(arg2
);
8377 wxPyEndAllowThreads(__tstate
);
8378 if (PyErr_Occurred()) SWIG_fail
;
8380 Py_INCREF(Py_None
); resultobj
= Py_None
;
8387 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8388 PyObject
*resultobj
;
8389 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8391 PyObject
* obj0
= 0 ;
8392 PyObject
* obj1
= 0 ;
8394 (char *) "self",(char *) "bDoPass", NULL
8397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8400 arg2
= (bool)SWIG_As_bool(obj1
);
8401 if (PyErr_Occurred()) SWIG_fail
;
8403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8404 (arg1
)->PassMessages(arg2
);
8406 wxPyEndAllowThreads(__tstate
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8409 Py_INCREF(Py_None
); resultobj
= Py_None
;
8416 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8417 PyObject
*resultobj
;
8418 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8420 PyObject
* obj0
= 0 ;
8422 (char *) "self", NULL
8425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8430 result
= (bool)(arg1
)->IsPassingMessages();
8432 wxPyEndAllowThreads(__tstate
);
8433 if (PyErr_Occurred()) SWIG_fail
;
8436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8444 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8445 PyObject
*resultobj
;
8446 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8448 PyObject
* obj0
= 0 ;
8450 (char *) "self", NULL
8453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8458 result
= (wxLog
*)(arg1
)->GetOldLog();
8460 wxPyEndAllowThreads(__tstate
);
8461 if (PyErr_Occurred()) SWIG_fail
;
8463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8470 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
8472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8473 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8475 return Py_BuildValue((char *)"");
8477 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8478 PyObject
*resultobj
;
8479 unsigned long result
;
8484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8487 result
= (unsigned long)wxSysErrorCode();
8489 wxPyEndAllowThreads(__tstate
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8492 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
8499 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8500 PyObject
*resultobj
;
8501 unsigned long arg1
= (unsigned long) 0 ;
8503 PyObject
* obj0
= 0 ;
8505 (char *) "nErrCode", NULL
8508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8510 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8515 result
= wxSysErrorMsg(arg1
);
8517 wxPyEndAllowThreads(__tstate
);
8518 if (PyErr_Occurred()) SWIG_fail
;
8522 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8524 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8533 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
*resultobj
;
8535 wxString
*arg1
= 0 ;
8536 bool temp1
= false ;
8537 PyObject
* obj0
= 0 ;
8539 (char *) "msg", NULL
8542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8544 arg1
= wxString_in_helper(obj0
);
8545 if (arg1
== NULL
) SWIG_fail
;
8549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8550 wxLogFatalError((wxString
const &)*arg1
);
8552 wxPyEndAllowThreads(__tstate
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8555 Py_INCREF(Py_None
); resultobj
= Py_None
;
8570 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8571 PyObject
*resultobj
;
8572 wxString
*arg1
= 0 ;
8573 bool temp1
= false ;
8574 PyObject
* obj0
= 0 ;
8576 (char *) "msg", NULL
8579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8581 arg1
= wxString_in_helper(obj0
);
8582 if (arg1
== NULL
) SWIG_fail
;
8586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8587 wxLogError((wxString
const &)*arg1
);
8589 wxPyEndAllowThreads(__tstate
);
8590 if (PyErr_Occurred()) SWIG_fail
;
8592 Py_INCREF(Py_None
); resultobj
= Py_None
;
8607 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8608 PyObject
*resultobj
;
8609 wxString
*arg1
= 0 ;
8610 bool temp1
= false ;
8611 PyObject
* obj0
= 0 ;
8613 (char *) "msg", NULL
8616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8618 arg1
= wxString_in_helper(obj0
);
8619 if (arg1
== NULL
) SWIG_fail
;
8623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 wxLogWarning((wxString
const &)*arg1
);
8626 wxPyEndAllowThreads(__tstate
);
8627 if (PyErr_Occurred()) SWIG_fail
;
8629 Py_INCREF(Py_None
); resultobj
= Py_None
;
8644 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8645 PyObject
*resultobj
;
8646 wxString
*arg1
= 0 ;
8647 bool temp1
= false ;
8648 PyObject
* obj0
= 0 ;
8650 (char *) "msg", NULL
8653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8655 arg1
= wxString_in_helper(obj0
);
8656 if (arg1
== NULL
) SWIG_fail
;
8660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8661 wxLogMessage((wxString
const &)*arg1
);
8663 wxPyEndAllowThreads(__tstate
);
8664 if (PyErr_Occurred()) SWIG_fail
;
8666 Py_INCREF(Py_None
); resultobj
= Py_None
;
8681 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8682 PyObject
*resultobj
;
8683 wxString
*arg1
= 0 ;
8684 bool temp1
= false ;
8685 PyObject
* obj0
= 0 ;
8687 (char *) "msg", NULL
8690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8692 arg1
= wxString_in_helper(obj0
);
8693 if (arg1
== NULL
) SWIG_fail
;
8697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8698 wxLogInfo((wxString
const &)*arg1
);
8700 wxPyEndAllowThreads(__tstate
);
8701 if (PyErr_Occurred()) SWIG_fail
;
8703 Py_INCREF(Py_None
); resultobj
= Py_None
;
8718 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
*resultobj
;
8720 wxString
*arg1
= 0 ;
8721 bool temp1
= false ;
8722 PyObject
* obj0
= 0 ;
8724 (char *) "msg", NULL
8727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8729 arg1
= wxString_in_helper(obj0
);
8730 if (arg1
== NULL
) SWIG_fail
;
8734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8735 wxLogDebug((wxString
const &)*arg1
);
8737 wxPyEndAllowThreads(__tstate
);
8738 if (PyErr_Occurred()) SWIG_fail
;
8740 Py_INCREF(Py_None
); resultobj
= Py_None
;
8755 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8756 PyObject
*resultobj
;
8757 wxString
*arg1
= 0 ;
8758 bool temp1
= false ;
8759 PyObject
* obj0
= 0 ;
8761 (char *) "msg", NULL
8764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8766 arg1
= wxString_in_helper(obj0
);
8767 if (arg1
== NULL
) SWIG_fail
;
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 wxLogVerbose((wxString
const &)*arg1
);
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8777 Py_INCREF(Py_None
); resultobj
= Py_None
;
8792 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
*resultobj
;
8794 wxString
*arg1
= 0 ;
8795 bool temp1
= false ;
8796 PyObject
* obj0
= 0 ;
8798 (char *) "msg", NULL
8801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8803 arg1
= wxString_in_helper(obj0
);
8804 if (arg1
== NULL
) SWIG_fail
;
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 wxLogStatus((wxString
const &)*arg1
);
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8814 Py_INCREF(Py_None
); resultobj
= Py_None
;
8829 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
;
8831 wxFrame
*arg1
= (wxFrame
*) 0 ;
8832 wxString
*arg2
= 0 ;
8833 bool temp2
= false ;
8834 PyObject
* obj0
= 0 ;
8835 PyObject
* obj1
= 0 ;
8837 (char *) "pFrame",(char *) "msg", NULL
8840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8844 arg2
= wxString_in_helper(obj1
);
8845 if (arg2
== NULL
) SWIG_fail
;
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8850 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 Py_INCREF(Py_None
); resultobj
= Py_None
;
8870 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8871 PyObject
*resultobj
;
8872 wxString
*arg1
= 0 ;
8873 bool temp1
= false ;
8874 PyObject
* obj0
= 0 ;
8876 (char *) "msg", NULL
8879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8881 arg1
= wxString_in_helper(obj0
);
8882 if (arg1
== NULL
) SWIG_fail
;
8886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8887 wxLogSysError((wxString
const &)*arg1
);
8889 wxPyEndAllowThreads(__tstate
);
8890 if (PyErr_Occurred()) SWIG_fail
;
8892 Py_INCREF(Py_None
); resultobj
= Py_None
;
8907 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
8908 PyObject
*resultobj
;
8909 unsigned long arg1
;
8910 wxString
*arg2
= 0 ;
8911 bool temp2
= false ;
8912 PyObject
* obj0
= 0 ;
8913 PyObject
* obj1
= 0 ;
8915 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8916 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
8917 if (PyErr_Occurred()) SWIG_fail
;
8919 arg2
= wxString_in_helper(obj1
);
8920 if (arg2
== NULL
) SWIG_fail
;
8924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8925 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8927 wxPyEndAllowThreads(__tstate
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8930 Py_INCREF(Py_None
); resultobj
= Py_None
;
8945 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
8946 PyObject
*resultobj
;
8947 wxString
*arg1
= 0 ;
8948 wxString
*arg2
= 0 ;
8949 bool temp1
= false ;
8950 bool temp2
= false ;
8951 PyObject
* obj0
= 0 ;
8952 PyObject
* obj1
= 0 ;
8954 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8956 arg1
= wxString_in_helper(obj0
);
8957 if (arg1
== NULL
) SWIG_fail
;
8961 arg2
= wxString_in_helper(obj1
);
8962 if (arg2
== NULL
) SWIG_fail
;
8966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8967 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8969 wxPyEndAllowThreads(__tstate
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8972 Py_INCREF(Py_None
); resultobj
= Py_None
;
8995 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
9000 argc
= PyObject_Length(args
);
9001 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
9002 argv
[ii
] = PyTuple_GetItem(args
,ii
);
9007 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
9011 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9014 return _wrap_LogTrace__SWIG_1(self
,args
);
9020 _v
= SWIG_Check_unsigned_SS_long(argv
[0]);
9023 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
9026 return _wrap_LogTrace__SWIG_0(self
,args
);
9031 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
9036 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
*resultobj
;
9038 unsigned long arg1
;
9039 wxString
*arg2
= 0 ;
9040 bool temp2
= false ;
9041 PyObject
* obj0
= 0 ;
9042 PyObject
* obj1
= 0 ;
9044 (char *) "level",(char *) "msg", NULL
9047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
9048 arg1
= (unsigned long)SWIG_As_unsigned_SS_long(obj0
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9051 arg2
= wxString_in_helper(obj1
);
9052 if (arg2
== NULL
) SWIG_fail
;
9056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
9059 wxPyEndAllowThreads(__tstate
);
9060 if (PyErr_Occurred()) SWIG_fail
;
9062 Py_INCREF(Py_None
); resultobj
= Py_None
;
9077 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9078 PyObject
*resultobj
;
9079 wxString
*arg1
= 0 ;
9080 wxString
*arg2
= 0 ;
9081 bool temp1
= false ;
9082 bool temp2
= false ;
9083 PyObject
* obj0
= 0 ;
9084 PyObject
* obj1
= 0 ;
9086 (char *) "title",(char *) "text", NULL
9089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
9091 arg1
= wxString_in_helper(obj0
);
9092 if (arg1
== NULL
) SWIG_fail
;
9096 arg2
= wxString_in_helper(obj1
);
9097 if (arg2
== NULL
) SWIG_fail
;
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9107 Py_INCREF(Py_None
); resultobj
= Py_None
;
9130 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9131 PyObject
*resultobj
;
9137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 result
= (wxLogNull
*)new wxLogNull();
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
9152 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
;
9154 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
9155 PyObject
* obj0
= 0 ;
9157 (char *) "self", NULL
9160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
9161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
9162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9167 wxPyEndAllowThreads(__tstate
);
9168 if (PyErr_Occurred()) SWIG_fail
;
9170 Py_INCREF(Py_None
); resultobj
= Py_None
;
9177 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
9179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9180 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
9182 return Py_BuildValue((char *)"");
9184 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9185 PyObject
*resultobj
;
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
9193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9194 result
= (wxPyLog
*)new wxPyLog();
9196 wxPyEndAllowThreads(__tstate
);
9197 if (PyErr_Occurred()) SWIG_fail
;
9199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
9206 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
;
9208 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
9209 PyObject
*arg2
= (PyObject
*) 0 ;
9210 PyObject
*arg3
= (PyObject
*) 0 ;
9211 PyObject
* obj0
= 0 ;
9212 PyObject
* obj1
= 0 ;
9213 PyObject
* obj2
= 0 ;
9215 (char *) "self",(char *) "self",(char *) "_class", NULL
9218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
9220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9225 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9227 wxPyEndAllowThreads(__tstate
);
9228 if (PyErr_Occurred()) SWIG_fail
;
9230 Py_INCREF(Py_None
); resultobj
= Py_None
;
9237 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
9239 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9240 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
9242 return Py_BuildValue((char *)"");
9244 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9245 PyObject
*resultobj
;
9247 int arg2
= (int) wxSIGTERM
;
9249 PyObject
* obj0
= 0 ;
9250 PyObject
* obj1
= 0 ;
9252 (char *) "pid",(char *) "sig", NULL
9255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
9256 arg1
= (int)SWIG_As_int(obj0
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9259 arg2
= (int)SWIG_As_int(obj1
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
9266 wxPyEndAllowThreads(__tstate
);
9267 if (PyErr_Occurred()) SWIG_fail
;
9269 resultobj
= SWIG_From_int((int)result
);
9276 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9277 PyObject
*resultobj
;
9280 PyObject
* obj0
= 0 ;
9282 (char *) "pid", NULL
9285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
9286 arg1
= (int)SWIG_As_int(obj0
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9290 result
= (bool)wxPyProcess::Exists(arg1
);
9292 wxPyEndAllowThreads(__tstate
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9304 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9305 PyObject
*resultobj
;
9306 wxString
*arg1
= 0 ;
9307 int arg2
= (int) wxEXEC_ASYNC
;
9308 wxPyProcess
*result
;
9309 bool temp1
= false ;
9310 PyObject
* obj0
= 0 ;
9311 PyObject
* obj1
= 0 ;
9313 (char *) "cmd",(char *) "flags", NULL
9316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
9318 arg1
= wxString_in_helper(obj0
);
9319 if (arg1
== NULL
) SWIG_fail
;
9323 arg2
= (int)SWIG_As_int(obj1
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
9330 wxPyEndAllowThreads(__tstate
);
9331 if (PyErr_Occurred()) SWIG_fail
;
9333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9348 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9349 PyObject
*resultobj
;
9350 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9351 int arg2
= (int) -1 ;
9352 wxPyProcess
*result
;
9353 PyObject
* obj0
= 0 ;
9354 PyObject
* obj1
= 0 ;
9356 (char *) "parent",(char *) "id", NULL
9359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9365 arg2
= (int)SWIG_As_int(obj1
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9382 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9383 PyObject
*resultobj
;
9384 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9385 PyObject
*arg2
= (PyObject
*) 0 ;
9386 PyObject
*arg3
= (PyObject
*) 0 ;
9387 PyObject
* obj0
= 0 ;
9388 PyObject
* obj1
= 0 ;
9389 PyObject
* obj2
= 0 ;
9391 (char *) "self",(char *) "self",(char *) "_class", NULL
9394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9401 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9403 wxPyEndAllowThreads(__tstate
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9406 Py_INCREF(Py_None
); resultobj
= Py_None
;
9413 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9414 PyObject
*resultobj
;
9415 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9418 PyObject
* obj0
= 0 ;
9419 PyObject
* obj1
= 0 ;
9420 PyObject
* obj2
= 0 ;
9422 (char *) "self",(char *) "pid",(char *) "status", NULL
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9428 arg2
= (int)SWIG_As_int(obj1
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9430 arg3
= (int)SWIG_As_int(obj2
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9434 (arg1
)->base_OnTerminate(arg2
,arg3
);
9436 wxPyEndAllowThreads(__tstate
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9439 Py_INCREF(Py_None
); resultobj
= Py_None
;
9446 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9447 PyObject
*resultobj
;
9448 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9449 PyObject
* obj0
= 0 ;
9451 (char *) "self", NULL
9454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 wxPyEndAllowThreads(__tstate
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9464 Py_INCREF(Py_None
); resultobj
= Py_None
;
9471 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9472 PyObject
*resultobj
;
9473 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9475 PyObject
* obj0
= 0 ;
9477 (char *) "self", NULL
9480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9485 result
= (bool)(arg1
)->IsRedirected();
9487 wxPyEndAllowThreads(__tstate
);
9488 if (PyErr_Occurred()) SWIG_fail
;
9491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9499 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9500 PyObject
*resultobj
;
9501 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9502 PyObject
* obj0
= 0 ;
9504 (char *) "self", NULL
9507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9517 Py_INCREF(Py_None
); resultobj
= Py_None
;
9524 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9525 PyObject
*resultobj
;
9526 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9527 wxInputStream
*result
;
9528 PyObject
* obj0
= 0 ;
9530 (char *) "self", NULL
9533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9544 wxPyInputStream
* _ptr
= NULL
;
9547 _ptr
= new wxPyInputStream(result
);
9549 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), true);
9557 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
*resultobj
;
9559 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9560 wxInputStream
*result
;
9561 PyObject
* obj0
= 0 ;
9563 (char *) "self", NULL
9566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9571 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9573 wxPyEndAllowThreads(__tstate
);
9574 if (PyErr_Occurred()) SWIG_fail
;
9577 wxPyInputStream
* _ptr
= NULL
;
9580 _ptr
= new wxPyInputStream(result
);
9582 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), true);
9590 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
*resultobj
;
9592 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9593 wxOutputStream
*result
;
9594 PyObject
* obj0
= 0 ;
9596 (char *) "self", NULL
9599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9604 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9606 wxPyEndAllowThreads(__tstate
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9616 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9617 PyObject
*resultobj
;
9618 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9619 PyObject
* obj0
= 0 ;
9621 (char *) "self", NULL
9624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9629 (arg1
)->CloseOutput();
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9634 Py_INCREF(Py_None
); resultobj
= Py_None
;
9641 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
;
9643 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9645 PyObject
* obj0
= 0 ;
9647 (char *) "self", NULL
9650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9669 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9670 PyObject
*resultobj
;
9671 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9673 PyObject
* obj0
= 0 ;
9675 (char *) "self", NULL
9678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9697 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9698 PyObject
*resultobj
;
9699 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9701 PyObject
* obj0
= 0 ;
9703 (char *) "self", NULL
9706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9713 wxPyEndAllowThreads(__tstate
);
9714 if (PyErr_Occurred()) SWIG_fail
;
9717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9725 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
9727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9728 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9730 return Py_BuildValue((char *)"");
9732 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9733 PyObject
*resultobj
;
9734 int arg1
= (int) 0 ;
9735 int arg2
= (int) 0 ;
9736 int arg3
= (int) 0 ;
9737 wxProcessEvent
*result
;
9738 PyObject
* obj0
= 0 ;
9739 PyObject
* obj1
= 0 ;
9740 PyObject
* obj2
= 0 ;
9742 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9747 arg1
= (int)SWIG_As_int(obj0
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9751 arg2
= (int)SWIG_As_int(obj1
);
9752 if (PyErr_Occurred()) SWIG_fail
;
9755 arg3
= (int)SWIG_As_int(obj2
);
9756 if (PyErr_Occurred()) SWIG_fail
;
9759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9760 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9772 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
*resultobj
;
9774 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9776 PyObject
* obj0
= 0 ;
9778 (char *) "self", NULL
9781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9786 result
= (int)(arg1
)->GetPid();
9788 wxPyEndAllowThreads(__tstate
);
9789 if (PyErr_Occurred()) SWIG_fail
;
9791 resultobj
= SWIG_From_int((int)result
);
9798 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9799 PyObject
*resultobj
;
9800 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9802 PyObject
* obj0
= 0 ;
9804 (char *) "self", NULL
9807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 result
= (int)(arg1
)->GetExitCode();
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9817 resultobj
= SWIG_From_int((int)result
);
9824 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9825 PyObject
*resultobj
;
9826 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9828 PyObject
* obj0
= 0 ;
9829 PyObject
* obj1
= 0 ;
9831 (char *) "self",(char *) "m_pid", NULL
9834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9837 arg2
= (int)SWIG_As_int(obj1
);
9838 if (PyErr_Occurred()) SWIG_fail
;
9839 if (arg1
) (arg1
)->m_pid
= arg2
;
9841 Py_INCREF(Py_None
); resultobj
= Py_None
;
9848 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9849 PyObject
*resultobj
;
9850 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9852 PyObject
* obj0
= 0 ;
9854 (char *) "self", NULL
9857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9860 result
= (int) ((arg1
)->m_pid
);
9862 resultobj
= SWIG_From_int((int)result
);
9869 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9870 PyObject
*resultobj
;
9871 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9873 PyObject
* obj0
= 0 ;
9874 PyObject
* obj1
= 0 ;
9876 (char *) "self",(char *) "m_exitcode", NULL
9879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9882 arg2
= (int)SWIG_As_int(obj1
);
9883 if (PyErr_Occurred()) SWIG_fail
;
9884 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9886 Py_INCREF(Py_None
); resultobj
= Py_None
;
9893 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9894 PyObject
*resultobj
;
9895 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9897 PyObject
* obj0
= 0 ;
9899 (char *) "self", NULL
9902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9905 result
= (int) ((arg1
)->m_exitcode
);
9907 resultobj
= SWIG_From_int((int)result
);
9914 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
9916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9917 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9919 return Py_BuildValue((char *)"");
9921 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
;
9923 wxString
*arg1
= 0 ;
9924 int arg2
= (int) wxEXEC_ASYNC
;
9925 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9927 bool temp1
= false ;
9928 PyObject
* obj0
= 0 ;
9929 PyObject
* obj1
= 0 ;
9930 PyObject
* obj2
= 0 ;
9932 (char *) "command",(char *) "flags",(char *) "process", NULL
9935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9937 arg1
= wxString_in_helper(obj0
);
9938 if (arg1
== NULL
) SWIG_fail
;
9942 arg2
= (int)SWIG_As_int(obj1
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9946 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9950 if (!wxPyCheckForApp()) SWIG_fail
;
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9957 resultobj
= SWIG_From_long((long)result
);
9972 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9973 PyObject
*resultobj
;
9974 int arg1
= (int) wxJOYSTICK1
;
9976 PyObject
* obj0
= 0 ;
9978 (char *) "joystick", NULL
9981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9983 arg1
= (int)SWIG_As_int(obj0
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9987 if (!wxPyCheckForApp()) SWIG_fail
;
9988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9989 result
= (wxJoystick
*)new wxJoystick(arg1
);
9991 wxPyEndAllowThreads(__tstate
);
9992 if (PyErr_Occurred()) SWIG_fail
;
9994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
10001 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
*resultobj
;
10003 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10004 PyObject
* obj0
= 0 ;
10005 char *kwnames
[] = {
10006 (char *) "self", NULL
10009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
10010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 wxPyEndAllowThreads(__tstate
);
10017 if (PyErr_Occurred()) SWIG_fail
;
10019 Py_INCREF(Py_None
); resultobj
= Py_None
;
10026 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10027 PyObject
*resultobj
;
10028 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10030 PyObject
* obj0
= 0 ;
10031 char *kwnames
[] = {
10032 (char *) "self", NULL
10035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
10036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10040 result
= (arg1
)->GetPosition();
10042 wxPyEndAllowThreads(__tstate
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10046 wxPoint
* resultptr
;
10047 resultptr
= new wxPoint((wxPoint
&) result
);
10048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10056 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
*resultobj
;
10058 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10060 PyObject
* obj0
= 0 ;
10061 char *kwnames
[] = {
10062 (char *) "self", NULL
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
10066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10070 result
= (int)(arg1
)->GetZPosition();
10072 wxPyEndAllowThreads(__tstate
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10075 resultobj
= SWIG_From_int((int)result
);
10082 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10083 PyObject
*resultobj
;
10084 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10086 PyObject
* obj0
= 0 ;
10087 char *kwnames
[] = {
10088 (char *) "self", NULL
10091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
10092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10096 result
= (int)(arg1
)->GetButtonState();
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 resultobj
= SWIG_From_int((int)result
);
10108 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
*resultobj
;
10110 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10112 PyObject
* obj0
= 0 ;
10113 char *kwnames
[] = {
10114 (char *) "self", NULL
10117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
10118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 result
= (int)(arg1
)->GetPOVPosition();
10124 wxPyEndAllowThreads(__tstate
);
10125 if (PyErr_Occurred()) SWIG_fail
;
10127 resultobj
= SWIG_From_int((int)result
);
10134 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
*resultobj
;
10136 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10138 PyObject
* obj0
= 0 ;
10139 char *kwnames
[] = {
10140 (char *) "self", NULL
10143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
10144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10148 result
= (int)(arg1
)->GetPOVCTSPosition();
10150 wxPyEndAllowThreads(__tstate
);
10151 if (PyErr_Occurred()) SWIG_fail
;
10153 resultobj
= SWIG_From_int((int)result
);
10160 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10161 PyObject
*resultobj
;
10162 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10164 PyObject
* obj0
= 0 ;
10165 char *kwnames
[] = {
10166 (char *) "self", NULL
10169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
10170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10174 result
= (int)(arg1
)->GetRudderPosition();
10176 wxPyEndAllowThreads(__tstate
);
10177 if (PyErr_Occurred()) SWIG_fail
;
10179 resultobj
= SWIG_From_int((int)result
);
10186 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10187 PyObject
*resultobj
;
10188 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10190 PyObject
* obj0
= 0 ;
10191 char *kwnames
[] = {
10192 (char *) "self", NULL
10195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
10196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10200 result
= (int)(arg1
)->GetUPosition();
10202 wxPyEndAllowThreads(__tstate
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10205 resultobj
= SWIG_From_int((int)result
);
10212 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10213 PyObject
*resultobj
;
10214 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10216 PyObject
* obj0
= 0 ;
10217 char *kwnames
[] = {
10218 (char *) "self", NULL
10221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
10222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 result
= (int)(arg1
)->GetVPosition();
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= SWIG_From_int((int)result
);
10238 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10239 PyObject
*resultobj
;
10240 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10242 PyObject
* obj0
= 0 ;
10243 char *kwnames
[] = {
10244 (char *) "self", NULL
10247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
10248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 result
= (int)(arg1
)->GetMovementThreshold();
10254 wxPyEndAllowThreads(__tstate
);
10255 if (PyErr_Occurred()) SWIG_fail
;
10257 resultobj
= SWIG_From_int((int)result
);
10264 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10265 PyObject
*resultobj
;
10266 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10268 PyObject
* obj0
= 0 ;
10269 PyObject
* obj1
= 0 ;
10270 char *kwnames
[] = {
10271 (char *) "self",(char *) "threshold", NULL
10274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
10275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10277 arg2
= (int)SWIG_As_int(obj1
);
10278 if (PyErr_Occurred()) SWIG_fail
;
10280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10281 (arg1
)->SetMovementThreshold(arg2
);
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10286 Py_INCREF(Py_None
); resultobj
= Py_None
;
10293 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10294 PyObject
*resultobj
;
10295 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10297 PyObject
* obj0
= 0 ;
10298 char *kwnames
[] = {
10299 (char *) "self", NULL
10302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
10303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 result
= (bool)(arg1
)->IsOk();
10309 wxPyEndAllowThreads(__tstate
);
10310 if (PyErr_Occurred()) SWIG_fail
;
10313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10321 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10322 PyObject
*resultobj
;
10323 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10325 PyObject
* obj0
= 0 ;
10326 char *kwnames
[] = {
10327 (char *) "self", NULL
10330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
10331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 result
= (int)(arg1
)->GetNumberJoysticks();
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10340 resultobj
= SWIG_From_int((int)result
);
10347 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10348 PyObject
*resultobj
;
10349 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10351 PyObject
* obj0
= 0 ;
10352 char *kwnames
[] = {
10353 (char *) "self", NULL
10356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 result
= (int)(arg1
)->GetManufacturerId();
10363 wxPyEndAllowThreads(__tstate
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10366 resultobj
= SWIG_From_int((int)result
);
10373 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
*resultobj
;
10375 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10377 PyObject
* obj0
= 0 ;
10378 char *kwnames
[] = {
10379 (char *) "self", NULL
10382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 result
= (int)(arg1
)->GetProductId();
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10392 resultobj
= SWIG_From_int((int)result
);
10399 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10400 PyObject
*resultobj
;
10401 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10403 PyObject
* obj0
= 0 ;
10404 char *kwnames
[] = {
10405 (char *) "self", NULL
10408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 result
= (arg1
)->GetProductName();
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10420 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10422 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10431 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10432 PyObject
*resultobj
;
10433 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10435 PyObject
* obj0
= 0 ;
10436 char *kwnames
[] = {
10437 (char *) "self", NULL
10440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10445 result
= (int)(arg1
)->GetXMin();
10447 wxPyEndAllowThreads(__tstate
);
10448 if (PyErr_Occurred()) SWIG_fail
;
10450 resultobj
= SWIG_From_int((int)result
);
10457 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10458 PyObject
*resultobj
;
10459 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10461 PyObject
* obj0
= 0 ;
10462 char *kwnames
[] = {
10463 (char *) "self", NULL
10466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 result
= (int)(arg1
)->GetYMin();
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 resultobj
= SWIG_From_int((int)result
);
10483 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10484 PyObject
*resultobj
;
10485 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10487 PyObject
* obj0
= 0 ;
10488 char *kwnames
[] = {
10489 (char *) "self", NULL
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 result
= (int)(arg1
)->GetZMin();
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10502 resultobj
= SWIG_From_int((int)result
);
10509 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10510 PyObject
*resultobj
;
10511 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10513 PyObject
* obj0
= 0 ;
10514 char *kwnames
[] = {
10515 (char *) "self", NULL
10518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10523 result
= (int)(arg1
)->GetXMax();
10525 wxPyEndAllowThreads(__tstate
);
10526 if (PyErr_Occurred()) SWIG_fail
;
10528 resultobj
= SWIG_From_int((int)result
);
10535 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10536 PyObject
*resultobj
;
10537 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10539 PyObject
* obj0
= 0 ;
10540 char *kwnames
[] = {
10541 (char *) "self", NULL
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10549 result
= (int)(arg1
)->GetYMax();
10551 wxPyEndAllowThreads(__tstate
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10554 resultobj
= SWIG_From_int((int)result
);
10561 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10562 PyObject
*resultobj
;
10563 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10565 PyObject
* obj0
= 0 ;
10566 char *kwnames
[] = {
10567 (char *) "self", NULL
10570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10575 result
= (int)(arg1
)->GetZMax();
10577 wxPyEndAllowThreads(__tstate
);
10578 if (PyErr_Occurred()) SWIG_fail
;
10580 resultobj
= SWIG_From_int((int)result
);
10587 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10588 PyObject
*resultobj
;
10589 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10591 PyObject
* obj0
= 0 ;
10592 char *kwnames
[] = {
10593 (char *) "self", NULL
10596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10601 result
= (int)(arg1
)->GetNumberButtons();
10603 wxPyEndAllowThreads(__tstate
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10606 resultobj
= SWIG_From_int((int)result
);
10613 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
*resultobj
;
10615 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10617 PyObject
* obj0
= 0 ;
10618 char *kwnames
[] = {
10619 (char *) "self", NULL
10622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10627 result
= (int)(arg1
)->GetNumberAxes();
10629 wxPyEndAllowThreads(__tstate
);
10630 if (PyErr_Occurred()) SWIG_fail
;
10632 resultobj
= SWIG_From_int((int)result
);
10639 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10640 PyObject
*resultobj
;
10641 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10643 PyObject
* obj0
= 0 ;
10644 char *kwnames
[] = {
10645 (char *) "self", NULL
10648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 result
= (int)(arg1
)->GetMaxButtons();
10655 wxPyEndAllowThreads(__tstate
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10658 resultobj
= SWIG_From_int((int)result
);
10665 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10666 PyObject
*resultobj
;
10667 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10669 PyObject
* obj0
= 0 ;
10670 char *kwnames
[] = {
10671 (char *) "self", NULL
10674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10679 result
= (int)(arg1
)->GetMaxAxes();
10681 wxPyEndAllowThreads(__tstate
);
10682 if (PyErr_Occurred()) SWIG_fail
;
10684 resultobj
= SWIG_From_int((int)result
);
10691 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10692 PyObject
*resultobj
;
10693 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10695 PyObject
* obj0
= 0 ;
10696 char *kwnames
[] = {
10697 (char *) "self", NULL
10700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10705 result
= (int)(arg1
)->GetPollingMin();
10707 wxPyEndAllowThreads(__tstate
);
10708 if (PyErr_Occurred()) SWIG_fail
;
10710 resultobj
= SWIG_From_int((int)result
);
10717 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10718 PyObject
*resultobj
;
10719 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10721 PyObject
* obj0
= 0 ;
10722 char *kwnames
[] = {
10723 (char *) "self", NULL
10726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10731 result
= (int)(arg1
)->GetPollingMax();
10733 wxPyEndAllowThreads(__tstate
);
10734 if (PyErr_Occurred()) SWIG_fail
;
10736 resultobj
= SWIG_From_int((int)result
);
10743 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10744 PyObject
*resultobj
;
10745 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10747 PyObject
* obj0
= 0 ;
10748 char *kwnames
[] = {
10749 (char *) "self", NULL
10752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10757 result
= (int)(arg1
)->GetRudderMin();
10759 wxPyEndAllowThreads(__tstate
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10762 resultobj
= SWIG_From_int((int)result
);
10769 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
;
10771 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10773 PyObject
* obj0
= 0 ;
10774 char *kwnames
[] = {
10775 (char *) "self", NULL
10778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10783 result
= (int)(arg1
)->GetRudderMax();
10785 wxPyEndAllowThreads(__tstate
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10788 resultobj
= SWIG_From_int((int)result
);
10795 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10796 PyObject
*resultobj
;
10797 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10799 PyObject
* obj0
= 0 ;
10800 char *kwnames
[] = {
10801 (char *) "self", NULL
10804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 result
= (int)(arg1
)->GetUMin();
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10814 resultobj
= SWIG_From_int((int)result
);
10821 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10822 PyObject
*resultobj
;
10823 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10825 PyObject
* obj0
= 0 ;
10826 char *kwnames
[] = {
10827 (char *) "self", NULL
10830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 result
= (int)(arg1
)->GetUMax();
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10840 resultobj
= SWIG_From_int((int)result
);
10847 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
;
10849 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10851 PyObject
* obj0
= 0 ;
10852 char *kwnames
[] = {
10853 (char *) "self", NULL
10856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10861 result
= (int)(arg1
)->GetVMin();
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 resultobj
= SWIG_From_int((int)result
);
10873 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
*resultobj
;
10875 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10877 PyObject
* obj0
= 0 ;
10878 char *kwnames
[] = {
10879 (char *) "self", NULL
10882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10887 result
= (int)(arg1
)->GetVMax();
10889 wxPyEndAllowThreads(__tstate
);
10890 if (PyErr_Occurred()) SWIG_fail
;
10892 resultobj
= SWIG_From_int((int)result
);
10899 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
;
10901 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10903 PyObject
* obj0
= 0 ;
10904 char *kwnames
[] = {
10905 (char *) "self", NULL
10908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 result
= (bool)(arg1
)->HasRudder();
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10927 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10928 PyObject
*resultobj
;
10929 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10931 PyObject
* obj0
= 0 ;
10932 char *kwnames
[] = {
10933 (char *) "self", NULL
10936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10941 result
= (bool)(arg1
)->HasZ();
10943 wxPyEndAllowThreads(__tstate
);
10944 if (PyErr_Occurred()) SWIG_fail
;
10947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10955 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10956 PyObject
*resultobj
;
10957 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10959 PyObject
* obj0
= 0 ;
10960 char *kwnames
[] = {
10961 (char *) "self", NULL
10964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10969 result
= (bool)(arg1
)->HasU();
10971 wxPyEndAllowThreads(__tstate
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10983 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10984 PyObject
*resultobj
;
10985 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10987 PyObject
* obj0
= 0 ;
10988 char *kwnames
[] = {
10989 (char *) "self", NULL
10992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 result
= (bool)(arg1
)->HasV();
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) SWIG_fail
;
11003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11011 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11012 PyObject
*resultobj
;
11013 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11015 PyObject
* obj0
= 0 ;
11016 char *kwnames
[] = {
11017 (char *) "self", NULL
11020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
11021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11025 result
= (bool)(arg1
)->HasPOV();
11027 wxPyEndAllowThreads(__tstate
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11039 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11040 PyObject
*resultobj
;
11041 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11043 PyObject
* obj0
= 0 ;
11044 char *kwnames
[] = {
11045 (char *) "self", NULL
11048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
11049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 result
= (bool)(arg1
)->HasPOV4Dir();
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11067 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11068 PyObject
*resultobj
;
11069 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11071 PyObject
* obj0
= 0 ;
11072 char *kwnames
[] = {
11073 (char *) "self", NULL
11076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
11077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11081 result
= (bool)(arg1
)->HasPOVCTS();
11083 wxPyEndAllowThreads(__tstate
);
11084 if (PyErr_Occurred()) SWIG_fail
;
11087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11095 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11096 PyObject
*resultobj
;
11097 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11098 wxWindow
*arg2
= (wxWindow
*) 0 ;
11099 int arg3
= (int) 0 ;
11101 PyObject
* obj0
= 0 ;
11102 PyObject
* obj1
= 0 ;
11103 PyObject
* obj2
= 0 ;
11104 char *kwnames
[] = {
11105 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
11108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11114 arg3
= (int)SWIG_As_int(obj2
);
11115 if (PyErr_Occurred()) SWIG_fail
;
11118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11119 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
11121 wxPyEndAllowThreads(__tstate
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11133 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11134 PyObject
*resultobj
;
11135 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
11137 PyObject
* obj0
= 0 ;
11138 char *kwnames
[] = {
11139 (char *) "self", NULL
11142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
11143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
11144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11147 result
= (bool)(arg1
)->ReleaseCapture();
11149 wxPyEndAllowThreads(__tstate
);
11150 if (PyErr_Occurred()) SWIG_fail
;
11153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11161 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
11163 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11164 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
11166 return Py_BuildValue((char *)"");
11168 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11169 PyObject
*resultobj
;
11170 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11171 wxPoint
*arg2
= (wxPoint
*) 0 ;
11172 PyObject
* obj0
= 0 ;
11173 PyObject
* obj1
= 0 ;
11174 char *kwnames
[] = {
11175 (char *) "self",(char *) "m_pos", NULL
11178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
11182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11183 if (arg1
) (arg1
)->m_pos
= *arg2
;
11185 Py_INCREF(Py_None
); resultobj
= Py_None
;
11192 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11193 PyObject
*resultobj
;
11194 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11196 PyObject
* obj0
= 0 ;
11197 char *kwnames
[] = {
11198 (char *) "self", NULL
11201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
11202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11204 result
= (wxPoint
*)& ((arg1
)->m_pos
);
11206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
11213 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
;
11215 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11217 PyObject
* obj0
= 0 ;
11218 PyObject
* obj1
= 0 ;
11219 char *kwnames
[] = {
11220 (char *) "self",(char *) "m_zPosition", NULL
11223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11226 arg2
= (int)SWIG_As_int(obj1
);
11227 if (PyErr_Occurred()) SWIG_fail
;
11228 if (arg1
) (arg1
)->m_zPosition
= arg2
;
11230 Py_INCREF(Py_None
); resultobj
= Py_None
;
11237 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11238 PyObject
*resultobj
;
11239 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11241 PyObject
* obj0
= 0 ;
11242 char *kwnames
[] = {
11243 (char *) "self", NULL
11246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
11247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11249 result
= (int) ((arg1
)->m_zPosition
);
11251 resultobj
= SWIG_From_int((int)result
);
11258 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11259 PyObject
*resultobj
;
11260 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11262 PyObject
* obj0
= 0 ;
11263 PyObject
* obj1
= 0 ;
11264 char *kwnames
[] = {
11265 (char *) "self",(char *) "m_buttonChange", NULL
11268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11271 arg2
= (int)SWIG_As_int(obj1
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11273 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
11275 Py_INCREF(Py_None
); resultobj
= Py_None
;
11282 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11283 PyObject
*resultobj
;
11284 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11286 PyObject
* obj0
= 0 ;
11287 char *kwnames
[] = {
11288 (char *) "self", NULL
11291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
11292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11294 result
= (int) ((arg1
)->m_buttonChange
);
11296 resultobj
= SWIG_From_int((int)result
);
11303 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11304 PyObject
*resultobj
;
11305 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11307 PyObject
* obj0
= 0 ;
11308 PyObject
* obj1
= 0 ;
11309 char *kwnames
[] = {
11310 (char *) "self",(char *) "m_buttonState", NULL
11313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11316 arg2
= (int)SWIG_As_int(obj1
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11318 if (arg1
) (arg1
)->m_buttonState
= arg2
;
11320 Py_INCREF(Py_None
); resultobj
= Py_None
;
11327 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11328 PyObject
*resultobj
;
11329 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11331 PyObject
* obj0
= 0 ;
11332 char *kwnames
[] = {
11333 (char *) "self", NULL
11336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11339 result
= (int) ((arg1
)->m_buttonState
);
11341 resultobj
= SWIG_From_int((int)result
);
11348 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11349 PyObject
*resultobj
;
11350 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11352 PyObject
* obj0
= 0 ;
11353 PyObject
* obj1
= 0 ;
11354 char *kwnames
[] = {
11355 (char *) "self",(char *) "m_joyStick", NULL
11358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11361 arg2
= (int)SWIG_As_int(obj1
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11363 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11365 Py_INCREF(Py_None
); resultobj
= Py_None
;
11372 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11373 PyObject
*resultobj
;
11374 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11376 PyObject
* obj0
= 0 ;
11377 char *kwnames
[] = {
11378 (char *) "self", NULL
11381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11384 result
= (int) ((arg1
)->m_joyStick
);
11386 resultobj
= SWIG_From_int((int)result
);
11393 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11394 PyObject
*resultobj
;
11395 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11396 int arg2
= (int) 0 ;
11397 int arg3
= (int) wxJOYSTICK1
;
11398 int arg4
= (int) 0 ;
11399 wxJoystickEvent
*result
;
11400 PyObject
* obj0
= 0 ;
11401 PyObject
* obj1
= 0 ;
11402 PyObject
* obj2
= 0 ;
11403 PyObject
* obj3
= 0 ;
11404 char *kwnames
[] = {
11405 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11410 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11414 arg2
= (int)SWIG_As_int(obj1
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11418 arg3
= (int)SWIG_As_int(obj2
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11422 arg4
= (int)SWIG_As_int(obj3
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11427 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11429 wxPyEndAllowThreads(__tstate
);
11430 if (PyErr_Occurred()) SWIG_fail
;
11432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11439 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11440 PyObject
*resultobj
;
11441 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11443 PyObject
* obj0
= 0 ;
11444 char *kwnames
[] = {
11445 (char *) "self", NULL
11448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11453 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11459 wxPoint
* resultptr
;
11460 resultptr
= new wxPoint((wxPoint
&) result
);
11461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11469 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11470 PyObject
*resultobj
;
11471 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11473 PyObject
* obj0
= 0 ;
11474 char *kwnames
[] = {
11475 (char *) "self", NULL
11478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11488 resultobj
= SWIG_From_int((int)result
);
11495 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11496 PyObject
*resultobj
;
11497 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11499 PyObject
* obj0
= 0 ;
11500 char *kwnames
[] = {
11501 (char *) "self", NULL
11504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11509 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11511 wxPyEndAllowThreads(__tstate
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11514 resultobj
= SWIG_From_int((int)result
);
11521 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11522 PyObject
*resultobj
;
11523 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11525 PyObject
* obj0
= 0 ;
11526 char *kwnames
[] = {
11527 (char *) "self", NULL
11530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11537 wxPyEndAllowThreads(__tstate
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11540 resultobj
= SWIG_From_int((int)result
);
11547 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11548 PyObject
*resultobj
;
11549 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11551 PyObject
* obj0
= 0 ;
11552 char *kwnames
[] = {
11553 (char *) "self", NULL
11556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11561 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11563 wxPyEndAllowThreads(__tstate
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11566 resultobj
= SWIG_From_int((int)result
);
11573 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11574 PyObject
*resultobj
;
11575 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11577 PyObject
* obj0
= 0 ;
11578 PyObject
* obj1
= 0 ;
11579 char *kwnames
[] = {
11580 (char *) "self",(char *) "stick", NULL
11583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11586 arg2
= (int)SWIG_As_int(obj1
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11590 (arg1
)->SetJoystick(arg2
);
11592 wxPyEndAllowThreads(__tstate
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11595 Py_INCREF(Py_None
); resultobj
= Py_None
;
11602 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11603 PyObject
*resultobj
;
11604 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11606 PyObject
* obj0
= 0 ;
11607 PyObject
* obj1
= 0 ;
11608 char *kwnames
[] = {
11609 (char *) "self",(char *) "state", NULL
11612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11615 arg2
= (int)SWIG_As_int(obj1
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11619 (arg1
)->SetButtonState(arg2
);
11621 wxPyEndAllowThreads(__tstate
);
11622 if (PyErr_Occurred()) SWIG_fail
;
11624 Py_INCREF(Py_None
); resultobj
= Py_None
;
11631 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11632 PyObject
*resultobj
;
11633 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11635 PyObject
* obj0
= 0 ;
11636 PyObject
* obj1
= 0 ;
11637 char *kwnames
[] = {
11638 (char *) "self",(char *) "change", NULL
11641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11644 arg2
= (int)SWIG_As_int(obj1
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11648 (arg1
)->SetButtonChange(arg2
);
11650 wxPyEndAllowThreads(__tstate
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11653 Py_INCREF(Py_None
); resultobj
= Py_None
;
11660 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11661 PyObject
*resultobj
;
11662 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11663 wxPoint
*arg2
= 0 ;
11665 PyObject
* obj0
= 0 ;
11666 PyObject
* obj1
= 0 ;
11667 char *kwnames
[] = {
11668 (char *) "self",(char *) "pos", NULL
11671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11676 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11680 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11682 wxPyEndAllowThreads(__tstate
);
11683 if (PyErr_Occurred()) SWIG_fail
;
11685 Py_INCREF(Py_None
); resultobj
= Py_None
;
11692 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11693 PyObject
*resultobj
;
11694 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11696 PyObject
* obj0
= 0 ;
11697 PyObject
* obj1
= 0 ;
11698 char *kwnames
[] = {
11699 (char *) "self",(char *) "zPos", NULL
11702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11705 arg2
= (int)SWIG_As_int(obj1
);
11706 if (PyErr_Occurred()) SWIG_fail
;
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 (arg1
)->SetZPosition(arg2
);
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11714 Py_INCREF(Py_None
); resultobj
= Py_None
;
11721 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
;
11723 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11725 PyObject
* obj0
= 0 ;
11726 char *kwnames
[] = {
11727 (char *) "self", NULL
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11735 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11737 wxPyEndAllowThreads(__tstate
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11749 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11750 PyObject
*resultobj
;
11751 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11753 PyObject
* obj0
= 0 ;
11754 char *kwnames
[] = {
11755 (char *) "self", NULL
11758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11763 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11765 wxPyEndAllowThreads(__tstate
);
11766 if (PyErr_Occurred()) SWIG_fail
;
11769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11777 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11778 PyObject
*resultobj
;
11779 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11781 PyObject
* obj0
= 0 ;
11782 char *kwnames
[] = {
11783 (char *) "self", NULL
11786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11791 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11793 wxPyEndAllowThreads(__tstate
);
11794 if (PyErr_Occurred()) SWIG_fail
;
11797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11805 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11806 PyObject
*resultobj
;
11807 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11808 int arg2
= (int) wxJOY_BUTTON_ANY
;
11810 PyObject
* obj0
= 0 ;
11811 PyObject
* obj1
= 0 ;
11812 char *kwnames
[] = {
11813 (char *) "self",(char *) "but", NULL
11816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11820 arg2
= (int)SWIG_As_int(obj1
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11825 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11827 wxPyEndAllowThreads(__tstate
);
11828 if (PyErr_Occurred()) SWIG_fail
;
11831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11839 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11840 PyObject
*resultobj
;
11841 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11842 int arg2
= (int) wxJOY_BUTTON_ANY
;
11844 PyObject
* obj0
= 0 ;
11845 PyObject
* obj1
= 0 ;
11846 char *kwnames
[] = {
11847 (char *) "self",(char *) "but", NULL
11850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11854 arg2
= (int)SWIG_As_int(obj1
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11859 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11861 wxPyEndAllowThreads(__tstate
);
11862 if (PyErr_Occurred()) SWIG_fail
;
11865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11873 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11874 PyObject
*resultobj
;
11875 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11876 int arg2
= (int) wxJOY_BUTTON_ANY
;
11878 PyObject
* obj0
= 0 ;
11879 PyObject
* obj1
= 0 ;
11880 char *kwnames
[] = {
11881 (char *) "self",(char *) "but", NULL
11884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11888 arg2
= (int)SWIG_As_int(obj1
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11893 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11895 wxPyEndAllowThreads(__tstate
);
11896 if (PyErr_Occurred()) SWIG_fail
;
11899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11907 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
11909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11910 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11912 return Py_BuildValue((char *)"");
11914 static PyObject
*_wrap_new_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11915 PyObject
*resultobj
;
11916 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11917 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11919 bool temp1
= false ;
11920 PyObject
* obj0
= 0 ;
11921 char *kwnames
[] = {
11922 (char *) "fileName", NULL
11925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11928 arg1
= wxString_in_helper(obj0
);
11929 if (arg1
== NULL
) SWIG_fail
;
11934 if (!wxPyCheckForApp()) SWIG_fail
;
11935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11936 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11938 wxPyEndAllowThreads(__tstate
);
11939 if (PyErr_Occurred()) SWIG_fail
;
11941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11956 static PyObject
*_wrap_new_SoundFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11957 PyObject
*resultobj
;
11958 PyObject
*arg1
= (PyObject
*) 0 ;
11960 PyObject
* obj0
= 0 ;
11961 char *kwnames
[] = {
11962 (char *) "data", NULL
11965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11968 if (!wxPyCheckForApp()) SWIG_fail
;
11969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11970 result
= (wxSound
*)new_wxSound(arg1
);
11972 wxPyEndAllowThreads(__tstate
);
11973 if (PyErr_Occurred()) SWIG_fail
;
11975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11982 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11983 PyObject
*resultobj
;
11984 wxSound
*arg1
= (wxSound
*) 0 ;
11985 PyObject
* obj0
= 0 ;
11986 char *kwnames
[] = {
11987 (char *) "self", NULL
11990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11997 wxPyEndAllowThreads(__tstate
);
11998 if (PyErr_Occurred()) SWIG_fail
;
12000 Py_INCREF(Py_None
); resultobj
= Py_None
;
12007 static PyObject
*_wrap_Sound_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12008 PyObject
*resultobj
;
12009 wxSound
*arg1
= (wxSound
*) 0 ;
12010 wxString
*arg2
= 0 ;
12012 bool temp2
= false ;
12013 PyObject
* obj0
= 0 ;
12014 PyObject
* obj1
= 0 ;
12015 char *kwnames
[] = {
12016 (char *) "self",(char *) "fileName", NULL
12019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
12020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12023 arg2
= wxString_in_helper(obj1
);
12024 if (arg2
== NULL
) SWIG_fail
;
12028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12029 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
12031 wxPyEndAllowThreads(__tstate
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12051 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12052 PyObject
*resultobj
;
12053 wxSound
*arg1
= (wxSound
*) 0 ;
12054 PyObject
*arg2
= (PyObject
*) 0 ;
12056 PyObject
* obj0
= 0 ;
12057 PyObject
* obj1
= 0 ;
12058 char *kwnames
[] = {
12059 (char *) "self",(char *) "data", NULL
12062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
12063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12068 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
12070 wxPyEndAllowThreads(__tstate
);
12071 if (PyErr_Occurred()) SWIG_fail
;
12074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12082 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12083 PyObject
*resultobj
;
12084 wxSound
*arg1
= (wxSound
*) 0 ;
12086 PyObject
* obj0
= 0 ;
12087 char *kwnames
[] = {
12088 (char *) "self", NULL
12091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
12092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 result
= (bool)(arg1
)->IsOk();
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12110 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12111 PyObject
*resultobj
;
12112 wxSound
*arg1
= (wxSound
*) 0 ;
12113 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12115 PyObject
* obj0
= 0 ;
12116 PyObject
* obj1
= 0 ;
12117 char *kwnames
[] = {
12118 (char *) "self",(char *) "flags", NULL
12121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
12122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
12123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12125 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12129 if (!wxPyCheckForApp()) SWIG_fail
;
12130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12131 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
12133 wxPyEndAllowThreads(__tstate
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12145 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12146 PyObject
*resultobj
;
12147 wxString
*arg1
= 0 ;
12148 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
12150 bool temp1
= false ;
12151 PyObject
* obj0
= 0 ;
12152 PyObject
* obj1
= 0 ;
12153 char *kwnames
[] = {
12154 (char *) "filename",(char *) "flags", NULL
12157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
12159 arg1
= wxString_in_helper(obj0
);
12160 if (arg1
== NULL
) SWIG_fail
;
12164 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
12165 if (PyErr_Occurred()) SWIG_fail
;
12168 if (!wxPyCheckForApp()) SWIG_fail
;
12169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12170 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
12172 wxPyEndAllowThreads(__tstate
);
12173 if (PyErr_Occurred()) SWIG_fail
;
12176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12192 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12193 PyObject
*resultobj
;
12194 char *kwnames
[] = {
12198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
12200 if (!wxPyCheckForApp()) SWIG_fail
;
12201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12204 wxPyEndAllowThreads(__tstate
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12207 Py_INCREF(Py_None
); resultobj
= Py_None
;
12214 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
12216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12217 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
12219 return Py_BuildValue((char *)"");
12221 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12222 PyObject
*resultobj
;
12223 wxString
*arg1
= 0 ;
12224 wxString
*arg2
= 0 ;
12225 wxString
*arg3
= 0 ;
12226 wxString
*arg4
= 0 ;
12227 wxFileTypeInfo
*result
;
12228 bool temp1
= false ;
12229 bool temp2
= false ;
12230 bool temp3
= false ;
12231 bool temp4
= false ;
12232 PyObject
* obj0
= 0 ;
12233 PyObject
* obj1
= 0 ;
12234 PyObject
* obj2
= 0 ;
12235 PyObject
* obj3
= 0 ;
12236 char *kwnames
[] = {
12237 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
12240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12242 arg1
= wxString_in_helper(obj0
);
12243 if (arg1
== NULL
) SWIG_fail
;
12247 arg2
= wxString_in_helper(obj1
);
12248 if (arg2
== NULL
) SWIG_fail
;
12252 arg3
= wxString_in_helper(obj2
);
12253 if (arg3
== NULL
) SWIG_fail
;
12257 arg4
= wxString_in_helper(obj3
);
12258 if (arg4
== NULL
) SWIG_fail
;
12262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12263 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12265 wxPyEndAllowThreads(__tstate
);
12266 if (PyErr_Occurred()) SWIG_fail
;
12268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12307 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12308 PyObject
*resultobj
;
12309 wxArrayString
*arg1
= 0 ;
12310 wxFileTypeInfo
*result
;
12311 bool temp1
= false ;
12312 PyObject
* obj0
= 0 ;
12313 char *kwnames
[] = {
12314 (char *) "sArray", NULL
12317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
12319 if (! PySequence_Check(obj0
)) {
12320 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12323 arg1
= new wxArrayString
;
12325 int i
, len
=PySequence_Length(obj0
);
12326 for (i
=0; i
<len
; i
++) {
12327 PyObject
* item
= PySequence_GetItem(obj0
, i
);
12329 PyObject
* str
= PyObject_Unicode(item
);
12331 PyObject
* str
= PyObject_Str(item
);
12333 if (PyErr_Occurred()) SWIG_fail
;
12334 arg1
->Add(Py2wxString(str
));
12340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12341 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12343 wxPyEndAllowThreads(__tstate
);
12344 if (PyErr_Occurred()) SWIG_fail
;
12346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12348 if (temp1
) delete arg1
;
12353 if (temp1
) delete arg1
;
12359 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12360 PyObject
*resultobj
;
12361 wxFileTypeInfo
*result
;
12362 char *kwnames
[] = {
12366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12369 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12371 wxPyEndAllowThreads(__tstate
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12381 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12382 PyObject
*resultobj
;
12383 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12385 PyObject
* obj0
= 0 ;
12386 char *kwnames
[] = {
12387 (char *) "self", NULL
12390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12395 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12409 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12410 PyObject
*resultobj
;
12411 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12412 wxString
*arg2
= 0 ;
12413 int arg3
= (int) 0 ;
12414 bool temp2
= false ;
12415 PyObject
* obj0
= 0 ;
12416 PyObject
* obj1
= 0 ;
12417 PyObject
* obj2
= 0 ;
12418 char *kwnames
[] = {
12419 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12426 arg2
= wxString_in_helper(obj1
);
12427 if (arg2
== NULL
) SWIG_fail
;
12431 arg3
= (int)SWIG_As_int(obj2
);
12432 if (PyErr_Occurred()) SWIG_fail
;
12435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12436 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12438 wxPyEndAllowThreads(__tstate
);
12439 if (PyErr_Occurred()) SWIG_fail
;
12441 Py_INCREF(Py_None
); resultobj
= Py_None
;
12456 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12457 PyObject
*resultobj
;
12458 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12459 wxString
*arg2
= 0 ;
12460 bool temp2
= false ;
12461 PyObject
* obj0
= 0 ;
12462 PyObject
* obj1
= 0 ;
12463 char *kwnames
[] = {
12464 (char *) "self",(char *) "shortDesc", NULL
12467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12471 arg2
= wxString_in_helper(obj1
);
12472 if (arg2
== NULL
) SWIG_fail
;
12476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12477 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12479 wxPyEndAllowThreads(__tstate
);
12480 if (PyErr_Occurred()) SWIG_fail
;
12482 Py_INCREF(Py_None
); resultobj
= Py_None
;
12497 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12498 PyObject
*resultobj
;
12499 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12501 PyObject
* obj0
= 0 ;
12502 char *kwnames
[] = {
12503 (char *) "self", NULL
12506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12512 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12513 result
= (wxString
*) &_result_ref
;
12516 wxPyEndAllowThreads(__tstate
);
12517 if (PyErr_Occurred()) SWIG_fail
;
12521 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12523 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12532 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12533 PyObject
*resultobj
;
12534 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12536 PyObject
* obj0
= 0 ;
12537 char *kwnames
[] = {
12538 (char *) "self", NULL
12541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12547 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12548 result
= (wxString
*) &_result_ref
;
12551 wxPyEndAllowThreads(__tstate
);
12552 if (PyErr_Occurred()) SWIG_fail
;
12556 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12558 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12567 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12568 PyObject
*resultobj
;
12569 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12571 PyObject
* obj0
= 0 ;
12572 char *kwnames
[] = {
12573 (char *) "self", NULL
12576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12582 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12583 result
= (wxString
*) &_result_ref
;
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12591 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12593 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12602 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12603 PyObject
*resultobj
;
12604 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12606 PyObject
* obj0
= 0 ;
12607 char *kwnames
[] = {
12608 (char *) "self", NULL
12611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12617 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12618 result
= (wxString
*) &_result_ref
;
12621 wxPyEndAllowThreads(__tstate
);
12622 if (PyErr_Occurred()) SWIG_fail
;
12626 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12628 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12637 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12638 PyObject
*resultobj
;
12639 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12641 PyObject
* obj0
= 0 ;
12642 char *kwnames
[] = {
12643 (char *) "self", NULL
12646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12652 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12653 result
= (wxString
*) &_result_ref
;
12656 wxPyEndAllowThreads(__tstate
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12661 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12663 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12672 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12673 PyObject
*resultobj
;
12674 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12675 wxArrayString
*result
;
12676 PyObject
* obj0
= 0 ;
12677 char *kwnames
[] = {
12678 (char *) "self", NULL
12681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12688 result
= (wxArrayString
*) &_result_ref
;
12691 wxPyEndAllowThreads(__tstate
);
12692 if (PyErr_Occurred()) SWIG_fail
;
12695 resultobj
= wxArrayString2PyList_helper(*result
);
12703 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12704 PyObject
*resultobj
;
12705 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12707 PyObject
* obj0
= 0 ;
12708 char *kwnames
[] = {
12709 (char *) "self", NULL
12712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12717 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12719 wxPyEndAllowThreads(__tstate
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12722 resultobj
= SWIG_From_int((int)result
);
12729 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
*resultobj
;
12731 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12733 PyObject
* obj0
= 0 ;
12734 char *kwnames
[] = {
12735 (char *) "self", NULL
12738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12745 result
= (wxString
*) &_result_ref
;
12748 wxPyEndAllowThreads(__tstate
);
12749 if (PyErr_Occurred()) SWIG_fail
;
12753 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12755 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12764 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12765 PyObject
*resultobj
;
12766 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12768 PyObject
* obj0
= 0 ;
12769 char *kwnames
[] = {
12770 (char *) "self", NULL
12773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12783 resultobj
= SWIG_From_int((int)result
);
12790 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
12792 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12793 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12795 return Py_BuildValue((char *)"");
12797 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12798 PyObject
*resultobj
;
12799 wxFileTypeInfo
*arg1
= 0 ;
12800 wxFileType
*result
;
12801 PyObject
* obj0
= 0 ;
12802 char *kwnames
[] = {
12803 (char *) "ftInfo", NULL
12806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12808 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12810 if (arg1
== NULL
) {
12811 PyErr_SetString(PyExc_TypeError
,"null reference");
12815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12816 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12818 wxPyEndAllowThreads(__tstate
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12828 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12829 PyObject
*resultobj
;
12830 wxFileType
*arg1
= (wxFileType
*) 0 ;
12831 PyObject
* obj0
= 0 ;
12832 char *kwnames
[] = {
12833 (char *) "self", NULL
12836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12843 wxPyEndAllowThreads(__tstate
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12846 Py_INCREF(Py_None
); resultobj
= Py_None
;
12853 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12854 PyObject
*resultobj
;
12855 wxFileType
*arg1
= (wxFileType
*) 0 ;
12857 PyObject
* obj0
= 0 ;
12858 char *kwnames
[] = {
12859 (char *) "self", NULL
12862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12867 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12869 wxPyEndAllowThreads(__tstate
);
12870 if (PyErr_Occurred()) SWIG_fail
;
12872 resultobj
= result
;
12879 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12880 PyObject
*resultobj
;
12881 wxFileType
*arg1
= (wxFileType
*) 0 ;
12883 PyObject
* obj0
= 0 ;
12884 char *kwnames
[] = {
12885 (char *) "self", NULL
12888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12893 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12898 resultobj
= result
;
12905 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12906 PyObject
*resultobj
;
12907 wxFileType
*arg1
= (wxFileType
*) 0 ;
12909 PyObject
* obj0
= 0 ;
12910 char *kwnames
[] = {
12911 (char *) "self", NULL
12914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12919 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12921 wxPyEndAllowThreads(__tstate
);
12922 if (PyErr_Occurred()) SWIG_fail
;
12924 resultobj
= result
;
12931 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12932 PyObject
*resultobj
;
12933 wxFileType
*arg1
= (wxFileType
*) 0 ;
12935 PyObject
* obj0
= 0 ;
12936 char *kwnames
[] = {
12937 (char *) "self", NULL
12940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12945 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12947 wxPyEndAllowThreads(__tstate
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12957 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12958 PyObject
*resultobj
;
12959 wxFileType
*arg1
= (wxFileType
*) 0 ;
12961 PyObject
* obj0
= 0 ;
12962 char *kwnames
[] = {
12963 (char *) "self", NULL
12966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12971 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12973 wxPyEndAllowThreads(__tstate
);
12974 if (PyErr_Occurred()) SWIG_fail
;
12976 resultobj
= result
;
12983 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12984 PyObject
*resultobj
;
12985 wxFileType
*arg1
= (wxFileType
*) 0 ;
12987 PyObject
* obj0
= 0 ;
12988 char *kwnames
[] = {
12989 (char *) "self", NULL
12992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12997 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12999 wxPyEndAllowThreads(__tstate
);
13000 if (PyErr_Occurred()) SWIG_fail
;
13002 resultobj
= result
;
13009 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13010 PyObject
*resultobj
;
13011 wxFileType
*arg1
= (wxFileType
*) 0 ;
13012 wxString
*arg2
= 0 ;
13013 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13014 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13016 bool temp2
= false ;
13017 bool temp3
= false ;
13018 PyObject
* obj0
= 0 ;
13019 PyObject
* obj1
= 0 ;
13020 PyObject
* obj2
= 0 ;
13021 char *kwnames
[] = {
13022 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13029 arg2
= wxString_in_helper(obj1
);
13030 if (arg2
== NULL
) SWIG_fail
;
13035 arg3
= wxString_in_helper(obj2
);
13036 if (arg3
== NULL
) SWIG_fail
;
13041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13042 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13044 wxPyEndAllowThreads(__tstate
);
13045 if (PyErr_Occurred()) SWIG_fail
;
13047 resultobj
= result
;
13070 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13071 PyObject
*resultobj
;
13072 wxFileType
*arg1
= (wxFileType
*) 0 ;
13073 wxString
*arg2
= 0 ;
13074 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13075 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13077 bool temp2
= false ;
13078 bool temp3
= false ;
13079 PyObject
* obj0
= 0 ;
13080 PyObject
* obj1
= 0 ;
13081 PyObject
* obj2
= 0 ;
13082 char *kwnames
[] = {
13083 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13090 arg2
= wxString_in_helper(obj1
);
13091 if (arg2
== NULL
) SWIG_fail
;
13096 arg3
= wxString_in_helper(obj2
);
13097 if (arg3
== NULL
) SWIG_fail
;
13102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13103 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13105 wxPyEndAllowThreads(__tstate
);
13106 if (PyErr_Occurred()) SWIG_fail
;
13108 resultobj
= result
;
13131 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13132 PyObject
*resultobj
;
13133 wxFileType
*arg1
= (wxFileType
*) 0 ;
13134 wxString
*arg2
= 0 ;
13135 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13136 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13138 bool temp2
= false ;
13139 bool temp3
= false ;
13140 PyObject
* obj0
= 0 ;
13141 PyObject
* obj1
= 0 ;
13142 PyObject
* obj2
= 0 ;
13143 char *kwnames
[] = {
13144 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
13147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13151 arg2
= wxString_in_helper(obj1
);
13152 if (arg2
== NULL
) SWIG_fail
;
13157 arg3
= wxString_in_helper(obj2
);
13158 if (arg3
== NULL
) SWIG_fail
;
13163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13164 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13166 wxPyEndAllowThreads(__tstate
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13169 resultobj
= result
;
13192 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13193 PyObject
*resultobj
;
13194 wxFileType
*arg1
= (wxFileType
*) 0 ;
13195 wxString
*arg2
= 0 ;
13196 wxString
*arg3
= 0 ;
13197 bool arg4
= (bool) true ;
13199 bool temp2
= false ;
13200 bool temp3
= false ;
13201 PyObject
* obj0
= 0 ;
13202 PyObject
* obj1
= 0 ;
13203 PyObject
* obj2
= 0 ;
13204 PyObject
* obj3
= 0 ;
13205 char *kwnames
[] = {
13206 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
13209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13213 arg2
= wxString_in_helper(obj1
);
13214 if (arg2
== NULL
) SWIG_fail
;
13218 arg3
= wxString_in_helper(obj2
);
13219 if (arg3
== NULL
) SWIG_fail
;
13223 arg4
= (bool)SWIG_As_bool(obj3
);
13224 if (PyErr_Occurred()) SWIG_fail
;
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13258 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13259 PyObject
*resultobj
;
13260 wxFileType
*arg1
= (wxFileType
*) 0 ;
13261 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13262 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13263 int arg3
= (int) 0 ;
13265 bool temp2
= false ;
13266 PyObject
* obj0
= 0 ;
13267 PyObject
* obj1
= 0 ;
13268 PyObject
* obj2
= 0 ;
13269 char *kwnames
[] = {
13270 (char *) "self",(char *) "cmd",(char *) "index", NULL
13273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13278 arg2
= wxString_in_helper(obj1
);
13279 if (arg2
== NULL
) SWIG_fail
;
13284 arg3
= (int)SWIG_As_int(obj2
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13289 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
13291 wxPyEndAllowThreads(__tstate
);
13292 if (PyErr_Occurred()) SWIG_fail
;
13295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13311 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13312 PyObject
*resultobj
;
13313 wxFileType
*arg1
= (wxFileType
*) 0 ;
13315 PyObject
* obj0
= 0 ;
13316 char *kwnames
[] = {
13317 (char *) "self", NULL
13320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
13321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13325 result
= (bool)(arg1
)->Unassociate();
13327 wxPyEndAllowThreads(__tstate
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13339 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13340 PyObject
*resultobj
;
13341 wxString
*arg1
= 0 ;
13342 wxString
*arg2
= 0 ;
13343 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13344 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13346 bool temp1
= false ;
13347 bool temp2
= false ;
13348 bool temp3
= false ;
13349 PyObject
* obj0
= 0 ;
13350 PyObject
* obj1
= 0 ;
13351 PyObject
* obj2
= 0 ;
13352 char *kwnames
[] = {
13353 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13358 arg1
= wxString_in_helper(obj0
);
13359 if (arg1
== NULL
) SWIG_fail
;
13363 arg2
= wxString_in_helper(obj1
);
13364 if (arg2
== NULL
) SWIG_fail
;
13369 arg3
= wxString_in_helper(obj2
);
13370 if (arg3
== NULL
) SWIG_fail
;
13375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13376 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13378 wxPyEndAllowThreads(__tstate
);
13379 if (PyErr_Occurred()) SWIG_fail
;
13383 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13385 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13418 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
13420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13421 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13423 return Py_BuildValue((char *)"");
13425 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
13426 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13431 static PyObject
*_wrap_TheMimeTypesManager_get() {
13434 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13439 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13440 PyObject
*resultobj
;
13441 wxString
*arg1
= 0 ;
13442 wxString
*arg2
= 0 ;
13444 bool temp1
= false ;
13445 bool temp2
= false ;
13446 PyObject
* obj0
= 0 ;
13447 PyObject
* obj1
= 0 ;
13448 char *kwnames
[] = {
13449 (char *) "mimeType",(char *) "wildcard", NULL
13452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13454 arg1
= wxString_in_helper(obj0
);
13455 if (arg1
== NULL
) SWIG_fail
;
13459 arg2
= wxString_in_helper(obj1
);
13460 if (arg2
== NULL
) SWIG_fail
;
13464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13465 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13467 wxPyEndAllowThreads(__tstate
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13495 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13496 PyObject
*resultobj
;
13497 wxMimeTypesManager
*result
;
13498 char *kwnames
[] = {
13502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13505 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13507 wxPyEndAllowThreads(__tstate
);
13508 if (PyErr_Occurred()) SWIG_fail
;
13510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13517 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13518 PyObject
*resultobj
;
13519 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13520 int arg2
= (int) wxMAILCAP_ALL
;
13521 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13522 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13523 bool temp3
= false ;
13524 PyObject
* obj0
= 0 ;
13525 PyObject
* obj1
= 0 ;
13526 PyObject
* obj2
= 0 ;
13527 char *kwnames
[] = {
13528 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13535 arg2
= (int)SWIG_As_int(obj1
);
13536 if (PyErr_Occurred()) SWIG_fail
;
13540 arg3
= wxString_in_helper(obj2
);
13541 if (arg3
== NULL
) SWIG_fail
;
13546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13547 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13549 wxPyEndAllowThreads(__tstate
);
13550 if (PyErr_Occurred()) SWIG_fail
;
13552 Py_INCREF(Py_None
); resultobj
= Py_None
;
13567 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13568 PyObject
*resultobj
;
13569 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13570 PyObject
* obj0
= 0 ;
13571 char *kwnames
[] = {
13572 (char *) "self", NULL
13575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 (arg1
)->ClearData();
13582 wxPyEndAllowThreads(__tstate
);
13583 if (PyErr_Occurred()) SWIG_fail
;
13585 Py_INCREF(Py_None
); resultobj
= Py_None
;
13592 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13593 PyObject
*resultobj
;
13594 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13595 wxString
*arg2
= 0 ;
13596 wxFileType
*result
;
13597 bool temp2
= false ;
13598 PyObject
* obj0
= 0 ;
13599 PyObject
* obj1
= 0 ;
13600 char *kwnames
[] = {
13601 (char *) "self",(char *) "ext", NULL
13604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13608 arg2
= wxString_in_helper(obj1
);
13609 if (arg2
== NULL
) SWIG_fail
;
13613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13614 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13616 wxPyEndAllowThreads(__tstate
);
13617 if (PyErr_Occurred()) SWIG_fail
;
13619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13634 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13635 PyObject
*resultobj
;
13636 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13637 wxString
*arg2
= 0 ;
13638 wxFileType
*result
;
13639 bool temp2
= false ;
13640 PyObject
* obj0
= 0 ;
13641 PyObject
* obj1
= 0 ;
13642 char *kwnames
[] = {
13643 (char *) "self",(char *) "mimeType", NULL
13646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13650 arg2
= wxString_in_helper(obj1
);
13651 if (arg2
== NULL
) SWIG_fail
;
13655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13656 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13658 wxPyEndAllowThreads(__tstate
);
13659 if (PyErr_Occurred()) SWIG_fail
;
13661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13676 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13677 PyObject
*resultobj
;
13678 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13679 wxString
*arg2
= 0 ;
13680 bool arg3
= (bool) false ;
13682 bool temp2
= false ;
13683 PyObject
* obj0
= 0 ;
13684 PyObject
* obj1
= 0 ;
13685 PyObject
* obj2
= 0 ;
13686 char *kwnames
[] = {
13687 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13694 arg2
= wxString_in_helper(obj1
);
13695 if (arg2
== NULL
) SWIG_fail
;
13699 arg3
= (bool)SWIG_As_bool(obj2
);
13700 if (PyErr_Occurred()) SWIG_fail
;
13703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13704 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13706 wxPyEndAllowThreads(__tstate
);
13707 if (PyErr_Occurred()) SWIG_fail
;
13710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13726 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13727 PyObject
*resultobj
;
13728 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13729 wxString
*arg2
= 0 ;
13731 bool temp2
= false ;
13732 PyObject
* obj0
= 0 ;
13733 PyObject
* obj1
= 0 ;
13734 char *kwnames
[] = {
13735 (char *) "self",(char *) "filename", NULL
13738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13742 arg2
= wxString_in_helper(obj1
);
13743 if (arg2
== NULL
) SWIG_fail
;
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13750 wxPyEndAllowThreads(__tstate
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13770 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13771 PyObject
*resultobj
;
13772 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13774 PyObject
* obj0
= 0 ;
13775 char *kwnames
[] = {
13776 (char *) "self", NULL
13779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13784 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13786 wxPyEndAllowThreads(__tstate
);
13787 if (PyErr_Occurred()) SWIG_fail
;
13789 resultobj
= result
;
13796 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13797 PyObject
*resultobj
;
13798 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13799 wxFileTypeInfo
*arg2
= 0 ;
13800 PyObject
* obj0
= 0 ;
13801 PyObject
* obj1
= 0 ;
13802 char *kwnames
[] = {
13803 (char *) "self",(char *) "ft", NULL
13806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13810 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13812 if (arg2
== NULL
) {
13813 PyErr_SetString(PyExc_TypeError
,"null reference");
13817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13818 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13820 wxPyEndAllowThreads(__tstate
);
13821 if (PyErr_Occurred()) SWIG_fail
;
13823 Py_INCREF(Py_None
); resultobj
= Py_None
;
13830 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13831 PyObject
*resultobj
;
13832 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13833 wxFileTypeInfo
*arg2
= 0 ;
13834 wxFileType
*result
;
13835 PyObject
* obj0
= 0 ;
13836 PyObject
* obj1
= 0 ;
13837 char *kwnames
[] = {
13838 (char *) "self",(char *) "ftInfo", NULL
13841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13845 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13847 if (arg2
== NULL
) {
13848 PyErr_SetString(PyExc_TypeError
,"null reference");
13852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13853 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13855 wxPyEndAllowThreads(__tstate
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13865 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13866 PyObject
*resultobj
;
13867 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13868 wxFileType
*arg2
= (wxFileType
*) 0 ;
13870 PyObject
* obj0
= 0 ;
13871 PyObject
* obj1
= 0 ;
13872 char *kwnames
[] = {
13873 (char *) "self",(char *) "ft", NULL
13876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13879 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13883 result
= (bool)(arg1
)->Unassociate(arg2
);
13885 wxPyEndAllowThreads(__tstate
);
13886 if (PyErr_Occurred()) SWIG_fail
;
13889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13897 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13898 PyObject
*resultobj
;
13899 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13900 PyObject
* obj0
= 0 ;
13901 char *kwnames
[] = {
13902 (char *) "self", NULL
13905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13912 wxPyEndAllowThreads(__tstate
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13915 Py_INCREF(Py_None
); resultobj
= Py_None
;
13922 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
13924 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13925 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13927 return Py_BuildValue((char *)"");
13929 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
13930 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13935 static PyObject
*_wrap_ART_TOOLBAR_get() {
13940 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13942 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13949 static int _wrap_ART_MENU_set(PyObject
*) {
13950 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13955 static PyObject
*_wrap_ART_MENU_get() {
13960 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13962 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13969 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
13970 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13975 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13980 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13982 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13989 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
13990 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13995 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
14000 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
14002 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
14009 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
14010 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
14015 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
14020 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14022 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
14029 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
14030 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
14035 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
14040 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14042 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
14049 static int _wrap_ART_BUTTON_set(PyObject
*) {
14050 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
14055 static PyObject
*_wrap_ART_BUTTON_get() {
14060 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14062 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
14069 static int _wrap_ART_OTHER_set(PyObject
*) {
14070 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
14075 static PyObject
*_wrap_ART_OTHER_get() {
14080 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14082 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
14089 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
14090 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
14095 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
14100 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14102 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
14109 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
14110 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
14115 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
14120 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14122 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
14129 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
14130 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
14135 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
14140 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14142 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
14149 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
14150 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
14155 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
14160 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14162 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
14169 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
14170 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
14175 static PyObject
*_wrap_ART_HELP_BOOK_get() {
14180 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14182 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
14189 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
14190 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
14195 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
14200 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14202 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
14209 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
14210 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
14215 static PyObject
*_wrap_ART_HELP_PAGE_get() {
14220 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14222 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
14229 static int _wrap_ART_GO_BACK_set(PyObject
*) {
14230 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
14235 static PyObject
*_wrap_ART_GO_BACK_get() {
14240 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14242 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
14249 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
14250 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
14255 static PyObject
*_wrap_ART_GO_FORWARD_get() {
14260 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14262 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14269 static int _wrap_ART_GO_UP_set(PyObject
*) {
14270 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
14275 static PyObject
*_wrap_ART_GO_UP_get() {
14280 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14282 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14289 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
14290 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
14295 static PyObject
*_wrap_ART_GO_DOWN_get() {
14300 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14302 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14309 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
14310 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
14315 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
14320 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14322 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14329 static int _wrap_ART_GO_HOME_set(PyObject
*) {
14330 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
14335 static PyObject
*_wrap_ART_GO_HOME_get() {
14340 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14342 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14349 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
14350 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14355 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14360 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14362 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14369 static int _wrap_ART_PRINT_set(PyObject
*) {
14370 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14375 static PyObject
*_wrap_ART_PRINT_get() {
14380 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14382 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14389 static int _wrap_ART_HELP_set(PyObject
*) {
14390 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14395 static PyObject
*_wrap_ART_HELP_get() {
14400 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14402 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14409 static int _wrap_ART_TIP_set(PyObject
*) {
14410 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14415 static PyObject
*_wrap_ART_TIP_get() {
14420 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14422 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14429 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
14430 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14435 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14440 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14442 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14449 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
14450 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14455 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14460 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14462 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14469 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
14470 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14475 static PyObject
*_wrap_ART_NEW_DIR_get() {
14480 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14482 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14489 static int _wrap_ART_FOLDER_set(PyObject
*) {
14490 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14495 static PyObject
*_wrap_ART_FOLDER_get() {
14500 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14502 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14509 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
14510 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14515 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14520 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14522 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14529 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
14530 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14535 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14540 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14542 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14549 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
14550 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14555 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14560 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14562 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14569 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
14570 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14575 static PyObject
*_wrap_ART_TICK_MARK_get() {
14580 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14582 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14589 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
14590 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14595 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14600 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14602 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14609 static int _wrap_ART_ERROR_set(PyObject
*) {
14610 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14615 static PyObject
*_wrap_ART_ERROR_get() {
14620 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14622 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14629 static int _wrap_ART_QUESTION_set(PyObject
*) {
14630 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14635 static PyObject
*_wrap_ART_QUESTION_get() {
14640 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14642 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14649 static int _wrap_ART_WARNING_set(PyObject
*) {
14650 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14655 static PyObject
*_wrap_ART_WARNING_get() {
14660 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14662 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14669 static int _wrap_ART_INFORMATION_set(PyObject
*) {
14670 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14675 static PyObject
*_wrap_ART_INFORMATION_get() {
14680 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14682 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14689 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
14690 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14695 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14700 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14702 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14709 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14710 PyObject
*resultobj
;
14711 wxPyArtProvider
*result
;
14712 char *kwnames
[] = {
14716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14718 if (!wxPyCheckForApp()) SWIG_fail
;
14719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14720 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14732 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14733 PyObject
*resultobj
;
14734 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14735 PyObject
*arg2
= (PyObject
*) 0 ;
14736 PyObject
*arg3
= (PyObject
*) 0 ;
14737 PyObject
* obj0
= 0 ;
14738 PyObject
* obj1
= 0 ;
14739 PyObject
* obj2
= 0 ;
14740 char *kwnames
[] = {
14741 (char *) "self",(char *) "self",(char *) "_class", NULL
14744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14751 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14753 wxPyEndAllowThreads(__tstate
);
14754 if (PyErr_Occurred()) SWIG_fail
;
14756 Py_INCREF(Py_None
); resultobj
= Py_None
;
14763 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14764 PyObject
*resultobj
;
14765 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14766 PyObject
* obj0
= 0 ;
14767 char *kwnames
[] = {
14768 (char *) "provider", NULL
14771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14776 wxPyArtProvider::PushProvider(arg1
);
14778 wxPyEndAllowThreads(__tstate
);
14779 if (PyErr_Occurred()) SWIG_fail
;
14781 Py_INCREF(Py_None
); resultobj
= Py_None
;
14788 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14789 PyObject
*resultobj
;
14791 char *kwnames
[] = {
14795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14798 result
= (bool)wxPyArtProvider::PopProvider();
14800 wxPyEndAllowThreads(__tstate
);
14801 if (PyErr_Occurred()) SWIG_fail
;
14804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14812 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14813 PyObject
*resultobj
;
14814 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14816 PyObject
* obj0
= 0 ;
14817 char *kwnames
[] = {
14818 (char *) "provider", NULL
14821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14826 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14828 wxPyEndAllowThreads(__tstate
);
14829 if (PyErr_Occurred()) SWIG_fail
;
14832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14840 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14841 PyObject
*resultobj
;
14842 wxString
*arg1
= 0 ;
14843 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14844 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14845 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14846 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14848 bool temp1
= false ;
14849 bool temp2
= false ;
14851 PyObject
* obj0
= 0 ;
14852 PyObject
* obj1
= 0 ;
14853 PyObject
* obj2
= 0 ;
14854 char *kwnames
[] = {
14855 (char *) "id",(char *) "client",(char *) "size", NULL
14858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14860 arg1
= wxString_in_helper(obj0
);
14861 if (arg1
== NULL
) SWIG_fail
;
14866 arg2
= wxString_in_helper(obj1
);
14867 if (arg2
== NULL
) SWIG_fail
;
14874 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14878 if (!wxPyCheckForApp()) SWIG_fail
;
14879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14880 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14882 wxPyEndAllowThreads(__tstate
);
14883 if (PyErr_Occurred()) SWIG_fail
;
14886 wxBitmap
* resultptr
;
14887 resultptr
= new wxBitmap((wxBitmap
&) result
);
14888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14912 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14913 PyObject
*resultobj
;
14914 wxString
*arg1
= 0 ;
14915 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14916 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14917 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14918 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14920 bool temp1
= false ;
14921 bool temp2
= false ;
14923 PyObject
* obj0
= 0 ;
14924 PyObject
* obj1
= 0 ;
14925 PyObject
* obj2
= 0 ;
14926 char *kwnames
[] = {
14927 (char *) "id",(char *) "client",(char *) "size", NULL
14930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14932 arg1
= wxString_in_helper(obj0
);
14933 if (arg1
== NULL
) SWIG_fail
;
14938 arg2
= wxString_in_helper(obj1
);
14939 if (arg2
== NULL
) SWIG_fail
;
14946 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14950 if (!wxPyCheckForApp()) SWIG_fail
;
14951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14952 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14954 wxPyEndAllowThreads(__tstate
);
14955 if (PyErr_Occurred()) SWIG_fail
;
14958 wxIcon
* resultptr
;
14959 resultptr
= new wxIcon((wxIcon
&) result
);
14960 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14984 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14985 PyObject
*resultobj
;
14986 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14987 PyObject
* obj0
= 0 ;
14988 char *kwnames
[] = {
14989 (char *) "self", NULL
14992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14997 wxPyArtProvider_Destroy(arg1
);
14999 wxPyEndAllowThreads(__tstate
);
15000 if (PyErr_Occurred()) SWIG_fail
;
15002 Py_INCREF(Py_None
); resultobj
= Py_None
;
15009 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
15011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15012 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
15014 return Py_BuildValue((char *)"");
15016 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15017 PyObject
*resultobj
;
15018 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15019 PyObject
* obj0
= 0 ;
15020 char *kwnames
[] = {
15021 (char *) "self", NULL
15024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
15025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15031 wxPyEndAllowThreads(__tstate
);
15032 if (PyErr_Occurred()) SWIG_fail
;
15034 Py_INCREF(Py_None
); resultobj
= Py_None
;
15041 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15042 PyObject
*resultobj
;
15043 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15044 wxConfigBase
*result
;
15045 PyObject
* obj0
= 0 ;
15046 char *kwnames
[] = {
15047 (char *) "config", NULL
15050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
15051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15055 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
15057 wxPyEndAllowThreads(__tstate
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15067 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15068 PyObject
*resultobj
;
15069 bool arg1
= (bool) true ;
15070 wxConfigBase
*result
;
15071 PyObject
* obj0
= 0 ;
15072 char *kwnames
[] = {
15073 (char *) "createOnDemand", NULL
15076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
15078 arg1
= (bool)SWIG_As_bool(obj0
);
15079 if (PyErr_Occurred()) SWIG_fail
;
15082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15083 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
15085 wxPyEndAllowThreads(__tstate
);
15086 if (PyErr_Occurred()) SWIG_fail
;
15088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15095 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15096 PyObject
*resultobj
;
15097 wxConfigBase
*result
;
15098 char *kwnames
[] = {
15102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
15104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15105 result
= (wxConfigBase
*)wxConfigBase::Create();
15107 wxPyEndAllowThreads(__tstate
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
15117 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15118 PyObject
*resultobj
;
15119 char *kwnames
[] = {
15123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
15125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15126 wxConfigBase::DontCreateOnDemand();
15128 wxPyEndAllowThreads(__tstate
);
15129 if (PyErr_Occurred()) SWIG_fail
;
15131 Py_INCREF(Py_None
); resultobj
= Py_None
;
15138 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15139 PyObject
*resultobj
;
15140 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15141 wxString
*arg2
= 0 ;
15142 bool temp2
= false ;
15143 PyObject
* obj0
= 0 ;
15144 PyObject
* obj1
= 0 ;
15145 char *kwnames
[] = {
15146 (char *) "self",(char *) "path", NULL
15149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
15150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15153 arg2
= wxString_in_helper(obj1
);
15154 if (arg2
== NULL
) SWIG_fail
;
15158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15159 (arg1
)->SetPath((wxString
const &)*arg2
);
15161 wxPyEndAllowThreads(__tstate
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15164 Py_INCREF(Py_None
); resultobj
= Py_None
;
15179 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15180 PyObject
*resultobj
;
15181 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15183 PyObject
* obj0
= 0 ;
15184 char *kwnames
[] = {
15185 (char *) "self", NULL
15188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
15189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15194 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
15195 result
= (wxString
*) &_result_ref
;
15198 wxPyEndAllowThreads(__tstate
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15203 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15205 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15214 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15215 PyObject
*resultobj
;
15216 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15218 PyObject
* obj0
= 0 ;
15219 char *kwnames
[] = {
15220 (char *) "self", NULL
15223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
15224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15228 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
15230 wxPyEndAllowThreads(__tstate
);
15231 if (PyErr_Occurred()) SWIG_fail
;
15233 resultobj
= result
;
15240 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15241 PyObject
*resultobj
;
15242 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15245 PyObject
* obj0
= 0 ;
15246 PyObject
* obj1
= 0 ;
15247 char *kwnames
[] = {
15248 (char *) "self",(char *) "index", NULL
15251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15254 arg2
= (long)SWIG_As_long(obj1
);
15255 if (PyErr_Occurred()) SWIG_fail
;
15257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15258 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
15260 wxPyEndAllowThreads(__tstate
);
15261 if (PyErr_Occurred()) SWIG_fail
;
15263 resultobj
= result
;
15270 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15271 PyObject
*resultobj
;
15272 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15274 PyObject
* obj0
= 0 ;
15275 char *kwnames
[] = {
15276 (char *) "self", NULL
15279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
15280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15284 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
15286 wxPyEndAllowThreads(__tstate
);
15287 if (PyErr_Occurred()) SWIG_fail
;
15289 resultobj
= result
;
15296 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15297 PyObject
*resultobj
;
15298 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15301 PyObject
* obj0
= 0 ;
15302 PyObject
* obj1
= 0 ;
15303 char *kwnames
[] = {
15304 (char *) "self",(char *) "index", NULL
15307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15310 arg2
= (long)SWIG_As_long(obj1
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15314 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
15316 wxPyEndAllowThreads(__tstate
);
15317 if (PyErr_Occurred()) SWIG_fail
;
15319 resultobj
= result
;
15326 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15327 PyObject
*resultobj
;
15328 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15329 bool arg2
= (bool) false ;
15331 PyObject
* obj0
= 0 ;
15332 PyObject
* obj1
= 0 ;
15333 char *kwnames
[] = {
15334 (char *) "self",(char *) "recursive", NULL
15337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
15338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15341 arg2
= (bool)SWIG_As_bool(obj1
);
15342 if (PyErr_Occurred()) SWIG_fail
;
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15351 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15358 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15359 PyObject
*resultobj
;
15360 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15361 bool arg2
= (bool) false ;
15363 PyObject
* obj0
= 0 ;
15364 PyObject
* obj1
= 0 ;
15365 char *kwnames
[] = {
15366 (char *) "self",(char *) "recursive", NULL
15369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15373 arg2
= (bool)SWIG_As_bool(obj1
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15378 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15380 wxPyEndAllowThreads(__tstate
);
15381 if (PyErr_Occurred()) SWIG_fail
;
15383 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
15390 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15391 PyObject
*resultobj
;
15392 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15393 wxString
*arg2
= 0 ;
15395 bool temp2
= false ;
15396 PyObject
* obj0
= 0 ;
15397 PyObject
* obj1
= 0 ;
15398 char *kwnames
[] = {
15399 (char *) "self",(char *) "name", NULL
15402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15406 arg2
= wxString_in_helper(obj1
);
15407 if (arg2
== NULL
) SWIG_fail
;
15411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15412 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15414 wxPyEndAllowThreads(__tstate
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15434 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
;
15436 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15437 wxString
*arg2
= 0 ;
15439 bool temp2
= false ;
15440 PyObject
* obj0
= 0 ;
15441 PyObject
* obj1
= 0 ;
15442 char *kwnames
[] = {
15443 (char *) "self",(char *) "name", NULL
15446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15450 arg2
= wxString_in_helper(obj1
);
15451 if (arg2
== NULL
) SWIG_fail
;
15455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15456 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15458 wxPyEndAllowThreads(__tstate
);
15459 if (PyErr_Occurred()) SWIG_fail
;
15462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15478 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15479 PyObject
*resultobj
;
15480 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15481 wxString
*arg2
= 0 ;
15483 bool temp2
= false ;
15484 PyObject
* obj0
= 0 ;
15485 PyObject
* obj1
= 0 ;
15486 char *kwnames
[] = {
15487 (char *) "self",(char *) "name", NULL
15490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15494 arg2
= wxString_in_helper(obj1
);
15495 if (arg2
== NULL
) SWIG_fail
;
15499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15500 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15502 wxPyEndAllowThreads(__tstate
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15522 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15523 PyObject
*resultobj
;
15524 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15525 wxString
*arg2
= 0 ;
15527 bool temp2
= false ;
15528 PyObject
* obj0
= 0 ;
15529 PyObject
* obj1
= 0 ;
15530 char *kwnames
[] = {
15531 (char *) "self",(char *) "name", NULL
15534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15538 arg2
= wxString_in_helper(obj1
);
15539 if (arg2
== NULL
) SWIG_fail
;
15543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15544 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15546 wxPyEndAllowThreads(__tstate
);
15547 if (PyErr_Occurred()) SWIG_fail
;
15549 resultobj
= SWIG_From_int((int)result
);
15564 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15565 PyObject
*resultobj
;
15566 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15567 wxString
*arg2
= 0 ;
15568 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15569 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15571 bool temp2
= false ;
15572 bool temp3
= false ;
15573 PyObject
* obj0
= 0 ;
15574 PyObject
* obj1
= 0 ;
15575 PyObject
* obj2
= 0 ;
15576 char *kwnames
[] = {
15577 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15584 arg2
= wxString_in_helper(obj1
);
15585 if (arg2
== NULL
) SWIG_fail
;
15590 arg3
= wxString_in_helper(obj2
);
15591 if (arg3
== NULL
) SWIG_fail
;
15596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15597 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15599 wxPyEndAllowThreads(__tstate
);
15600 if (PyErr_Occurred()) SWIG_fail
;
15604 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15606 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15631 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15632 PyObject
*resultobj
;
15633 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15634 wxString
*arg2
= 0 ;
15635 long arg3
= (long) 0 ;
15637 bool temp2
= false ;
15638 PyObject
* obj0
= 0 ;
15639 PyObject
* obj1
= 0 ;
15640 PyObject
* obj2
= 0 ;
15641 char *kwnames
[] = {
15642 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15649 arg2
= wxString_in_helper(obj1
);
15650 if (arg2
== NULL
) SWIG_fail
;
15654 arg3
= (long)SWIG_As_long(obj2
);
15655 if (PyErr_Occurred()) SWIG_fail
;
15658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15659 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15661 wxPyEndAllowThreads(__tstate
);
15662 if (PyErr_Occurred()) SWIG_fail
;
15664 resultobj
= SWIG_From_long((long)result
);
15679 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15680 PyObject
*resultobj
;
15681 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15682 wxString
*arg2
= 0 ;
15683 double arg3
= (double) 0.0 ;
15685 bool temp2
= false ;
15686 PyObject
* obj0
= 0 ;
15687 PyObject
* obj1
= 0 ;
15688 PyObject
* obj2
= 0 ;
15689 char *kwnames
[] = {
15690 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15697 arg2
= wxString_in_helper(obj1
);
15698 if (arg2
== NULL
) SWIG_fail
;
15702 arg3
= (double)SWIG_As_double(obj2
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15709 wxPyEndAllowThreads(__tstate
);
15710 if (PyErr_Occurred()) SWIG_fail
;
15712 resultobj
= SWIG_From_double((double)result
);
15727 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15728 PyObject
*resultobj
;
15729 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15730 wxString
*arg2
= 0 ;
15731 bool arg3
= (bool) false ;
15733 bool temp2
= false ;
15734 PyObject
* obj0
= 0 ;
15735 PyObject
* obj1
= 0 ;
15736 PyObject
* obj2
= 0 ;
15737 char *kwnames
[] = {
15738 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15745 arg2
= wxString_in_helper(obj1
);
15746 if (arg2
== NULL
) SWIG_fail
;
15750 arg3
= (bool)SWIG_As_bool(obj2
);
15751 if (PyErr_Occurred()) SWIG_fail
;
15754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15755 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15757 wxPyEndAllowThreads(__tstate
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15777 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15778 PyObject
*resultobj
;
15779 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15780 wxString
*arg2
= 0 ;
15781 wxString
*arg3
= 0 ;
15783 bool temp2
= false ;
15784 bool temp3
= false ;
15785 PyObject
* obj0
= 0 ;
15786 PyObject
* obj1
= 0 ;
15787 PyObject
* obj2
= 0 ;
15788 char *kwnames
[] = {
15789 (char *) "self",(char *) "key",(char *) "value", NULL
15792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15796 arg2
= wxString_in_helper(obj1
);
15797 if (arg2
== NULL
) SWIG_fail
;
15801 arg3
= wxString_in_helper(obj2
);
15802 if (arg3
== NULL
) SWIG_fail
;
15806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15807 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15809 wxPyEndAllowThreads(__tstate
);
15810 if (PyErr_Occurred()) SWIG_fail
;
15813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15837 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15838 PyObject
*resultobj
;
15839 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15840 wxString
*arg2
= 0 ;
15843 bool temp2
= false ;
15844 PyObject
* obj0
= 0 ;
15845 PyObject
* obj1
= 0 ;
15846 PyObject
* obj2
= 0 ;
15847 char *kwnames
[] = {
15848 (char *) "self",(char *) "key",(char *) "value", NULL
15851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15855 arg2
= wxString_in_helper(obj1
);
15856 if (arg2
== NULL
) SWIG_fail
;
15859 arg3
= (long)SWIG_As_long(obj2
);
15860 if (PyErr_Occurred()) SWIG_fail
;
15862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15863 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15865 wxPyEndAllowThreads(__tstate
);
15866 if (PyErr_Occurred()) SWIG_fail
;
15869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15885 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15886 PyObject
*resultobj
;
15887 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15888 wxString
*arg2
= 0 ;
15891 bool temp2
= false ;
15892 PyObject
* obj0
= 0 ;
15893 PyObject
* obj1
= 0 ;
15894 PyObject
* obj2
= 0 ;
15895 char *kwnames
[] = {
15896 (char *) "self",(char *) "key",(char *) "value", NULL
15899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15903 arg2
= wxString_in_helper(obj1
);
15904 if (arg2
== NULL
) SWIG_fail
;
15907 arg3
= (double)SWIG_As_double(obj2
);
15908 if (PyErr_Occurred()) SWIG_fail
;
15910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15911 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15913 wxPyEndAllowThreads(__tstate
);
15914 if (PyErr_Occurred()) SWIG_fail
;
15917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15933 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15934 PyObject
*resultobj
;
15935 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15936 wxString
*arg2
= 0 ;
15939 bool temp2
= false ;
15940 PyObject
* obj0
= 0 ;
15941 PyObject
* obj1
= 0 ;
15942 PyObject
* obj2
= 0 ;
15943 char *kwnames
[] = {
15944 (char *) "self",(char *) "key",(char *) "value", NULL
15947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15951 arg2
= wxString_in_helper(obj1
);
15952 if (arg2
== NULL
) SWIG_fail
;
15955 arg3
= (bool)SWIG_As_bool(obj2
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15959 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15961 wxPyEndAllowThreads(__tstate
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15981 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15982 PyObject
*resultobj
;
15983 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15984 bool arg2
= (bool) false ;
15986 PyObject
* obj0
= 0 ;
15987 PyObject
* obj1
= 0 ;
15988 char *kwnames
[] = {
15989 (char *) "self",(char *) "currentOnly", NULL
15992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15996 arg2
= (bool)SWIG_As_bool(obj1
);
15997 if (PyErr_Occurred()) SWIG_fail
;
16000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16001 result
= (bool)(arg1
)->Flush(arg2
);
16003 wxPyEndAllowThreads(__tstate
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16015 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16016 PyObject
*resultobj
;
16017 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16018 wxString
*arg2
= 0 ;
16019 wxString
*arg3
= 0 ;
16021 bool temp2
= false ;
16022 bool temp3
= false ;
16023 PyObject
* obj0
= 0 ;
16024 PyObject
* obj1
= 0 ;
16025 PyObject
* obj2
= 0 ;
16026 char *kwnames
[] = {
16027 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16034 arg2
= wxString_in_helper(obj1
);
16035 if (arg2
== NULL
) SWIG_fail
;
16039 arg3
= wxString_in_helper(obj2
);
16040 if (arg3
== NULL
) SWIG_fail
;
16044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16045 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16047 wxPyEndAllowThreads(__tstate
);
16048 if (PyErr_Occurred()) SWIG_fail
;
16051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16075 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16076 PyObject
*resultobj
;
16077 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16078 wxString
*arg2
= 0 ;
16079 wxString
*arg3
= 0 ;
16081 bool temp2
= false ;
16082 bool temp3
= false ;
16083 PyObject
* obj0
= 0 ;
16084 PyObject
* obj1
= 0 ;
16085 PyObject
* obj2
= 0 ;
16086 char *kwnames
[] = {
16087 (char *) "self",(char *) "oldName",(char *) "newName", NULL
16090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16094 arg2
= wxString_in_helper(obj1
);
16095 if (arg2
== NULL
) SWIG_fail
;
16099 arg3
= wxString_in_helper(obj2
);
16100 if (arg3
== NULL
) SWIG_fail
;
16104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16105 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16107 wxPyEndAllowThreads(__tstate
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16135 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16136 PyObject
*resultobj
;
16137 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16138 wxString
*arg2
= 0 ;
16139 bool arg3
= (bool) true ;
16141 bool temp2
= false ;
16142 PyObject
* obj0
= 0 ;
16143 PyObject
* obj1
= 0 ;
16144 PyObject
* obj2
= 0 ;
16145 char *kwnames
[] = {
16146 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
16149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16153 arg2
= wxString_in_helper(obj1
);
16154 if (arg2
== NULL
) SWIG_fail
;
16158 arg3
= (bool)SWIG_As_bool(obj2
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16163 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
16165 wxPyEndAllowThreads(__tstate
);
16166 if (PyErr_Occurred()) SWIG_fail
;
16169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16185 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16186 PyObject
*resultobj
;
16187 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16188 wxString
*arg2
= 0 ;
16190 bool temp2
= false ;
16191 PyObject
* obj0
= 0 ;
16192 PyObject
* obj1
= 0 ;
16193 char *kwnames
[] = {
16194 (char *) "self",(char *) "key", NULL
16197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
16198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16201 arg2
= wxString_in_helper(obj1
);
16202 if (arg2
== NULL
) SWIG_fail
;
16206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16207 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
16209 wxPyEndAllowThreads(__tstate
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16229 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16230 PyObject
*resultobj
;
16231 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16233 PyObject
* obj0
= 0 ;
16234 char *kwnames
[] = {
16235 (char *) "self", NULL
16238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
16239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16243 result
= (bool)(arg1
)->DeleteAll();
16245 wxPyEndAllowThreads(__tstate
);
16246 if (PyErr_Occurred()) SWIG_fail
;
16249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16257 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16258 PyObject
*resultobj
;
16259 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16260 bool arg2
= (bool) true ;
16261 PyObject
* obj0
= 0 ;
16262 PyObject
* obj1
= 0 ;
16263 char *kwnames
[] = {
16264 (char *) "self",(char *) "doIt", NULL
16267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16271 arg2
= (bool)SWIG_As_bool(obj1
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16276 (arg1
)->SetExpandEnvVars(arg2
);
16278 wxPyEndAllowThreads(__tstate
);
16279 if (PyErr_Occurred()) SWIG_fail
;
16281 Py_INCREF(Py_None
); resultobj
= Py_None
;
16288 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16289 PyObject
*resultobj
;
16290 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16292 PyObject
* obj0
= 0 ;
16293 char *kwnames
[] = {
16294 (char *) "self", NULL
16297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
16298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16302 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
16304 wxPyEndAllowThreads(__tstate
);
16305 if (PyErr_Occurred()) SWIG_fail
;
16308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16316 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16317 PyObject
*resultobj
;
16318 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16319 bool arg2
= (bool) true ;
16320 PyObject
* obj0
= 0 ;
16321 PyObject
* obj1
= 0 ;
16322 char *kwnames
[] = {
16323 (char *) "self",(char *) "doIt", NULL
16326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
16327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16330 arg2
= (bool)SWIG_As_bool(obj1
);
16331 if (PyErr_Occurred()) SWIG_fail
;
16334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16335 (arg1
)->SetRecordDefaults(arg2
);
16337 wxPyEndAllowThreads(__tstate
);
16338 if (PyErr_Occurred()) SWIG_fail
;
16340 Py_INCREF(Py_None
); resultobj
= Py_None
;
16347 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16348 PyObject
*resultobj
;
16349 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16351 PyObject
* obj0
= 0 ;
16352 char *kwnames
[] = {
16353 (char *) "self", NULL
16356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16361 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16363 wxPyEndAllowThreads(__tstate
);
16364 if (PyErr_Occurred()) SWIG_fail
;
16367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16375 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16376 PyObject
*resultobj
;
16377 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16378 wxString
*arg2
= 0 ;
16380 bool temp2
= false ;
16381 PyObject
* obj0
= 0 ;
16382 PyObject
* obj1
= 0 ;
16383 char *kwnames
[] = {
16384 (char *) "self",(char *) "str", NULL
16387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16391 arg2
= wxString_in_helper(obj1
);
16392 if (arg2
== NULL
) SWIG_fail
;
16396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16397 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16399 wxPyEndAllowThreads(__tstate
);
16400 if (PyErr_Occurred()) SWIG_fail
;
16404 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16406 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16423 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16424 PyObject
*resultobj
;
16425 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16427 PyObject
* obj0
= 0 ;
16428 char *kwnames
[] = {
16429 (char *) "self", NULL
16432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16437 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16444 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16446 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16455 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16456 PyObject
*resultobj
;
16457 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16459 PyObject
* obj0
= 0 ;
16460 char *kwnames
[] = {
16461 (char *) "self", NULL
16464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16469 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16471 wxPyEndAllowThreads(__tstate
);
16472 if (PyErr_Occurred()) SWIG_fail
;
16476 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16478 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16487 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16488 PyObject
*resultobj
;
16489 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16490 wxString
*arg2
= 0 ;
16491 bool temp2
= false ;
16492 PyObject
* obj0
= 0 ;
16493 PyObject
* obj1
= 0 ;
16494 char *kwnames
[] = {
16495 (char *) "self",(char *) "appName", NULL
16498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16502 arg2
= wxString_in_helper(obj1
);
16503 if (arg2
== NULL
) SWIG_fail
;
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16508 (arg1
)->SetAppName((wxString
const &)*arg2
);
16510 wxPyEndAllowThreads(__tstate
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16513 Py_INCREF(Py_None
); resultobj
= Py_None
;
16528 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
;
16530 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16531 wxString
*arg2
= 0 ;
16532 bool temp2
= false ;
16533 PyObject
* obj0
= 0 ;
16534 PyObject
* obj1
= 0 ;
16535 char *kwnames
[] = {
16536 (char *) "self",(char *) "vendorName", NULL
16539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16543 arg2
= wxString_in_helper(obj1
);
16544 if (arg2
== NULL
) SWIG_fail
;
16548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16549 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16551 wxPyEndAllowThreads(__tstate
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16554 Py_INCREF(Py_None
); resultobj
= Py_None
;
16569 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16570 PyObject
*resultobj
;
16571 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16573 PyObject
* obj0
= 0 ;
16574 PyObject
* obj1
= 0 ;
16575 char *kwnames
[] = {
16576 (char *) "self",(char *) "style", NULL
16579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16582 arg2
= (long)SWIG_As_long(obj1
);
16583 if (PyErr_Occurred()) SWIG_fail
;
16585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16586 (arg1
)->SetStyle(arg2
);
16588 wxPyEndAllowThreads(__tstate
);
16589 if (PyErr_Occurred()) SWIG_fail
;
16591 Py_INCREF(Py_None
); resultobj
= Py_None
;
16598 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16599 PyObject
*resultobj
;
16600 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16602 PyObject
* obj0
= 0 ;
16603 char *kwnames
[] = {
16604 (char *) "self", NULL
16607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16612 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16614 wxPyEndAllowThreads(__tstate
);
16615 if (PyErr_Occurred()) SWIG_fail
;
16617 resultobj
= SWIG_From_long((long)result
);
16624 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
16626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16627 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16629 return Py_BuildValue((char *)"");
16631 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16632 PyObject
*resultobj
;
16633 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16634 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16635 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16636 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16637 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16638 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16639 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16640 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16641 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16643 bool temp1
= false ;
16644 bool temp2
= false ;
16645 bool temp3
= false ;
16646 bool temp4
= false ;
16647 PyObject
* obj0
= 0 ;
16648 PyObject
* obj1
= 0 ;
16649 PyObject
* obj2
= 0 ;
16650 PyObject
* obj3
= 0 ;
16651 PyObject
* obj4
= 0 ;
16652 char *kwnames
[] = {
16653 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16659 arg1
= wxString_in_helper(obj0
);
16660 if (arg1
== NULL
) SWIG_fail
;
16666 arg2
= wxString_in_helper(obj1
);
16667 if (arg2
== NULL
) SWIG_fail
;
16673 arg3
= wxString_in_helper(obj2
);
16674 if (arg3
== NULL
) SWIG_fail
;
16680 arg4
= wxString_in_helper(obj3
);
16681 if (arg4
== NULL
) SWIG_fail
;
16686 arg5
= (long)SWIG_As_long(obj4
);
16687 if (PyErr_Occurred()) SWIG_fail
;
16690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16691 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16693 wxPyEndAllowThreads(__tstate
);
16694 if (PyErr_Occurred()) SWIG_fail
;
16696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16735 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16736 PyObject
*resultobj
;
16737 wxConfig
*arg1
= (wxConfig
*) 0 ;
16738 PyObject
* obj0
= 0 ;
16739 char *kwnames
[] = {
16740 (char *) "self", NULL
16743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16750 wxPyEndAllowThreads(__tstate
);
16751 if (PyErr_Occurred()) SWIG_fail
;
16753 Py_INCREF(Py_None
); resultobj
= Py_None
;
16760 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
16762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16763 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16765 return Py_BuildValue((char *)"");
16767 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16768 PyObject
*resultobj
;
16769 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16770 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16771 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16772 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16773 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16774 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16775 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16776 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16777 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16778 wxFileConfig
*result
;
16779 bool temp1
= false ;
16780 bool temp2
= false ;
16781 bool temp3
= false ;
16782 bool temp4
= false ;
16783 PyObject
* obj0
= 0 ;
16784 PyObject
* obj1
= 0 ;
16785 PyObject
* obj2
= 0 ;
16786 PyObject
* obj3
= 0 ;
16787 PyObject
* obj4
= 0 ;
16788 char *kwnames
[] = {
16789 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16795 arg1
= wxString_in_helper(obj0
);
16796 if (arg1
== NULL
) SWIG_fail
;
16802 arg2
= wxString_in_helper(obj1
);
16803 if (arg2
== NULL
) SWIG_fail
;
16809 arg3
= wxString_in_helper(obj2
);
16810 if (arg3
== NULL
) SWIG_fail
;
16816 arg4
= wxString_in_helper(obj3
);
16817 if (arg4
== NULL
) SWIG_fail
;
16822 arg5
= (long)SWIG_As_long(obj4
);
16823 if (PyErr_Occurred()) SWIG_fail
;
16826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16827 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16829 wxPyEndAllowThreads(__tstate
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16871 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16872 PyObject
*resultobj
;
16873 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16874 PyObject
* obj0
= 0 ;
16875 char *kwnames
[] = {
16876 (char *) "self", NULL
16879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16886 wxPyEndAllowThreads(__tstate
);
16887 if (PyErr_Occurred()) SWIG_fail
;
16889 Py_INCREF(Py_None
); resultobj
= Py_None
;
16896 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
16898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16899 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16901 return Py_BuildValue((char *)"");
16903 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16904 PyObject
*resultobj
;
16905 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16906 wxString
*arg2
= 0 ;
16907 wxConfigPathChanger
*result
;
16908 bool temp2
= false ;
16909 PyObject
* obj0
= 0 ;
16910 PyObject
* obj1
= 0 ;
16911 char *kwnames
[] = {
16912 (char *) "config",(char *) "entry", NULL
16915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16919 arg2
= wxString_in_helper(obj1
);
16920 if (arg2
== NULL
) SWIG_fail
;
16924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16925 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16927 wxPyEndAllowThreads(__tstate
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16945 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16946 PyObject
*resultobj
;
16947 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16948 PyObject
* obj0
= 0 ;
16949 char *kwnames
[] = {
16950 (char *) "self", NULL
16953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16960 wxPyEndAllowThreads(__tstate
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16963 Py_INCREF(Py_None
); resultobj
= Py_None
;
16970 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16971 PyObject
*resultobj
;
16972 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16974 PyObject
* obj0
= 0 ;
16975 char *kwnames
[] = {
16976 (char *) "self", NULL
16979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16985 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16986 result
= (wxString
*) &_result_ref
;
16989 wxPyEndAllowThreads(__tstate
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16994 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16996 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17005 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
17007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17008 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
17010 return Py_BuildValue((char *)"");
17012 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17013 PyObject
*resultobj
;
17014 wxString
*arg1
= 0 ;
17016 bool temp1
= false ;
17017 PyObject
* obj0
= 0 ;
17018 char *kwnames
[] = {
17019 (char *) "sz", NULL
17022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
17024 arg1
= wxString_in_helper(obj0
);
17025 if (arg1
== NULL
) SWIG_fail
;
17029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17030 result
= wxExpandEnvVars((wxString
const &)*arg1
);
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17056 static int _wrap_DateFormatStr_set(PyObject
*) {
17057 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
17062 static PyObject
*_wrap_DateFormatStr_get() {
17067 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17069 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
17076 static int _wrap_TimeSpanFormatStr_set(PyObject
*) {
17077 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
17082 static PyObject
*_wrap_TimeSpanFormatStr_get() {
17087 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17089 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
17096 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17097 PyObject
*resultobj
;
17099 PyObject
* obj0
= 0 ;
17100 char *kwnames
[] = {
17101 (char *) "country", NULL
17104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
17105 arg1
= (int)SWIG_As_int(obj0
);
17106 if (PyErr_Occurred()) SWIG_fail
;
17108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17109 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
17111 wxPyEndAllowThreads(__tstate
);
17112 if (PyErr_Occurred()) SWIG_fail
;
17114 Py_INCREF(Py_None
); resultobj
= Py_None
;
17121 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17122 PyObject
*resultobj
;
17124 char *kwnames
[] = {
17128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
17130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17131 result
= (int)wxDateTime::GetCountry();
17133 wxPyEndAllowThreads(__tstate
);
17134 if (PyErr_Occurred()) SWIG_fail
;
17136 resultobj
= SWIG_From_int((int)result
);
17143 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17144 PyObject
*resultobj
;
17145 int arg1
= (int) wxDateTime::Country_Default
;
17147 PyObject
* obj0
= 0 ;
17148 char *kwnames
[] = {
17149 (char *) "country", NULL
17152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
17154 arg1
= (int)SWIG_As_int(obj0
);
17155 if (PyErr_Occurred()) SWIG_fail
;
17158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17159 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
17161 wxPyEndAllowThreads(__tstate
);
17162 if (PyErr_Occurred()) SWIG_fail
;
17165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17173 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17174 PyObject
*resultobj
;
17175 int arg1
= (int) wxDateTime::Gregorian
;
17177 PyObject
* obj0
= 0 ;
17178 char *kwnames
[] = {
17179 (char *) "cal", NULL
17182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
17184 arg1
= (int)SWIG_As_int(obj0
);
17185 if (PyErr_Occurred()) SWIG_fail
;
17188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17189 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
17191 wxPyEndAllowThreads(__tstate
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17194 resultobj
= SWIG_From_int((int)result
);
17201 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17202 PyObject
*resultobj
;
17205 PyObject
* obj0
= 0 ;
17206 char *kwnames
[] = {
17207 (char *) "year", NULL
17210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
17211 arg1
= (int)SWIG_As_int(obj0
);
17212 if (PyErr_Occurred()) SWIG_fail
;
17214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17215 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
17217 wxPyEndAllowThreads(__tstate
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17220 resultobj
= SWIG_From_int((int)result
);
17227 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17228 PyObject
*resultobj
;
17229 int arg1
= (int) wxDateTime::Gregorian
;
17231 PyObject
* obj0
= 0 ;
17232 char *kwnames
[] = {
17233 (char *) "cal", NULL
17236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
17238 arg1
= (int)SWIG_As_int(obj0
);
17239 if (PyErr_Occurred()) SWIG_fail
;
17242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17243 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
17245 wxPyEndAllowThreads(__tstate
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17248 resultobj
= SWIG_From_int((int)result
);
17255 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17256 PyObject
*resultobj
;
17257 int arg1
= (int) wxDateTime::Inv_Year
;
17258 int arg2
= (int) wxDateTime::Gregorian
;
17260 PyObject
* obj0
= 0 ;
17261 PyObject
* obj1
= 0 ;
17262 char *kwnames
[] = {
17263 (char *) "year",(char *) "cal", NULL
17266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17268 arg1
= (int)SWIG_As_int(obj0
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17272 arg2
= (int)SWIG_As_int(obj1
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17277 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
17279 wxPyEndAllowThreads(__tstate
);
17280 if (PyErr_Occurred()) SWIG_fail
;
17283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17291 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17292 PyObject
*resultobj
;
17293 int arg1
= (int) wxDateTime::Inv_Year
;
17295 PyObject
* obj0
= 0 ;
17296 char *kwnames
[] = {
17297 (char *) "year", NULL
17300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
17302 arg1
= (int)SWIG_As_int(obj0
);
17303 if (PyErr_Occurred()) SWIG_fail
;
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 result
= (int)wxDateTime::GetCentury(arg1
);
17309 wxPyEndAllowThreads(__tstate
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17312 resultobj
= SWIG_From_int((int)result
);
17319 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17320 PyObject
*resultobj
;
17322 int arg2
= (int) wxDateTime::Gregorian
;
17324 PyObject
* obj0
= 0 ;
17325 PyObject
* obj1
= 0 ;
17326 char *kwnames
[] = {
17327 (char *) "year",(char *) "cal", NULL
17330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17331 arg1
= (int)SWIG_As_int(obj0
);
17332 if (PyErr_Occurred()) SWIG_fail
;
17334 arg2
= (int)SWIG_As_int(obj1
);
17335 if (PyErr_Occurred()) SWIG_fail
;
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
17341 wxPyEndAllowThreads(__tstate
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17344 resultobj
= SWIG_From_int((int)result
);
17351 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17352 PyObject
*resultobj
;
17354 int arg2
= (int) wxDateTime::Inv_Year
;
17355 int arg3
= (int) wxDateTime::Gregorian
;
17357 PyObject
* obj0
= 0 ;
17358 PyObject
* obj1
= 0 ;
17359 PyObject
* obj2
= 0 ;
17360 char *kwnames
[] = {
17361 (char *) "month",(char *) "year",(char *) "cal", NULL
17364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17365 arg1
= (int)SWIG_As_int(obj0
);
17366 if (PyErr_Occurred()) SWIG_fail
;
17368 arg2
= (int)SWIG_As_int(obj1
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17372 arg3
= (int)SWIG_As_int(obj2
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17377 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17379 wxPyEndAllowThreads(__tstate
);
17380 if (PyErr_Occurred()) SWIG_fail
;
17382 resultobj
= SWIG_From_int((int)result
);
17389 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17390 PyObject
*resultobj
;
17392 int arg2
= (int) wxDateTime::Name_Full
;
17394 PyObject
* obj0
= 0 ;
17395 PyObject
* obj1
= 0 ;
17396 char *kwnames
[] = {
17397 (char *) "month",(char *) "flags", NULL
17400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17401 arg1
= (int)SWIG_As_int(obj0
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17404 arg2
= (int)SWIG_As_int(obj1
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17409 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17411 wxPyEndAllowThreads(__tstate
);
17412 if (PyErr_Occurred()) SWIG_fail
;
17416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17427 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17428 PyObject
*resultobj
;
17430 int arg2
= (int) wxDateTime::Name_Full
;
17432 PyObject
* obj0
= 0 ;
17433 PyObject
* obj1
= 0 ;
17434 char *kwnames
[] = {
17435 (char *) "weekday",(char *) "flags", NULL
17438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17439 arg1
= (int)SWIG_As_int(obj0
);
17440 if (PyErr_Occurred()) SWIG_fail
;
17442 arg2
= (int)SWIG_As_int(obj1
);
17443 if (PyErr_Occurred()) SWIG_fail
;
17446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17447 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17449 wxPyEndAllowThreads(__tstate
);
17450 if (PyErr_Occurred()) SWIG_fail
;
17454 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17456 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17465 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17466 PyObject
*resultobj
;
17467 wxString
*arg1
= (wxString
*) 0 ;
17468 wxString
*arg2
= (wxString
*) 0 ;
17469 bool temp1
= false ;
17470 bool temp2
= false ;
17471 PyObject
* obj0
= 0 ;
17472 PyObject
* obj1
= 0 ;
17473 char *kwnames
[] = {
17474 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17479 arg1
= wxString_in_helper(obj0
);
17480 if (arg1
== NULL
) SWIG_fail
;
17484 arg2
= wxString_in_helper(obj1
);
17485 if (arg2
== NULL
) SWIG_fail
;
17489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17490 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17492 wxPyEndAllowThreads(__tstate
);
17493 if (PyErr_Occurred()) SWIG_fail
;
17495 Py_INCREF(Py_None
); resultobj
= Py_None
;
17518 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17519 PyObject
*resultobj
;
17520 int arg1
= (int) wxDateTime::Inv_Year
;
17521 int arg2
= (int) wxDateTime::Country_Default
;
17523 PyObject
* obj0
= 0 ;
17524 PyObject
* obj1
= 0 ;
17525 char *kwnames
[] = {
17526 (char *) "year",(char *) "country", NULL
17529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17531 arg1
= (int)SWIG_As_int(obj0
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17535 arg2
= (int)SWIG_As_int(obj1
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17540 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17542 wxPyEndAllowThreads(__tstate
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17554 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17555 PyObject
*resultobj
;
17556 int arg1
= (int) wxDateTime::Inv_Year
;
17557 int arg2
= (int) wxDateTime::Country_Default
;
17559 PyObject
* obj0
= 0 ;
17560 PyObject
* obj1
= 0 ;
17561 char *kwnames
[] = {
17562 (char *) "year",(char *) "country", NULL
17565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17567 arg1
= (int)SWIG_As_int(obj0
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17571 arg2
= (int)SWIG_As_int(obj1
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17576 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17578 wxPyEndAllowThreads(__tstate
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17582 wxDateTime
* resultptr
;
17583 resultptr
= new wxDateTime((wxDateTime
&) result
);
17584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17592 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17593 PyObject
*resultobj
;
17594 int arg1
= (int) wxDateTime::Inv_Year
;
17595 int arg2
= (int) wxDateTime::Country_Default
;
17597 PyObject
* obj0
= 0 ;
17598 PyObject
* obj1
= 0 ;
17599 char *kwnames
[] = {
17600 (char *) "year",(char *) "country", NULL
17603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17605 arg1
= (int)SWIG_As_int(obj0
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17609 arg2
= (int)SWIG_As_int(obj1
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17614 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17616 wxPyEndAllowThreads(__tstate
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17620 wxDateTime
* resultptr
;
17621 resultptr
= new wxDateTime((wxDateTime
&) result
);
17622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17630 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17631 PyObject
*resultobj
;
17633 char *kwnames
[] = {
17637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17640 result
= wxDateTime::Now();
17642 wxPyEndAllowThreads(__tstate
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17646 wxDateTime
* resultptr
;
17647 resultptr
= new wxDateTime((wxDateTime
&) result
);
17648 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17656 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17657 PyObject
*resultobj
;
17659 char *kwnames
[] = {
17663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 result
= wxDateTime::UNow();
17668 wxPyEndAllowThreads(__tstate
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17672 wxDateTime
* resultptr
;
17673 resultptr
= new wxDateTime((wxDateTime
&) result
);
17674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17682 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17683 PyObject
*resultobj
;
17685 char *kwnames
[] = {
17689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17692 result
= wxDateTime::Today();
17694 wxPyEndAllowThreads(__tstate
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17698 wxDateTime
* resultptr
;
17699 resultptr
= new wxDateTime((wxDateTime
&) result
);
17700 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17708 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17709 PyObject
*resultobj
;
17710 wxDateTime
*result
;
17711 char *kwnames
[] = {
17715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17718 result
= (wxDateTime
*)new wxDateTime();
17720 wxPyEndAllowThreads(__tstate
);
17721 if (PyErr_Occurred()) SWIG_fail
;
17723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17730 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17731 PyObject
*resultobj
;
17733 wxDateTime
*result
;
17734 PyObject
* obj0
= 0 ;
17735 char *kwnames
[] = {
17736 (char *) "timet", NULL
17739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17740 arg1
= (time_t)SWIG_As_unsigned_SS_int(obj0
);
17741 if (PyErr_Occurred()) SWIG_fail
;
17743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17744 result
= (wxDateTime
*)new wxDateTime(arg1
);
17746 wxPyEndAllowThreads(__tstate
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17756 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17757 PyObject
*resultobj
;
17759 wxDateTime
*result
;
17760 PyObject
* obj0
= 0 ;
17761 char *kwnames
[] = {
17762 (char *) "jdn", NULL
17765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17766 arg1
= (double)SWIG_As_double(obj0
);
17767 if (PyErr_Occurred()) SWIG_fail
;
17769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17770 result
= (wxDateTime
*)new wxDateTime(arg1
);
17772 wxPyEndAllowThreads(__tstate
);
17773 if (PyErr_Occurred()) SWIG_fail
;
17775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17782 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17783 PyObject
*resultobj
;
17785 int arg2
= (int) 0 ;
17786 int arg3
= (int) 0 ;
17787 int arg4
= (int) 0 ;
17788 wxDateTime
*result
;
17789 PyObject
* obj0
= 0 ;
17790 PyObject
* obj1
= 0 ;
17791 PyObject
* obj2
= 0 ;
17792 PyObject
* obj3
= 0 ;
17793 char *kwnames
[] = {
17794 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17798 arg1
= (int)SWIG_As_int(obj0
);
17799 if (PyErr_Occurred()) SWIG_fail
;
17801 arg2
= (int)SWIG_As_int(obj1
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17805 arg3
= (int)SWIG_As_int(obj2
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17809 arg4
= (int)SWIG_As_int(obj3
);
17810 if (PyErr_Occurred()) SWIG_fail
;
17813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17814 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17816 wxPyEndAllowThreads(__tstate
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17826 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17827 PyObject
*resultobj
;
17829 int arg2
= (int) wxDateTime::Inv_Month
;
17830 int arg3
= (int) wxDateTime::Inv_Year
;
17831 int arg4
= (int) 0 ;
17832 int arg5
= (int) 0 ;
17833 int arg6
= (int) 0 ;
17834 int arg7
= (int) 0 ;
17835 wxDateTime
*result
;
17836 PyObject
* obj0
= 0 ;
17837 PyObject
* obj1
= 0 ;
17838 PyObject
* obj2
= 0 ;
17839 PyObject
* obj3
= 0 ;
17840 PyObject
* obj4
= 0 ;
17841 PyObject
* obj5
= 0 ;
17842 PyObject
* obj6
= 0 ;
17843 char *kwnames
[] = {
17844 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17848 arg1
= (int)SWIG_As_int(obj0
);
17849 if (PyErr_Occurred()) SWIG_fail
;
17851 arg2
= (int)SWIG_As_int(obj1
);
17852 if (PyErr_Occurred()) SWIG_fail
;
17855 arg3
= (int)SWIG_As_int(obj2
);
17856 if (PyErr_Occurred()) SWIG_fail
;
17859 arg4
= (int)SWIG_As_int(obj3
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17863 arg5
= (int)SWIG_As_int(obj4
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17867 arg6
= (int)SWIG_As_int(obj5
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17871 arg7
= (int)SWIG_As_int(obj6
);
17872 if (PyErr_Occurred()) SWIG_fail
;
17875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17876 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17888 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
;
17890 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17891 PyObject
* obj0
= 0 ;
17892 char *kwnames
[] = {
17893 (char *) "self", NULL
17896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17903 wxPyEndAllowThreads(__tstate
);
17904 if (PyErr_Occurred()) SWIG_fail
;
17906 Py_INCREF(Py_None
); resultobj
= Py_None
;
17913 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17914 PyObject
*resultobj
;
17915 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17916 wxDateTime
*result
;
17917 PyObject
* obj0
= 0 ;
17918 char *kwnames
[] = {
17919 (char *) "self", NULL
17922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17928 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17929 result
= (wxDateTime
*) &_result_ref
;
17932 wxPyEndAllowThreads(__tstate
);
17933 if (PyErr_Occurred()) SWIG_fail
;
17935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17942 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17943 PyObject
*resultobj
;
17944 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17946 wxDateTime
*result
;
17947 PyObject
* obj0
= 0 ;
17948 PyObject
* obj1
= 0 ;
17949 char *kwnames
[] = {
17950 (char *) "self",(char *) "timet", NULL
17953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17956 arg2
= (time_t)SWIG_As_unsigned_SS_int(obj1
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17961 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17962 result
= (wxDateTime
*) &_result_ref
;
17965 wxPyEndAllowThreads(__tstate
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17975 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17976 PyObject
*resultobj
;
17977 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17979 wxDateTime
*result
;
17980 PyObject
* obj0
= 0 ;
17981 PyObject
* obj1
= 0 ;
17982 char *kwnames
[] = {
17983 (char *) "self",(char *) "jdn", NULL
17986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17989 arg2
= (double)SWIG_As_double(obj1
);
17990 if (PyErr_Occurred()) SWIG_fail
;
17992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17994 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17995 result
= (wxDateTime
*) &_result_ref
;
17998 wxPyEndAllowThreads(__tstate
);
17999 if (PyErr_Occurred()) SWIG_fail
;
18001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18008 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18009 PyObject
*resultobj
;
18010 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18012 int arg3
= (int) 0 ;
18013 int arg4
= (int) 0 ;
18014 int arg5
= (int) 0 ;
18015 wxDateTime
*result
;
18016 PyObject
* obj0
= 0 ;
18017 PyObject
* obj1
= 0 ;
18018 PyObject
* obj2
= 0 ;
18019 PyObject
* obj3
= 0 ;
18020 PyObject
* obj4
= 0 ;
18021 char *kwnames
[] = {
18022 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18028 arg2
= (int)SWIG_As_int(obj1
);
18029 if (PyErr_Occurred()) SWIG_fail
;
18031 arg3
= (int)SWIG_As_int(obj2
);
18032 if (PyErr_Occurred()) SWIG_fail
;
18035 arg4
= (int)SWIG_As_int(obj3
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18039 arg5
= (int)SWIG_As_int(obj4
);
18040 if (PyErr_Occurred()) SWIG_fail
;
18043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18045 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
18046 result
= (wxDateTime
*) &_result_ref
;
18049 wxPyEndAllowThreads(__tstate
);
18050 if (PyErr_Occurred()) SWIG_fail
;
18052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18059 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18060 PyObject
*resultobj
;
18061 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18063 int arg3
= (int) wxDateTime::Inv_Month
;
18064 int arg4
= (int) wxDateTime::Inv_Year
;
18065 int arg5
= (int) 0 ;
18066 int arg6
= (int) 0 ;
18067 int arg7
= (int) 0 ;
18068 int arg8
= (int) 0 ;
18069 wxDateTime
*result
;
18070 PyObject
* obj0
= 0 ;
18071 PyObject
* obj1
= 0 ;
18072 PyObject
* obj2
= 0 ;
18073 PyObject
* obj3
= 0 ;
18074 PyObject
* obj4
= 0 ;
18075 PyObject
* obj5
= 0 ;
18076 PyObject
* obj6
= 0 ;
18077 PyObject
* obj7
= 0 ;
18078 char *kwnames
[] = {
18079 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
18082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
18083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18085 arg2
= (int)SWIG_As_int(obj1
);
18086 if (PyErr_Occurred()) SWIG_fail
;
18088 arg3
= (int)SWIG_As_int(obj2
);
18089 if (PyErr_Occurred()) SWIG_fail
;
18092 arg4
= (int)SWIG_As_int(obj3
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18096 arg5
= (int)SWIG_As_int(obj4
);
18097 if (PyErr_Occurred()) SWIG_fail
;
18100 arg6
= (int)SWIG_As_int(obj5
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18104 arg7
= (int)SWIG_As_int(obj6
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18108 arg8
= (int)SWIG_As_int(obj7
);
18109 if (PyErr_Occurred()) SWIG_fail
;
18112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18114 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
18115 result
= (wxDateTime
*) &_result_ref
;
18118 wxPyEndAllowThreads(__tstate
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18128 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18129 PyObject
*resultobj
;
18130 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18131 wxDateTime
*result
;
18132 PyObject
* obj0
= 0 ;
18133 char *kwnames
[] = {
18134 (char *) "self", NULL
18137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
18138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18143 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
18144 result
= (wxDateTime
*) &_result_ref
;
18147 wxPyEndAllowThreads(__tstate
);
18148 if (PyErr_Occurred()) SWIG_fail
;
18150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18157 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18158 PyObject
*resultobj
;
18159 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18161 wxDateTime
*result
;
18162 PyObject
* obj0
= 0 ;
18163 PyObject
* obj1
= 0 ;
18164 char *kwnames
[] = {
18165 (char *) "self",(char *) "year", NULL
18168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18171 arg2
= (int)SWIG_As_int(obj1
);
18172 if (PyErr_Occurred()) SWIG_fail
;
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18176 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
18177 result
= (wxDateTime
*) &_result_ref
;
18180 wxPyEndAllowThreads(__tstate
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18190 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18191 PyObject
*resultobj
;
18192 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18194 wxDateTime
*result
;
18195 PyObject
* obj0
= 0 ;
18196 PyObject
* obj1
= 0 ;
18197 char *kwnames
[] = {
18198 (char *) "self",(char *) "month", NULL
18201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18204 arg2
= (int)SWIG_As_int(obj1
);
18205 if (PyErr_Occurred()) SWIG_fail
;
18207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18209 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
18210 result
= (wxDateTime
*) &_result_ref
;
18213 wxPyEndAllowThreads(__tstate
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18223 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18224 PyObject
*resultobj
;
18225 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18227 wxDateTime
*result
;
18228 PyObject
* obj0
= 0 ;
18229 PyObject
* obj1
= 0 ;
18230 char *kwnames
[] = {
18231 (char *) "self",(char *) "day", NULL
18234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18237 arg2
= (int)SWIG_As_int(obj1
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18242 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
18243 result
= (wxDateTime
*) &_result_ref
;
18246 wxPyEndAllowThreads(__tstate
);
18247 if (PyErr_Occurred()) SWIG_fail
;
18249 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18256 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18257 PyObject
*resultobj
;
18258 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18260 wxDateTime
*result
;
18261 PyObject
* obj0
= 0 ;
18262 PyObject
* obj1
= 0 ;
18263 char *kwnames
[] = {
18264 (char *) "self",(char *) "hour", NULL
18267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18270 arg2
= (int)SWIG_As_int(obj1
);
18271 if (PyErr_Occurred()) SWIG_fail
;
18273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18275 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
18276 result
= (wxDateTime
*) &_result_ref
;
18279 wxPyEndAllowThreads(__tstate
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18289 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18290 PyObject
*resultobj
;
18291 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18293 wxDateTime
*result
;
18294 PyObject
* obj0
= 0 ;
18295 PyObject
* obj1
= 0 ;
18296 char *kwnames
[] = {
18297 (char *) "self",(char *) "minute", NULL
18300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18303 arg2
= (int)SWIG_As_int(obj1
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18308 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
18309 result
= (wxDateTime
*) &_result_ref
;
18312 wxPyEndAllowThreads(__tstate
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18322 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18323 PyObject
*resultobj
;
18324 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18326 wxDateTime
*result
;
18327 PyObject
* obj0
= 0 ;
18328 PyObject
* obj1
= 0 ;
18329 char *kwnames
[] = {
18330 (char *) "self",(char *) "second", NULL
18333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18336 arg2
= (int)SWIG_As_int(obj1
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18341 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
18342 result
= (wxDateTime
*) &_result_ref
;
18345 wxPyEndAllowThreads(__tstate
);
18346 if (PyErr_Occurred()) SWIG_fail
;
18348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18355 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18356 PyObject
*resultobj
;
18357 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18359 wxDateTime
*result
;
18360 PyObject
* obj0
= 0 ;
18361 PyObject
* obj1
= 0 ;
18362 char *kwnames
[] = {
18363 (char *) "self",(char *) "millisecond", NULL
18366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18369 arg2
= (int)SWIG_As_int(obj1
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18374 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18375 result
= (wxDateTime
*) &_result_ref
;
18378 wxPyEndAllowThreads(__tstate
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18388 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18389 PyObject
*resultobj
;
18390 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18392 int arg3
= (int) wxDateTime::Monday_First
;
18393 wxDateTime
*result
;
18394 PyObject
* obj0
= 0 ;
18395 PyObject
* obj1
= 0 ;
18396 PyObject
* obj2
= 0 ;
18397 char *kwnames
[] = {
18398 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18404 arg2
= (int)SWIG_As_int(obj1
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18407 arg3
= (int)SWIG_As_int(obj2
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18413 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18414 result
= (wxDateTime
*) &_result_ref
;
18417 wxPyEndAllowThreads(__tstate
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18427 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18428 PyObject
*resultobj
;
18429 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18431 int arg3
= (int) wxDateTime::Monday_First
;
18433 PyObject
* obj0
= 0 ;
18434 PyObject
* obj1
= 0 ;
18435 PyObject
* obj2
= 0 ;
18436 char *kwnames
[] = {
18437 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18443 arg2
= (int)SWIG_As_int(obj1
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18446 arg3
= (int)SWIG_As_int(obj2
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18451 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18453 wxPyEndAllowThreads(__tstate
);
18454 if (PyErr_Occurred()) SWIG_fail
;
18457 wxDateTime
* resultptr
;
18458 resultptr
= new wxDateTime((wxDateTime
&) result
);
18459 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18467 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18468 PyObject
*resultobj
;
18469 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18471 wxDateTime
*result
;
18472 PyObject
* obj0
= 0 ;
18473 PyObject
* obj1
= 0 ;
18474 char *kwnames
[] = {
18475 (char *) "self",(char *) "weekday", NULL
18478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18481 arg2
= (int)SWIG_As_int(obj1
);
18482 if (PyErr_Occurred()) SWIG_fail
;
18484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18486 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18487 result
= (wxDateTime
*) &_result_ref
;
18490 wxPyEndAllowThreads(__tstate
);
18491 if (PyErr_Occurred()) SWIG_fail
;
18493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18500 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18501 PyObject
*resultobj
;
18502 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18505 PyObject
* obj0
= 0 ;
18506 PyObject
* obj1
= 0 ;
18507 char *kwnames
[] = {
18508 (char *) "self",(char *) "weekday", NULL
18511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18514 arg2
= (int)SWIG_As_int(obj1
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18518 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18520 wxPyEndAllowThreads(__tstate
);
18521 if (PyErr_Occurred()) SWIG_fail
;
18524 wxDateTime
* resultptr
;
18525 resultptr
= new wxDateTime((wxDateTime
&) result
);
18526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18534 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18535 PyObject
*resultobj
;
18536 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18538 wxDateTime
*result
;
18539 PyObject
* obj0
= 0 ;
18540 PyObject
* obj1
= 0 ;
18541 char *kwnames
[] = {
18542 (char *) "self",(char *) "weekday", NULL
18545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18548 arg2
= (int)SWIG_As_int(obj1
);
18549 if (PyErr_Occurred()) SWIG_fail
;
18551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18553 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18554 result
= (wxDateTime
*) &_result_ref
;
18557 wxPyEndAllowThreads(__tstate
);
18558 if (PyErr_Occurred()) SWIG_fail
;
18560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18567 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18568 PyObject
*resultobj
;
18569 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18572 PyObject
* obj0
= 0 ;
18573 PyObject
* obj1
= 0 ;
18574 char *kwnames
[] = {
18575 (char *) "self",(char *) "weekday", NULL
18578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18581 arg2
= (int)SWIG_As_int(obj1
);
18582 if (PyErr_Occurred()) SWIG_fail
;
18584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18585 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18587 wxPyEndAllowThreads(__tstate
);
18588 if (PyErr_Occurred()) SWIG_fail
;
18591 wxDateTime
* resultptr
;
18592 resultptr
= new wxDateTime((wxDateTime
&) result
);
18593 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18601 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18602 PyObject
*resultobj
;
18603 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18605 int arg3
= (int) 1 ;
18606 int arg4
= (int) wxDateTime::Inv_Month
;
18607 int arg5
= (int) wxDateTime::Inv_Year
;
18609 PyObject
* obj0
= 0 ;
18610 PyObject
* obj1
= 0 ;
18611 PyObject
* obj2
= 0 ;
18612 PyObject
* obj3
= 0 ;
18613 PyObject
* obj4
= 0 ;
18614 char *kwnames
[] = {
18615 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18621 arg2
= (int)SWIG_As_int(obj1
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18624 arg3
= (int)SWIG_As_int(obj2
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18628 arg4
= (int)SWIG_As_int(obj3
);
18629 if (PyErr_Occurred()) SWIG_fail
;
18632 arg5
= (int)SWIG_As_int(obj4
);
18633 if (PyErr_Occurred()) SWIG_fail
;
18636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18637 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18639 wxPyEndAllowThreads(__tstate
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18651 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18652 PyObject
*resultobj
;
18653 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18655 int arg3
= (int) wxDateTime::Inv_Month
;
18656 int arg4
= (int) wxDateTime::Inv_Year
;
18658 PyObject
* obj0
= 0 ;
18659 PyObject
* obj1
= 0 ;
18660 PyObject
* obj2
= 0 ;
18661 PyObject
* obj3
= 0 ;
18662 char *kwnames
[] = {
18663 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18669 arg2
= (int)SWIG_As_int(obj1
);
18670 if (PyErr_Occurred()) SWIG_fail
;
18672 arg3
= (int)SWIG_As_int(obj2
);
18673 if (PyErr_Occurred()) SWIG_fail
;
18676 arg4
= (int)SWIG_As_int(obj3
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18681 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18683 wxPyEndAllowThreads(__tstate
);
18684 if (PyErr_Occurred()) SWIG_fail
;
18687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18695 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18696 PyObject
*resultobj
;
18697 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18699 int arg3
= (int) wxDateTime::Inv_Month
;
18700 int arg4
= (int) wxDateTime::Inv_Year
;
18702 PyObject
* obj0
= 0 ;
18703 PyObject
* obj1
= 0 ;
18704 PyObject
* obj2
= 0 ;
18705 PyObject
* obj3
= 0 ;
18706 char *kwnames
[] = {
18707 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18713 arg2
= (int)SWIG_As_int(obj1
);
18714 if (PyErr_Occurred()) SWIG_fail
;
18716 arg3
= (int)SWIG_As_int(obj2
);
18717 if (PyErr_Occurred()) SWIG_fail
;
18720 arg4
= (int)SWIG_As_int(obj3
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18725 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18727 wxPyEndAllowThreads(__tstate
);
18728 if (PyErr_Occurred()) SWIG_fail
;
18731 wxDateTime
* resultptr
;
18732 resultptr
= new wxDateTime((wxDateTime
&) result
);
18733 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18741 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18742 PyObject
*resultobj
;
18743 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18745 int arg3
= (int) wxDateTime::Mon
;
18746 int arg4
= (int) wxDateTime::Monday_First
;
18748 PyObject
* obj0
= 0 ;
18749 PyObject
* obj1
= 0 ;
18750 PyObject
* obj2
= 0 ;
18751 PyObject
* obj3
= 0 ;
18752 char *kwnames
[] = {
18753 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18759 arg2
= (int)SWIG_As_int(obj1
);
18760 if (PyErr_Occurred()) SWIG_fail
;
18762 arg3
= (int)SWIG_As_int(obj2
);
18763 if (PyErr_Occurred()) SWIG_fail
;
18766 arg4
= (int)SWIG_As_int(obj3
);
18767 if (PyErr_Occurred()) SWIG_fail
;
18770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18771 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18773 wxPyEndAllowThreads(__tstate
);
18774 if (PyErr_Occurred()) SWIG_fail
;
18777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18785 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18786 PyObject
*resultobj
;
18787 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18789 int arg3
= (int) wxDateTime::Mon
;
18790 int arg4
= (int) wxDateTime::Monday_First
;
18792 PyObject
* obj0
= 0 ;
18793 PyObject
* obj1
= 0 ;
18794 PyObject
* obj2
= 0 ;
18795 PyObject
* obj3
= 0 ;
18796 char *kwnames
[] = {
18797 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18803 arg2
= (int)SWIG_As_int(obj1
);
18804 if (PyErr_Occurred()) SWIG_fail
;
18806 arg3
= (int)SWIG_As_int(obj2
);
18807 if (PyErr_Occurred()) SWIG_fail
;
18810 arg4
= (int)SWIG_As_int(obj3
);
18811 if (PyErr_Occurred()) SWIG_fail
;
18814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18815 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18817 wxPyEndAllowThreads(__tstate
);
18818 if (PyErr_Occurred()) SWIG_fail
;
18821 wxDateTime
* resultptr
;
18822 resultptr
= new wxDateTime((wxDateTime
&) result
);
18823 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18831 static PyObject
*_wrap_DateTime_SetToWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
;
18835 int arg3
= (int) wxDateTime::Mon
;
18837 PyObject
* obj0
= 0 ;
18838 PyObject
* obj1
= 0 ;
18839 PyObject
* obj2
= 0 ;
18840 char *kwnames
[] = {
18841 (char *) "year",(char *) "numWeek",(char *) "weekday", NULL
18844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18845 arg1
= (int)SWIG_As_int(obj0
);
18846 if (PyErr_Occurred()) SWIG_fail
;
18847 arg2
= (int)SWIG_As_int(obj1
);
18848 if (PyErr_Occurred()) SWIG_fail
;
18850 arg3
= (int)SWIG_As_int(obj2
);
18851 if (PyErr_Occurred()) SWIG_fail
;
18854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18855 result
= wxDateTime::SetToWeekOfYear(arg1
,arg2
,(wxDateTime::WeekDay
)arg3
);
18857 wxPyEndAllowThreads(__tstate
);
18858 if (PyErr_Occurred()) SWIG_fail
;
18861 wxDateTime
* resultptr
;
18862 resultptr
= new wxDateTime((wxDateTime
&) result
);
18863 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18871 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18872 PyObject
*resultobj
;
18873 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18874 int arg2
= (int) wxDateTime::Inv_Month
;
18875 int arg3
= (int) wxDateTime::Inv_Year
;
18876 wxDateTime
*result
;
18877 PyObject
* obj0
= 0 ;
18878 PyObject
* obj1
= 0 ;
18879 PyObject
* obj2
= 0 ;
18880 char *kwnames
[] = {
18881 (char *) "self",(char *) "month",(char *) "year", NULL
18884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18888 arg2
= (int)SWIG_As_int(obj1
);
18889 if (PyErr_Occurred()) SWIG_fail
;
18892 arg3
= (int)SWIG_As_int(obj2
);
18893 if (PyErr_Occurred()) SWIG_fail
;
18896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18898 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18899 result
= (wxDateTime
*) &_result_ref
;
18902 wxPyEndAllowThreads(__tstate
);
18903 if (PyErr_Occurred()) SWIG_fail
;
18905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18912 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18913 PyObject
*resultobj
;
18914 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18915 int arg2
= (int) wxDateTime::Inv_Month
;
18916 int arg3
= (int) wxDateTime::Inv_Year
;
18918 PyObject
* obj0
= 0 ;
18919 PyObject
* obj1
= 0 ;
18920 PyObject
* obj2
= 0 ;
18921 char *kwnames
[] = {
18922 (char *) "self",(char *) "month",(char *) "year", NULL
18925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18929 arg2
= (int)SWIG_As_int(obj1
);
18930 if (PyErr_Occurred()) SWIG_fail
;
18933 arg3
= (int)SWIG_As_int(obj2
);
18934 if (PyErr_Occurred()) SWIG_fail
;
18937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18938 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18940 wxPyEndAllowThreads(__tstate
);
18941 if (PyErr_Occurred()) SWIG_fail
;
18944 wxDateTime
* resultptr
;
18945 resultptr
= new wxDateTime((wxDateTime
&) result
);
18946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18954 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
;
18956 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18958 wxDateTime
*result
;
18959 PyObject
* obj0
= 0 ;
18960 PyObject
* obj1
= 0 ;
18961 char *kwnames
[] = {
18962 (char *) "self",(char *) "yday", NULL
18965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18968 arg2
= (int)SWIG_As_int(obj1
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18973 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18974 result
= (wxDateTime
*) &_result_ref
;
18977 wxPyEndAllowThreads(__tstate
);
18978 if (PyErr_Occurred()) SWIG_fail
;
18980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18987 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18988 PyObject
*resultobj
;
18989 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18992 PyObject
* obj0
= 0 ;
18993 PyObject
* obj1
= 0 ;
18994 char *kwnames
[] = {
18995 (char *) "self",(char *) "yday", NULL
18998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19001 arg2
= (int)SWIG_As_int(obj1
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19005 result
= (arg1
)->GetYearDay(arg2
);
19007 wxPyEndAllowThreads(__tstate
);
19008 if (PyErr_Occurred()) SWIG_fail
;
19011 wxDateTime
* resultptr
;
19012 resultptr
= new wxDateTime((wxDateTime
&) result
);
19013 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19021 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19022 PyObject
*resultobj
;
19023 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19025 PyObject
* obj0
= 0 ;
19026 char *kwnames
[] = {
19027 (char *) "self", NULL
19030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19035 result
= (double)(arg1
)->GetJulianDayNumber();
19037 wxPyEndAllowThreads(__tstate
);
19038 if (PyErr_Occurred()) SWIG_fail
;
19040 resultobj
= SWIG_From_double((double)result
);
19047 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19048 PyObject
*resultobj
;
19049 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19051 PyObject
* obj0
= 0 ;
19052 char *kwnames
[] = {
19053 (char *) "self", NULL
19056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
19057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19061 result
= (double)(arg1
)->GetJDN();
19063 wxPyEndAllowThreads(__tstate
);
19064 if (PyErr_Occurred()) SWIG_fail
;
19066 resultobj
= SWIG_From_double((double)result
);
19073 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19074 PyObject
*resultobj
;
19075 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19077 PyObject
* obj0
= 0 ;
19078 char *kwnames
[] = {
19079 (char *) "self", NULL
19082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
19083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19087 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
19089 wxPyEndAllowThreads(__tstate
);
19090 if (PyErr_Occurred()) SWIG_fail
;
19092 resultobj
= SWIG_From_double((double)result
);
19099 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19100 PyObject
*resultobj
;
19101 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19103 PyObject
* obj0
= 0 ;
19104 char *kwnames
[] = {
19105 (char *) "self", NULL
19108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
19109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19113 result
= (double)(arg1
)->GetMJD();
19115 wxPyEndAllowThreads(__tstate
);
19116 if (PyErr_Occurred()) SWIG_fail
;
19118 resultobj
= SWIG_From_double((double)result
);
19125 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19126 PyObject
*resultobj
;
19127 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19129 PyObject
* obj0
= 0 ;
19130 char *kwnames
[] = {
19131 (char *) "self", NULL
19134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
19135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19139 result
= (double)(arg1
)->GetRataDie();
19141 wxPyEndAllowThreads(__tstate
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19144 resultobj
= SWIG_From_double((double)result
);
19151 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19152 PyObject
*resultobj
;
19153 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19154 wxDateTime::TimeZone
*arg2
= 0 ;
19155 bool arg3
= (bool) false ;
19157 bool temp2
= false ;
19158 PyObject
* obj0
= 0 ;
19159 PyObject
* obj1
= 0 ;
19160 PyObject
* obj2
= 0 ;
19161 char *kwnames
[] = {
19162 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19169 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19173 arg3
= (bool)SWIG_As_bool(obj2
);
19174 if (PyErr_Occurred()) SWIG_fail
;
19177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19178 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19184 wxDateTime
* resultptr
;
19185 resultptr
= new wxDateTime((wxDateTime
&) result
);
19186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19189 if (temp2
) delete arg2
;
19194 if (temp2
) delete arg2
;
19200 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19201 PyObject
*resultobj
;
19202 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19203 wxDateTime::TimeZone
*arg2
= 0 ;
19204 bool arg3
= (bool) false ;
19205 wxDateTime
*result
;
19206 bool temp2
= false ;
19207 PyObject
* obj0
= 0 ;
19208 PyObject
* obj1
= 0 ;
19209 PyObject
* obj2
= 0 ;
19210 char *kwnames
[] = {
19211 (char *) "self",(char *) "tz",(char *) "noDST", NULL
19214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19218 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19222 arg3
= (bool)SWIG_As_bool(obj2
);
19223 if (PyErr_Occurred()) SWIG_fail
;
19226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19228 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
19229 result
= (wxDateTime
*) &_result_ref
;
19232 wxPyEndAllowThreads(__tstate
);
19233 if (PyErr_Occurred()) SWIG_fail
;
19235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19237 if (temp2
) delete arg2
;
19242 if (temp2
) delete arg2
;
19248 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19249 PyObject
*resultobj
;
19250 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19251 bool arg2
= (bool) false ;
19253 PyObject
* obj0
= 0 ;
19254 PyObject
* obj1
= 0 ;
19255 char *kwnames
[] = {
19256 (char *) "self",(char *) "noDST", NULL
19259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19263 arg2
= (bool)SWIG_As_bool(obj1
);
19264 if (PyErr_Occurred()) SWIG_fail
;
19267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19268 result
= (arg1
)->ToGMT(arg2
);
19270 wxPyEndAllowThreads(__tstate
);
19271 if (PyErr_Occurred()) SWIG_fail
;
19274 wxDateTime
* resultptr
;
19275 resultptr
= new wxDateTime((wxDateTime
&) result
);
19276 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
19284 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19285 PyObject
*resultobj
;
19286 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19287 bool arg2
= (bool) false ;
19288 wxDateTime
*result
;
19289 PyObject
* obj0
= 0 ;
19290 PyObject
* obj1
= 0 ;
19291 char *kwnames
[] = {
19292 (char *) "self",(char *) "noDST", NULL
19295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19299 arg2
= (bool)SWIG_As_bool(obj1
);
19300 if (PyErr_Occurred()) SWIG_fail
;
19303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19305 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
19306 result
= (wxDateTime
*) &_result_ref
;
19309 wxPyEndAllowThreads(__tstate
);
19310 if (PyErr_Occurred()) SWIG_fail
;
19312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19319 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19320 PyObject
*resultobj
;
19321 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19322 int arg2
= (int) wxDateTime::Country_Default
;
19324 PyObject
* obj0
= 0 ;
19325 PyObject
* obj1
= 0 ;
19326 char *kwnames
[] = {
19327 (char *) "self",(char *) "country", NULL
19330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19334 arg2
= (int)SWIG_As_int(obj1
);
19335 if (PyErr_Occurred()) SWIG_fail
;
19338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19339 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
19341 wxPyEndAllowThreads(__tstate
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19344 resultobj
= SWIG_From_int((int)result
);
19351 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19352 PyObject
*resultobj
;
19353 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19355 PyObject
* obj0
= 0 ;
19356 char *kwnames
[] = {
19357 (char *) "self", NULL
19360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
19361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19379 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19380 PyObject
*resultobj
;
19381 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19383 PyObject
* obj0
= 0 ;
19384 char *kwnames
[] = {
19385 (char *) "self", NULL
19388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
19389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19393 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19395 wxPyEndAllowThreads(__tstate
);
19396 if (PyErr_Occurred()) SWIG_fail
;
19398 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
19405 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19406 PyObject
*resultobj
;
19407 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19408 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19409 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19411 bool temp2
= false ;
19412 PyObject
* obj0
= 0 ;
19413 PyObject
* obj1
= 0 ;
19414 char *kwnames
[] = {
19415 (char *) "self",(char *) "tz", NULL
19418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19423 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19429 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19431 wxPyEndAllowThreads(__tstate
);
19432 if (PyErr_Occurred()) SWIG_fail
;
19434 resultobj
= SWIG_From_int((int)result
);
19436 if (temp2
) delete arg2
;
19441 if (temp2
) delete arg2
;
19447 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
;
19449 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19450 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19451 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19453 bool temp2
= false ;
19454 PyObject
* obj0
= 0 ;
19455 PyObject
* obj1
= 0 ;
19456 char *kwnames
[] = {
19457 (char *) "self",(char *) "tz", NULL
19460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19465 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19471 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19473 wxPyEndAllowThreads(__tstate
);
19474 if (PyErr_Occurred()) SWIG_fail
;
19476 resultobj
= SWIG_From_int((int)result
);
19478 if (temp2
) delete arg2
;
19483 if (temp2
) delete arg2
;
19489 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19490 PyObject
*resultobj
;
19491 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19492 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19493 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19495 bool temp2
= false ;
19496 PyObject
* obj0
= 0 ;
19497 PyObject
* obj1
= 0 ;
19498 char *kwnames
[] = {
19499 (char *) "self",(char *) "tz", NULL
19502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19507 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19513 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19515 wxPyEndAllowThreads(__tstate
);
19516 if (PyErr_Occurred()) SWIG_fail
;
19518 resultobj
= SWIG_From_int((int)result
);
19520 if (temp2
) delete arg2
;
19525 if (temp2
) delete arg2
;
19531 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19532 PyObject
*resultobj
;
19533 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19534 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19535 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19537 bool temp2
= false ;
19538 PyObject
* obj0
= 0 ;
19539 PyObject
* obj1
= 0 ;
19540 char *kwnames
[] = {
19541 (char *) "self",(char *) "tz", NULL
19544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19549 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19555 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19557 wxPyEndAllowThreads(__tstate
);
19558 if (PyErr_Occurred()) SWIG_fail
;
19560 resultobj
= SWIG_From_int((int)result
);
19562 if (temp2
) delete arg2
;
19567 if (temp2
) delete arg2
;
19573 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19574 PyObject
*resultobj
;
19575 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19576 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19577 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19579 bool temp2
= false ;
19580 PyObject
* obj0
= 0 ;
19581 PyObject
* obj1
= 0 ;
19582 char *kwnames
[] = {
19583 (char *) "self",(char *) "tz", NULL
19586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19591 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19597 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19599 wxPyEndAllowThreads(__tstate
);
19600 if (PyErr_Occurred()) SWIG_fail
;
19602 resultobj
= SWIG_From_int((int)result
);
19604 if (temp2
) delete arg2
;
19609 if (temp2
) delete arg2
;
19615 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19616 PyObject
*resultobj
;
19617 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19618 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19619 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19621 bool temp2
= false ;
19622 PyObject
* obj0
= 0 ;
19623 PyObject
* obj1
= 0 ;
19624 char *kwnames
[] = {
19625 (char *) "self",(char *) "tz", NULL
19628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19633 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19639 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19641 wxPyEndAllowThreads(__tstate
);
19642 if (PyErr_Occurred()) SWIG_fail
;
19644 resultobj
= SWIG_From_int((int)result
);
19646 if (temp2
) delete arg2
;
19651 if (temp2
) delete arg2
;
19657 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19658 PyObject
*resultobj
;
19659 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19660 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19661 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19663 bool temp2
= false ;
19664 PyObject
* obj0
= 0 ;
19665 PyObject
* obj1
= 0 ;
19666 char *kwnames
[] = {
19667 (char *) "self",(char *) "tz", NULL
19670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19675 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19681 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19683 wxPyEndAllowThreads(__tstate
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19686 resultobj
= SWIG_From_int((int)result
);
19688 if (temp2
) delete arg2
;
19693 if (temp2
) delete arg2
;
19699 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19700 PyObject
*resultobj
;
19701 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19702 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19703 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19705 bool temp2
= false ;
19706 PyObject
* obj0
= 0 ;
19707 PyObject
* obj1
= 0 ;
19708 char *kwnames
[] = {
19709 (char *) "self",(char *) "tz", NULL
19712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19717 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19723 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19725 wxPyEndAllowThreads(__tstate
);
19726 if (PyErr_Occurred()) SWIG_fail
;
19728 resultobj
= SWIG_From_int((int)result
);
19730 if (temp2
) delete arg2
;
19735 if (temp2
) delete arg2
;
19741 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19742 PyObject
*resultobj
;
19743 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19744 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19745 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19747 bool temp2
= false ;
19748 PyObject
* obj0
= 0 ;
19749 PyObject
* obj1
= 0 ;
19750 char *kwnames
[] = {
19751 (char *) "self",(char *) "tz", NULL
19754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19759 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19765 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19767 wxPyEndAllowThreads(__tstate
);
19768 if (PyErr_Occurred()) SWIG_fail
;
19770 resultobj
= SWIG_From_int((int)result
);
19772 if (temp2
) delete arg2
;
19777 if (temp2
) delete arg2
;
19783 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19784 PyObject
*resultobj
;
19785 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19786 int arg2
= (int) wxDateTime::Monday_First
;
19787 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19788 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19790 bool temp3
= false ;
19791 PyObject
* obj0
= 0 ;
19792 PyObject
* obj1
= 0 ;
19793 PyObject
* obj2
= 0 ;
19794 char *kwnames
[] = {
19795 (char *) "self",(char *) "flags",(char *) "tz", NULL
19798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19802 arg2
= (int)SWIG_As_int(obj1
);
19803 if (PyErr_Occurred()) SWIG_fail
;
19807 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19813 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19815 wxPyEndAllowThreads(__tstate
);
19816 if (PyErr_Occurred()) SWIG_fail
;
19818 resultobj
= SWIG_From_int((int)result
);
19820 if (temp3
) delete arg3
;
19825 if (temp3
) delete arg3
;
19831 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19832 PyObject
*resultobj
;
19833 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19834 int arg2
= (int) wxDateTime::Monday_First
;
19835 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19836 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19838 bool temp3
= false ;
19839 PyObject
* obj0
= 0 ;
19840 PyObject
* obj1
= 0 ;
19841 PyObject
* obj2
= 0 ;
19842 char *kwnames
[] = {
19843 (char *) "self",(char *) "flags",(char *) "tz", NULL
19846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19850 arg2
= (int)SWIG_As_int(obj1
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19855 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19861 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19863 wxPyEndAllowThreads(__tstate
);
19864 if (PyErr_Occurred()) SWIG_fail
;
19866 resultobj
= SWIG_From_int((int)result
);
19868 if (temp3
) delete arg3
;
19873 if (temp3
) delete arg3
;
19879 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19880 PyObject
*resultobj
;
19881 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19882 int arg2
= (int) wxDateTime::Country_Default
;
19884 PyObject
* obj0
= 0 ;
19885 PyObject
* obj1
= 0 ;
19886 char *kwnames
[] = {
19887 (char *) "self",(char *) "country", NULL
19890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19894 arg2
= (int)SWIG_As_int(obj1
);
19895 if (PyErr_Occurred()) SWIG_fail
;
19898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19901 wxPyEndAllowThreads(__tstate
);
19902 if (PyErr_Occurred()) SWIG_fail
;
19905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19913 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19914 PyObject
*resultobj
;
19915 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19916 wxDateTime
*arg2
= 0 ;
19918 PyObject
* obj0
= 0 ;
19919 PyObject
* obj1
= 0 ;
19920 char *kwnames
[] = {
19921 (char *) "self",(char *) "datetime", NULL
19924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19927 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19928 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19930 if (arg2
== NULL
) {
19931 PyErr_SetString(PyExc_TypeError
,"null reference");
19935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19936 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19938 wxPyEndAllowThreads(__tstate
);
19939 if (PyErr_Occurred()) SWIG_fail
;
19942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19950 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19951 PyObject
*resultobj
;
19952 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19953 wxDateTime
*arg2
= 0 ;
19955 PyObject
* obj0
= 0 ;
19956 PyObject
* obj1
= 0 ;
19957 char *kwnames
[] = {
19958 (char *) "self",(char *) "datetime", NULL
19961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19965 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19967 if (arg2
== NULL
) {
19968 PyErr_SetString(PyExc_TypeError
,"null reference");
19972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19973 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19975 wxPyEndAllowThreads(__tstate
);
19976 if (PyErr_Occurred()) SWIG_fail
;
19979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19987 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19988 PyObject
*resultobj
;
19989 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19990 wxDateTime
*arg2
= 0 ;
19992 PyObject
* obj0
= 0 ;
19993 PyObject
* obj1
= 0 ;
19994 char *kwnames
[] = {
19995 (char *) "self",(char *) "datetime", NULL
19998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20001 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20002 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20004 if (arg2
== NULL
) {
20005 PyErr_SetString(PyExc_TypeError
,"null reference");
20009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20010 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
20012 wxPyEndAllowThreads(__tstate
);
20013 if (PyErr_Occurred()) SWIG_fail
;
20016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20024 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20025 PyObject
*resultobj
;
20026 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20027 wxDateTime
*arg2
= 0 ;
20028 wxDateTime
*arg3
= 0 ;
20030 PyObject
* obj0
= 0 ;
20031 PyObject
* obj1
= 0 ;
20032 PyObject
* obj2
= 0 ;
20033 char *kwnames
[] = {
20034 (char *) "self",(char *) "t1",(char *) "t2", NULL
20037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20041 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20043 if (arg2
== NULL
) {
20044 PyErr_SetString(PyExc_TypeError
,"null reference");
20047 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20048 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20050 if (arg3
== NULL
) {
20051 PyErr_SetString(PyExc_TypeError
,"null reference");
20055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20056 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20058 wxPyEndAllowThreads(__tstate
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20070 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20071 PyObject
*resultobj
;
20072 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20073 wxDateTime
*arg2
= 0 ;
20074 wxDateTime
*arg3
= 0 ;
20076 PyObject
* obj0
= 0 ;
20077 PyObject
* obj1
= 0 ;
20078 PyObject
* obj2
= 0 ;
20079 char *kwnames
[] = {
20080 (char *) "self",(char *) "t1",(char *) "t2", NULL
20083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20087 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20089 if (arg2
== NULL
) {
20090 PyErr_SetString(PyExc_TypeError
,"null reference");
20093 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
20094 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20096 if (arg3
== NULL
) {
20097 PyErr_SetString(PyExc_TypeError
,"null reference");
20101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20102 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
20104 wxPyEndAllowThreads(__tstate
);
20105 if (PyErr_Occurred()) SWIG_fail
;
20108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20116 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20117 PyObject
*resultobj
;
20118 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20119 wxDateTime
*arg2
= 0 ;
20121 PyObject
* obj0
= 0 ;
20122 PyObject
* obj1
= 0 ;
20123 char *kwnames
[] = {
20124 (char *) "self",(char *) "dt", NULL
20127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20131 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20133 if (arg2
== NULL
) {
20134 PyErr_SetString(PyExc_TypeError
,"null reference");
20138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20139 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
20141 wxPyEndAllowThreads(__tstate
);
20142 if (PyErr_Occurred()) SWIG_fail
;
20145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20153 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20154 PyObject
*resultobj
;
20155 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20156 wxDateTime
*arg2
= 0 ;
20158 PyObject
* obj0
= 0 ;
20159 PyObject
* obj1
= 0 ;
20160 char *kwnames
[] = {
20161 (char *) "self",(char *) "dt", NULL
20164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20168 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20170 if (arg2
== NULL
) {
20171 PyErr_SetString(PyExc_TypeError
,"null reference");
20175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20176 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
20178 wxPyEndAllowThreads(__tstate
);
20179 if (PyErr_Occurred()) SWIG_fail
;
20182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20190 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20191 PyObject
*resultobj
;
20192 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20193 wxDateTime
*arg2
= 0 ;
20194 wxTimeSpan
*arg3
= 0 ;
20196 PyObject
* obj0
= 0 ;
20197 PyObject
* obj1
= 0 ;
20198 PyObject
* obj2
= 0 ;
20199 char *kwnames
[] = {
20200 (char *) "self",(char *) "dt",(char *) "ts", NULL
20203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20207 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20209 if (arg2
== NULL
) {
20210 PyErr_SetString(PyExc_TypeError
,"null reference");
20213 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
20214 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20216 if (arg3
== NULL
) {
20217 PyErr_SetString(PyExc_TypeError
,"null reference");
20221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20222 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
20224 wxPyEndAllowThreads(__tstate
);
20225 if (PyErr_Occurred()) SWIG_fail
;
20228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20236 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20237 PyObject
*resultobj
;
20238 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20239 wxTimeSpan
*arg2
= 0 ;
20240 wxDateTime
*result
;
20241 PyObject
* obj0
= 0 ;
20242 PyObject
* obj1
= 0 ;
20243 char *kwnames
[] = {
20244 (char *) "self",(char *) "diff", NULL
20247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20250 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20251 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20253 if (arg2
== NULL
) {
20254 PyErr_SetString(PyExc_TypeError
,"null reference");
20258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20260 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
20261 result
= (wxDateTime
*) &_result_ref
;
20264 wxPyEndAllowThreads(__tstate
);
20265 if (PyErr_Occurred()) SWIG_fail
;
20267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20274 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20275 PyObject
*resultobj
;
20276 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20277 wxDateSpan
*arg2
= 0 ;
20278 wxDateTime
*result
;
20279 PyObject
* obj0
= 0 ;
20280 PyObject
* obj1
= 0 ;
20281 char *kwnames
[] = {
20282 (char *) "self",(char *) "diff", NULL
20285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20288 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20289 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20291 if (arg2
== NULL
) {
20292 PyErr_SetString(PyExc_TypeError
,"null reference");
20296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20298 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
20299 result
= (wxDateTime
*) &_result_ref
;
20302 wxPyEndAllowThreads(__tstate
);
20303 if (PyErr_Occurred()) SWIG_fail
;
20305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20312 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20313 PyObject
*resultobj
;
20314 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20315 wxTimeSpan
*arg2
= 0 ;
20316 wxDateTime
*result
;
20317 PyObject
* obj0
= 0 ;
20318 PyObject
* obj1
= 0 ;
20319 char *kwnames
[] = {
20320 (char *) "self",(char *) "diff", NULL
20323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20327 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20329 if (arg2
== NULL
) {
20330 PyErr_SetString(PyExc_TypeError
,"null reference");
20334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20336 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
20337 result
= (wxDateTime
*) &_result_ref
;
20340 wxPyEndAllowThreads(__tstate
);
20341 if (PyErr_Occurred()) SWIG_fail
;
20343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20350 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20351 PyObject
*resultobj
;
20352 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20353 wxDateSpan
*arg2
= 0 ;
20354 wxDateTime
*result
;
20355 PyObject
* obj0
= 0 ;
20356 PyObject
* obj1
= 0 ;
20357 char *kwnames
[] = {
20358 (char *) "self",(char *) "diff", NULL
20361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20365 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20367 if (arg2
== NULL
) {
20368 PyErr_SetString(PyExc_TypeError
,"null reference");
20372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20374 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20375 result
= (wxDateTime
*) &_result_ref
;
20378 wxPyEndAllowThreads(__tstate
);
20379 if (PyErr_Occurred()) SWIG_fail
;
20381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20388 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20389 PyObject
*resultobj
;
20390 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20391 wxDateTime
*arg2
= 0 ;
20393 PyObject
* obj0
= 0 ;
20394 PyObject
* obj1
= 0 ;
20395 char *kwnames
[] = {
20396 (char *) "self",(char *) "dt", NULL
20399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20403 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20405 if (arg2
== NULL
) {
20406 PyErr_SetString(PyExc_TypeError
,"null reference");
20410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20411 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20413 wxPyEndAllowThreads(__tstate
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20417 wxTimeSpan
* resultptr
;
20418 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20427 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
20428 PyObject
*resultobj
;
20429 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20430 wxTimeSpan
*arg2
= 0 ;
20431 wxDateTime
*result
;
20432 PyObject
* obj0
= 0 ;
20433 PyObject
* obj1
= 0 ;
20435 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20437 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20439 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20441 if (arg2
== NULL
) {
20442 PyErr_SetString(PyExc_TypeError
,"null reference");
20446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20448 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20449 result
= (wxDateTime
*) &_result_ref
;
20452 wxPyEndAllowThreads(__tstate
);
20453 if (PyErr_Occurred()) SWIG_fail
;
20455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20462 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
20463 PyObject
*resultobj
;
20464 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20465 wxDateSpan
*arg2
= 0 ;
20466 wxDateTime
*result
;
20467 PyObject
* obj0
= 0 ;
20468 PyObject
* obj1
= 0 ;
20470 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20472 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20473 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20474 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20476 if (arg2
== NULL
) {
20477 PyErr_SetString(PyExc_TypeError
,"null reference");
20481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20483 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20484 result
= (wxDateTime
*) &_result_ref
;
20487 wxPyEndAllowThreads(__tstate
);
20488 if (PyErr_Occurred()) SWIG_fail
;
20490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20497 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20502 argc
= PyObject_Length(args
);
20503 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20504 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20510 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20520 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20528 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20536 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20546 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20554 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20559 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20564 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
20565 PyObject
*resultobj
;
20566 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20567 wxTimeSpan
*arg2
= 0 ;
20568 wxDateTime
*result
;
20569 PyObject
* obj0
= 0 ;
20570 PyObject
* obj1
= 0 ;
20572 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20574 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20575 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20576 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20578 if (arg2
== NULL
) {
20579 PyErr_SetString(PyExc_TypeError
,"null reference");
20583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20585 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20586 result
= (wxDateTime
*) &_result_ref
;
20589 wxPyEndAllowThreads(__tstate
);
20590 if (PyErr_Occurred()) SWIG_fail
;
20592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20599 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
20600 PyObject
*resultobj
;
20601 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20602 wxDateSpan
*arg2
= 0 ;
20603 wxDateTime
*result
;
20604 PyObject
* obj0
= 0 ;
20605 PyObject
* obj1
= 0 ;
20607 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20609 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20611 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20613 if (arg2
== NULL
) {
20614 PyErr_SetString(PyExc_TypeError
,"null reference");
20618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20620 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20621 result
= (wxDateTime
*) &_result_ref
;
20624 wxPyEndAllowThreads(__tstate
);
20625 if (PyErr_Occurred()) SWIG_fail
;
20627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
20634 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20639 argc
= PyObject_Length(args
);
20640 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20641 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20647 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20657 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20665 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20673 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20683 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20691 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20696 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20701 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
20702 PyObject
*resultobj
;
20703 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20704 wxTimeSpan
*arg2
= 0 ;
20706 PyObject
* obj0
= 0 ;
20707 PyObject
* obj1
= 0 ;
20709 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20713 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20715 if (arg2
== NULL
) {
20716 PyErr_SetString(PyExc_TypeError
,"null reference");
20720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20721 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20723 wxPyEndAllowThreads(__tstate
);
20724 if (PyErr_Occurred()) SWIG_fail
;
20727 wxDateTime
* resultptr
;
20728 resultptr
= new wxDateTime((wxDateTime
&) result
);
20729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20737 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
20738 PyObject
*resultobj
;
20739 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20740 wxDateSpan
*arg2
= 0 ;
20742 PyObject
* obj0
= 0 ;
20743 PyObject
* obj1
= 0 ;
20745 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20749 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20751 if (arg2
== NULL
) {
20752 PyErr_SetString(PyExc_TypeError
,"null reference");
20756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20757 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20759 wxPyEndAllowThreads(__tstate
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20763 wxDateTime
* resultptr
;
20764 resultptr
= new wxDateTime((wxDateTime
&) result
);
20765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20773 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20778 argc
= PyObject_Length(args
);
20779 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20780 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20786 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20796 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20804 return _wrap_DateTime___add____SWIG_0(self
,args
);
20812 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20822 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20830 return _wrap_DateTime___add____SWIG_1(self
,args
);
20835 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20840 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
20841 PyObject
*resultobj
;
20842 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20843 wxDateTime
*arg2
= 0 ;
20845 PyObject
* obj0
= 0 ;
20846 PyObject
* obj1
= 0 ;
20848 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20852 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20854 if (arg2
== NULL
) {
20855 PyErr_SetString(PyExc_TypeError
,"null reference");
20859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20860 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20862 wxPyEndAllowThreads(__tstate
);
20863 if (PyErr_Occurred()) SWIG_fail
;
20866 wxTimeSpan
* resultptr
;
20867 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20868 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20876 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
20877 PyObject
*resultobj
;
20878 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20879 wxTimeSpan
*arg2
= 0 ;
20881 PyObject
* obj0
= 0 ;
20882 PyObject
* obj1
= 0 ;
20884 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20887 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20888 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20890 if (arg2
== NULL
) {
20891 PyErr_SetString(PyExc_TypeError
,"null reference");
20895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20896 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20898 wxPyEndAllowThreads(__tstate
);
20899 if (PyErr_Occurred()) SWIG_fail
;
20902 wxDateTime
* resultptr
;
20903 resultptr
= new wxDateTime((wxDateTime
&) result
);
20904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20912 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
20913 PyObject
*resultobj
;
20914 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20915 wxDateSpan
*arg2
= 0 ;
20917 PyObject
* obj0
= 0 ;
20918 PyObject
* obj1
= 0 ;
20920 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20924 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20926 if (arg2
== NULL
) {
20927 PyErr_SetString(PyExc_TypeError
,"null reference");
20931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20932 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20934 wxPyEndAllowThreads(__tstate
);
20935 if (PyErr_Occurred()) SWIG_fail
;
20938 wxDateTime
* resultptr
;
20939 resultptr
= new wxDateTime((wxDateTime
&) result
);
20940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20948 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20953 argc
= PyObject_Length(args
);
20954 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20955 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20961 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20971 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20979 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20987 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20997 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
21005 return _wrap_DateTime___sub____SWIG_1(self
,args
);
21013 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
21023 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
21031 return _wrap_DateTime___sub____SWIG_2(self
,args
);
21036 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
21041 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
) {
21042 PyObject
*resultobj
;
21043 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21044 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21046 PyObject
* obj0
= 0 ;
21047 PyObject
* obj1
= 0 ;
21049 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
21050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21052 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21056 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
21058 wxPyEndAllowThreads(__tstate
);
21059 if (PyErr_Occurred()) SWIG_fail
;
21062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21070 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
) {
21071 PyObject
*resultobj
;
21072 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21073 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21075 PyObject
* obj0
= 0 ;
21076 PyObject
* obj1
= 0 ;
21078 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
21079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21085 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
21087 wxPyEndAllowThreads(__tstate
);
21088 if (PyErr_Occurred()) SWIG_fail
;
21091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21099 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
) {
21100 PyObject
*resultobj
;
21101 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21102 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21104 PyObject
* obj0
= 0 ;
21105 PyObject
* obj1
= 0 ;
21107 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
21108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21110 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21114 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
21116 wxPyEndAllowThreads(__tstate
);
21117 if (PyErr_Occurred()) SWIG_fail
;
21120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21128 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
) {
21129 PyObject
*resultobj
;
21130 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21131 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21133 PyObject
* obj0
= 0 ;
21134 PyObject
* obj1
= 0 ;
21136 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
21137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21139 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21143 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
21145 wxPyEndAllowThreads(__tstate
);
21146 if (PyErr_Occurred()) SWIG_fail
;
21149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21157 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
) {
21158 PyObject
*resultobj
;
21159 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21160 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21162 PyObject
* obj0
= 0 ;
21163 PyObject
* obj1
= 0 ;
21165 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
21166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21172 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
21174 wxPyEndAllowThreads(__tstate
);
21175 if (PyErr_Occurred()) SWIG_fail
;
21178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21186 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
) {
21187 PyObject
*resultobj
;
21188 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21189 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
21191 PyObject
* obj0
= 0 ;
21192 PyObject
* obj1
= 0 ;
21194 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
21195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21197 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
21198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21201 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
21203 wxPyEndAllowThreads(__tstate
);
21204 if (PyErr_Occurred()) SWIG_fail
;
21207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21215 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21216 PyObject
*resultobj
;
21217 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21218 wxString
*arg2
= 0 ;
21220 bool temp2
= false ;
21221 PyObject
* obj0
= 0 ;
21222 PyObject
* obj1
= 0 ;
21223 char *kwnames
[] = {
21224 (char *) "self",(char *) "date", NULL
21227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
21228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21231 arg2
= wxString_in_helper(obj1
);
21232 if (arg2
== NULL
) SWIG_fail
;
21236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21237 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
21239 wxPyEndAllowThreads(__tstate
);
21240 if (PyErr_Occurred()) SWIG_fail
;
21242 resultobj
= SWIG_From_int((int)result
);
21257 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21258 PyObject
*resultobj
;
21259 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21260 wxString
*arg2
= 0 ;
21261 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
21262 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21263 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
21264 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
21266 bool temp2
= false ;
21267 bool temp3
= false ;
21268 PyObject
* obj0
= 0 ;
21269 PyObject
* obj1
= 0 ;
21270 PyObject
* obj2
= 0 ;
21271 PyObject
* obj3
= 0 ;
21272 char *kwnames
[] = {
21273 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
21276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21280 arg2
= wxString_in_helper(obj1
);
21281 if (arg2
== NULL
) SWIG_fail
;
21286 arg3
= wxString_in_helper(obj2
);
21287 if (arg3
== NULL
) SWIG_fail
;
21292 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
21293 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21295 if (arg4
== NULL
) {
21296 PyErr_SetString(PyExc_TypeError
,"null reference");
21301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21302 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
21304 wxPyEndAllowThreads(__tstate
);
21305 if (PyErr_Occurred()) SWIG_fail
;
21307 resultobj
= SWIG_From_int((int)result
);
21330 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21331 PyObject
*resultobj
;
21332 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21333 wxString
*arg2
= 0 ;
21335 bool temp2
= false ;
21336 PyObject
* obj0
= 0 ;
21337 PyObject
* obj1
= 0 ;
21338 char *kwnames
[] = {
21339 (char *) "self",(char *) "datetime", NULL
21342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21346 arg2
= wxString_in_helper(obj1
);
21347 if (arg2
== NULL
) SWIG_fail
;
21351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21352 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
21354 wxPyEndAllowThreads(__tstate
);
21355 if (PyErr_Occurred()) SWIG_fail
;
21357 resultobj
= SWIG_From_int((int)result
);
21372 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21373 PyObject
*resultobj
;
21374 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21375 wxString
*arg2
= 0 ;
21377 bool temp2
= false ;
21378 PyObject
* obj0
= 0 ;
21379 PyObject
* obj1
= 0 ;
21380 char *kwnames
[] = {
21381 (char *) "self",(char *) "date", NULL
21384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21388 arg2
= wxString_in_helper(obj1
);
21389 if (arg2
== NULL
) SWIG_fail
;
21393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21394 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21396 wxPyEndAllowThreads(__tstate
);
21397 if (PyErr_Occurred()) SWIG_fail
;
21399 resultobj
= SWIG_From_int((int)result
);
21414 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21415 PyObject
*resultobj
;
21416 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21417 wxString
*arg2
= 0 ;
21419 bool temp2
= false ;
21420 PyObject
* obj0
= 0 ;
21421 PyObject
* obj1
= 0 ;
21422 char *kwnames
[] = {
21423 (char *) "self",(char *) "time", NULL
21426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21430 arg2
= wxString_in_helper(obj1
);
21431 if (arg2
== NULL
) SWIG_fail
;
21435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21436 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21438 wxPyEndAllowThreads(__tstate
);
21439 if (PyErr_Occurred()) SWIG_fail
;
21441 resultobj
= SWIG_From_int((int)result
);
21456 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21457 PyObject
*resultobj
;
21458 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21459 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21460 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21461 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21462 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21464 bool temp2
= false ;
21465 bool temp3
= false ;
21466 PyObject
* obj0
= 0 ;
21467 PyObject
* obj1
= 0 ;
21468 PyObject
* obj2
= 0 ;
21469 char *kwnames
[] = {
21470 (char *) "self",(char *) "format",(char *) "tz", NULL
21473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21478 arg2
= wxString_in_helper(obj1
);
21479 if (arg2
== NULL
) SWIG_fail
;
21485 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21491 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21493 wxPyEndAllowThreads(__tstate
);
21494 if (PyErr_Occurred()) SWIG_fail
;
21498 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21500 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21508 if (temp3
) delete arg3
;
21517 if (temp3
) delete arg3
;
21523 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21524 PyObject
*resultobj
;
21525 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21527 PyObject
* obj0
= 0 ;
21528 char *kwnames
[] = {
21529 (char *) "self", NULL
21532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21537 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21539 wxPyEndAllowThreads(__tstate
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21555 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21556 PyObject
*resultobj
;
21557 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21559 PyObject
* obj0
= 0 ;
21560 char *kwnames
[] = {
21561 (char *) "self", NULL
21564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21569 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21571 wxPyEndAllowThreads(__tstate
);
21572 if (PyErr_Occurred()) SWIG_fail
;
21576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21587 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21588 PyObject
*resultobj
;
21589 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21591 PyObject
* obj0
= 0 ;
21592 char *kwnames
[] = {
21593 (char *) "self", NULL
21596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21601 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21603 wxPyEndAllowThreads(__tstate
);
21604 if (PyErr_Occurred()) SWIG_fail
;
21608 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21610 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21619 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21620 PyObject
*resultobj
;
21621 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21623 PyObject
* obj0
= 0 ;
21624 char *kwnames
[] = {
21625 (char *) "self", NULL
21628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21633 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21635 wxPyEndAllowThreads(__tstate
);
21636 if (PyErr_Occurred()) SWIG_fail
;
21640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21651 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
21653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21654 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21656 return Py_BuildValue((char *)"");
21658 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21659 PyObject
*resultobj
;
21662 PyObject
* obj0
= 0 ;
21663 char *kwnames
[] = {
21664 (char *) "sec", NULL
21667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21668 arg1
= (long)SWIG_As_long(obj0
);
21669 if (PyErr_Occurred()) SWIG_fail
;
21671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21672 result
= wxTimeSpan::Seconds(arg1
);
21674 wxPyEndAllowThreads(__tstate
);
21675 if (PyErr_Occurred()) SWIG_fail
;
21678 wxTimeSpan
* resultptr
;
21679 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21680 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21688 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21689 PyObject
*resultobj
;
21691 char *kwnames
[] = {
21695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21698 result
= wxTimeSpan::Second();
21700 wxPyEndAllowThreads(__tstate
);
21701 if (PyErr_Occurred()) SWIG_fail
;
21704 wxTimeSpan
* resultptr
;
21705 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21706 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21714 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21715 PyObject
*resultobj
;
21718 PyObject
* obj0
= 0 ;
21719 char *kwnames
[] = {
21720 (char *) "min", NULL
21723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21724 arg1
= (long)SWIG_As_long(obj0
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21728 result
= wxTimeSpan::Minutes(arg1
);
21730 wxPyEndAllowThreads(__tstate
);
21731 if (PyErr_Occurred()) SWIG_fail
;
21734 wxTimeSpan
* resultptr
;
21735 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21736 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21744 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21745 PyObject
*resultobj
;
21747 char *kwnames
[] = {
21751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21754 result
= wxTimeSpan::Minute();
21756 wxPyEndAllowThreads(__tstate
);
21757 if (PyErr_Occurred()) SWIG_fail
;
21760 wxTimeSpan
* resultptr
;
21761 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21762 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21770 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21771 PyObject
*resultobj
;
21774 PyObject
* obj0
= 0 ;
21775 char *kwnames
[] = {
21776 (char *) "hours", NULL
21779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21780 arg1
= (long)SWIG_As_long(obj0
);
21781 if (PyErr_Occurred()) SWIG_fail
;
21783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21784 result
= wxTimeSpan::Hours(arg1
);
21786 wxPyEndAllowThreads(__tstate
);
21787 if (PyErr_Occurred()) SWIG_fail
;
21790 wxTimeSpan
* resultptr
;
21791 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21800 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21801 PyObject
*resultobj
;
21803 char *kwnames
[] = {
21807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21810 result
= wxTimeSpan::Hour();
21812 wxPyEndAllowThreads(__tstate
);
21813 if (PyErr_Occurred()) SWIG_fail
;
21816 wxTimeSpan
* resultptr
;
21817 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21818 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21826 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21827 PyObject
*resultobj
;
21830 PyObject
* obj0
= 0 ;
21831 char *kwnames
[] = {
21832 (char *) "days", NULL
21835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21836 arg1
= (long)SWIG_As_long(obj0
);
21837 if (PyErr_Occurred()) SWIG_fail
;
21839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21840 result
= wxTimeSpan::Days(arg1
);
21842 wxPyEndAllowThreads(__tstate
);
21843 if (PyErr_Occurred()) SWIG_fail
;
21846 wxTimeSpan
* resultptr
;
21847 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21848 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21856 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21857 PyObject
*resultobj
;
21859 char *kwnames
[] = {
21863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21866 result
= wxTimeSpan::Day();
21868 wxPyEndAllowThreads(__tstate
);
21869 if (PyErr_Occurred()) SWIG_fail
;
21872 wxTimeSpan
* resultptr
;
21873 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21882 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21883 PyObject
*resultobj
;
21886 PyObject
* obj0
= 0 ;
21887 char *kwnames
[] = {
21888 (char *) "days", NULL
21891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21892 arg1
= (long)SWIG_As_long(obj0
);
21893 if (PyErr_Occurred()) SWIG_fail
;
21895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21896 result
= wxTimeSpan::Weeks(arg1
);
21898 wxPyEndAllowThreads(__tstate
);
21899 if (PyErr_Occurred()) SWIG_fail
;
21902 wxTimeSpan
* resultptr
;
21903 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21912 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21913 PyObject
*resultobj
;
21915 char *kwnames
[] = {
21919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21922 result
= wxTimeSpan::Week();
21924 wxPyEndAllowThreads(__tstate
);
21925 if (PyErr_Occurred()) SWIG_fail
;
21928 wxTimeSpan
* resultptr
;
21929 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21938 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21939 PyObject
*resultobj
;
21940 long arg1
= (long) 0 ;
21941 long arg2
= (long) 0 ;
21942 long arg3
= (long) 0 ;
21943 long arg4
= (long) 0 ;
21944 wxTimeSpan
*result
;
21945 PyObject
* obj0
= 0 ;
21946 PyObject
* obj1
= 0 ;
21947 PyObject
* obj2
= 0 ;
21948 PyObject
* obj3
= 0 ;
21949 char *kwnames
[] = {
21950 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21955 arg1
= (long)SWIG_As_long(obj0
);
21956 if (PyErr_Occurred()) SWIG_fail
;
21959 arg2
= (long)SWIG_As_long(obj1
);
21960 if (PyErr_Occurred()) SWIG_fail
;
21963 arg3
= (long)SWIG_As_long(obj2
);
21964 if (PyErr_Occurred()) SWIG_fail
;
21967 arg4
= (long)SWIG_As_long(obj3
);
21968 if (PyErr_Occurred()) SWIG_fail
;
21971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21972 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21974 wxPyEndAllowThreads(__tstate
);
21975 if (PyErr_Occurred()) SWIG_fail
;
21977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21984 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21985 PyObject
*resultobj
;
21986 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21987 PyObject
* obj0
= 0 ;
21988 char *kwnames
[] = {
21989 (char *) "self", NULL
21992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21999 wxPyEndAllowThreads(__tstate
);
22000 if (PyErr_Occurred()) SWIG_fail
;
22002 Py_INCREF(Py_None
); resultobj
= Py_None
;
22009 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22010 PyObject
*resultobj
;
22011 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22012 wxTimeSpan
*arg2
= 0 ;
22013 wxTimeSpan
*result
;
22014 PyObject
* obj0
= 0 ;
22015 PyObject
* obj1
= 0 ;
22016 char *kwnames
[] = {
22017 (char *) "self",(char *) "diff", NULL
22020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
22021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22024 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22026 if (arg2
== NULL
) {
22027 PyErr_SetString(PyExc_TypeError
,"null reference");
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22033 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
22034 result
= (wxTimeSpan
*) &_result_ref
;
22037 wxPyEndAllowThreads(__tstate
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22047 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22048 PyObject
*resultobj
;
22049 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22050 wxTimeSpan
*arg2
= 0 ;
22051 wxTimeSpan
*result
;
22052 PyObject
* obj0
= 0 ;
22053 PyObject
* obj1
= 0 ;
22054 char *kwnames
[] = {
22055 (char *) "self",(char *) "diff", NULL
22058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
22059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22062 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22064 if (arg2
== NULL
) {
22065 PyErr_SetString(PyExc_TypeError
,"null reference");
22069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22071 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
22072 result
= (wxTimeSpan
*) &_result_ref
;
22075 wxPyEndAllowThreads(__tstate
);
22076 if (PyErr_Occurred()) SWIG_fail
;
22078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22085 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22086 PyObject
*resultobj
;
22087 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22089 wxTimeSpan
*result
;
22090 PyObject
* obj0
= 0 ;
22091 PyObject
* obj1
= 0 ;
22092 char *kwnames
[] = {
22093 (char *) "self",(char *) "n", NULL
22096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
22097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22099 arg2
= (int)SWIG_As_int(obj1
);
22100 if (PyErr_Occurred()) SWIG_fail
;
22102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22104 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
22105 result
= (wxTimeSpan
*) &_result_ref
;
22108 wxPyEndAllowThreads(__tstate
);
22109 if (PyErr_Occurred()) SWIG_fail
;
22111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22118 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22119 PyObject
*resultobj
;
22120 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22121 wxTimeSpan
*result
;
22122 PyObject
* obj0
= 0 ;
22123 char *kwnames
[] = {
22124 (char *) "self", NULL
22127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
22128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22133 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
22134 result
= (wxTimeSpan
*) &_result_ref
;
22137 wxPyEndAllowThreads(__tstate
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22147 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22148 PyObject
*resultobj
;
22149 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22151 PyObject
* obj0
= 0 ;
22152 char *kwnames
[] = {
22153 (char *) "self", NULL
22156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
22157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22161 result
= ((wxTimeSpan
const *)arg1
)->Abs();
22163 wxPyEndAllowThreads(__tstate
);
22164 if (PyErr_Occurred()) SWIG_fail
;
22167 wxTimeSpan
* resultptr
;
22168 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22177 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22178 PyObject
*resultobj
;
22179 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22180 wxTimeSpan
*arg2
= 0 ;
22181 wxTimeSpan
*result
;
22182 PyObject
* obj0
= 0 ;
22183 PyObject
* obj1
= 0 ;
22184 char *kwnames
[] = {
22185 (char *) "self",(char *) "diff", NULL
22188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
22189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22190 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22191 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22192 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22194 if (arg2
== NULL
) {
22195 PyErr_SetString(PyExc_TypeError
,"null reference");
22199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22201 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
22202 result
= (wxTimeSpan
*) &_result_ref
;
22205 wxPyEndAllowThreads(__tstate
);
22206 if (PyErr_Occurred()) SWIG_fail
;
22208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22215 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22216 PyObject
*resultobj
;
22217 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22218 wxTimeSpan
*arg2
= 0 ;
22219 wxTimeSpan
*result
;
22220 PyObject
* obj0
= 0 ;
22221 PyObject
* obj1
= 0 ;
22222 char *kwnames
[] = {
22223 (char *) "self",(char *) "diff", NULL
22226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22228 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22230 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22232 if (arg2
== NULL
) {
22233 PyErr_SetString(PyExc_TypeError
,"null reference");
22237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22239 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
22240 result
= (wxTimeSpan
*) &_result_ref
;
22243 wxPyEndAllowThreads(__tstate
);
22244 if (PyErr_Occurred()) SWIG_fail
;
22246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22253 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22254 PyObject
*resultobj
;
22255 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22257 wxTimeSpan
*result
;
22258 PyObject
* obj0
= 0 ;
22259 PyObject
* obj1
= 0 ;
22260 char *kwnames
[] = {
22261 (char *) "self",(char *) "n", NULL
22264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22266 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22267 arg2
= (int)SWIG_As_int(obj1
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
22273 result
= (wxTimeSpan
*) &_result_ref
;
22276 wxPyEndAllowThreads(__tstate
);
22277 if (PyErr_Occurred()) SWIG_fail
;
22279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
22286 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22287 PyObject
*resultobj
;
22288 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22289 wxTimeSpan
*result
;
22290 PyObject
* obj0
= 0 ;
22291 char *kwnames
[] = {
22292 (char *) "self", NULL
22295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
22296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22301 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
22302 result
= (wxTimeSpan
*) &_result_ref
;
22305 wxPyEndAllowThreads(__tstate
);
22306 if (PyErr_Occurred()) SWIG_fail
;
22308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22315 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22316 PyObject
*resultobj
;
22317 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22318 wxTimeSpan
*arg2
= 0 ;
22320 PyObject
* obj0
= 0 ;
22321 PyObject
* obj1
= 0 ;
22322 char *kwnames
[] = {
22323 (char *) "self",(char *) "other", NULL
22326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
22327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22329 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22330 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22332 if (arg2
== NULL
) {
22333 PyErr_SetString(PyExc_TypeError
,"null reference");
22337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22338 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
22340 wxPyEndAllowThreads(__tstate
);
22341 if (PyErr_Occurred()) SWIG_fail
;
22344 wxTimeSpan
* resultptr
;
22345 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22346 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22354 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22355 PyObject
*resultobj
;
22356 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22357 wxTimeSpan
*arg2
= 0 ;
22359 PyObject
* obj0
= 0 ;
22360 PyObject
* obj1
= 0 ;
22361 char *kwnames
[] = {
22362 (char *) "self",(char *) "other", NULL
22365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22368 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22369 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22371 if (arg2
== NULL
) {
22372 PyErr_SetString(PyExc_TypeError
,"null reference");
22376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22377 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
22379 wxPyEndAllowThreads(__tstate
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22383 wxTimeSpan
* resultptr
;
22384 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22385 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22393 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22394 PyObject
*resultobj
;
22395 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22398 PyObject
* obj0
= 0 ;
22399 PyObject
* obj1
= 0 ;
22400 char *kwnames
[] = {
22401 (char *) "self",(char *) "n", NULL
22404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22407 arg2
= (int)SWIG_As_int(obj1
);
22408 if (PyErr_Occurred()) SWIG_fail
;
22410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22411 result
= wxTimeSpan___mul__(arg1
,arg2
);
22413 wxPyEndAllowThreads(__tstate
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22417 wxTimeSpan
* resultptr
;
22418 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22427 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22428 PyObject
*resultobj
;
22429 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22432 PyObject
* obj0
= 0 ;
22433 PyObject
* obj1
= 0 ;
22434 char *kwnames
[] = {
22435 (char *) "self",(char *) "n", NULL
22438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22441 arg2
= (int)SWIG_As_int(obj1
);
22442 if (PyErr_Occurred()) SWIG_fail
;
22444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22445 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22447 wxPyEndAllowThreads(__tstate
);
22448 if (PyErr_Occurred()) SWIG_fail
;
22451 wxTimeSpan
* resultptr
;
22452 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22461 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22462 PyObject
*resultobj
;
22463 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22464 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22466 PyObject
* obj0
= 0 ;
22467 PyObject
* obj1
= 0 ;
22468 char *kwnames
[] = {
22469 (char *) "self",(char *) "other", NULL
22472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22479 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22481 wxPyEndAllowThreads(__tstate
);
22482 if (PyErr_Occurred()) SWIG_fail
;
22485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22493 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22494 PyObject
*resultobj
;
22495 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22496 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22498 PyObject
* obj0
= 0 ;
22499 PyObject
* obj1
= 0 ;
22500 char *kwnames
[] = {
22501 (char *) "self",(char *) "other", NULL
22504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22511 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22513 wxPyEndAllowThreads(__tstate
);
22514 if (PyErr_Occurred()) SWIG_fail
;
22517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22525 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22526 PyObject
*resultobj
;
22527 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22528 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22530 PyObject
* obj0
= 0 ;
22531 PyObject
* obj1
= 0 ;
22532 char *kwnames
[] = {
22533 (char *) "self",(char *) "other", NULL
22536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22539 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22543 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22545 wxPyEndAllowThreads(__tstate
);
22546 if (PyErr_Occurred()) SWIG_fail
;
22549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22557 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22558 PyObject
*resultobj
;
22559 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22560 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22562 PyObject
* obj0
= 0 ;
22563 PyObject
* obj1
= 0 ;
22564 char *kwnames
[] = {
22565 (char *) "self",(char *) "other", NULL
22568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22575 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22577 wxPyEndAllowThreads(__tstate
);
22578 if (PyErr_Occurred()) SWIG_fail
;
22581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22589 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22590 PyObject
*resultobj
;
22591 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22592 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22594 PyObject
* obj0
= 0 ;
22595 PyObject
* obj1
= 0 ;
22596 char *kwnames
[] = {
22597 (char *) "self",(char *) "other", NULL
22600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22607 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22609 wxPyEndAllowThreads(__tstate
);
22610 if (PyErr_Occurred()) SWIG_fail
;
22613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22621 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22622 PyObject
*resultobj
;
22623 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22624 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22626 PyObject
* obj0
= 0 ;
22627 PyObject
* obj1
= 0 ;
22628 char *kwnames
[] = {
22629 (char *) "self",(char *) "other", NULL
22632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22639 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22641 wxPyEndAllowThreads(__tstate
);
22642 if (PyErr_Occurred()) SWIG_fail
;
22645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22653 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22654 PyObject
*resultobj
;
22655 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22657 PyObject
* obj0
= 0 ;
22658 char *kwnames
[] = {
22659 (char *) "self", NULL
22662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22667 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22669 wxPyEndAllowThreads(__tstate
);
22670 if (PyErr_Occurred()) SWIG_fail
;
22673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22681 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22682 PyObject
*resultobj
;
22683 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22685 PyObject
* obj0
= 0 ;
22686 char *kwnames
[] = {
22687 (char *) "self", NULL
22690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22695 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22697 wxPyEndAllowThreads(__tstate
);
22698 if (PyErr_Occurred()) SWIG_fail
;
22701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22709 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22710 PyObject
*resultobj
;
22711 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22713 PyObject
* obj0
= 0 ;
22714 char *kwnames
[] = {
22715 (char *) "self", NULL
22718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22723 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22725 wxPyEndAllowThreads(__tstate
);
22726 if (PyErr_Occurred()) SWIG_fail
;
22729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22737 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22738 PyObject
*resultobj
;
22739 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22740 wxTimeSpan
*arg2
= 0 ;
22742 PyObject
* obj0
= 0 ;
22743 PyObject
* obj1
= 0 ;
22744 char *kwnames
[] = {
22745 (char *) "self",(char *) "ts", NULL
22748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22751 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22752 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22754 if (arg2
== NULL
) {
22755 PyErr_SetString(PyExc_TypeError
,"null reference");
22759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22760 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22762 wxPyEndAllowThreads(__tstate
);
22763 if (PyErr_Occurred()) SWIG_fail
;
22766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22774 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22775 PyObject
*resultobj
;
22776 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22777 wxTimeSpan
*arg2
= 0 ;
22779 PyObject
* obj0
= 0 ;
22780 PyObject
* obj1
= 0 ;
22781 char *kwnames
[] = {
22782 (char *) "self",(char *) "ts", NULL
22785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22789 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22791 if (arg2
== NULL
) {
22792 PyErr_SetString(PyExc_TypeError
,"null reference");
22796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22797 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22799 wxPyEndAllowThreads(__tstate
);
22800 if (PyErr_Occurred()) SWIG_fail
;
22803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22811 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22812 PyObject
*resultobj
;
22813 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22814 wxTimeSpan
*arg2
= 0 ;
22816 PyObject
* obj0
= 0 ;
22817 PyObject
* obj1
= 0 ;
22818 char *kwnames
[] = {
22819 (char *) "self",(char *) "t", NULL
22822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22825 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22826 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22828 if (arg2
== NULL
) {
22829 PyErr_SetString(PyExc_TypeError
,"null reference");
22833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22834 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22836 wxPyEndAllowThreads(__tstate
);
22837 if (PyErr_Occurred()) SWIG_fail
;
22840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22848 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22849 PyObject
*resultobj
;
22850 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22852 PyObject
* obj0
= 0 ;
22853 char *kwnames
[] = {
22854 (char *) "self", NULL
22857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22862 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22864 wxPyEndAllowThreads(__tstate
);
22865 if (PyErr_Occurred()) SWIG_fail
;
22867 resultobj
= SWIG_From_int((int)result
);
22874 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22875 PyObject
*resultobj
;
22876 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22878 PyObject
* obj0
= 0 ;
22879 char *kwnames
[] = {
22880 (char *) "self", NULL
22883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22888 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22890 wxPyEndAllowThreads(__tstate
);
22891 if (PyErr_Occurred()) SWIG_fail
;
22893 resultobj
= SWIG_From_int((int)result
);
22900 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22901 PyObject
*resultobj
;
22902 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22904 PyObject
* obj0
= 0 ;
22905 char *kwnames
[] = {
22906 (char *) "self", NULL
22909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22914 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22916 wxPyEndAllowThreads(__tstate
);
22917 if (PyErr_Occurred()) SWIG_fail
;
22919 resultobj
= SWIG_From_int((int)result
);
22926 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22927 PyObject
*resultobj
;
22928 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22930 PyObject
* obj0
= 0 ;
22931 char *kwnames
[] = {
22932 (char *) "self", NULL
22935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22940 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22942 wxPyEndAllowThreads(__tstate
);
22943 if (PyErr_Occurred()) SWIG_fail
;
22945 resultobj
= SWIG_From_int((int)result
);
22952 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22953 PyObject
*resultobj
;
22954 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22956 PyObject
* obj0
= 0 ;
22957 char *kwnames
[] = {
22958 (char *) "self", NULL
22961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22966 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22968 wxPyEndAllowThreads(__tstate
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22972 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22973 hi
= PyLong_FromLong( (&result
)->GetHi() );
22974 lo
= PyLong_FromLong( (&result
)->GetLo() );
22975 shifter
= PyLong_FromLong(32);
22976 shifted
= PyNumber_Lshift(hi
, shifter
);
22977 resultobj
= PyNumber_Or(shifted
, lo
);
22980 Py_DECREF(shifter
);
22981 Py_DECREF(shifted
);
22989 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22990 PyObject
*resultobj
;
22991 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22993 PyObject
* obj0
= 0 ;
22994 char *kwnames
[] = {
22995 (char *) "self", NULL
22998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23003 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
23005 wxPyEndAllowThreads(__tstate
);
23006 if (PyErr_Occurred()) SWIG_fail
;
23009 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23010 hi
= PyLong_FromLong( (&result
)->GetHi() );
23011 lo
= PyLong_FromLong( (&result
)->GetLo() );
23012 shifter
= PyLong_FromLong(32);
23013 shifted
= PyNumber_Lshift(hi
, shifter
);
23014 resultobj
= PyNumber_Or(shifted
, lo
);
23017 Py_DECREF(shifter
);
23018 Py_DECREF(shifted
);
23026 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23027 PyObject
*resultobj
;
23028 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
23029 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
23030 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
23032 bool temp2
= false ;
23033 PyObject
* obj0
= 0 ;
23034 PyObject
* obj1
= 0 ;
23035 char *kwnames
[] = {
23036 (char *) "self",(char *) "format", NULL
23039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
23040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
23041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23044 arg2
= wxString_in_helper(obj1
);
23045 if (arg2
== NULL
) SWIG_fail
;
23050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23051 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
23053 wxPyEndAllowThreads(__tstate
);
23054 if (PyErr_Occurred()) SWIG_fail
;
23058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23077 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
23079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23080 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
23082 return Py_BuildValue((char *)"");
23084 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23085 PyObject
*resultobj
;
23086 int arg1
= (int) 0 ;
23087 int arg2
= (int) 0 ;
23088 int arg3
= (int) 0 ;
23089 int arg4
= (int) 0 ;
23090 wxDateSpan
*result
;
23091 PyObject
* obj0
= 0 ;
23092 PyObject
* obj1
= 0 ;
23093 PyObject
* obj2
= 0 ;
23094 PyObject
* obj3
= 0 ;
23095 char *kwnames
[] = {
23096 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
23099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23101 arg1
= (int)SWIG_As_int(obj0
);
23102 if (PyErr_Occurred()) SWIG_fail
;
23105 arg2
= (int)SWIG_As_int(obj1
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23109 arg3
= (int)SWIG_As_int(obj2
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23113 arg4
= (int)SWIG_As_int(obj3
);
23114 if (PyErr_Occurred()) SWIG_fail
;
23117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23118 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
23120 wxPyEndAllowThreads(__tstate
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23130 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23131 PyObject
*resultobj
;
23132 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23133 PyObject
* obj0
= 0 ;
23134 char *kwnames
[] = {
23135 (char *) "self", NULL
23138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
23139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 wxPyEndAllowThreads(__tstate
);
23146 if (PyErr_Occurred()) SWIG_fail
;
23148 Py_INCREF(Py_None
); resultobj
= Py_None
;
23155 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23156 PyObject
*resultobj
;
23159 PyObject
* obj0
= 0 ;
23160 char *kwnames
[] = {
23161 (char *) "days", NULL
23164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
23165 arg1
= (int)SWIG_As_int(obj0
);
23166 if (PyErr_Occurred()) SWIG_fail
;
23168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23169 result
= wxDateSpan::Days(arg1
);
23171 wxPyEndAllowThreads(__tstate
);
23172 if (PyErr_Occurred()) SWIG_fail
;
23175 wxDateSpan
* resultptr
;
23176 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23177 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23185 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23186 PyObject
*resultobj
;
23188 char *kwnames
[] = {
23192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
23194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23195 result
= wxDateSpan::Day();
23197 wxPyEndAllowThreads(__tstate
);
23198 if (PyErr_Occurred()) SWIG_fail
;
23201 wxDateSpan
* resultptr
;
23202 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23203 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23211 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23212 PyObject
*resultobj
;
23215 PyObject
* obj0
= 0 ;
23216 char *kwnames
[] = {
23217 (char *) "weeks", NULL
23220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
23221 arg1
= (int)SWIG_As_int(obj0
);
23222 if (PyErr_Occurred()) SWIG_fail
;
23224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23225 result
= wxDateSpan::Weeks(arg1
);
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23231 wxDateSpan
* resultptr
;
23232 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23233 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23241 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23242 PyObject
*resultobj
;
23244 char *kwnames
[] = {
23248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
23250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23251 result
= wxDateSpan::Week();
23253 wxPyEndAllowThreads(__tstate
);
23254 if (PyErr_Occurred()) SWIG_fail
;
23257 wxDateSpan
* resultptr
;
23258 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23259 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23267 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23268 PyObject
*resultobj
;
23271 PyObject
* obj0
= 0 ;
23272 char *kwnames
[] = {
23273 (char *) "mon", NULL
23276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
23277 arg1
= (int)SWIG_As_int(obj0
);
23278 if (PyErr_Occurred()) SWIG_fail
;
23280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23281 result
= wxDateSpan::Months(arg1
);
23283 wxPyEndAllowThreads(__tstate
);
23284 if (PyErr_Occurred()) SWIG_fail
;
23287 wxDateSpan
* resultptr
;
23288 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23289 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23297 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23298 PyObject
*resultobj
;
23300 char *kwnames
[] = {
23304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
23306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23307 result
= wxDateSpan::Month();
23309 wxPyEndAllowThreads(__tstate
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23313 wxDateSpan
* resultptr
;
23314 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23323 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23324 PyObject
*resultobj
;
23327 PyObject
* obj0
= 0 ;
23328 char *kwnames
[] = {
23329 (char *) "years", NULL
23332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
23333 arg1
= (int)SWIG_As_int(obj0
);
23334 if (PyErr_Occurred()) SWIG_fail
;
23336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23337 result
= wxDateSpan::Years(arg1
);
23339 wxPyEndAllowThreads(__tstate
);
23340 if (PyErr_Occurred()) SWIG_fail
;
23343 wxDateSpan
* resultptr
;
23344 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23345 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23353 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23354 PyObject
*resultobj
;
23356 char *kwnames
[] = {
23360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
23362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23363 result
= wxDateSpan::Year();
23365 wxPyEndAllowThreads(__tstate
);
23366 if (PyErr_Occurred()) SWIG_fail
;
23369 wxDateSpan
* resultptr
;
23370 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23371 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23379 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23380 PyObject
*resultobj
;
23381 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23383 wxDateSpan
*result
;
23384 PyObject
* obj0
= 0 ;
23385 PyObject
* obj1
= 0 ;
23386 char *kwnames
[] = {
23387 (char *) "self",(char *) "n", NULL
23390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
23391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23393 arg2
= (int)SWIG_As_int(obj1
);
23394 if (PyErr_Occurred()) SWIG_fail
;
23396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23398 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23399 result
= (wxDateSpan
*) &_result_ref
;
23402 wxPyEndAllowThreads(__tstate
);
23403 if (PyErr_Occurred()) SWIG_fail
;
23405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23412 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23413 PyObject
*resultobj
;
23414 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23416 wxDateSpan
*result
;
23417 PyObject
* obj0
= 0 ;
23418 PyObject
* obj1
= 0 ;
23419 char *kwnames
[] = {
23420 (char *) "self",(char *) "n", NULL
23423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23426 arg2
= (int)SWIG_As_int(obj1
);
23427 if (PyErr_Occurred()) SWIG_fail
;
23429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23431 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23432 result
= (wxDateSpan
*) &_result_ref
;
23435 wxPyEndAllowThreads(__tstate
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23445 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23446 PyObject
*resultobj
;
23447 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23449 wxDateSpan
*result
;
23450 PyObject
* obj0
= 0 ;
23451 PyObject
* obj1
= 0 ;
23452 char *kwnames
[] = {
23453 (char *) "self",(char *) "n", NULL
23456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23459 arg2
= (int)SWIG_As_int(obj1
);
23460 if (PyErr_Occurred()) SWIG_fail
;
23462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23464 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23465 result
= (wxDateSpan
*) &_result_ref
;
23468 wxPyEndAllowThreads(__tstate
);
23469 if (PyErr_Occurred()) SWIG_fail
;
23471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23478 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23479 PyObject
*resultobj
;
23480 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23482 wxDateSpan
*result
;
23483 PyObject
* obj0
= 0 ;
23484 PyObject
* obj1
= 0 ;
23485 char *kwnames
[] = {
23486 (char *) "self",(char *) "n", NULL
23489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23492 arg2
= (int)SWIG_As_int(obj1
);
23493 if (PyErr_Occurred()) SWIG_fail
;
23495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23497 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23498 result
= (wxDateSpan
*) &_result_ref
;
23501 wxPyEndAllowThreads(__tstate
);
23502 if (PyErr_Occurred()) SWIG_fail
;
23504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23511 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23512 PyObject
*resultobj
;
23513 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23515 PyObject
* obj0
= 0 ;
23516 char *kwnames
[] = {
23517 (char *) "self", NULL
23520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23525 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23527 wxPyEndAllowThreads(__tstate
);
23528 if (PyErr_Occurred()) SWIG_fail
;
23530 resultobj
= SWIG_From_int((int)result
);
23537 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23538 PyObject
*resultobj
;
23539 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23541 PyObject
* obj0
= 0 ;
23542 char *kwnames
[] = {
23543 (char *) "self", NULL
23546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23551 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23553 wxPyEndAllowThreads(__tstate
);
23554 if (PyErr_Occurred()) SWIG_fail
;
23556 resultobj
= SWIG_From_int((int)result
);
23563 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23564 PyObject
*resultobj
;
23565 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23567 PyObject
* obj0
= 0 ;
23568 char *kwnames
[] = {
23569 (char *) "self", NULL
23572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23577 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23579 wxPyEndAllowThreads(__tstate
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23582 resultobj
= SWIG_From_int((int)result
);
23589 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23590 PyObject
*resultobj
;
23591 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23593 PyObject
* obj0
= 0 ;
23594 char *kwnames
[] = {
23595 (char *) "self", NULL
23598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23603 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23605 wxPyEndAllowThreads(__tstate
);
23606 if (PyErr_Occurred()) SWIG_fail
;
23608 resultobj
= SWIG_From_int((int)result
);
23615 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23616 PyObject
*resultobj
;
23617 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23619 PyObject
* obj0
= 0 ;
23620 char *kwnames
[] = {
23621 (char *) "self", NULL
23624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23629 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23631 wxPyEndAllowThreads(__tstate
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23634 resultobj
= SWIG_From_int((int)result
);
23641 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23642 PyObject
*resultobj
;
23643 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23644 wxDateSpan
*arg2
= 0 ;
23645 wxDateSpan
*result
;
23646 PyObject
* obj0
= 0 ;
23647 PyObject
* obj1
= 0 ;
23648 char *kwnames
[] = {
23649 (char *) "self",(char *) "other", NULL
23652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23655 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23656 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23658 if (arg2
== NULL
) {
23659 PyErr_SetString(PyExc_TypeError
,"null reference");
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23665 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23666 result
= (wxDateSpan
*) &_result_ref
;
23669 wxPyEndAllowThreads(__tstate
);
23670 if (PyErr_Occurred()) SWIG_fail
;
23672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23679 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23680 PyObject
*resultobj
;
23681 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23682 wxDateSpan
*arg2
= 0 ;
23683 wxDateSpan
*result
;
23684 PyObject
* obj0
= 0 ;
23685 PyObject
* obj1
= 0 ;
23686 char *kwnames
[] = {
23687 (char *) "self",(char *) "other", NULL
23690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23694 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23696 if (arg2
== NULL
) {
23697 PyErr_SetString(PyExc_TypeError
,"null reference");
23701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23704 result
= (wxDateSpan
*) &_result_ref
;
23707 wxPyEndAllowThreads(__tstate
);
23708 if (PyErr_Occurred()) SWIG_fail
;
23710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23717 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23718 PyObject
*resultobj
;
23719 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23720 wxDateSpan
*result
;
23721 PyObject
* obj0
= 0 ;
23722 char *kwnames
[] = {
23723 (char *) "self", NULL
23726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23732 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23733 result
= (wxDateSpan
*) &_result_ref
;
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23746 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23747 PyObject
*resultobj
;
23748 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23750 wxDateSpan
*result
;
23751 PyObject
* obj0
= 0 ;
23752 PyObject
* obj1
= 0 ;
23753 char *kwnames
[] = {
23754 (char *) "self",(char *) "factor", NULL
23757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23760 arg2
= (int)SWIG_As_int(obj1
);
23761 if (PyErr_Occurred()) SWIG_fail
;
23763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23765 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23766 result
= (wxDateSpan
*) &_result_ref
;
23769 wxPyEndAllowThreads(__tstate
);
23770 if (PyErr_Occurred()) SWIG_fail
;
23772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23779 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23780 PyObject
*resultobj
;
23781 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23782 wxDateSpan
*arg2
= 0 ;
23783 wxDateSpan
*result
;
23784 PyObject
* obj0
= 0 ;
23785 PyObject
* obj1
= 0 ;
23786 char *kwnames
[] = {
23787 (char *) "self",(char *) "other", NULL
23790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23792 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23794 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23796 if (arg2
== NULL
) {
23797 PyErr_SetString(PyExc_TypeError
,"null reference");
23801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23803 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23804 result
= (wxDateSpan
*) &_result_ref
;
23807 wxPyEndAllowThreads(__tstate
);
23808 if (PyErr_Occurred()) SWIG_fail
;
23810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23817 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23818 PyObject
*resultobj
;
23819 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23820 wxDateSpan
*arg2
= 0 ;
23821 wxDateSpan
*result
;
23822 PyObject
* obj0
= 0 ;
23823 PyObject
* obj1
= 0 ;
23824 char *kwnames
[] = {
23825 (char *) "self",(char *) "other", NULL
23828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23830 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23832 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23834 if (arg2
== NULL
) {
23835 PyErr_SetString(PyExc_TypeError
,"null reference");
23839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23841 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23842 result
= (wxDateSpan
*) &_result_ref
;
23845 wxPyEndAllowThreads(__tstate
);
23846 if (PyErr_Occurred()) SWIG_fail
;
23848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23855 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23856 PyObject
*resultobj
;
23857 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23858 wxDateSpan
*result
;
23859 PyObject
* obj0
= 0 ;
23860 char *kwnames
[] = {
23861 (char *) "self", NULL
23864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23870 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23871 result
= (wxDateSpan
*) &_result_ref
;
23874 wxPyEndAllowThreads(__tstate
);
23875 if (PyErr_Occurred()) SWIG_fail
;
23877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23884 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23885 PyObject
*resultobj
;
23886 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23888 wxDateSpan
*result
;
23889 PyObject
* obj0
= 0 ;
23890 PyObject
* obj1
= 0 ;
23891 char *kwnames
[] = {
23892 (char *) "self",(char *) "factor", NULL
23895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23897 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23898 arg2
= (int)SWIG_As_int(obj1
);
23899 if (PyErr_Occurred()) SWIG_fail
;
23901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23903 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23904 result
= (wxDateSpan
*) &_result_ref
;
23907 wxPyEndAllowThreads(__tstate
);
23908 if (PyErr_Occurred()) SWIG_fail
;
23910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
23917 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23918 PyObject
*resultobj
;
23919 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23920 wxDateSpan
*arg2
= 0 ;
23922 PyObject
* obj0
= 0 ;
23923 PyObject
* obj1
= 0 ;
23924 char *kwnames
[] = {
23925 (char *) "self",(char *) "other", NULL
23928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23931 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23932 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23934 if (arg2
== NULL
) {
23935 PyErr_SetString(PyExc_TypeError
,"null reference");
23939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23940 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23942 wxPyEndAllowThreads(__tstate
);
23943 if (PyErr_Occurred()) SWIG_fail
;
23946 wxDateSpan
* resultptr
;
23947 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23948 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23956 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23957 PyObject
*resultobj
;
23958 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23959 wxDateSpan
*arg2
= 0 ;
23961 PyObject
* obj0
= 0 ;
23962 PyObject
* obj1
= 0 ;
23963 char *kwnames
[] = {
23964 (char *) "self",(char *) "other", NULL
23967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23970 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23971 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23973 if (arg2
== NULL
) {
23974 PyErr_SetString(PyExc_TypeError
,"null reference");
23978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23979 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23981 wxPyEndAllowThreads(__tstate
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23985 wxDateSpan
* resultptr
;
23986 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23987 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23995 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23996 PyObject
*resultobj
;
23997 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24000 PyObject
* obj0
= 0 ;
24001 PyObject
* obj1
= 0 ;
24002 char *kwnames
[] = {
24003 (char *) "self",(char *) "n", NULL
24006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24009 arg2
= (int)SWIG_As_int(obj1
);
24010 if (PyErr_Occurred()) SWIG_fail
;
24012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24013 result
= wxDateSpan___mul__(arg1
,arg2
);
24015 wxPyEndAllowThreads(__tstate
);
24016 if (PyErr_Occurred()) SWIG_fail
;
24019 wxDateSpan
* resultptr
;
24020 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24021 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24029 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24030 PyObject
*resultobj
;
24031 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24034 PyObject
* obj0
= 0 ;
24035 PyObject
* obj1
= 0 ;
24036 char *kwnames
[] = {
24037 (char *) "self",(char *) "n", NULL
24040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
24041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24043 arg2
= (int)SWIG_As_int(obj1
);
24044 if (PyErr_Occurred()) SWIG_fail
;
24046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24047 result
= wxDateSpan___rmul__(arg1
,arg2
);
24049 wxPyEndAllowThreads(__tstate
);
24050 if (PyErr_Occurred()) SWIG_fail
;
24053 wxDateSpan
* resultptr
;
24054 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
24055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
24063 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24064 PyObject
*resultobj
;
24065 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24066 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24068 PyObject
* obj0
= 0 ;
24069 PyObject
* obj1
= 0 ;
24070 char *kwnames
[] = {
24071 (char *) "self",(char *) "other", NULL
24074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24081 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24095 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24096 PyObject
*resultobj
;
24097 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
24098 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
24100 PyObject
* obj0
= 0 ;
24101 PyObject
* obj1
= 0 ;
24102 char *kwnames
[] = {
24103 (char *) "self",(char *) "other", NULL
24106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
24108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
24110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24113 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
24115 wxPyEndAllowThreads(__tstate
);
24116 if (PyErr_Occurred()) SWIG_fail
;
24119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24127 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
24129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24130 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
24132 return Py_BuildValue((char *)"");
24134 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24135 PyObject
*resultobj
;
24137 char *kwnames
[] = {
24141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
24143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24144 result
= (long)wxGetLocalTime();
24146 wxPyEndAllowThreads(__tstate
);
24147 if (PyErr_Occurred()) SWIG_fail
;
24149 resultobj
= SWIG_From_long((long)result
);
24156 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24157 PyObject
*resultobj
;
24159 char *kwnames
[] = {
24163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
24165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24166 result
= (long)wxGetUTCTime();
24168 wxPyEndAllowThreads(__tstate
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24171 resultobj
= SWIG_From_long((long)result
);
24178 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24179 PyObject
*resultobj
;
24181 char *kwnames
[] = {
24185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
24187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24188 result
= (long)wxGetCurrentTime();
24190 wxPyEndAllowThreads(__tstate
);
24191 if (PyErr_Occurred()) SWIG_fail
;
24193 resultobj
= SWIG_From_long((long)result
);
24200 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24201 PyObject
*resultobj
;
24203 char *kwnames
[] = {
24207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
24209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24210 result
= wxGetLocalTimeMillis();
24212 wxPyEndAllowThreads(__tstate
);
24213 if (PyErr_Occurred()) SWIG_fail
;
24216 PyObject
*hi
, *lo
, *shifter
, *shifted
;
24217 hi
= PyLong_FromLong( (&result
)->GetHi() );
24218 lo
= PyLong_FromLong( (&result
)->GetLo() );
24219 shifter
= PyLong_FromLong(32);
24220 shifted
= PyNumber_Lshift(hi
, shifter
);
24221 resultobj
= PyNumber_Or(shifted
, lo
);
24224 Py_DECREF(shifter
);
24225 Py_DECREF(shifted
);
24233 static int _wrap_DefaultDateTime_set(PyObject
*) {
24234 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
24239 static PyObject
*_wrap_DefaultDateTime_get() {
24242 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
24247 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24248 PyObject
*resultobj
;
24250 wxDataFormat
*result
;
24251 PyObject
* obj0
= 0 ;
24252 char *kwnames
[] = {
24253 (char *) "type", NULL
24256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
24257 arg1
= (int)SWIG_As_int(obj0
);
24258 if (PyErr_Occurred()) SWIG_fail
;
24260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24261 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
24263 wxPyEndAllowThreads(__tstate
);
24264 if (PyErr_Occurred()) SWIG_fail
;
24266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24273 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24274 PyObject
*resultobj
;
24275 wxString
*arg1
= 0 ;
24276 wxDataFormat
*result
;
24277 bool temp1
= false ;
24278 PyObject
* obj0
= 0 ;
24279 char *kwnames
[] = {
24280 (char *) "format", NULL
24283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
24285 arg1
= wxString_in_helper(obj0
);
24286 if (arg1
== NULL
) SWIG_fail
;
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24291 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24311 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24312 PyObject
*resultobj
;
24313 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24314 PyObject
* obj0
= 0 ;
24315 char *kwnames
[] = {
24316 (char *) "self", NULL
24319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
24320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24326 wxPyEndAllowThreads(__tstate
);
24327 if (PyErr_Occurred()) SWIG_fail
;
24329 Py_INCREF(Py_None
); resultobj
= Py_None
;
24336 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
24337 PyObject
*resultobj
;
24338 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24341 PyObject
* obj0
= 0 ;
24342 PyObject
* obj1
= 0 ;
24344 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24347 arg2
= (int)SWIG_As_int(obj1
);
24348 if (PyErr_Occurred()) SWIG_fail
;
24350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24351 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
24353 wxPyEndAllowThreads(__tstate
);
24354 if (PyErr_Occurred()) SWIG_fail
;
24357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24365 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
24366 PyObject
*resultobj
;
24367 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24370 PyObject
* obj0
= 0 ;
24371 PyObject
* obj1
= 0 ;
24373 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24376 arg2
= (int)SWIG_As_int(obj1
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24380 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
24382 wxPyEndAllowThreads(__tstate
);
24383 if (PyErr_Occurred()) SWIG_fail
;
24386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24394 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
24395 PyObject
*resultobj
;
24396 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24397 wxDataFormat
*arg2
= 0 ;
24399 PyObject
* obj0
= 0 ;
24400 PyObject
* obj1
= 0 ;
24402 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24406 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24408 if (arg2
== NULL
) {
24409 PyErr_SetString(PyExc_TypeError
,"null reference");
24413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24414 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24416 wxPyEndAllowThreads(__tstate
);
24417 if (PyErr_Occurred()) SWIG_fail
;
24420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24428 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24433 argc
= PyObject_Length(args
);
24434 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24435 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24441 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24451 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24459 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24467 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24475 _v
= SWIG_Check_int(argv
[1]);
24477 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24482 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24487 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
24488 PyObject
*resultobj
;
24489 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24490 wxDataFormat
*arg2
= 0 ;
24492 PyObject
* obj0
= 0 ;
24493 PyObject
* obj1
= 0 ;
24495 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24499 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24501 if (arg2
== NULL
) {
24502 PyErr_SetString(PyExc_TypeError
,"null reference");
24506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24507 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24509 wxPyEndAllowThreads(__tstate
);
24510 if (PyErr_Occurred()) SWIG_fail
;
24513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24521 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24526 argc
= PyObject_Length(args
);
24527 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24528 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24534 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24544 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24552 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24560 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24568 _v
= SWIG_Check_int(argv
[1]);
24570 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24575 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24580 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24581 PyObject
*resultobj
;
24582 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24584 PyObject
* obj0
= 0 ;
24585 PyObject
* obj1
= 0 ;
24586 char *kwnames
[] = {
24587 (char *) "self",(char *) "format", NULL
24590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24593 arg2
= (int)SWIG_As_int(obj1
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24597 (arg1
)->SetType((wxDataFormatId
)arg2
);
24599 wxPyEndAllowThreads(__tstate
);
24600 if (PyErr_Occurred()) SWIG_fail
;
24602 Py_INCREF(Py_None
); resultobj
= Py_None
;
24609 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24610 PyObject
*resultobj
;
24611 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24613 PyObject
* obj0
= 0 ;
24614 char *kwnames
[] = {
24615 (char *) "self", NULL
24618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24623 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24625 wxPyEndAllowThreads(__tstate
);
24626 if (PyErr_Occurred()) SWIG_fail
;
24628 resultobj
= SWIG_From_int((int)result
);
24635 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24636 PyObject
*resultobj
;
24637 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24639 PyObject
* obj0
= 0 ;
24640 char *kwnames
[] = {
24641 (char *) "self", NULL
24644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24649 result
= ((wxDataFormat
const *)arg1
)->GetId();
24651 wxPyEndAllowThreads(__tstate
);
24652 if (PyErr_Occurred()) SWIG_fail
;
24656 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24658 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24667 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24668 PyObject
*resultobj
;
24669 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24670 wxString
*arg2
= 0 ;
24671 bool temp2
= false ;
24672 PyObject
* obj0
= 0 ;
24673 PyObject
* obj1
= 0 ;
24674 char *kwnames
[] = {
24675 (char *) "self",(char *) "format", NULL
24678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24682 arg2
= wxString_in_helper(obj1
);
24683 if (arg2
== NULL
) SWIG_fail
;
24687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24688 (arg1
)->SetId((wxString
const &)*arg2
);
24690 wxPyEndAllowThreads(__tstate
);
24691 if (PyErr_Occurred()) SWIG_fail
;
24693 Py_INCREF(Py_None
); resultobj
= Py_None
;
24708 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
24710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24711 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24713 return Py_BuildValue((char *)"");
24715 static int _wrap_FormatInvalid_set(PyObject
*) {
24716 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24721 static PyObject
*_wrap_FormatInvalid_get() {
24724 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24729 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24730 PyObject
*resultobj
;
24731 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24732 PyObject
* obj0
= 0 ;
24733 char *kwnames
[] = {
24734 (char *) "self", NULL
24737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24744 wxPyEndAllowThreads(__tstate
);
24745 if (PyErr_Occurred()) SWIG_fail
;
24747 Py_INCREF(Py_None
); resultobj
= Py_None
;
24754 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24755 PyObject
*resultobj
;
24756 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24757 int arg2
= (int) wxDataObject::Get
;
24758 SwigValueWrapper
< wxDataFormat
> result
;
24759 PyObject
* obj0
= 0 ;
24760 PyObject
* obj1
= 0 ;
24761 char *kwnames
[] = {
24762 (char *) "self",(char *) "dir", NULL
24765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24769 arg2
= (int)SWIG_As_int(obj1
);
24770 if (PyErr_Occurred()) SWIG_fail
;
24773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24774 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24776 wxPyEndAllowThreads(__tstate
);
24777 if (PyErr_Occurred()) SWIG_fail
;
24780 wxDataFormat
* resultptr
;
24781 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24782 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24790 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24791 PyObject
*resultobj
;
24792 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24793 int arg2
= (int) wxDataObject::Get
;
24795 PyObject
* obj0
= 0 ;
24796 PyObject
* obj1
= 0 ;
24797 char *kwnames
[] = {
24798 (char *) "self",(char *) "dir", NULL
24801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24805 arg2
= (int)SWIG_As_int(obj1
);
24806 if (PyErr_Occurred()) SWIG_fail
;
24809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24810 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24812 wxPyEndAllowThreads(__tstate
);
24813 if (PyErr_Occurred()) SWIG_fail
;
24815 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
24822 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24823 PyObject
*resultobj
;
24824 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24825 wxDataFormat
*arg2
= 0 ;
24826 int arg3
= (int) wxDataObject::Get
;
24828 PyObject
* obj0
= 0 ;
24829 PyObject
* obj1
= 0 ;
24830 PyObject
* obj2
= 0 ;
24831 char *kwnames
[] = {
24832 (char *) "self",(char *) "format",(char *) "dir", NULL
24835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24838 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24839 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24841 if (arg2
== NULL
) {
24842 PyErr_SetString(PyExc_TypeError
,"null reference");
24846 arg3
= (int)SWIG_As_int(obj2
);
24847 if (PyErr_Occurred()) SWIG_fail
;
24850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24851 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24853 wxPyEndAllowThreads(__tstate
);
24854 if (PyErr_Occurred()) SWIG_fail
;
24857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24865 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24866 PyObject
*resultobj
;
24867 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24868 wxDataFormat
*arg2
= 0 ;
24870 PyObject
* obj0
= 0 ;
24871 PyObject
* obj1
= 0 ;
24872 char *kwnames
[] = {
24873 (char *) "self",(char *) "format", NULL
24876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24879 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24880 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24882 if (arg2
== NULL
) {
24883 PyErr_SetString(PyExc_TypeError
,"null reference");
24887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24888 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24890 wxPyEndAllowThreads(__tstate
);
24891 if (PyErr_Occurred()) SWIG_fail
;
24893 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
24900 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24901 PyObject
*resultobj
;
24902 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24903 int arg2
= (int) wxDataObject::Get
;
24905 PyObject
* obj0
= 0 ;
24906 PyObject
* obj1
= 0 ;
24907 char *kwnames
[] = {
24908 (char *) "self",(char *) "dir", NULL
24911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
24912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24915 arg2
= (int)SWIG_As_int(obj1
);
24916 if (PyErr_Occurred()) SWIG_fail
;
24919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24920 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
24922 wxPyEndAllowThreads(__tstate
);
24923 if (PyErr_Occurred()) SWIG_fail
;
24925 resultobj
= result
;
24932 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24933 PyObject
*resultobj
;
24934 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24935 wxDataFormat
*arg2
= 0 ;
24937 PyObject
* obj0
= 0 ;
24938 PyObject
* obj1
= 0 ;
24939 char *kwnames
[] = {
24940 (char *) "self",(char *) "format", NULL
24943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
24944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24946 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24947 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24949 if (arg2
== NULL
) {
24950 PyErr_SetString(PyExc_TypeError
,"null reference");
24954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24955 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
24957 wxPyEndAllowThreads(__tstate
);
24958 if (PyErr_Occurred()) SWIG_fail
;
24960 resultobj
= result
;
24967 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24968 PyObject
*resultobj
;
24969 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24970 wxDataFormat
*arg2
= 0 ;
24971 PyObject
*arg3
= (PyObject
*) 0 ;
24973 PyObject
* obj0
= 0 ;
24974 PyObject
* obj1
= 0 ;
24975 PyObject
* obj2
= 0 ;
24976 char *kwnames
[] = {
24977 (char *) "self",(char *) "format",(char *) "data", NULL
24980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24984 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24986 if (arg2
== NULL
) {
24987 PyErr_SetString(PyExc_TypeError
,"null reference");
24992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24993 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
24995 wxPyEndAllowThreads(__tstate
);
24996 if (PyErr_Occurred()) SWIG_fail
;
24999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25007 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
25009 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25010 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
25012 return Py_BuildValue((char *)"");
25014 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25015 PyObject
*resultobj
;
25016 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25017 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25018 wxDataObjectSimple
*result
;
25019 PyObject
* obj0
= 0 ;
25020 char *kwnames
[] = {
25021 (char *) "format", NULL
25024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
25026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25027 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25029 if (arg1
== NULL
) {
25030 PyErr_SetString(PyExc_TypeError
,"null reference");
25035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25036 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
25038 wxPyEndAllowThreads(__tstate
);
25039 if (PyErr_Occurred()) SWIG_fail
;
25041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
25048 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25049 PyObject
*resultobj
;
25050 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25051 wxDataFormat
*result
;
25052 PyObject
* obj0
= 0 ;
25053 char *kwnames
[] = {
25054 (char *) "self", NULL
25057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
25058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25063 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
25064 result
= (wxDataFormat
*) &_result_ref
;
25067 wxPyEndAllowThreads(__tstate
);
25068 if (PyErr_Occurred()) SWIG_fail
;
25070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
25077 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25078 PyObject
*resultobj
;
25079 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25080 wxDataFormat
*arg2
= 0 ;
25081 PyObject
* obj0
= 0 ;
25082 PyObject
* obj1
= 0 ;
25083 char *kwnames
[] = {
25084 (char *) "self",(char *) "format", NULL
25087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
25088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
25091 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25093 if (arg2
== NULL
) {
25094 PyErr_SetString(PyExc_TypeError
,"null reference");
25098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25099 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
25101 wxPyEndAllowThreads(__tstate
);
25102 if (PyErr_Occurred()) SWIG_fail
;
25104 Py_INCREF(Py_None
); resultobj
= Py_None
;
25111 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25112 PyObject
*resultobj
;
25113 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25115 PyObject
* obj0
= 0 ;
25116 char *kwnames
[] = {
25117 (char *) "self", NULL
25120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
25121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25125 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
25127 wxPyEndAllowThreads(__tstate
);
25128 if (PyErr_Occurred()) SWIG_fail
;
25130 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25137 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25138 PyObject
*resultobj
;
25139 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25141 PyObject
* obj0
= 0 ;
25142 char *kwnames
[] = {
25143 (char *) "self", NULL
25146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
25147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25151 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
25153 wxPyEndAllowThreads(__tstate
);
25154 if (PyErr_Occurred()) SWIG_fail
;
25156 resultobj
= result
;
25163 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25164 PyObject
*resultobj
;
25165 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
25166 PyObject
*arg2
= (PyObject
*) 0 ;
25168 PyObject
* obj0
= 0 ;
25169 PyObject
* obj1
= 0 ;
25170 char *kwnames
[] = {
25171 (char *) "self",(char *) "data", NULL
25174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
25176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25180 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
25182 wxPyEndAllowThreads(__tstate
);
25183 if (PyErr_Occurred()) SWIG_fail
;
25186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25194 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25197 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
25199 return Py_BuildValue((char *)"");
25201 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25202 PyObject
*resultobj
;
25203 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25204 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25205 wxPyDataObjectSimple
*result
;
25206 PyObject
* obj0
= 0 ;
25207 char *kwnames
[] = {
25208 (char *) "format", NULL
25211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
25213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25214 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25216 if (arg1
== NULL
) {
25217 PyErr_SetString(PyExc_TypeError
,"null reference");
25222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25223 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
25225 wxPyEndAllowThreads(__tstate
);
25226 if (PyErr_Occurred()) SWIG_fail
;
25228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
25235 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25236 PyObject
*resultobj
;
25237 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
25238 PyObject
*arg2
= (PyObject
*) 0 ;
25239 PyObject
*arg3
= (PyObject
*) 0 ;
25240 PyObject
* obj0
= 0 ;
25241 PyObject
* obj1
= 0 ;
25242 PyObject
* obj2
= 0 ;
25243 char *kwnames
[] = {
25244 (char *) "self",(char *) "self",(char *) "_class", NULL
25247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
25249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25254 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25256 wxPyEndAllowThreads(__tstate
);
25257 if (PyErr_Occurred()) SWIG_fail
;
25259 Py_INCREF(Py_None
); resultobj
= Py_None
;
25266 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
25268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25269 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
25271 return Py_BuildValue((char *)"");
25273 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25274 PyObject
*resultobj
;
25275 wxDataObjectComposite
*result
;
25276 char *kwnames
[] = {
25280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
25282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25283 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
25285 wxPyEndAllowThreads(__tstate
);
25286 if (PyErr_Occurred()) SWIG_fail
;
25288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
25295 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25296 PyObject
*resultobj
;
25297 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
25298 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
25299 bool arg3
= (bool) false ;
25300 PyObject
* obj0
= 0 ;
25301 PyObject
* obj1
= 0 ;
25302 PyObject
* obj2
= 0 ;
25303 char *kwnames
[] = {
25304 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
25307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
25309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
25311 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25313 arg3
= (bool)SWIG_As_bool(obj2
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25318 (arg1
)->Add(arg2
,arg3
);
25320 wxPyEndAllowThreads(__tstate
);
25321 if (PyErr_Occurred()) SWIG_fail
;
25323 Py_INCREF(Py_None
); resultobj
= Py_None
;
25330 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
25332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25333 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
25335 return Py_BuildValue((char *)"");
25337 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25338 PyObject
*resultobj
;
25339 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25340 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25341 wxTextDataObject
*result
;
25342 bool temp1
= false ;
25343 PyObject
* obj0
= 0 ;
25344 char *kwnames
[] = {
25345 (char *) "text", NULL
25348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
25351 arg1
= wxString_in_helper(obj0
);
25352 if (arg1
== NULL
) SWIG_fail
;
25357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25358 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
25360 wxPyEndAllowThreads(__tstate
);
25361 if (PyErr_Occurred()) SWIG_fail
;
25363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
25378 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25379 PyObject
*resultobj
;
25380 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25382 PyObject
* obj0
= 0 ;
25383 char *kwnames
[] = {
25384 (char *) "self", NULL
25387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
25388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25392 result
= (size_t)(arg1
)->GetTextLength();
25394 wxPyEndAllowThreads(__tstate
);
25395 if (PyErr_Occurred()) SWIG_fail
;
25397 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25404 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25405 PyObject
*resultobj
;
25406 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25408 PyObject
* obj0
= 0 ;
25409 char *kwnames
[] = {
25410 (char *) "self", NULL
25413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25418 result
= (arg1
)->GetText();
25420 wxPyEndAllowThreads(__tstate
);
25421 if (PyErr_Occurred()) SWIG_fail
;
25425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25436 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25437 PyObject
*resultobj
;
25438 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25439 wxString
*arg2
= 0 ;
25440 bool temp2
= false ;
25441 PyObject
* obj0
= 0 ;
25442 PyObject
* obj1
= 0 ;
25443 char *kwnames
[] = {
25444 (char *) "self",(char *) "text", NULL
25447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25451 arg2
= wxString_in_helper(obj1
);
25452 if (arg2
== NULL
) SWIG_fail
;
25456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25457 (arg1
)->SetText((wxString
const &)*arg2
);
25459 wxPyEndAllowThreads(__tstate
);
25460 if (PyErr_Occurred()) SWIG_fail
;
25462 Py_INCREF(Py_None
); resultobj
= Py_None
;
25477 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25480 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25482 return Py_BuildValue((char *)"");
25484 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25485 PyObject
*resultobj
;
25486 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25487 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25488 wxPyTextDataObject
*result
;
25489 bool temp1
= false ;
25490 PyObject
* obj0
= 0 ;
25491 char *kwnames
[] = {
25492 (char *) "text", NULL
25495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25498 arg1
= wxString_in_helper(obj0
);
25499 if (arg1
== NULL
) SWIG_fail
;
25504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25507 wxPyEndAllowThreads(__tstate
);
25508 if (PyErr_Occurred()) SWIG_fail
;
25510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25525 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25526 PyObject
*resultobj
;
25527 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25528 PyObject
*arg2
= (PyObject
*) 0 ;
25529 PyObject
*arg3
= (PyObject
*) 0 ;
25530 PyObject
* obj0
= 0 ;
25531 PyObject
* obj1
= 0 ;
25532 PyObject
* obj2
= 0 ;
25533 char *kwnames
[] = {
25534 (char *) "self",(char *) "self",(char *) "_class", NULL
25537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25544 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25546 wxPyEndAllowThreads(__tstate
);
25547 if (PyErr_Occurred()) SWIG_fail
;
25549 Py_INCREF(Py_None
); resultobj
= Py_None
;
25556 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
25558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25559 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25561 return Py_BuildValue((char *)"");
25563 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25564 PyObject
*resultobj
;
25565 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25566 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25567 wxBitmapDataObject
*result
;
25568 PyObject
* obj0
= 0 ;
25569 char *kwnames
[] = {
25570 (char *) "bitmap", NULL
25573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25576 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25578 if (arg1
== NULL
) {
25579 PyErr_SetString(PyExc_TypeError
,"null reference");
25584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25585 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25587 wxPyEndAllowThreads(__tstate
);
25588 if (PyErr_Occurred()) SWIG_fail
;
25590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25597 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25598 PyObject
*resultobj
;
25599 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25601 PyObject
* obj0
= 0 ;
25602 char *kwnames
[] = {
25603 (char *) "self", NULL
25606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25611 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25613 wxPyEndAllowThreads(__tstate
);
25614 if (PyErr_Occurred()) SWIG_fail
;
25617 wxBitmap
* resultptr
;
25618 resultptr
= new wxBitmap((wxBitmap
&) result
);
25619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25627 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25628 PyObject
*resultobj
;
25629 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25630 wxBitmap
*arg2
= 0 ;
25631 PyObject
* obj0
= 0 ;
25632 PyObject
* obj1
= 0 ;
25633 char *kwnames
[] = {
25634 (char *) "self",(char *) "bitmap", NULL
25637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25641 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25643 if (arg2
== NULL
) {
25644 PyErr_SetString(PyExc_TypeError
,"null reference");
25648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25649 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25651 wxPyEndAllowThreads(__tstate
);
25652 if (PyErr_Occurred()) SWIG_fail
;
25654 Py_INCREF(Py_None
); resultobj
= Py_None
;
25661 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25664 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25666 return Py_BuildValue((char *)"");
25668 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25669 PyObject
*resultobj
;
25670 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25671 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25672 wxPyBitmapDataObject
*result
;
25673 PyObject
* obj0
= 0 ;
25674 char *kwnames
[] = {
25675 (char *) "bitmap", NULL
25678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25681 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25683 if (arg1
== NULL
) {
25684 PyErr_SetString(PyExc_TypeError
,"null reference");
25689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25690 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25692 wxPyEndAllowThreads(__tstate
);
25693 if (PyErr_Occurred()) SWIG_fail
;
25695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25702 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25703 PyObject
*resultobj
;
25704 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25705 PyObject
*arg2
= (PyObject
*) 0 ;
25706 PyObject
*arg3
= (PyObject
*) 0 ;
25707 PyObject
* obj0
= 0 ;
25708 PyObject
* obj1
= 0 ;
25709 PyObject
* obj2
= 0 ;
25710 char *kwnames
[] = {
25711 (char *) "self",(char *) "self",(char *) "_class", NULL
25714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25721 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25723 wxPyEndAllowThreads(__tstate
);
25724 if (PyErr_Occurred()) SWIG_fail
;
25726 Py_INCREF(Py_None
); resultobj
= Py_None
;
25733 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
25735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25736 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25738 return Py_BuildValue((char *)"");
25740 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25741 PyObject
*resultobj
;
25742 wxFileDataObject
*result
;
25743 char *kwnames
[] = {
25747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25750 result
= (wxFileDataObject
*)new wxFileDataObject();
25752 wxPyEndAllowThreads(__tstate
);
25753 if (PyErr_Occurred()) SWIG_fail
;
25755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25762 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25763 PyObject
*resultobj
;
25764 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25765 wxArrayString
*result
;
25766 PyObject
* obj0
= 0 ;
25767 char *kwnames
[] = {
25768 (char *) "self", NULL
25771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25777 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25778 result
= (wxArrayString
*) &_result_ref
;
25781 wxPyEndAllowThreads(__tstate
);
25782 if (PyErr_Occurred()) SWIG_fail
;
25785 resultobj
= wxArrayString2PyList_helper(*result
);
25793 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25794 PyObject
*resultobj
;
25795 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25796 wxString
*arg2
= 0 ;
25797 bool temp2
= false ;
25798 PyObject
* obj0
= 0 ;
25799 PyObject
* obj1
= 0 ;
25800 char *kwnames
[] = {
25801 (char *) "self",(char *) "filename", NULL
25804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25808 arg2
= wxString_in_helper(obj1
);
25809 if (arg2
== NULL
) SWIG_fail
;
25813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25814 (arg1
)->AddFile((wxString
const &)*arg2
);
25816 wxPyEndAllowThreads(__tstate
);
25817 if (PyErr_Occurred()) SWIG_fail
;
25819 Py_INCREF(Py_None
); resultobj
= Py_None
;
25834 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
25836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25837 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25839 return Py_BuildValue((char *)"");
25841 static PyObject
*_wrap_new_CustomDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25842 PyObject
*resultobj
;
25843 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25844 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25845 wxCustomDataObject
*result
;
25846 PyObject
* obj0
= 0 ;
25847 char *kwnames
[] = {
25848 (char *) "format", NULL
25851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25854 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25856 if (arg1
== NULL
) {
25857 PyErr_SetString(PyExc_TypeError
,"null reference");
25862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25863 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25865 wxPyEndAllowThreads(__tstate
);
25866 if (PyErr_Occurred()) SWIG_fail
;
25868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25875 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25876 PyObject
*resultobj
;
25877 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25878 PyObject
*arg2
= (PyObject
*) 0 ;
25880 PyObject
* obj0
= 0 ;
25881 PyObject
* obj1
= 0 ;
25882 char *kwnames
[] = {
25883 (char *) "self",(char *) "data", NULL
25886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25892 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25894 wxPyEndAllowThreads(__tstate
);
25895 if (PyErr_Occurred()) SWIG_fail
;
25898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25906 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25907 PyObject
*resultobj
;
25908 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25910 PyObject
* obj0
= 0 ;
25911 char *kwnames
[] = {
25912 (char *) "self", NULL
25915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25920 result
= (size_t)(arg1
)->GetSize();
25922 wxPyEndAllowThreads(__tstate
);
25923 if (PyErr_Occurred()) SWIG_fail
;
25925 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25932 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25933 PyObject
*resultobj
;
25934 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25936 PyObject
* obj0
= 0 ;
25937 char *kwnames
[] = {
25938 (char *) "self", NULL
25941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25946 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25948 wxPyEndAllowThreads(__tstate
);
25949 if (PyErr_Occurred()) SWIG_fail
;
25951 resultobj
= result
;
25958 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
25960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25961 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25963 return Py_BuildValue((char *)"");
25965 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25966 PyObject
*resultobj
;
25967 wxURLDataObject
*result
;
25968 char *kwnames
[] = {
25972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25975 result
= (wxURLDataObject
*)new wxURLDataObject();
25977 wxPyEndAllowThreads(__tstate
);
25978 if (PyErr_Occurred()) SWIG_fail
;
25980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25987 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25988 PyObject
*resultobj
;
25989 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25991 PyObject
* obj0
= 0 ;
25992 char *kwnames
[] = {
25993 (char *) "self", NULL
25996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26001 result
= (arg1
)->GetURL();
26003 wxPyEndAllowThreads(__tstate
);
26004 if (PyErr_Occurred()) SWIG_fail
;
26008 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26010 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26019 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26020 PyObject
*resultobj
;
26021 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
26022 wxString
*arg2
= 0 ;
26023 bool temp2
= false ;
26024 PyObject
* obj0
= 0 ;
26025 PyObject
* obj1
= 0 ;
26026 char *kwnames
[] = {
26027 (char *) "self",(char *) "url", NULL
26030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
26031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
26032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26034 arg2
= wxString_in_helper(obj1
);
26035 if (arg2
== NULL
) SWIG_fail
;
26039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26040 (arg1
)->SetURL((wxString
const &)*arg2
);
26042 wxPyEndAllowThreads(__tstate
);
26043 if (PyErr_Occurred()) SWIG_fail
;
26045 Py_INCREF(Py_None
); resultobj
= Py_None
;
26060 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
26062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26063 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
26065 return Py_BuildValue((char *)"");
26067 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26068 PyObject
*resultobj
;
26069 wxMetafileDataObject
*result
;
26070 char *kwnames
[] = {
26074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
26076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26077 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
26079 wxPyEndAllowThreads(__tstate
);
26080 if (PyErr_Occurred()) SWIG_fail
;
26082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
26089 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26090 PyObject
*resultobj
;
26091 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
26092 wxMetafile
*arg2
= 0 ;
26093 PyObject
* obj0
= 0 ;
26094 PyObject
* obj1
= 0 ;
26095 char *kwnames
[] = {
26096 (char *) "self",(char *) "metafile", NULL
26099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
26100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
26101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
26103 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26105 if (arg2
== NULL
) {
26106 PyErr_SetString(PyExc_TypeError
,"null reference");
26110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26111 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
26113 wxPyEndAllowThreads(__tstate
);
26114 if (PyErr_Occurred()) SWIG_fail
;
26116 Py_INCREF(Py_None
); resultobj
= Py_None
;
26123 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26124 PyObject
*resultobj
;
26125 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
26127 PyObject
* obj0
= 0 ;
26128 char *kwnames
[] = {
26129 (char *) "self", NULL
26132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
26133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
26134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26137 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
26139 wxPyEndAllowThreads(__tstate
);
26140 if (PyErr_Occurred()) SWIG_fail
;
26143 wxMetafile
* resultptr
;
26144 resultptr
= new wxMetafile((wxMetafile
&) result
);
26145 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
26153 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
26155 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26156 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
26158 return Py_BuildValue((char *)"");
26160 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26161 PyObject
*resultobj
;
26164 PyObject
* obj0
= 0 ;
26165 char *kwnames
[] = {
26166 (char *) "res", NULL
26169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
26170 arg1
= (int)SWIG_As_int(obj0
);
26171 if (PyErr_Occurred()) SWIG_fail
;
26173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26174 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
26176 wxPyEndAllowThreads(__tstate
);
26177 if (PyErr_Occurred()) SWIG_fail
;
26180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26188 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26189 PyObject
*resultobj
;
26190 wxWindow
*arg1
= (wxWindow
*) 0 ;
26191 wxCursor
const &arg2_defvalue
= wxNullCursor
;
26192 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
26193 wxCursor
const &arg3_defvalue
= wxNullCursor
;
26194 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
26195 wxCursor
const &arg4_defvalue
= wxNullCursor
;
26196 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
26197 wxPyDropSource
*result
;
26198 PyObject
* obj0
= 0 ;
26199 PyObject
* obj1
= 0 ;
26200 PyObject
* obj2
= 0 ;
26201 PyObject
* obj3
= 0 ;
26202 char *kwnames
[] = {
26203 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
26206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26210 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26211 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26213 if (arg2
== NULL
) {
26214 PyErr_SetString(PyExc_TypeError
,"null reference");
26219 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26220 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26222 if (arg3
== NULL
) {
26223 PyErr_SetString(PyExc_TypeError
,"null reference");
26228 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
26229 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26231 if (arg4
== NULL
) {
26232 PyErr_SetString(PyExc_TypeError
,"null reference");
26237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26238 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
26240 wxPyEndAllowThreads(__tstate
);
26241 if (PyErr_Occurred()) SWIG_fail
;
26243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
26250 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26251 PyObject
*resultobj
;
26252 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26253 PyObject
*arg2
= (PyObject
*) 0 ;
26254 PyObject
*arg3
= (PyObject
*) 0 ;
26256 PyObject
* obj0
= 0 ;
26257 PyObject
* obj1
= 0 ;
26258 PyObject
* obj2
= 0 ;
26259 PyObject
* obj3
= 0 ;
26260 char *kwnames
[] = {
26261 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26269 arg4
= (int)SWIG_As_int(obj3
);
26270 if (PyErr_Occurred()) SWIG_fail
;
26272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26273 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26275 wxPyEndAllowThreads(__tstate
);
26276 if (PyErr_Occurred()) SWIG_fail
;
26278 Py_INCREF(Py_None
); resultobj
= Py_None
;
26285 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26286 PyObject
*resultobj
;
26287 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26288 PyObject
* obj0
= 0 ;
26289 char *kwnames
[] = {
26290 (char *) "self", NULL
26293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
26294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26300 wxPyEndAllowThreads(__tstate
);
26301 if (PyErr_Occurred()) SWIG_fail
;
26303 Py_INCREF(Py_None
); resultobj
= Py_None
;
26310 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26311 PyObject
*resultobj
;
26312 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26313 wxDataObject
*arg2
= 0 ;
26314 PyObject
* obj0
= 0 ;
26315 PyObject
* obj1
= 0 ;
26316 char *kwnames
[] = {
26317 (char *) "self",(char *) "data", NULL
26320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26323 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26324 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26326 if (arg2
== NULL
) {
26327 PyErr_SetString(PyExc_TypeError
,"null reference");
26331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26332 (arg1
)->SetData(*arg2
);
26334 wxPyEndAllowThreads(__tstate
);
26335 if (PyErr_Occurred()) SWIG_fail
;
26337 Py_INCREF(Py_None
); resultobj
= Py_None
;
26344 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26345 PyObject
*resultobj
;
26346 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26347 wxDataObject
*result
;
26348 PyObject
* obj0
= 0 ;
26349 char *kwnames
[] = {
26350 (char *) "self", NULL
26353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
26354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26358 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26360 wxPyEndAllowThreads(__tstate
);
26361 if (PyErr_Occurred()) SWIG_fail
;
26363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26370 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26371 PyObject
*resultobj
;
26372 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26374 wxCursor
*arg3
= 0 ;
26375 PyObject
* obj0
= 0 ;
26376 PyObject
* obj1
= 0 ;
26377 PyObject
* obj2
= 0 ;
26378 char *kwnames
[] = {
26379 (char *) "self",(char *) "res",(char *) "cursor", NULL
26382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26385 arg2
= (int)SWIG_As_int(obj1
);
26386 if (PyErr_Occurred()) SWIG_fail
;
26387 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26388 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26390 if (arg3
== NULL
) {
26391 PyErr_SetString(PyExc_TypeError
,"null reference");
26395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26396 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
26398 wxPyEndAllowThreads(__tstate
);
26399 if (PyErr_Occurred()) SWIG_fail
;
26401 Py_INCREF(Py_None
); resultobj
= Py_None
;
26408 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26409 PyObject
*resultobj
;
26410 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26411 int arg2
= (int) wxDrag_CopyOnly
;
26413 PyObject
* obj0
= 0 ;
26414 PyObject
* obj1
= 0 ;
26415 char *kwnames
[] = {
26416 (char *) "self",(char *) "flags", NULL
26419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26423 arg2
= (int)SWIG_As_int(obj1
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26428 result
= (int)(arg1
)->DoDragDrop(arg2
);
26430 wxPyEndAllowThreads(__tstate
);
26431 if (PyErr_Occurred()) SWIG_fail
;
26433 resultobj
= SWIG_From_int((int)result
);
26440 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26441 PyObject
*resultobj
;
26442 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26445 PyObject
* obj0
= 0 ;
26446 PyObject
* obj1
= 0 ;
26447 char *kwnames
[] = {
26448 (char *) "self",(char *) "effect", NULL
26451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26454 arg2
= (int)SWIG_As_int(obj1
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26458 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26460 wxPyEndAllowThreads(__tstate
);
26461 if (PyErr_Occurred()) SWIG_fail
;
26464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26472 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
26474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26475 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26477 return Py_BuildValue((char *)"");
26479 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26480 PyObject
*resultobj
;
26481 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26482 wxPyDropTarget
*result
;
26483 PyObject
* obj0
= 0 ;
26484 char *kwnames
[] = {
26485 (char *) "dataObject", NULL
26488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26491 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26495 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26497 wxPyEndAllowThreads(__tstate
);
26498 if (PyErr_Occurred()) SWIG_fail
;
26500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26507 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26508 PyObject
*resultobj
;
26509 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26510 PyObject
*arg2
= (PyObject
*) 0 ;
26511 PyObject
*arg3
= (PyObject
*) 0 ;
26512 PyObject
* obj0
= 0 ;
26513 PyObject
* obj1
= 0 ;
26514 PyObject
* obj2
= 0 ;
26515 char *kwnames
[] = {
26516 (char *) "self",(char *) "self",(char *) "_class", NULL
26519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26526 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26528 wxPyEndAllowThreads(__tstate
);
26529 if (PyErr_Occurred()) SWIG_fail
;
26531 Py_INCREF(Py_None
); resultobj
= Py_None
;
26538 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26539 PyObject
*resultobj
;
26540 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26541 PyObject
* obj0
= 0 ;
26542 char *kwnames
[] = {
26543 (char *) "self", NULL
26546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26553 wxPyEndAllowThreads(__tstate
);
26554 if (PyErr_Occurred()) SWIG_fail
;
26556 Py_INCREF(Py_None
); resultobj
= Py_None
;
26563 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26564 PyObject
*resultobj
;
26565 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26566 wxDataObject
*result
;
26567 PyObject
* obj0
= 0 ;
26568 char *kwnames
[] = {
26569 (char *) "self", NULL
26572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26577 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26579 wxPyEndAllowThreads(__tstate
);
26580 if (PyErr_Occurred()) SWIG_fail
;
26582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26589 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26590 PyObject
*resultobj
;
26591 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26592 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26593 PyObject
* obj0
= 0 ;
26594 PyObject
* obj1
= 0 ;
26595 char *kwnames
[] = {
26596 (char *) "self",(char *) "dataObject", NULL
26599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26602 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26603 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26606 (arg1
)->SetDataObject(arg2
);
26608 wxPyEndAllowThreads(__tstate
);
26609 if (PyErr_Occurred()) SWIG_fail
;
26611 Py_INCREF(Py_None
); resultobj
= Py_None
;
26618 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26619 PyObject
*resultobj
;
26620 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26625 PyObject
* obj0
= 0 ;
26626 PyObject
* obj1
= 0 ;
26627 PyObject
* obj2
= 0 ;
26628 PyObject
* obj3
= 0 ;
26629 char *kwnames
[] = {
26630 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26636 arg2
= (int)SWIG_As_int(obj1
);
26637 if (PyErr_Occurred()) SWIG_fail
;
26638 arg3
= (int)SWIG_As_int(obj2
);
26639 if (PyErr_Occurred()) SWIG_fail
;
26640 arg4
= (int)SWIG_As_int(obj3
);
26641 if (PyErr_Occurred()) SWIG_fail
;
26643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26644 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26646 wxPyEndAllowThreads(__tstate
);
26647 if (PyErr_Occurred()) SWIG_fail
;
26649 resultobj
= SWIG_From_int((int)result
);
26656 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26657 PyObject
*resultobj
;
26658 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26663 PyObject
* obj0
= 0 ;
26664 PyObject
* obj1
= 0 ;
26665 PyObject
* obj2
= 0 ;
26666 PyObject
* obj3
= 0 ;
26667 char *kwnames
[] = {
26668 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26674 arg2
= (int)SWIG_As_int(obj1
);
26675 if (PyErr_Occurred()) SWIG_fail
;
26676 arg3
= (int)SWIG_As_int(obj2
);
26677 if (PyErr_Occurred()) SWIG_fail
;
26678 arg4
= (int)SWIG_As_int(obj3
);
26679 if (PyErr_Occurred()) SWIG_fail
;
26681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26682 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26684 wxPyEndAllowThreads(__tstate
);
26685 if (PyErr_Occurred()) SWIG_fail
;
26687 resultobj
= SWIG_From_int((int)result
);
26694 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26695 PyObject
*resultobj
;
26696 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26697 PyObject
* obj0
= 0 ;
26698 char *kwnames
[] = {
26699 (char *) "self", NULL
26702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26707 (arg1
)->base_OnLeave();
26709 wxPyEndAllowThreads(__tstate
);
26710 if (PyErr_Occurred()) SWIG_fail
;
26712 Py_INCREF(Py_None
); resultobj
= Py_None
;
26719 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26720 PyObject
*resultobj
;
26721 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26725 PyObject
* obj0
= 0 ;
26726 PyObject
* obj1
= 0 ;
26727 PyObject
* obj2
= 0 ;
26728 char *kwnames
[] = {
26729 (char *) "self",(char *) "x",(char *) "y", NULL
26732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26735 arg2
= (int)SWIG_As_int(obj1
);
26736 if (PyErr_Occurred()) SWIG_fail
;
26737 arg3
= (int)SWIG_As_int(obj2
);
26738 if (PyErr_Occurred()) SWIG_fail
;
26740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26741 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26743 wxPyEndAllowThreads(__tstate
);
26744 if (PyErr_Occurred()) SWIG_fail
;
26747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26755 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26756 PyObject
*resultobj
;
26757 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26759 PyObject
* obj0
= 0 ;
26760 char *kwnames
[] = {
26761 (char *) "self", NULL
26764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26769 result
= (bool)(arg1
)->GetData();
26771 wxPyEndAllowThreads(__tstate
);
26772 if (PyErr_Occurred()) SWIG_fail
;
26775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26783 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
26785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26786 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26788 return Py_BuildValue((char *)"");
26790 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26791 PyObject
*resultobj
;
26792 wxPyTextDropTarget
*result
;
26793 char *kwnames
[] = {
26797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26800 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26802 wxPyEndAllowThreads(__tstate
);
26803 if (PyErr_Occurred()) SWIG_fail
;
26805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26812 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26813 PyObject
*resultobj
;
26814 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26815 PyObject
*arg2
= (PyObject
*) 0 ;
26816 PyObject
*arg3
= (PyObject
*) 0 ;
26817 PyObject
* obj0
= 0 ;
26818 PyObject
* obj1
= 0 ;
26819 PyObject
* obj2
= 0 ;
26820 char *kwnames
[] = {
26821 (char *) "self",(char *) "self",(char *) "_class", NULL
26824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26831 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26833 wxPyEndAllowThreads(__tstate
);
26834 if (PyErr_Occurred()) SWIG_fail
;
26836 Py_INCREF(Py_None
); resultobj
= Py_None
;
26843 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26844 PyObject
*resultobj
;
26845 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26850 PyObject
* obj0
= 0 ;
26851 PyObject
* obj1
= 0 ;
26852 PyObject
* obj2
= 0 ;
26853 PyObject
* obj3
= 0 ;
26854 char *kwnames
[] = {
26855 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26861 arg2
= (int)SWIG_As_int(obj1
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26863 arg3
= (int)SWIG_As_int(obj2
);
26864 if (PyErr_Occurred()) SWIG_fail
;
26865 arg4
= (int)SWIG_As_int(obj3
);
26866 if (PyErr_Occurred()) SWIG_fail
;
26868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26869 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26871 wxPyEndAllowThreads(__tstate
);
26872 if (PyErr_Occurred()) SWIG_fail
;
26874 resultobj
= SWIG_From_int((int)result
);
26881 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26882 PyObject
*resultobj
;
26883 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26888 PyObject
* obj0
= 0 ;
26889 PyObject
* obj1
= 0 ;
26890 PyObject
* obj2
= 0 ;
26891 PyObject
* obj3
= 0 ;
26892 char *kwnames
[] = {
26893 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26899 arg2
= (int)SWIG_As_int(obj1
);
26900 if (PyErr_Occurred()) SWIG_fail
;
26901 arg3
= (int)SWIG_As_int(obj2
);
26902 if (PyErr_Occurred()) SWIG_fail
;
26903 arg4
= (int)SWIG_As_int(obj3
);
26904 if (PyErr_Occurred()) SWIG_fail
;
26906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26907 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26909 wxPyEndAllowThreads(__tstate
);
26910 if (PyErr_Occurred()) SWIG_fail
;
26912 resultobj
= SWIG_From_int((int)result
);
26919 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26920 PyObject
*resultobj
;
26921 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26922 PyObject
* obj0
= 0 ;
26923 char *kwnames
[] = {
26924 (char *) "self", NULL
26927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26932 (arg1
)->base_OnLeave();
26934 wxPyEndAllowThreads(__tstate
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26937 Py_INCREF(Py_None
); resultobj
= Py_None
;
26944 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26945 PyObject
*resultobj
;
26946 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26950 PyObject
* obj0
= 0 ;
26951 PyObject
* obj1
= 0 ;
26952 PyObject
* obj2
= 0 ;
26953 char *kwnames
[] = {
26954 (char *) "self",(char *) "x",(char *) "y", NULL
26957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26960 arg2
= (int)SWIG_As_int(obj1
);
26961 if (PyErr_Occurred()) SWIG_fail
;
26962 arg3
= (int)SWIG_As_int(obj2
);
26963 if (PyErr_Occurred()) SWIG_fail
;
26965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26966 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26968 wxPyEndAllowThreads(__tstate
);
26969 if (PyErr_Occurred()) SWIG_fail
;
26972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26980 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26981 PyObject
*resultobj
;
26982 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26987 PyObject
* obj0
= 0 ;
26988 PyObject
* obj1
= 0 ;
26989 PyObject
* obj2
= 0 ;
26990 PyObject
* obj3
= 0 ;
26991 char *kwnames
[] = {
26992 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26998 arg2
= (int)SWIG_As_int(obj1
);
26999 if (PyErr_Occurred()) SWIG_fail
;
27000 arg3
= (int)SWIG_As_int(obj2
);
27001 if (PyErr_Occurred()) SWIG_fail
;
27002 arg4
= (int)SWIG_As_int(obj3
);
27003 if (PyErr_Occurred()) SWIG_fail
;
27005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27006 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27008 wxPyEndAllowThreads(__tstate
);
27009 if (PyErr_Occurred()) SWIG_fail
;
27011 resultobj
= SWIG_From_int((int)result
);
27018 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27021 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
27023 return Py_BuildValue((char *)"");
27025 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27026 PyObject
*resultobj
;
27027 wxPyFileDropTarget
*result
;
27028 char *kwnames
[] = {
27032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
27034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27035 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
27037 wxPyEndAllowThreads(__tstate
);
27038 if (PyErr_Occurred()) SWIG_fail
;
27040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
27047 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27048 PyObject
*resultobj
;
27049 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27050 PyObject
*arg2
= (PyObject
*) 0 ;
27051 PyObject
*arg3
= (PyObject
*) 0 ;
27052 PyObject
* obj0
= 0 ;
27053 PyObject
* obj1
= 0 ;
27054 PyObject
* obj2
= 0 ;
27055 char *kwnames
[] = {
27056 (char *) "self",(char *) "self",(char *) "_class", NULL
27059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27066 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27068 wxPyEndAllowThreads(__tstate
);
27069 if (PyErr_Occurred()) SWIG_fail
;
27071 Py_INCREF(Py_None
); resultobj
= Py_None
;
27078 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27079 PyObject
*resultobj
;
27080 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27085 PyObject
* obj0
= 0 ;
27086 PyObject
* obj1
= 0 ;
27087 PyObject
* obj2
= 0 ;
27088 PyObject
* obj3
= 0 ;
27089 char *kwnames
[] = {
27090 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27096 arg2
= (int)SWIG_As_int(obj1
);
27097 if (PyErr_Occurred()) SWIG_fail
;
27098 arg3
= (int)SWIG_As_int(obj2
);
27099 if (PyErr_Occurred()) SWIG_fail
;
27100 arg4
= (int)SWIG_As_int(obj3
);
27101 if (PyErr_Occurred()) SWIG_fail
;
27103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27104 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
27106 wxPyEndAllowThreads(__tstate
);
27107 if (PyErr_Occurred()) SWIG_fail
;
27109 resultobj
= SWIG_From_int((int)result
);
27116 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27117 PyObject
*resultobj
;
27118 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27123 PyObject
* obj0
= 0 ;
27124 PyObject
* obj1
= 0 ;
27125 PyObject
* obj2
= 0 ;
27126 PyObject
* obj3
= 0 ;
27127 char *kwnames
[] = {
27128 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27134 arg2
= (int)SWIG_As_int(obj1
);
27135 if (PyErr_Occurred()) SWIG_fail
;
27136 arg3
= (int)SWIG_As_int(obj2
);
27137 if (PyErr_Occurred()) SWIG_fail
;
27138 arg4
= (int)SWIG_As_int(obj3
);
27139 if (PyErr_Occurred()) SWIG_fail
;
27141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27142 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
27144 wxPyEndAllowThreads(__tstate
);
27145 if (PyErr_Occurred()) SWIG_fail
;
27147 resultobj
= SWIG_From_int((int)result
);
27154 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27155 PyObject
*resultobj
;
27156 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27157 PyObject
* obj0
= 0 ;
27158 char *kwnames
[] = {
27159 (char *) "self", NULL
27162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
27163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27167 (arg1
)->base_OnLeave();
27169 wxPyEndAllowThreads(__tstate
);
27170 if (PyErr_Occurred()) SWIG_fail
;
27172 Py_INCREF(Py_None
); resultobj
= Py_None
;
27179 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27180 PyObject
*resultobj
;
27181 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27185 PyObject
* obj0
= 0 ;
27186 PyObject
* obj1
= 0 ;
27187 PyObject
* obj2
= 0 ;
27188 char *kwnames
[] = {
27189 (char *) "self",(char *) "x",(char *) "y", NULL
27192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27195 arg2
= (int)SWIG_As_int(obj1
);
27196 if (PyErr_Occurred()) SWIG_fail
;
27197 arg3
= (int)SWIG_As_int(obj2
);
27198 if (PyErr_Occurred()) SWIG_fail
;
27200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27201 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
27203 wxPyEndAllowThreads(__tstate
);
27204 if (PyErr_Occurred()) SWIG_fail
;
27207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27215 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27216 PyObject
*resultobj
;
27217 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
27222 PyObject
* obj0
= 0 ;
27223 PyObject
* obj1
= 0 ;
27224 PyObject
* obj2
= 0 ;
27225 PyObject
* obj3
= 0 ;
27226 char *kwnames
[] = {
27227 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
27230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
27232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27233 arg2
= (int)SWIG_As_int(obj1
);
27234 if (PyErr_Occurred()) SWIG_fail
;
27235 arg3
= (int)SWIG_As_int(obj2
);
27236 if (PyErr_Occurred()) SWIG_fail
;
27237 arg4
= (int)SWIG_As_int(obj3
);
27238 if (PyErr_Occurred()) SWIG_fail
;
27240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27241 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
27243 wxPyEndAllowThreads(__tstate
);
27244 if (PyErr_Occurred()) SWIG_fail
;
27246 resultobj
= SWIG_From_int((int)result
);
27253 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
27255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27256 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
27258 return Py_BuildValue((char *)"");
27260 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27261 PyObject
*resultobj
;
27262 wxClipboard
*result
;
27263 char *kwnames
[] = {
27267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
27269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27270 result
= (wxClipboard
*)new wxClipboard();
27272 wxPyEndAllowThreads(__tstate
);
27273 if (PyErr_Occurred()) SWIG_fail
;
27275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
27282 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27283 PyObject
*resultobj
;
27284 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27285 PyObject
* obj0
= 0 ;
27286 char *kwnames
[] = {
27287 (char *) "self", NULL
27290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
27291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27297 wxPyEndAllowThreads(__tstate
);
27298 if (PyErr_Occurred()) SWIG_fail
;
27300 Py_INCREF(Py_None
); resultobj
= Py_None
;
27307 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27308 PyObject
*resultobj
;
27309 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27311 PyObject
* obj0
= 0 ;
27312 char *kwnames
[] = {
27313 (char *) "self", NULL
27316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
27317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27321 result
= (bool)(arg1
)->Open();
27323 wxPyEndAllowThreads(__tstate
);
27324 if (PyErr_Occurred()) SWIG_fail
;
27327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27335 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27336 PyObject
*resultobj
;
27337 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27338 PyObject
* obj0
= 0 ;
27339 char *kwnames
[] = {
27340 (char *) "self", NULL
27343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
27344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27350 wxPyEndAllowThreads(__tstate
);
27351 if (PyErr_Occurred()) SWIG_fail
;
27353 Py_INCREF(Py_None
); resultobj
= Py_None
;
27360 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27361 PyObject
*resultobj
;
27362 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27364 PyObject
* obj0
= 0 ;
27365 char *kwnames
[] = {
27366 (char *) "self", NULL
27369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
27370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27374 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
27376 wxPyEndAllowThreads(__tstate
);
27377 if (PyErr_Occurred()) SWIG_fail
;
27380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27388 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27389 PyObject
*resultobj
;
27390 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27391 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27393 PyObject
* obj0
= 0 ;
27394 PyObject
* obj1
= 0 ;
27395 char *kwnames
[] = {
27396 (char *) "self",(char *) "data", NULL
27399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
27400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27403 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27406 result
= (bool)(arg1
)->AddData(arg2
);
27408 wxPyEndAllowThreads(__tstate
);
27409 if (PyErr_Occurred()) SWIG_fail
;
27412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27420 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27421 PyObject
*resultobj
;
27422 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27423 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27425 PyObject
* obj0
= 0 ;
27426 PyObject
* obj1
= 0 ;
27427 char *kwnames
[] = {
27428 (char *) "self",(char *) "data", NULL
27431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27435 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27438 result
= (bool)(arg1
)->SetData(arg2
);
27440 wxPyEndAllowThreads(__tstate
);
27441 if (PyErr_Occurred()) SWIG_fail
;
27444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27452 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27453 PyObject
*resultobj
;
27454 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27455 wxDataFormat
*arg2
= 0 ;
27457 PyObject
* obj0
= 0 ;
27458 PyObject
* obj1
= 0 ;
27459 char *kwnames
[] = {
27460 (char *) "self",(char *) "format", NULL
27463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27467 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27469 if (arg2
== NULL
) {
27470 PyErr_SetString(PyExc_TypeError
,"null reference");
27474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27475 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27477 wxPyEndAllowThreads(__tstate
);
27478 if (PyErr_Occurred()) SWIG_fail
;
27481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27489 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27490 PyObject
*resultobj
;
27491 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27492 wxDataObject
*arg2
= 0 ;
27494 PyObject
* obj0
= 0 ;
27495 PyObject
* obj1
= 0 ;
27496 char *kwnames
[] = {
27497 (char *) "self",(char *) "data", NULL
27500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27504 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27506 if (arg2
== NULL
) {
27507 PyErr_SetString(PyExc_TypeError
,"null reference");
27511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27512 result
= (bool)(arg1
)->GetData(*arg2
);
27514 wxPyEndAllowThreads(__tstate
);
27515 if (PyErr_Occurred()) SWIG_fail
;
27518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27526 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27527 PyObject
*resultobj
;
27528 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27529 PyObject
* obj0
= 0 ;
27530 char *kwnames
[] = {
27531 (char *) "self", NULL
27534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27541 wxPyEndAllowThreads(__tstate
);
27542 if (PyErr_Occurred()) SWIG_fail
;
27544 Py_INCREF(Py_None
); resultobj
= Py_None
;
27551 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27552 PyObject
*resultobj
;
27553 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27555 PyObject
* obj0
= 0 ;
27556 char *kwnames
[] = {
27557 (char *) "self", NULL
27560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27565 result
= (bool)(arg1
)->Flush();
27567 wxPyEndAllowThreads(__tstate
);
27568 if (PyErr_Occurred()) SWIG_fail
;
27571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27579 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27580 PyObject
*resultobj
;
27581 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27582 bool arg2
= (bool) true ;
27583 PyObject
* obj0
= 0 ;
27584 PyObject
* obj1
= 0 ;
27585 char *kwnames
[] = {
27586 (char *) "self",(char *) "primary", NULL
27589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27593 arg2
= (bool)SWIG_As_bool(obj1
);
27594 if (PyErr_Occurred()) SWIG_fail
;
27597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27598 (arg1
)->UsePrimarySelection(arg2
);
27600 wxPyEndAllowThreads(__tstate
);
27601 if (PyErr_Occurred()) SWIG_fail
;
27603 Py_INCREF(Py_None
); resultobj
= Py_None
;
27610 static PyObject
*_wrap_Clipboard_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27611 PyObject
*resultobj
;
27612 wxClipboard
*result
;
27613 char *kwnames
[] = {
27617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
27619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27620 result
= (wxClipboard
*)wxClipboard::Get();
27622 wxPyEndAllowThreads(__tstate
);
27623 if (PyErr_Occurred()) SWIG_fail
;
27625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
27632 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
27634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27635 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27637 return Py_BuildValue((char *)"");
27639 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27640 PyObject
*resultobj
;
27641 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27642 wxClipboardLocker
*result
;
27643 PyObject
* obj0
= 0 ;
27644 char *kwnames
[] = {
27645 (char *) "clipboard", NULL
27648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27655 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27657 wxPyEndAllowThreads(__tstate
);
27658 if (PyErr_Occurred()) SWIG_fail
;
27660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27667 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27668 PyObject
*resultobj
;
27669 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27670 PyObject
* obj0
= 0 ;
27671 char *kwnames
[] = {
27672 (char *) "self", NULL
27675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27682 wxPyEndAllowThreads(__tstate
);
27683 if (PyErr_Occurred()) SWIG_fail
;
27685 Py_INCREF(Py_None
); resultobj
= Py_None
;
27692 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27693 PyObject
*resultobj
;
27694 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27696 PyObject
* obj0
= 0 ;
27697 char *kwnames
[] = {
27698 (char *) "self", NULL
27701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27706 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27708 wxPyEndAllowThreads(__tstate
);
27709 if (PyErr_Occurred()) SWIG_fail
;
27712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27720 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
27722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27723 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27725 return Py_BuildValue((char *)"");
27727 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27728 PyObject
*resultobj
;
27729 int arg1
= (int) 0 ;
27730 int arg2
= (int) 0 ;
27731 int arg3
= (int) 0 ;
27732 int arg4
= (int) 0 ;
27733 wxVideoMode
*result
;
27734 PyObject
* obj0
= 0 ;
27735 PyObject
* obj1
= 0 ;
27736 PyObject
* obj2
= 0 ;
27737 PyObject
* obj3
= 0 ;
27738 char *kwnames
[] = {
27739 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27744 arg1
= (int)SWIG_As_int(obj0
);
27745 if (PyErr_Occurred()) SWIG_fail
;
27748 arg2
= (int)SWIG_As_int(obj1
);
27749 if (PyErr_Occurred()) SWIG_fail
;
27752 arg3
= (int)SWIG_As_int(obj2
);
27753 if (PyErr_Occurred()) SWIG_fail
;
27756 arg4
= (int)SWIG_As_int(obj3
);
27757 if (PyErr_Occurred()) SWIG_fail
;
27760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27761 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27763 wxPyEndAllowThreads(__tstate
);
27764 if (PyErr_Occurred()) SWIG_fail
;
27766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27773 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27774 PyObject
*resultobj
;
27775 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27776 PyObject
* obj0
= 0 ;
27777 char *kwnames
[] = {
27778 (char *) "self", NULL
27781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27788 wxPyEndAllowThreads(__tstate
);
27789 if (PyErr_Occurred()) SWIG_fail
;
27791 Py_INCREF(Py_None
); resultobj
= Py_None
;
27798 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27799 PyObject
*resultobj
;
27800 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27801 wxVideoMode
*arg2
= 0 ;
27803 PyObject
* obj0
= 0 ;
27804 PyObject
* obj1
= 0 ;
27805 char *kwnames
[] = {
27806 (char *) "self",(char *) "other", NULL
27809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27813 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27815 if (arg2
== NULL
) {
27816 PyErr_SetString(PyExc_TypeError
,"null reference");
27820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27821 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27823 wxPyEndAllowThreads(__tstate
);
27824 if (PyErr_Occurred()) SWIG_fail
;
27827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27835 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27836 PyObject
*resultobj
;
27837 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27839 PyObject
* obj0
= 0 ;
27840 char *kwnames
[] = {
27841 (char *) "self", NULL
27844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27849 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27851 wxPyEndAllowThreads(__tstate
);
27852 if (PyErr_Occurred()) SWIG_fail
;
27854 resultobj
= SWIG_From_int((int)result
);
27861 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27862 PyObject
*resultobj
;
27863 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27865 PyObject
* obj0
= 0 ;
27866 char *kwnames
[] = {
27867 (char *) "self", NULL
27870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27875 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27877 wxPyEndAllowThreads(__tstate
);
27878 if (PyErr_Occurred()) SWIG_fail
;
27880 resultobj
= SWIG_From_int((int)result
);
27887 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27888 PyObject
*resultobj
;
27889 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27891 PyObject
* obj0
= 0 ;
27892 char *kwnames
[] = {
27893 (char *) "self", NULL
27896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27901 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27903 wxPyEndAllowThreads(__tstate
);
27904 if (PyErr_Occurred()) SWIG_fail
;
27906 resultobj
= SWIG_From_int((int)result
);
27913 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27914 PyObject
*resultobj
;
27915 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27917 PyObject
* obj0
= 0 ;
27918 char *kwnames
[] = {
27919 (char *) "self", NULL
27922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27927 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27929 wxPyEndAllowThreads(__tstate
);
27930 if (PyErr_Occurred()) SWIG_fail
;
27933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27941 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27942 PyObject
*resultobj
;
27943 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27944 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27946 PyObject
* obj0
= 0 ;
27947 PyObject
* obj1
= 0 ;
27948 char *kwnames
[] = {
27949 (char *) "self",(char *) "other", NULL
27952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27955 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27959 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27961 wxPyEndAllowThreads(__tstate
);
27962 if (PyErr_Occurred()) SWIG_fail
;
27965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27973 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27974 PyObject
*resultobj
;
27975 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27976 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27978 PyObject
* obj0
= 0 ;
27979 PyObject
* obj1
= 0 ;
27980 char *kwnames
[] = {
27981 (char *) "self",(char *) "other", NULL
27984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27991 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27993 wxPyEndAllowThreads(__tstate
);
27994 if (PyErr_Occurred()) SWIG_fail
;
27997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28005 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28006 PyObject
*resultobj
;
28007 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28009 PyObject
* obj0
= 0 ;
28010 PyObject
* obj1
= 0 ;
28011 char *kwnames
[] = {
28012 (char *) "self",(char *) "w", NULL
28015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28018 arg2
= (int)SWIG_As_int(obj1
);
28019 if (PyErr_Occurred()) SWIG_fail
;
28020 if (arg1
) (arg1
)->w
= arg2
;
28022 Py_INCREF(Py_None
); resultobj
= Py_None
;
28029 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28030 PyObject
*resultobj
;
28031 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28033 PyObject
* obj0
= 0 ;
28034 char *kwnames
[] = {
28035 (char *) "self", NULL
28038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
28039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28041 result
= (int) ((arg1
)->w
);
28043 resultobj
= SWIG_From_int((int)result
);
28050 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28051 PyObject
*resultobj
;
28052 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28054 PyObject
* obj0
= 0 ;
28055 PyObject
* obj1
= 0 ;
28056 char *kwnames
[] = {
28057 (char *) "self",(char *) "h", NULL
28060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28063 arg2
= (int)SWIG_As_int(obj1
);
28064 if (PyErr_Occurred()) SWIG_fail
;
28065 if (arg1
) (arg1
)->h
= arg2
;
28067 Py_INCREF(Py_None
); resultobj
= Py_None
;
28074 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28075 PyObject
*resultobj
;
28076 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28078 PyObject
* obj0
= 0 ;
28079 char *kwnames
[] = {
28080 (char *) "self", NULL
28083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
28084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28086 result
= (int) ((arg1
)->h
);
28088 resultobj
= SWIG_From_int((int)result
);
28095 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28096 PyObject
*resultobj
;
28097 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28099 PyObject
* obj0
= 0 ;
28100 PyObject
* obj1
= 0 ;
28101 char *kwnames
[] = {
28102 (char *) "self",(char *) "bpp", NULL
28105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28108 arg2
= (int)SWIG_As_int(obj1
);
28109 if (PyErr_Occurred()) SWIG_fail
;
28110 if (arg1
) (arg1
)->bpp
= arg2
;
28112 Py_INCREF(Py_None
); resultobj
= Py_None
;
28119 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28120 PyObject
*resultobj
;
28121 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28123 PyObject
* obj0
= 0 ;
28124 char *kwnames
[] = {
28125 (char *) "self", NULL
28128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
28129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28131 result
= (int) ((arg1
)->bpp
);
28133 resultobj
= SWIG_From_int((int)result
);
28140 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28141 PyObject
*resultobj
;
28142 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28144 PyObject
* obj0
= 0 ;
28145 PyObject
* obj1
= 0 ;
28146 char *kwnames
[] = {
28147 (char *) "self",(char *) "refresh", NULL
28150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
28151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28153 arg2
= (int)SWIG_As_int(obj1
);
28154 if (PyErr_Occurred()) SWIG_fail
;
28155 if (arg1
) (arg1
)->refresh
= arg2
;
28157 Py_INCREF(Py_None
); resultobj
= Py_None
;
28164 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28165 PyObject
*resultobj
;
28166 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
28168 PyObject
* obj0
= 0 ;
28169 char *kwnames
[] = {
28170 (char *) "self", NULL
28173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
28174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
28175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28176 result
= (int) ((arg1
)->refresh
);
28178 resultobj
= SWIG_From_int((int)result
);
28185 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
28187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28188 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
28190 return Py_BuildValue((char *)"");
28192 static int _wrap_DefaultVideoMode_set(PyObject
*) {
28193 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
28198 static PyObject
*_wrap_DefaultVideoMode_get() {
28201 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
28206 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28207 PyObject
*resultobj
;
28208 size_t arg1
= (size_t) 0 ;
28210 PyObject
* obj0
= 0 ;
28211 char *kwnames
[] = {
28212 (char *) "index", NULL
28215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
28217 arg1
= (size_t)SWIG_As_unsigned_SS_long(obj0
);
28218 if (PyErr_Occurred()) SWIG_fail
;
28221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28222 result
= (wxDisplay
*)new wxDisplay(arg1
);
28224 wxPyEndAllowThreads(__tstate
);
28225 if (PyErr_Occurred()) SWIG_fail
;
28227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
28234 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28235 PyObject
*resultobj
;
28236 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28237 PyObject
* obj0
= 0 ;
28238 char *kwnames
[] = {
28239 (char *) "self", NULL
28242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
28243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28249 wxPyEndAllowThreads(__tstate
);
28250 if (PyErr_Occurred()) SWIG_fail
;
28252 Py_INCREF(Py_None
); resultobj
= Py_None
;
28259 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28260 PyObject
*resultobj
;
28262 char *kwnames
[] = {
28266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
28268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28269 result
= (size_t)wxDisplay::GetCount();
28271 wxPyEndAllowThreads(__tstate
);
28272 if (PyErr_Occurred()) SWIG_fail
;
28274 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
28281 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28282 PyObject
*resultobj
;
28283 wxPoint
*arg1
= 0 ;
28286 PyObject
* obj0
= 0 ;
28287 char *kwnames
[] = {
28288 (char *) "pt", NULL
28291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
28294 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
28297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28298 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
28300 wxPyEndAllowThreads(__tstate
);
28301 if (PyErr_Occurred()) SWIG_fail
;
28303 resultobj
= SWIG_From_int((int)result
);
28310 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28311 PyObject
*resultobj
;
28312 wxWindow
*arg1
= (wxWindow
*) 0 ;
28314 PyObject
* obj0
= 0 ;
28315 char *kwnames
[] = {
28316 (char *) "window", NULL
28319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
28320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28324 result
= (int)wxDisplay::GetFromWindow(arg1
);
28326 wxPyEndAllowThreads(__tstate
);
28327 if (PyErr_Occurred()) SWIG_fail
;
28329 resultobj
= SWIG_From_int((int)result
);
28336 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28337 PyObject
*resultobj
;
28338 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28340 PyObject
* obj0
= 0 ;
28341 char *kwnames
[] = {
28342 (char *) "self", NULL
28345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
28346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28350 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
28352 wxPyEndAllowThreads(__tstate
);
28353 if (PyErr_Occurred()) SWIG_fail
;
28356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28364 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28365 PyObject
*resultobj
;
28366 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28368 PyObject
* obj0
= 0 ;
28369 char *kwnames
[] = {
28370 (char *) "self", NULL
28373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
28374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28378 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
28380 wxPyEndAllowThreads(__tstate
);
28381 if (PyErr_Occurred()) SWIG_fail
;
28384 wxRect
* resultptr
;
28385 resultptr
= new wxRect((wxRect
&) result
);
28386 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28394 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28395 PyObject
*resultobj
;
28396 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28398 PyObject
* obj0
= 0 ;
28399 char *kwnames
[] = {
28400 (char *) "self", NULL
28403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28408 result
= ((wxDisplay
const *)arg1
)->GetName();
28410 wxPyEndAllowThreads(__tstate
);
28411 if (PyErr_Occurred()) SWIG_fail
;
28415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28426 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28427 PyObject
*resultobj
;
28428 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28430 PyObject
* obj0
= 0 ;
28431 char *kwnames
[] = {
28432 (char *) "self", NULL
28435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
28436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28440 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28442 wxPyEndAllowThreads(__tstate
);
28443 if (PyErr_Occurred()) SWIG_fail
;
28446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28454 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28455 PyObject
*resultobj
;
28456 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28457 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28458 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28460 PyObject
* obj0
= 0 ;
28461 PyObject
* obj1
= 0 ;
28462 char *kwnames
[] = {
28463 (char *) "self",(char *) "mode", NULL
28466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28471 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28473 if (arg2
== NULL
) {
28474 PyErr_SetString(PyExc_TypeError
,"null reference");
28479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28480 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28482 wxPyEndAllowThreads(__tstate
);
28483 if (PyErr_Occurred()) SWIG_fail
;
28485 resultobj
= result
;
28492 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28493 PyObject
*resultobj
;
28494 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28495 wxVideoMode result
;
28496 PyObject
* obj0
= 0 ;
28497 char *kwnames
[] = {
28498 (char *) "self", NULL
28501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28506 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28508 wxPyEndAllowThreads(__tstate
);
28509 if (PyErr_Occurred()) SWIG_fail
;
28512 wxVideoMode
* resultptr
;
28513 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28522 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28523 PyObject
*resultobj
;
28524 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28525 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28526 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28528 PyObject
* obj0
= 0 ;
28529 PyObject
* obj1
= 0 ;
28530 char *kwnames
[] = {
28531 (char *) "self",(char *) "mode", NULL
28534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28539 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28541 if (arg2
== NULL
) {
28542 PyErr_SetString(PyExc_TypeError
,"null reference");
28547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28548 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28550 wxPyEndAllowThreads(__tstate
);
28551 if (PyErr_Occurred()) SWIG_fail
;
28554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28562 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28563 PyObject
*resultobj
;
28564 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28565 PyObject
* obj0
= 0 ;
28566 char *kwnames
[] = {
28567 (char *) "self", NULL
28570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28575 (arg1
)->ResetMode();
28577 wxPyEndAllowThreads(__tstate
);
28578 if (PyErr_Occurred()) SWIG_fail
;
28580 Py_INCREF(Py_None
); resultobj
= Py_None
;
28587 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
28589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28590 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28592 return Py_BuildValue((char *)"");
28594 static PyObject
*_wrap_StandardPaths_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28595 PyObject
*resultobj
;
28596 wxStandardPaths
*result
;
28597 char *kwnames
[] = {
28601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StandardPaths_Get",kwnames
)) goto fail
;
28603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28605 wxStandardPaths
&_result_ref
= wxStandardPaths::Get();
28606 result
= (wxStandardPaths
*) &_result_ref
;
28609 wxPyEndAllowThreads(__tstate
);
28610 if (PyErr_Occurred()) SWIG_fail
;
28612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStandardPaths
, 0);
28619 static PyObject
*_wrap_StandardPaths_GetConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28620 PyObject
*resultobj
;
28621 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28623 PyObject
* obj0
= 0 ;
28624 char *kwnames
[] = {
28625 (char *) "self", NULL
28628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetConfigDir",kwnames
,&obj0
)) goto fail
;
28629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28633 result
= ((wxStandardPaths
const *)arg1
)->GetConfigDir();
28635 wxPyEndAllowThreads(__tstate
);
28636 if (PyErr_Occurred()) SWIG_fail
;
28640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28651 static PyObject
*_wrap_StandardPaths_GetUserConfigDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28652 PyObject
*resultobj
;
28653 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28655 PyObject
* obj0
= 0 ;
28656 char *kwnames
[] = {
28657 (char *) "self", NULL
28660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserConfigDir",kwnames
,&obj0
)) goto fail
;
28661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28665 result
= ((wxStandardPaths
const *)arg1
)->GetUserConfigDir();
28667 wxPyEndAllowThreads(__tstate
);
28668 if (PyErr_Occurred()) SWIG_fail
;
28672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28683 static PyObject
*_wrap_StandardPaths_GetDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28684 PyObject
*resultobj
;
28685 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28687 PyObject
* obj0
= 0 ;
28688 char *kwnames
[] = {
28689 (char *) "self", NULL
28692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetDataDir",kwnames
,&obj0
)) goto fail
;
28693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28697 result
= ((wxStandardPaths
const *)arg1
)->GetDataDir();
28699 wxPyEndAllowThreads(__tstate
);
28700 if (PyErr_Occurred()) SWIG_fail
;
28704 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28706 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28715 static PyObject
*_wrap_StandardPaths_GetLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28716 PyObject
*resultobj
;
28717 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28719 PyObject
* obj0
= 0 ;
28720 char *kwnames
[] = {
28721 (char *) "self", NULL
28724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetLocalDataDir",kwnames
,&obj0
)) goto fail
;
28725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28729 result
= ((wxStandardPaths
const *)arg1
)->GetLocalDataDir();
28731 wxPyEndAllowThreads(__tstate
);
28732 if (PyErr_Occurred()) SWIG_fail
;
28736 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28738 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28747 static PyObject
*_wrap_StandardPaths_GetUserDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28748 PyObject
*resultobj
;
28749 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28751 PyObject
* obj0
= 0 ;
28752 char *kwnames
[] = {
28753 (char *) "self", NULL
28756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserDataDir",kwnames
,&obj0
)) goto fail
;
28757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28761 result
= ((wxStandardPaths
const *)arg1
)->GetUserDataDir();
28763 wxPyEndAllowThreads(__tstate
);
28764 if (PyErr_Occurred()) SWIG_fail
;
28768 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28770 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28779 static PyObject
*_wrap_StandardPaths_GetUserLocalDataDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28780 PyObject
*resultobj
;
28781 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28783 PyObject
* obj0
= 0 ;
28784 char *kwnames
[] = {
28785 (char *) "self", NULL
28788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetUserLocalDataDir",kwnames
,&obj0
)) goto fail
;
28789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28793 result
= ((wxStandardPaths
const *)arg1
)->GetUserLocalDataDir();
28795 wxPyEndAllowThreads(__tstate
);
28796 if (PyErr_Occurred()) SWIG_fail
;
28800 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28802 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28811 static PyObject
*_wrap_StandardPaths_GetPluginsDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28812 PyObject
*resultobj
;
28813 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28815 PyObject
* obj0
= 0 ;
28816 char *kwnames
[] = {
28817 (char *) "self", NULL
28820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetPluginsDir",kwnames
,&obj0
)) goto fail
;
28821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28825 result
= ((wxStandardPaths
const *)arg1
)->GetPluginsDir();
28827 wxPyEndAllowThreads(__tstate
);
28828 if (PyErr_Occurred()) SWIG_fail
;
28832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28843 static PyObject
*_wrap_StandardPaths_SetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28844 PyObject
*resultobj
;
28845 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28846 wxString
*arg2
= 0 ;
28847 bool temp2
= false ;
28848 PyObject
* obj0
= 0 ;
28849 PyObject
* obj1
= 0 ;
28850 char *kwnames
[] = {
28851 (char *) "self",(char *) "prefix", NULL
28854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StandardPaths_SetInstallPrefix",kwnames
,&obj0
,&obj1
)) goto fail
;
28855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28858 arg2
= wxString_in_helper(obj1
);
28859 if (arg2
== NULL
) SWIG_fail
;
28863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28864 wxStandardPaths_SetInstallPrefix(arg1
,(wxString
const &)*arg2
);
28866 wxPyEndAllowThreads(__tstate
);
28867 if (PyErr_Occurred()) SWIG_fail
;
28869 Py_INCREF(Py_None
); resultobj
= Py_None
;
28884 static PyObject
*_wrap_StandardPaths_GetInstallPrefix(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28885 PyObject
*resultobj
;
28886 wxStandardPaths
*arg1
= (wxStandardPaths
*) 0 ;
28888 PyObject
* obj0
= 0 ;
28889 char *kwnames
[] = {
28890 (char *) "self", NULL
28893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StandardPaths_GetInstallPrefix",kwnames
,&obj0
)) goto fail
;
28894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStandardPaths
,
28895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28898 result
= wxStandardPaths_GetInstallPrefix(arg1
);
28900 wxPyEndAllowThreads(__tstate
);
28901 if (PyErr_Occurred()) SWIG_fail
;
28905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28916 static PyObject
* StandardPaths_swigregister(PyObject
*, PyObject
*args
) {
28918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28919 SWIG_TypeClientData(SWIGTYPE_p_wxStandardPaths
, obj
);
28921 return Py_BuildValue((char *)"");
28923 static PyMethodDef SwigMethods
[] = {
28924 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28925 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28926 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28927 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28928 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28929 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28930 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
28931 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28932 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28933 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28934 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28935 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28936 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28937 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
28938 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28939 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28940 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28941 { (char *)"IsStockID", (PyCFunction
) _wrap_IsStockID
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28942 { (char *)"IsStockLabel", (PyCFunction
) _wrap_IsStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28943 { (char *)"GetStockLabel", (PyCFunction
) _wrap_GetStockLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28944 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28945 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28946 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28947 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28948 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28949 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28950 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28951 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28952 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28953 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28954 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28955 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28956 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28957 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28958 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28959 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28960 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28961 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28962 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28963 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28964 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28965 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28966 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28967 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28968 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28969 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28970 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28971 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28972 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28973 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28974 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28975 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28976 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28977 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28978 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28979 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28980 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28981 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28982 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28983 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28984 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28985 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28986 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28987 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28988 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28989 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28990 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28991 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28992 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28993 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28994 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28995 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28996 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28997 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28998 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28999 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29000 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29001 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
29002 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29003 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29004 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29005 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29006 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29007 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29008 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29009 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
29010 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29011 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29012 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29013 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29014 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29015 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29016 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29017 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29018 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29019 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29020 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29021 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29022 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29023 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29024 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29025 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
29026 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29027 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29028 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29029 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29030 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
29031 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29032 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29033 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
29034 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29035 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29036 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
29037 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29038 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29039 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29040 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29041 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29042 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
29043 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29044 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29045 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29046 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29047 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29048 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29049 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29050 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29051 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29052 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29053 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29054 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29055 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29056 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
29057 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29058 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29059 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29060 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29061 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29062 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
29063 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29064 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29065 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29066 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29067 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29068 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
29069 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29070 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29071 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
29072 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29073 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29074 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29075 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29076 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29077 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29078 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29079 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29080 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29081 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29082 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29083 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29084 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29085 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
29086 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29087 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29088 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
29089 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
29090 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29091 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29092 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
29093 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29094 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29095 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29096 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29097 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29098 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29099 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29100 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29101 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29102 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29103 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29104 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29105 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29106 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29107 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29108 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29109 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29110 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29111 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29112 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29113 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29114 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29115 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29116 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29117 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29118 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29119 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
29120 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29121 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
29122 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29123 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
29124 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29125 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
29126 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29127 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29128 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29129 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29130 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29131 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29132 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
29133 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29134 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29135 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29136 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29137 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29138 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
29139 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29140 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29141 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29142 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29143 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29144 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29145 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29146 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29147 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29148 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29149 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29150 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29151 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
29152 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29153 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29154 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29155 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29156 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
29157 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29158 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29159 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
29160 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29161 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29162 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29163 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29164 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29165 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29166 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29167 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29168 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29169 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29170 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29171 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29172 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29173 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29174 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29175 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29176 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
29177 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29178 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29179 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29180 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29181 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29182 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29183 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29184 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
29185 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29186 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29187 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29188 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29189 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29190 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29191 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29192 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29193 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29194 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29195 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29196 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29197 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29198 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29199 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29200 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29201 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29202 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29203 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29204 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29205 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29206 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29207 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29208 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29209 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29210 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29211 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29212 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29213 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29214 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29215 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29216 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29217 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29218 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29219 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29220 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29221 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29222 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29223 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29224 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29225 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29226 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29227 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29228 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29229 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29230 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
29231 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29232 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29233 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29234 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29235 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29236 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29237 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29238 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29239 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29240 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29241 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29242 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29243 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29244 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29245 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29246 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29247 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29248 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29249 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29250 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29251 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29252 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29253 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29254 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29255 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29256 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29257 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29258 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
29259 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29260 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29261 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29262 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29263 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29264 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29265 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29266 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29267 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29268 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
29269 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29270 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29271 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29272 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29273 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29274 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29275 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29276 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29277 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29278 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29279 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29280 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29281 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29282 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29283 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29284 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
29285 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29286 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29287 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29288 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29289 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29290 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29291 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29292 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29293 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29294 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29295 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29296 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29297 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29298 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29299 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29300 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
29301 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29302 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29303 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29304 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29305 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29306 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29307 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29308 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29309 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29310 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29311 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29312 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29313 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29314 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
29315 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29316 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29317 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29318 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29319 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29320 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29321 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29322 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29323 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
29324 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29325 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29326 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29327 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29328 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29329 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29330 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29331 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29332 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29333 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29334 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29335 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29336 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29337 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29338 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29339 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29340 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29341 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29342 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29343 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29344 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29345 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29346 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29347 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29348 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29349 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29350 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29351 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29352 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29353 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29354 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29355 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29356 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29357 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29358 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29359 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29360 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29361 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29362 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29363 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29364 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29365 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29366 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
29367 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29368 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29369 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
29370 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29371 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29372 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
29373 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29374 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29375 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29376 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
29377 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29378 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29379 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29380 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29381 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29382 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29383 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29384 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29385 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29386 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29387 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29388 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29389 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29390 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29391 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29392 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29393 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29394 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29395 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29396 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29397 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29398 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29399 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29400 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29401 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29402 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29403 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29404 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29405 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29406 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29407 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29408 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29409 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29410 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29411 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29412 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29413 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29414 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29415 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29416 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29417 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29418 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29419 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29420 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29421 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29422 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29423 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29424 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29425 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29426 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29427 { (char *)"DateTime_SetToWeekOfYear", (PyCFunction
) _wrap_DateTime_SetToWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29428 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29429 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29430 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29431 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29432 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29433 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29434 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29435 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29436 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29437 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29438 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29439 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29440 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29441 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29442 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29443 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29444 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29445 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29446 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29447 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29448 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29449 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29450 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29451 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29452 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29453 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29454 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29455 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29456 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29457 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29458 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29459 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29460 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29461 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29462 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29463 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29464 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29465 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29466 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29467 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29468 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29469 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
29470 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
29471 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
29472 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
29473 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
, NULL
},
29474 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
, NULL
},
29475 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
, NULL
},
29476 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
, NULL
},
29477 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
, NULL
},
29478 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
, NULL
},
29479 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29480 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29481 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29482 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29483 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29484 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29485 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29486 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29487 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29488 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29489 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
29490 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29491 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29492 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29493 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29494 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29495 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29496 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29497 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29498 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29499 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29500 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29501 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29502 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29503 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29504 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29505 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29506 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29507 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29508 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29509 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29510 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29511 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29512 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29513 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29514 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29515 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29516 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29517 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29518 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29519 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29520 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29521 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29522 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29523 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29524 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29525 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29526 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29527 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29528 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29529 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29530 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29531 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29532 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29533 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29534 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
29535 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29536 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29537 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29538 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29539 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29540 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29541 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29542 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29543 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29544 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29545 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29546 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29547 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29548 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29549 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29550 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29551 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29552 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29553 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29554 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29555 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29556 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29557 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29558 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29559 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29560 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29561 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29562 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29563 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29564 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29565 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29566 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29567 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29568 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
29569 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29570 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29571 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29572 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29573 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29574 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29575 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29576 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
29577 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
29578 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29579 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29580 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29581 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29582 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
29583 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29584 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29585 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29586 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29587 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29588 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29589 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29590 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29591 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
29592 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29593 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29594 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29595 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29596 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29597 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29598 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
29599 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29600 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29601 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
29602 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29603 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29604 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
29605 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29606 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29607 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29608 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29609 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
29610 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29611 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29612 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
29613 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29614 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29615 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29616 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
29617 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29618 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29619 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
29620 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29621 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29622 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29623 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
29624 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29625 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29626 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29627 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29628 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
29629 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29630 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29631 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29632 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
29633 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29634 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29635 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29636 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
29637 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29638 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29639 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29640 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29641 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29642 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29643 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29644 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29645 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29646 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
29647 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29648 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29649 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29650 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29651 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29652 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29653 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29654 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29655 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29656 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29657 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
29658 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29659 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29660 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29661 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29662 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29663 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29664 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29665 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
29666 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29667 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29668 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29669 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29670 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29671 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29672 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29673 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
29674 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29675 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29676 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29677 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29678 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29679 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29680 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29681 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29682 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29683 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29684 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29685 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29686 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29687 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
29688 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29689 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29690 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29691 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
29692 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29693 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29694 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29695 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29696 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29697 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29698 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29699 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29700 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29701 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29702 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29703 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29704 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29705 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29706 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29707 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29708 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29709 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
29710 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29711 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29712 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29713 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29714 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29715 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29716 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29717 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29718 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29719 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29720 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29721 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29722 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29723 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
29724 { (char *)"StandardPaths_Get", (PyCFunction
) _wrap_StandardPaths_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29725 { (char *)"StandardPaths_GetConfigDir", (PyCFunction
) _wrap_StandardPaths_GetConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29726 { (char *)"StandardPaths_GetUserConfigDir", (PyCFunction
) _wrap_StandardPaths_GetUserConfigDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29727 { (char *)"StandardPaths_GetDataDir", (PyCFunction
) _wrap_StandardPaths_GetDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29728 { (char *)"StandardPaths_GetLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29729 { (char *)"StandardPaths_GetUserDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29730 { (char *)"StandardPaths_GetUserLocalDataDir", (PyCFunction
) _wrap_StandardPaths_GetUserLocalDataDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29731 { (char *)"StandardPaths_GetPluginsDir", (PyCFunction
) _wrap_StandardPaths_GetPluginsDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29732 { (char *)"StandardPaths_SetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_SetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29733 { (char *)"StandardPaths_GetInstallPrefix", (PyCFunction
) _wrap_StandardPaths_GetInstallPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
29734 { (char *)"StandardPaths_swigregister", StandardPaths_swigregister
, METH_VARARGS
, NULL
},
29735 { NULL
, NULL
, 0, NULL
}
29739 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29741 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29742 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29744 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
29745 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
29747 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29748 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
29750 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29751 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29753 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29754 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29756 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29757 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29759 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
29760 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
29762 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29763 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29765 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29766 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29768 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29769 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29771 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29772 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29774 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
29775 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
29777 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29778 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29780 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29781 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29783 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29784 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29786 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29787 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29789 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29790 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29792 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29793 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
29795 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
29796 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
29798 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
29799 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
29801 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
29802 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
29804 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
29805 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
29807 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
29808 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29810 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
29811 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29813 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
29814 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29816 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
29817 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29819 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
29820 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29822 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
29823 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
29825 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
29826 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
29828 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
29829 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29831 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
29832 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
29834 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
29835 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
29837 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
29838 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
29840 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
29841 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29843 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
29844 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29846 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
29847 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29849 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
29850 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
29852 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
29853 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
29855 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
29856 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
29858 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
29859 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
29861 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
29862 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29864 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
29865 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29867 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
29868 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
29870 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
29871 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29873 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
29874 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
29876 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
29877 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29879 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29880 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29882 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29883 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29885 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29886 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29888 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29889 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29891 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29892 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29894 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29895 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29897 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29898 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29900 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29901 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29903 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29904 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29906 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29907 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29909 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29910 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29912 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29913 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29915 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29916 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29918 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29919 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29921 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29922 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29924 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29925 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29927 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29928 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29930 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29931 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29933 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29934 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29936 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29937 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29939 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29940 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29942 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29943 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29945 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29946 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29948 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29949 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29951 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29952 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29954 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29955 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29957 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29958 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29960 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29961 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29963 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29964 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29966 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29967 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29969 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29970 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29972 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29973 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29975 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29976 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29978 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29979 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29981 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29982 return (void *)((wxObject
*) ((wxSizer
*) x
));
29984 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29985 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29987 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29988 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29990 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29991 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29993 static void *_p_wxEventTo_p_wxObject(void *x
) {
29994 return (void *)((wxObject
*) ((wxEvent
*) x
));
29996 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29997 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29999 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
30000 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
30002 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
30003 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
30005 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
30006 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
30008 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
30009 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
30011 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
30012 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30014 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
30015 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30017 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
30018 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30020 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
30021 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30023 static void *_p_wxControlTo_p_wxObject(void *x
) {
30024 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
30026 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
30027 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
30029 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
30030 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
30032 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
30033 return (void *)((wxObject
*) ((wxFSFile
*) x
));
30035 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
30036 return (void *)((wxObject
*) ((wxClipboard
*) x
));
30038 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
30039 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
30041 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
30042 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
30044 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
30045 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30047 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
30048 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
30050 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
30051 return (void *)((wxObject
*) ((wxToolTip
*) x
));
30053 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
30054 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
30056 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
30057 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
30059 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
30060 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30062 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
30063 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30065 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
30066 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
30068 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
30069 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
30071 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
30072 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
30074 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
30075 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
30077 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
30078 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
30080 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
30081 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
30083 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
30084 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
30086 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
30087 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
30089 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
30090 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
30092 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
30093 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
30095 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
30096 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
30098 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
30099 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
30101 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
30102 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
30104 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
30105 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
30107 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
30108 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
30110 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
30111 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
30113 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
30114 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
30116 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
30117 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
30119 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
30120 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
30122 static void *_p_wxImageTo_p_wxObject(void *x
) {
30123 return (void *)((wxObject
*) ((wxImage
*) x
));
30125 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
30126 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
30128 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
30129 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
30131 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
30132 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
30134 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
30135 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30137 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
30138 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30140 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
30141 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
30143 static void *_p_wxWindowTo_p_wxObject(void *x
) {
30144 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
30146 static void *_p_wxMenuTo_p_wxObject(void *x
) {
30147 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
30149 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
30150 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
30152 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
30153 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
30155 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
30156 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
30158 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
30159 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30161 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
30162 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
30164 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
30165 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
30167 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
30168 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
30170 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
30171 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
30173 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
30174 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
30176 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
30177 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
30179 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
30180 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30182 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
30183 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
30185 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
30186 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
30188 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
30189 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
30191 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
30192 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30194 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
30195 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
30197 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
30198 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30200 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
30201 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
30203 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
30204 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
30206 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
30207 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
30209 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
30210 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
30212 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
30213 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
30215 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
30216 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
30218 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
30219 return (void *)((wxLog
*) ((wxLogChain
*) x
));
30221 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
30222 return (void *)((wxLog
*) ((wxLogGui
*) x
));
30224 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
30225 return (void *)((wxLog
*) ((wxPyLog
*) x
));
30227 static void *_p_wxControlTo_p_wxWindow(void *x
) {
30228 return (void *)((wxWindow
*) ((wxControl
*) x
));
30230 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
30231 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
30233 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
30234 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
30236 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
30237 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
30239 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
30240 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
30242 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}};
30243 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}};
30244 static swig_type_info _swigt__p_wxMetafile
[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0, 0, 0, 0},{"_p_wxMetafile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30245 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}};
30246 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}};
30247 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}};
30248 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}};
30249 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}};
30250 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}};
30251 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}};
30252 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}};
30253 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}};
30254 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}};
30255 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}};
30256 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}};
30257 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}};
30258 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}};
30259 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}};
30260 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}};
30261 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}};
30262 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}};
30263 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}};
30264 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}};
30265 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}};
30266 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}};
30267 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}};
30268 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}};
30269 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}};
30270 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}};
30271 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}};
30272 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}};
30273 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}};
30274 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}};
30275 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}};
30276 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}};
30277 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}};
30278 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}};
30279 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}};
30280 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}};
30281 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}};
30282 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}};
30283 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}};
30284 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}};
30285 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}};
30286 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}};
30287 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}};
30288 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}};
30289 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}};
30290 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}};
30291 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}};
30292 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}};
30293 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}};
30294 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}};
30295 static swig_type_info _swigt__p_wxStandardPaths
[] = {{"_p_wxStandardPaths", 0, "wxStandardPaths *", 0, 0, 0, 0},{"_p_wxStandardPaths", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
30296 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}};
30297 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}};
30298 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}};
30299 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}};
30300 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}};
30301 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}};
30302 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}};
30303 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}};
30304 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}};
30305 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}};
30306 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}};
30307 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}};
30308 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}};
30309 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}};
30310 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}};
30311 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}};
30312 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}};
30313 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}};
30314 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}};
30315 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}};
30316 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}};
30317 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}};
30318 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}};
30319 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}};
30320 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}};
30321 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}};
30322 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}};
30323 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}};
30324 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}};
30325 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}};
30326 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}};
30327 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}};
30328 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}};
30330 static swig_type_info
*swig_types_initial
[] = {
30331 _swigt__p_wxLogChain
,
30332 _swigt__p_wxMutexGuiLocker
,
30333 _swigt__p_wxMetafile
,
30334 _swigt__p_wxFileHistory
,
30336 _swigt__p_wxDateTime__TimeZone
,
30339 _swigt__p_wxConfigBase
,
30340 _swigt__p_wxDisplay
,
30341 _swigt__p_wxFileType
,
30342 _swigt__p_wxLogGui
,
30344 _swigt__p_wxDataFormat
,
30345 _swigt__p_wxTimerEvent
,
30349 _swigt__p_wxClipboard
,
30350 _swigt__p_wxStopWatch
,
30352 _swigt__p_wxClipboardLocker
,
30354 _swigt__p_wxLogStderr
,
30355 _swigt__p_wxLogTextCtrl
,
30356 _swigt__p_wxTextCtrl
,
30357 _swigt__p_wxBusyCursor
,
30358 _swigt__p_wxPyBitmapDataObject
,
30359 _swigt__p_wxPyTextDataObject
,
30360 _swigt__p_wxBitmapDataObject
,
30361 _swigt__p_wxTextDataObject
,
30362 _swigt__p_wxDataObject
,
30363 _swigt__p_wxFileDataObject
,
30364 _swigt__p_wxCustomDataObject
,
30365 _swigt__p_wxURLDataObject
,
30366 _swigt__p_wxMetafileDataObject
,
30368 _swigt__p_wxTimerRunner
,
30369 _swigt__p_wxLogWindow
,
30370 _swigt__p_wxTimeSpan
,
30371 _swigt__p_wxArrayString
,
30372 _swigt__p_wxWindowDisabler
,
30373 _swigt__p_wxToolTip
,
30374 _swigt__p_wxDataObjectComposite
,
30375 _swigt__p_wxFileConfig
,
30376 _swigt__p_wxSystemSettings
,
30377 _swigt__p_wxVideoMode
,
30378 _swigt__p_wxPyDataObjectSimple
,
30379 _swigt__p_wxDataObjectSimple
,
30380 _swigt__p_wxEvtHandler
,
30383 _swigt__p_wxSingleInstanceChecker
,
30384 _swigt__p_wxStandardPaths
,
30385 _swigt__p_wxFileTypeInfo
,
30388 _swigt__p_wxMimeTypesManager
,
30389 _swigt__p_wxPyArtProvider
,
30390 _swigt__p_wxPyTipProvider
,
30391 _swigt__p_wxTipProvider
,
30392 _swigt__p_wxJoystick
,
30393 _swigt__p_wxSystemOptions
,
30395 _swigt__p_wxJoystickEvent
,
30396 _swigt__p_wxCursor
,
30397 _swigt__p_wxObject
,
30398 _swigt__p_wxOutputStream
,
30399 _swigt__p_wxDateTime
,
30400 _swigt__p_wxPyDropSource
,
30401 _swigt__p_wxWindow
,
30402 _swigt__p_wxString
,
30403 _swigt__p_wxPyProcess
,
30404 _swigt__p_wxBitmap
,
30405 _swigt__p_wxConfig
,
30407 _swigt__p_wxBusyInfo
,
30408 _swigt__p_wxPyDropTarget
,
30409 _swigt__p_wxPyTextDropTarget
,
30410 _swigt__p_wxPyFileDropTarget
,
30411 _swigt__p_wxProcessEvent
,
30413 _swigt__p_wxLogNull
,
30414 _swigt__p_wxColour
,
30415 _swigt__p_wxConfigPathChanger
,
30416 _swigt__p_wxPyTimer
,
30417 _swigt__p_wxDateSpan
,
30422 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30424 static swig_const_info swig_const_table
[] = {
30425 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
30426 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
30427 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
30428 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
30429 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
30430 {0, 0, 0, 0.0, 0, 0}};
30439 SWIGEXPORT(void) SWIG_init(void) {
30440 static PyObject
*SWIG_globals
= 0;
30441 static int typeinit
= 0;
30444 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
30445 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
30446 d
= PyModule_GetDict(m
);
30449 for (i
= 0; swig_types_initial
[i
]; i
++) {
30450 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
30454 SWIG_InstallConstants(d
,swig_const_table
);
30456 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_From_int((int)wxSYS_OEM_FIXED_FONT
));
30457 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_From_int((int)wxSYS_ANSI_FIXED_FONT
));
30458 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_From_int((int)wxSYS_ANSI_VAR_FONT
));
30459 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FONT
));
30460 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_From_int((int)wxSYS_DEVICE_DEFAULT_FONT
));
30461 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_From_int((int)wxSYS_DEFAULT_PALETTE
));
30462 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_From_int((int)wxSYS_SYSTEM_FIXED_FONT
));
30463 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_From_int((int)wxSYS_DEFAULT_GUI_FONT
));
30464 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_From_int((int)wxSYS_ICONTITLE_FONT
));
30465 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_From_int((int)wxSYS_COLOUR_SCROLLBAR
));
30466 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_From_int((int)wxSYS_COLOUR_BACKGROUND
));
30467 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_From_int((int)wxSYS_COLOUR_DESKTOP
));
30468 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_ACTIVECAPTION
));
30469 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTION
));
30470 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_From_int((int)wxSYS_COLOUR_MENU
));
30471 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_From_int((int)wxSYS_COLOUR_WINDOW
));
30472 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_From_int((int)wxSYS_COLOUR_WINDOWFRAME
));
30473 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_From_int((int)wxSYS_COLOUR_MENUTEXT
));
30474 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_From_int((int)wxSYS_COLOUR_WINDOWTEXT
));
30475 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_CAPTIONTEXT
));
30476 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_ACTIVEBORDER
));
30477 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_From_int((int)wxSYS_COLOUR_INACTIVEBORDER
));
30478 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_From_int((int)wxSYS_COLOUR_APPWORKSPACE
));
30479 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHT
));
30480 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_From_int((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
30481 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_From_int((int)wxSYS_COLOUR_BTNFACE
));
30482 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_From_int((int)wxSYS_COLOUR_3DFACE
));
30483 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_From_int((int)wxSYS_COLOUR_BTNSHADOW
));
30484 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DSHADOW
));
30485 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_From_int((int)wxSYS_COLOUR_GRAYTEXT
));
30486 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_From_int((int)wxSYS_COLOUR_BTNTEXT
));
30487 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_From_int((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
30488 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
30489 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_BTNHILIGHT
));
30490 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHIGHLIGHT
));
30491 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DHILIGHT
));
30492 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_From_int((int)wxSYS_COLOUR_3DDKSHADOW
));
30493 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_From_int((int)wxSYS_COLOUR_3DLIGHT
));
30494 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_From_int((int)wxSYS_COLOUR_INFOTEXT
));
30495 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_From_int((int)wxSYS_COLOUR_INFOBK
));
30496 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_From_int((int)wxSYS_COLOUR_LISTBOX
));
30497 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_From_int((int)wxSYS_COLOUR_HOTLIGHT
));
30498 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
30499 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_From_int((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
30500 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_From_int((int)wxSYS_COLOUR_MENUHILIGHT
));
30501 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_From_int((int)wxSYS_COLOUR_MENUBAR
));
30502 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_From_int((int)wxSYS_COLOUR_MAX
));
30503 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_From_int((int)wxSYS_MOUSE_BUTTONS
));
30504 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_From_int((int)wxSYS_BORDER_X
));
30505 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_From_int((int)wxSYS_BORDER_Y
));
30506 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_From_int((int)wxSYS_CURSOR_X
));
30507 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_From_int((int)wxSYS_CURSOR_Y
));
30508 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_From_int((int)wxSYS_DCLICK_X
));
30509 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_From_int((int)wxSYS_DCLICK_Y
));
30510 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_From_int((int)wxSYS_DRAG_X
));
30511 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_From_int((int)wxSYS_DRAG_Y
));
30512 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_From_int((int)wxSYS_EDGE_X
));
30513 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_From_int((int)wxSYS_EDGE_Y
));
30514 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_X
));
30515 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_HSCROLL_ARROW_Y
));
30516 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_From_int((int)wxSYS_HTHUMB_X
));
30517 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_From_int((int)wxSYS_ICON_X
));
30518 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_From_int((int)wxSYS_ICON_Y
));
30519 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_From_int((int)wxSYS_ICONSPACING_X
));
30520 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_From_int((int)wxSYS_ICONSPACING_Y
));
30521 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_From_int((int)wxSYS_WINDOWMIN_X
));
30522 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_From_int((int)wxSYS_WINDOWMIN_Y
));
30523 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_From_int((int)wxSYS_SCREEN_X
));
30524 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_From_int((int)wxSYS_SCREEN_Y
));
30525 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_From_int((int)wxSYS_FRAMESIZE_X
));
30526 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_From_int((int)wxSYS_FRAMESIZE_Y
));
30527 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_From_int((int)wxSYS_SMALLICON_X
));
30528 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_From_int((int)wxSYS_SMALLICON_Y
));
30529 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_From_int((int)wxSYS_HSCROLL_Y
));
30530 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_From_int((int)wxSYS_VSCROLL_X
));
30531 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_X
));
30532 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_From_int((int)wxSYS_VSCROLL_ARROW_Y
));
30533 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_From_int((int)wxSYS_VTHUMB_Y
));
30534 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_From_int((int)wxSYS_CAPTION_Y
));
30535 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_From_int((int)wxSYS_MENU_Y
));
30536 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_From_int((int)wxSYS_NETWORK_PRESENT
));
30537 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_From_int((int)wxSYS_PENWINDOWS_PRESENT
));
30538 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_From_int((int)wxSYS_SHOW_SOUNDS
));
30539 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_From_int((int)wxSYS_SWAP_BUTTONS
));
30540 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_From_int((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
30541 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_From_int((int)wxSYS_CAN_ICONIZE_FRAME
));
30542 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_From_int((int)wxSYS_SCREEN_NONE
));
30543 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_From_int((int)wxSYS_SCREEN_TINY
));
30544 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_From_int((int)wxSYS_SCREEN_PDA
));
30545 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_From_int((int)wxSYS_SCREEN_SMALL
));
30546 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_From_int((int)wxSYS_SCREEN_DESKTOP
));
30547 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
30548 SWIG_addvarlink(SWIG_globals
,(char*)"WINDOW_DEFAULT_VARIANT",_wrap_WINDOW_DEFAULT_VARIANT_get
, _wrap_WINDOW_DEFAULT_VARIANT_set
);
30549 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30550 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30551 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30552 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_From_int((int)wxSHUTDOWN_POWEROFF
));
30553 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_From_int((int)wxSHUTDOWN_REBOOT
));
30554 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_From_int((int)wxTIMER_CONTINUOUS
));
30555 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_From_int((int)wxTIMER_ONE_SHOT
));
30556 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
30558 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
30560 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_From_int((int)wxLOG_FatalError
));
30561 PyDict_SetItemString(d
,"LOG_Error", SWIG_From_int((int)wxLOG_Error
));
30562 PyDict_SetItemString(d
,"LOG_Warning", SWIG_From_int((int)wxLOG_Warning
));
30563 PyDict_SetItemString(d
,"LOG_Message", SWIG_From_int((int)wxLOG_Message
));
30564 PyDict_SetItemString(d
,"LOG_Status", SWIG_From_int((int)wxLOG_Status
));
30565 PyDict_SetItemString(d
,"LOG_Info", SWIG_From_int((int)wxLOG_Info
));
30566 PyDict_SetItemString(d
,"LOG_Debug", SWIG_From_int((int)wxLOG_Debug
));
30567 PyDict_SetItemString(d
,"LOG_Trace", SWIG_From_int((int)wxLOG_Trace
));
30568 PyDict_SetItemString(d
,"LOG_Progress", SWIG_From_int((int)wxLOG_Progress
));
30569 PyDict_SetItemString(d
,"LOG_User", SWIG_From_int((int)wxLOG_User
));
30570 PyDict_SetItemString(d
,"LOG_Max", SWIG_From_int((int)wxLOG_Max
));
30571 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
30572 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
30573 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
30574 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
30575 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
30576 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_From_int((int)0x0001));
30577 PyDict_SetItemString(d
,"TraceMessages", SWIG_From_int((int)0x0002));
30578 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_From_int((int)0x0004));
30579 PyDict_SetItemString(d
,"TraceRefCount", SWIG_From_int((int)0x0008));
30580 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_From_int((int)0x0100));
30581 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_From_int((int)wxPROCESS_DEFAULT
));
30582 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_From_int((int)wxPROCESS_REDIRECT
));
30583 PyDict_SetItemString(d
,"KILL_OK", SWIG_From_int((int)wxKILL_OK
));
30584 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_From_int((int)wxKILL_BAD_SIGNAL
));
30585 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_From_int((int)wxKILL_ACCESS_DENIED
));
30586 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_From_int((int)wxKILL_NO_PROCESS
));
30587 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_From_int((int)wxKILL_ERROR
));
30588 PyDict_SetItemString(d
,"SIGNONE", SWIG_From_int((int)wxSIGNONE
));
30589 PyDict_SetItemString(d
,"SIGHUP", SWIG_From_int((int)wxSIGHUP
));
30590 PyDict_SetItemString(d
,"SIGINT", SWIG_From_int((int)wxSIGINT
));
30591 PyDict_SetItemString(d
,"SIGQUIT", SWIG_From_int((int)wxSIGQUIT
));
30592 PyDict_SetItemString(d
,"SIGILL", SWIG_From_int((int)wxSIGILL
));
30593 PyDict_SetItemString(d
,"SIGTRAP", SWIG_From_int((int)wxSIGTRAP
));
30594 PyDict_SetItemString(d
,"SIGABRT", SWIG_From_int((int)wxSIGABRT
));
30595 PyDict_SetItemString(d
,"SIGIOT", SWIG_From_int((int)wxSIGIOT
));
30596 PyDict_SetItemString(d
,"SIGEMT", SWIG_From_int((int)wxSIGEMT
));
30597 PyDict_SetItemString(d
,"SIGFPE", SWIG_From_int((int)wxSIGFPE
));
30598 PyDict_SetItemString(d
,"SIGKILL", SWIG_From_int((int)wxSIGKILL
));
30599 PyDict_SetItemString(d
,"SIGBUS", SWIG_From_int((int)wxSIGBUS
));
30600 PyDict_SetItemString(d
,"SIGSEGV", SWIG_From_int((int)wxSIGSEGV
));
30601 PyDict_SetItemString(d
,"SIGSYS", SWIG_From_int((int)wxSIGSYS
));
30602 PyDict_SetItemString(d
,"SIGPIPE", SWIG_From_int((int)wxSIGPIPE
));
30603 PyDict_SetItemString(d
,"SIGALRM", SWIG_From_int((int)wxSIGALRM
));
30604 PyDict_SetItemString(d
,"SIGTERM", SWIG_From_int((int)wxSIGTERM
));
30605 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
30606 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_From_int((int)wxEXEC_ASYNC
));
30607 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_From_int((int)wxEXEC_SYNC
));
30608 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_From_int((int)wxEXEC_NOHIDE
));
30609 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_From_int((int)wxEXEC_MAKE_GROUP_LEADER
));
30611 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
30613 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_From_int((int)wxJOYSTICK1
));
30614 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_From_int((int)wxJOYSTICK2
));
30615 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_From_int((int)wxJOY_BUTTON_ANY
));
30616 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_From_int((int)wxJOY_BUTTON1
));
30617 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_From_int((int)wxJOY_BUTTON2
));
30618 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_From_int((int)wxJOY_BUTTON3
));
30619 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_From_int((int)wxJOY_BUTTON4
));
30620 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
30621 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
30622 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
30623 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
30624 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_From_int((int)wxSOUND_SYNC
));
30625 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_From_int((int)wxSOUND_ASYNC
));
30626 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_From_int((int)wxSOUND_LOOP
));
30627 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_From_int((int)wxMAILCAP_STANDARD
));
30628 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_From_int((int)wxMAILCAP_NETSCAPE
));
30629 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_From_int((int)wxMAILCAP_KDE
));
30630 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_From_int((int)wxMAILCAP_GNOME
));
30631 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_From_int((int)wxMAILCAP_ALL
));
30632 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
30633 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
30634 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
30635 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
30636 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
30637 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
30638 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
30639 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
30640 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
30641 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
30642 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
30643 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
30644 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
30645 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
30646 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
30647 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
30648 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
30649 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
30650 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
30651 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
30652 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
30653 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
30654 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
30655 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
30656 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
30657 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
30658 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
30659 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
30660 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
30661 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
30662 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
30663 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
30664 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
30665 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
30666 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
30667 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
30668 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
30669 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
30670 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
30671 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
30673 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
30675 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_From_int((int)wxCONFIG_USE_LOCAL_FILE
));
30676 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_From_int((int)wxCONFIG_USE_GLOBAL_FILE
));
30677 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_From_int((int)wxCONFIG_USE_RELATIVE_PATH
));
30678 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_From_int((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
30679 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_From_int((int)wxConfigBase::Type_Unknown
));
30680 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_From_int((int)wxConfigBase::Type_String
));
30681 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_From_int((int)wxConfigBase::Type_Boolean
));
30682 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_From_int((int)wxConfigBase::Type_Integer
));
30683 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_From_int((int)wxConfigBase::Type_Float
));
30684 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
30685 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
30686 PyDict_SetItemString(d
,"DateTime_Local", SWIG_From_int((int)wxDateTime::Local
));
30687 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_From_int((int)wxDateTime::GMT_12
));
30688 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_From_int((int)wxDateTime::GMT_11
));
30689 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_From_int((int)wxDateTime::GMT_10
));
30690 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_From_int((int)wxDateTime::GMT_9
));
30691 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_From_int((int)wxDateTime::GMT_8
));
30692 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_From_int((int)wxDateTime::GMT_7
));
30693 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_From_int((int)wxDateTime::GMT_6
));
30694 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_From_int((int)wxDateTime::GMT_5
));
30695 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_From_int((int)wxDateTime::GMT_4
));
30696 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_From_int((int)wxDateTime::GMT_3
));
30697 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_From_int((int)wxDateTime::GMT_2
));
30698 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_From_int((int)wxDateTime::GMT_1
));
30699 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_From_int((int)wxDateTime::GMT0
));
30700 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_From_int((int)wxDateTime::GMT1
));
30701 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_From_int((int)wxDateTime::GMT2
));
30702 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_From_int((int)wxDateTime::GMT3
));
30703 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_From_int((int)wxDateTime::GMT4
));
30704 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_From_int((int)wxDateTime::GMT5
));
30705 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_From_int((int)wxDateTime::GMT6
));
30706 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_From_int((int)wxDateTime::GMT7
));
30707 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_From_int((int)wxDateTime::GMT8
));
30708 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_From_int((int)wxDateTime::GMT9
));
30709 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_From_int((int)wxDateTime::GMT10
));
30710 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_From_int((int)wxDateTime::GMT11
));
30711 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_From_int((int)wxDateTime::GMT12
));
30712 PyDict_SetItemString(d
,"DateTime_WET", SWIG_From_int((int)wxDateTime::WET
));
30713 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_From_int((int)wxDateTime::WEST
));
30714 PyDict_SetItemString(d
,"DateTime_CET", SWIG_From_int((int)wxDateTime::CET
));
30715 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_From_int((int)wxDateTime::CEST
));
30716 PyDict_SetItemString(d
,"DateTime_EET", SWIG_From_int((int)wxDateTime::EET
));
30717 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_From_int((int)wxDateTime::EEST
));
30718 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_From_int((int)wxDateTime::MSK
));
30719 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_From_int((int)wxDateTime::MSD
));
30720 PyDict_SetItemString(d
,"DateTime_AST", SWIG_From_int((int)wxDateTime::AST
));
30721 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_From_int((int)wxDateTime::ADT
));
30722 PyDict_SetItemString(d
,"DateTime_EST", SWIG_From_int((int)wxDateTime::EST
));
30723 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_From_int((int)wxDateTime::EDT
));
30724 PyDict_SetItemString(d
,"DateTime_CST", SWIG_From_int((int)wxDateTime::CST
));
30725 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_From_int((int)wxDateTime::CDT
));
30726 PyDict_SetItemString(d
,"DateTime_MST", SWIG_From_int((int)wxDateTime::MST
));
30727 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_From_int((int)wxDateTime::MDT
));
30728 PyDict_SetItemString(d
,"DateTime_PST", SWIG_From_int((int)wxDateTime::PST
));
30729 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_From_int((int)wxDateTime::PDT
));
30730 PyDict_SetItemString(d
,"DateTime_HST", SWIG_From_int((int)wxDateTime::HST
));
30731 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_From_int((int)wxDateTime::AKST
));
30732 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_From_int((int)wxDateTime::AKDT
));
30733 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_From_int((int)wxDateTime::A_WST
));
30734 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_From_int((int)wxDateTime::A_CST
));
30735 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_From_int((int)wxDateTime::A_EST
));
30736 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_From_int((int)wxDateTime::A_ESST
));
30737 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_From_int((int)wxDateTime::UTC
));
30738 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_From_int((int)wxDateTime::Gregorian
));
30739 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_From_int((int)wxDateTime::Julian
));
30740 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_From_int((int)wxDateTime::Gr_Unknown
));
30741 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_From_int((int)wxDateTime::Gr_Standard
));
30742 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_From_int((int)wxDateTime::Gr_Alaska
));
30743 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_From_int((int)wxDateTime::Gr_Albania
));
30744 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_From_int((int)wxDateTime::Gr_Austria
));
30745 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_From_int((int)wxDateTime::Gr_Austria_Brixen
));
30746 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_From_int((int)wxDateTime::Gr_Austria_Salzburg
));
30747 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_From_int((int)wxDateTime::Gr_Austria_Tyrol
));
30748 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_From_int((int)wxDateTime::Gr_Austria_Carinthia
));
30749 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_From_int((int)wxDateTime::Gr_Austria_Styria
));
30750 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_From_int((int)wxDateTime::Gr_Belgium
));
30751 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_From_int((int)wxDateTime::Gr_Bulgaria
));
30752 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_1
));
30753 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_2
));
30754 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_From_int((int)wxDateTime::Gr_Bulgaria_3
));
30755 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_From_int((int)wxDateTime::Gr_Canada
));
30756 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_From_int((int)wxDateTime::Gr_China
));
30757 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_From_int((int)wxDateTime::Gr_China_1
));
30758 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_From_int((int)wxDateTime::Gr_China_2
));
30759 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_From_int((int)wxDateTime::Gr_Czechoslovakia
));
30760 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_From_int((int)wxDateTime::Gr_Denmark
));
30761 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_From_int((int)wxDateTime::Gr_Egypt
));
30762 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_From_int((int)wxDateTime::Gr_Estonia
));
30763 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_From_int((int)wxDateTime::Gr_Finland
));
30764 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_From_int((int)wxDateTime::Gr_France
));
30765 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_From_int((int)wxDateTime::Gr_France_Alsace
));
30766 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_From_int((int)wxDateTime::Gr_France_Lorraine
));
30767 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_From_int((int)wxDateTime::Gr_France_Strasbourg
));
30768 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_From_int((int)wxDateTime::Gr_Germany
));
30769 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_From_int((int)wxDateTime::Gr_Germany_Catholic
));
30770 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_From_int((int)wxDateTime::Gr_Germany_Prussia
));
30771 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_From_int((int)wxDateTime::Gr_Germany_Protestant
));
30772 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_From_int((int)wxDateTime::Gr_GreatBritain
));
30773 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_From_int((int)wxDateTime::Gr_Greece
));
30774 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_From_int((int)wxDateTime::Gr_Hungary
));
30775 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_From_int((int)wxDateTime::Gr_Ireland
));
30776 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_From_int((int)wxDateTime::Gr_Italy
));
30777 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_From_int((int)wxDateTime::Gr_Japan
));
30778 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_From_int((int)wxDateTime::Gr_Japan_1
));
30779 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_From_int((int)wxDateTime::Gr_Japan_2
));
30780 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_From_int((int)wxDateTime::Gr_Japan_3
));
30781 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_From_int((int)wxDateTime::Gr_Latvia
));
30782 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_From_int((int)wxDateTime::Gr_Lithuania
));
30783 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_From_int((int)wxDateTime::Gr_Luxemburg
));
30784 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_From_int((int)wxDateTime::Gr_Netherlands
));
30785 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Groningen
));
30786 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Gelderland
));
30787 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Utrecht
));
30788 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_From_int((int)wxDateTime::Gr_Netherlands_Friesland
));
30789 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_From_int((int)wxDateTime::Gr_Norway
));
30790 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_From_int((int)wxDateTime::Gr_Poland
));
30791 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_From_int((int)wxDateTime::Gr_Portugal
));
30792 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_From_int((int)wxDateTime::Gr_Romania
));
30793 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_From_int((int)wxDateTime::Gr_Russia
));
30794 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_From_int((int)wxDateTime::Gr_Scotland
));
30795 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_From_int((int)wxDateTime::Gr_Spain
));
30796 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_From_int((int)wxDateTime::Gr_Sweden
));
30797 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_From_int((int)wxDateTime::Gr_Switzerland
));
30798 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Catholic
));
30799 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_From_int((int)wxDateTime::Gr_Switzerland_Protestant
));
30800 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_From_int((int)wxDateTime::Gr_Turkey
));
30801 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_From_int((int)wxDateTime::Gr_USA
));
30802 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_From_int((int)wxDateTime::Gr_Wales
));
30803 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_From_int((int)wxDateTime::Gr_Yugoslavia
));
30804 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_From_int((int)wxDateTime::Country_Unknown
));
30805 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_From_int((int)wxDateTime::Country_Default
));
30806 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_From_int((int)wxDateTime::Country_WesternEurope_Start
));
30807 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_From_int((int)wxDateTime::Country_EEC
));
30808 PyDict_SetItemString(d
,"DateTime_France", SWIG_From_int((int)wxDateTime::France
));
30809 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_From_int((int)wxDateTime::Germany
));
30810 PyDict_SetItemString(d
,"DateTime_UK", SWIG_From_int((int)wxDateTime::UK
));
30811 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_From_int((int)wxDateTime::Country_WesternEurope_End
));
30812 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_From_int((int)wxDateTime::Russia
));
30813 PyDict_SetItemString(d
,"DateTime_USA", SWIG_From_int((int)wxDateTime::USA
));
30814 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_From_int((int)wxDateTime::Jan
));
30815 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_From_int((int)wxDateTime::Feb
));
30816 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_From_int((int)wxDateTime::Mar
));
30817 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_From_int((int)wxDateTime::Apr
));
30818 PyDict_SetItemString(d
,"DateTime_May", SWIG_From_int((int)wxDateTime::May
));
30819 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_From_int((int)wxDateTime::Jun
));
30820 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_From_int((int)wxDateTime::Jul
));
30821 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_From_int((int)wxDateTime::Aug
));
30822 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_From_int((int)wxDateTime::Sep
));
30823 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_From_int((int)wxDateTime::Oct
));
30824 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_From_int((int)wxDateTime::Nov
));
30825 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_From_int((int)wxDateTime::Dec
));
30826 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_From_int((int)wxDateTime::Inv_Month
));
30827 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_From_int((int)wxDateTime::Sun
));
30828 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_From_int((int)wxDateTime::Mon
));
30829 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_From_int((int)wxDateTime::Tue
));
30830 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_From_int((int)wxDateTime::Wed
));
30831 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_From_int((int)wxDateTime::Thu
));
30832 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_From_int((int)wxDateTime::Fri
));
30833 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_From_int((int)wxDateTime::Sat
));
30834 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_From_int((int)wxDateTime::Inv_WeekDay
));
30835 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_From_int((int)wxDateTime::Inv_Year
));
30836 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_From_int((int)wxDateTime::Name_Full
));
30837 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_From_int((int)wxDateTime::Name_Abbr
));
30838 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_From_int((int)wxDateTime::Default_First
));
30839 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_From_int((int)wxDateTime::Monday_First
));
30840 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_From_int((int)wxDateTime::Sunday_First
));
30841 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
30842 PyDict_SetItemString(d
,"DF_INVALID", SWIG_From_int((int)wxDF_INVALID
));
30843 PyDict_SetItemString(d
,"DF_TEXT", SWIG_From_int((int)wxDF_TEXT
));
30844 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_From_int((int)wxDF_BITMAP
));
30845 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_From_int((int)wxDF_METAFILE
));
30846 PyDict_SetItemString(d
,"DF_SYLK", SWIG_From_int((int)wxDF_SYLK
));
30847 PyDict_SetItemString(d
,"DF_DIF", SWIG_From_int((int)wxDF_DIF
));
30848 PyDict_SetItemString(d
,"DF_TIFF", SWIG_From_int((int)wxDF_TIFF
));
30849 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_From_int((int)wxDF_OEMTEXT
));
30850 PyDict_SetItemString(d
,"DF_DIB", SWIG_From_int((int)wxDF_DIB
));
30851 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_From_int((int)wxDF_PALETTE
));
30852 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_From_int((int)wxDF_PENDATA
));
30853 PyDict_SetItemString(d
,"DF_RIFF", SWIG_From_int((int)wxDF_RIFF
));
30854 PyDict_SetItemString(d
,"DF_WAVE", SWIG_From_int((int)wxDF_WAVE
));
30855 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_From_int((int)wxDF_UNICODETEXT
));
30856 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_From_int((int)wxDF_ENHMETAFILE
));
30857 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_From_int((int)wxDF_FILENAME
));
30858 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_From_int((int)wxDF_LOCALE
));
30859 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_From_int((int)wxDF_PRIVATE
));
30860 PyDict_SetItemString(d
,"DF_HTML", SWIG_From_int((int)wxDF_HTML
));
30861 PyDict_SetItemString(d
,"DF_MAX", SWIG_From_int((int)wxDF_MAX
));
30862 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
30863 PyDict_SetItemString(d
,"DataObject_Get", SWIG_From_int((int)wxDataObject::Get
));
30864 PyDict_SetItemString(d
,"DataObject_Set", SWIG_From_int((int)wxDataObject::Set
));
30865 PyDict_SetItemString(d
,"DataObject_Both", SWIG_From_int((int)wxDataObject::Both
));
30866 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_From_int((int)wxDrag_CopyOnly
));
30867 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_From_int((int)wxDrag_AllowMove
));
30868 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_From_int((int)wxDrag_DefaultMove
));
30869 PyDict_SetItemString(d
,"DragError", SWIG_From_int((int)wxDragError
));
30870 PyDict_SetItemString(d
,"DragNone", SWIG_From_int((int)wxDragNone
));
30871 PyDict_SetItemString(d
,"DragCopy", SWIG_From_int((int)wxDragCopy
));
30872 PyDict_SetItemString(d
,"DragMove", SWIG_From_int((int)wxDragMove
));
30873 PyDict_SetItemString(d
,"DragLink", SWIG_From_int((int)wxDragLink
));
30874 PyDict_SetItemString(d
,"DragCancel", SWIG_From_int((int)wxDragCancel
));
30876 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30877 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30878 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30879 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30881 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);